[hidden] {
    display: none !important;
}

:root {
    --bg: #25252b;
    --bg-dark: #1a1a1f;
    --accent: #e46033;
    --accent-dark: #d35400;
    --text: #ffffff;
    --input-bg: #34343b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-dark) 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

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

.login-card {
    align-items: center;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 25px rgba(228, 96, 51, 0.72);
    display: grid;
    gap: 64px;
    grid-template-columns: minmax(280px, 330px) minmax(220px, 1fr);
    margin: 0 auto;
    max-width: 820px;
    min-height: 430px;
    overflow: hidden;
    padding: 56px;
    position: relative;
    width: 100%;
}

.login-card::before,
.login-card::after {
    background: linear-gradient(45deg, var(--bg), var(--accent));
    content: "";
    height: 620px;
    position: absolute;
    width: 760px;
    z-index: 0;
}

.login-card::before {
    background: linear-gradient(225deg, var(--bg), var(--accent));
    bottom: -120px;
    left: -280px;
    transform: rotate(10deg) skewY(40deg);
    transform-origin: top left;
}

.login-card::after {
    background: linear-gradient(45deg, var(--bg), var(--accent));
    right: -280px;
    top: -120px;
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
}

.login-form,
.login-logo {
    position: relative;
    z-index: 1;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-form input,
.login-form button,
.google-login-button {
    border-radius: 12px;
    font: inherit;
    height: 48px;
    width: 100%;
}

.login-form input {
    background: var(--input-bg);
    border: 2px solid rgba(228, 96, 51, 0.45);
    color: #ffffff;
    padding: 0 14px;
}

.login-form input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
    -webkit-text-fill-color: #ffffff;
    border-color: rgba(228, 96, 51, 0.45);
    caret-color: #ffffff;
}

.login-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.login-form button,
.google-login-button,
.primary-button {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
}

.google-login-button {
    background: #ffffff;
    border: 1px solid #dadce0;
    color: #202124;
    gap: 14px;
    position: relative;
    text-decoration: none;
}

.google-login-button:hover,
.google-login-button:focus-visible {
    background: #f8fafd;
    border-color: #c6cbd1;
    color: #202124;
    outline: none;
}

.google-login-icon {
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
}

.google-login-button span {
    line-height: 1;
}

.login-agreement-note {
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    grid-column: 1 / -1;
    line-height: 1.15;
    margin: -34px 0 0;
    text-align: center;
    white-space: nowrap;
}

.login-agreement-note button {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-agreement-note button:hover,
.login-agreement-note button:focus-visible {
    color: var(--accent);
    outline: none;
}
.login-legal-links {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 6px;
}

.login-legal-links a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-legal-links a:hover,
.login-legal-links a:focus-visible {
    color: var(--accent);
    outline: none;
}


.user-agreement-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 3000;
}

.user-agreement-dialog {
    background: #1f1f25;
    border: 1px solid rgba(228, 96, 51, 0.7);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    color: #fff;
    max-height: min(760px, calc(100vh - 48px));
    max-width: 820px;
    overflow: hidden;
    padding: 24px;
    position: relative;
    width: 100%;
}

.user-agreement-close {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: 0;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 7px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
}

.user-agreement-dialog h2 {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 42px 18px 0;
}

.user-agreement-content {
    display: grid;
    gap: 12px;
    max-height: min(640px, calc(100vh - 150px));
    overflow-y: auto;
    padding-right: 8px;
}

.user-agreement-content h3 {
    color: #fff;
    font-size: 16px;
    margin: 6px 0 0;
}

.user-agreement-content p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.login-logo {
    align-items: center;
    display: flex;
    justify-content: center;
}

.login-logo img {
    display: block;
    height: auto;
    max-height: 220px;
    max-width: 260px;
    object-fit: contain;
    width: 100%;
}

.admin-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: rgba(26, 26, 31, 0.96);
    border-right: 1px solid rgba(228, 96, 51, 0.35);
    padding: 24px;
}

.admin-brand {
    color: #fff;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.admin-brand:hover {
    color: var(--accent);
}

.admin-menu {
    display: grid;
    gap: 10px;
    margin-top: 36px;
}

.admin-menu-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 0 4px 4px;
}

.admin-submenu-link {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    display: block;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 14px 11px 24px;
    text-align: left;
    width: 100%;
}

.admin-submenu-link.active,
.admin-submenu-link:hover {
    background: rgba(228, 96, 51, 0.16);
    color: #ffffff;
}

@media (min-width: 761px) {
    .admin-menu {
        gap: 8px;
    }

    .admin-menu-title {
        align-items: center;
        background: rgba(45, 45, 52, 0.72);
        border: 1px solid rgba(228, 96, 51, 0.36);
        border-radius: 8px;
        color: #fff;
        cursor: pointer;
        display: flex;
        font-size: 14px;
        font-weight: 900;
        justify-content: space-between;
        min-height: 42px;
        padding: 0 13px;
        user-select: none;
    }

    .admin-menu-title::after {
        border: solid var(--accent);
        border-width: 0 2px 2px 0;
        content: "";
        height: 8px;
        transform: rotate(45deg);
        transition: transform 0.18s ease;
        width: 8px;
    }

    .admin-menu-title:hover,
    .admin-menu-title:focus-visible,
    .admin-menu-title.is-open {
        background: rgba(228, 96, 51, 0.14);
        border-color: rgba(228, 96, 51, 0.68);
        outline: none;
    }

    .admin-menu-title.is-open::after {
        transform: rotate(-135deg) translate(-2px, -2px);
    }

    .admin-menu-title + .admin-submenu-link {
        margin-top: 2px;
    }

    .admin-menu .admin-submenu-link {
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        margin-left: 8px;
        width: calc(100% - 8px);
    }

    .admin-menu .admin-submenu-link:hover,
    .admin-menu .admin-submenu-link:focus-visible,
    .admin-menu .admin-submenu-link.active {
        background: rgba(228, 96, 51, 0.16);
        border-color: rgba(228, 96, 51, 0.42);
        outline: none;
    }
}

.admin-main {
    min-width: 0;
}

.admin-header {
    align-items: center;
    border-bottom: 1px solid rgba(228, 96, 51, 0.28);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    min-height: 78px;
    padding: 16px 28px;
}

.admin-credit-balance {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 800;
    margin-right: auto;
}

.admin-refresh-button {
    align-items: center;
    background: #2d2d34;
    border: 1px solid rgba(228, 96, 51, 0.45);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 50px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 50px;
}

.admin-refresh-button:hover,
.admin-refresh-button:focus-visible {
    background: #2d2d34;
    border-color: rgba(228, 96, 51, 0.72);
    box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.16);
    color: #fff;
    outline: none;
}

.admin-refresh-button svg {
    display: block;
    height: 24px;
    width: 24px;
}

.admin-mobile-home-button {
    align-items: center;
    background: #2d2d34;
    border: 1px solid rgba(228, 96, 51, 0.45);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    text-decoration: none;
    width: 42px;
}

.admin-mobile-home-button:hover,
.admin-mobile-home-button:focus-visible {
    background: #2d2d34;
    border-color: rgba(228, 96, 51, 0.78);
    color: #fff;
    outline: none;
}

.admin-mobile-home-button svg {
    display: block;
    height: 22px;
    width: 22px;
}

.admin-mobile-left-actions {
    align-items: center;
    display: flex;
    gap: 7px;
    min-width: 0;
}

.admin-mobile-menu-icon {
    display: grid;
    gap: 4px;
    width: 20px;
}

.admin-mobile-menu-icon span {
    background: currentColor;
    border-radius: 8px;
    display: block;
    height: 2px;
    width: 100%;
}

.admin-mobile-menu-toggle:hover,
.admin-mobile-menu-toggle:focus-visible,
.admin-mobile-menu-toggle[aria-expanded="true"] {
    background: #2d2d34;
    border-color: rgba(228, 96, 51, 0.78);
    color: #fff;
    outline: none;
}

.admin-mobile-menu-toggle[aria-expanded="true"] .admin-mobile-menu-icon span {
    background: #fff;
}

.logout-button {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    height: 46px;
    justify-content: center;
    padding: 0 22px;
}

.admin-account-logout-form {
    display: block;
    margin: 0;
    min-width: 0;
}

.admin-account-logout-form .logout-button {
    width: 100%;
}

.admin-language-switch {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
}

.admin-language-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(228, 96, 51, 0.35);
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 40px;
}

.admin-language-button.is-active,
.admin-language-button:hover,
.admin-language-button:focus-visible {
    background: rgba(228, 96, 51, 0.16);
    border-color: var(--accent);
    outline: none;
}

.admin-language-button img {
    border-radius: 3px;
    display: block;
    height: 20px;
    object-fit: cover;
    width: 28px;
}

.admin-account-menu {
    position: relative;
}

.admin-account-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(228, 96, 51, 0.38);
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    padding: 0;
    width: 46px;
}

.admin-account-button:hover,
.admin-account-button:focus-visible,
.admin-account-button[aria-expanded="true"] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.22);
    outline: none;
}

.admin-account-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    overflow: hidden;
    width: 38px;
}

.admin-account-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-account-avatar-large {
    height: 54px;
    width: 54px;
}

.admin-account-avatar-small {
    height: 34px;
    width: 34px;
}

.admin-account-popover {
    background: rgba(26, 26, 31, 0.98);
    border: 1px solid rgba(228, 96, 51, 0.38);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    display: grid;
    gap: 10px;
    min-width: 420px;
    padding: 14px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 1300;
}

.admin-account-popover[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .admin-account-popover {
        max-width: calc(100vw - 24px);
        min-width: 0;
        width: calc(100vw - 24px);
    }
}


@media (max-width: 760px) {
}



.admin-account-card-head {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.admin-account-title-block {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-account-title-block h3 {
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

.admin-account-title-block strong,
.admin-account-card-title {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-account-detail-row,
.admin-account-language-row {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.24);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 40px;
    padding: 8px 10px;
}

.admin-account-detail-row span,
.admin-account-language-row > span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 800;
}

.admin-account-detail-row strong {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-account-language-row .admin-language-switch {
    justify-content: flex-end;
}

.admin-mobile-account-card {
    background: rgba(26, 26, 31, 0.72);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    padding: 10px;
}

.admin-content {
    min-height: calc(100vh - 78px);
    padding: 28px;
}

.dashboard-section {
    max-width: 880px;
}

.dashboard-section h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 24px;
}

.content-form-panel {
    background: rgba(26, 26, 31, 0.56);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    padding: 24px;
}

.content-form-header h2 {
    font-size: 22px;
    margin: 0 0 22px;
}

.artist-form {
    display: grid;
    gap: 18px;
    max-width: 640px;
}

.artist-form label {
    display: grid;
    gap: 8px;
}

.form-row {
    display: grid;
    gap: 18px;
}

.form-row.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.artist-form span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
}

.artist-form input,
.artist-form select {
    background: var(--input-bg);
    border: 2px solid rgba(228, 96, 51, 0.45);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    height: 48px;
    padding: 0 14px;
    width: 100%;
}

.artist-form input:focus,
.artist-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.artist-form input[type="date"] {
    color-scheme: dark;
}

.artist-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0.82;
}

.form-warning {
    background: rgba(228, 96, 51, 0.12);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.55;
    margin: 2px 0 0;
    padding: 14px 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.primary-button {
    min-height: 46px;
    padding: 0 22px;
}

.message-container {
    max-width: 380px;
    position: fixed;
    right: 20px;
    top: 20px;
    width: calc(100% - 40px);
    z-index: 9999;
}

.message {
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    padding: 14px 18px;
    transform: translateX(110%);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.message-link-text {
    color: #ffe08a;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.message.show {
    opacity: 1;
    transform: translateX(0);
}

.message.fade-out {
    opacity: 0;
    transform: translateX(110%);
}

.message-error {
    background: linear-gradient(135deg, #eb2127, #c41e3a);
    border-left-color: #ff6770;
}

.message-success {
    background: linear-gradient(135deg, #2ed573, #1e90ff);
    border-left-color: #7bed9f;
}

@media (max-width: 760px) {
.admin-panel {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        border-bottom: 1px solid rgba(228, 96, 51, 0.35);
        border-right: 0;
        padding: 18px;
    }

    .admin-menu {
        margin-top: 18px;
    }

    .admin-header {
        min-height: 68px;
        padding: 12px 18px;
    }

    .admin-content {
        min-height: auto;
        padding: 18px;
    }

    .content-form-panel {
        padding: 18px;
    }

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

    .form-actions {
        justify-content: stretch;
    }

    .form-actions button {
        width: 100%;
    }

    .login-card {
        gap: 28px;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 32px;
    }

    .login-card::before,
    .login-card::after {
        opacity: 0.25;
    }

    .login-card::before {
        left: -430px;
    }

    .login-card::after {
        right: -430px;
    }

    .login-logo {
        order: -1;
    }

    .login-logo img {
        max-height: 150px;
        max-width: 190px;
    }
    .login-page {
        align-items: center;
        padding: 28px 20px;
    }

    .login-card {
        gap: 22px;
        justify-items: center;
        max-width: 360px;
        padding: 30px 28px 26px;
    }

    .login-form {
        order: 2;
        width: 100%;
    }

    .google-login-button {
        gap: 10px;
        max-width: 100%;
        padding: 0 14px;
    }

    .google-login-button span {
        font-size: 14px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .login-agreement-note {
        font-size: 9px;
        line-height: 1.5;
        margin: 0;
        max-width: 100%;
        order: 3;
        white-space: normal;
    }
    .login-agreement-note .login-agreement-line,
    .login-agreement-note button {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .login-agreement-note button {
        margin-bottom: 6px;
        margin-top: 0;
    }

    .message-container {
        left: 10px;
        max-width: none;
        right: 10px;
        top: 10px;
        width: auto;
    }

    .message,
    .message.fade-out {
        transform: translateY(-120%);
    }

    .message.show {
        transform: translateY(0);
    }
}
/* Artist form polish */
.dashboard-section {
    max-width: 760px;
}

.content-form-panel {
    border-color: rgba(228, 96, 51, 0.34);
    padding: 28px;
    width: 100%;
}

.content-form-header h2 {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.artist-form {
    gap: 20px;
    max-width: none;
    width: 100%;
}

.artist-form label {
    gap: 8px;
    min-width: 0;
}

.form-row {
    width: 100%;
}

.artist-form span {
    color: rgba(255, 255, 255, 0.9);
}

.artist-form input,
.artist-form select {
    background: #35353d;
    border-color: rgba(228, 96, 51, 0.62);
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 16px;
}

.form-warning {
    background: rgba(228, 96, 51, 0.14);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 100%;
    padding: 15px 17px;
    text-align: justify;
}

.form-actions {
    margin-top: 2px;
}

.primary-button {
    min-width: 116px;
    padding: 0 24px;
}

@media (max-width: 760px) {
.content-form-panel {
        padding: 20px;
    }
}
/* Artist search */
.artist-search-panel,
.playlist-search-panel {
    max-width: none;
}

.artist-search-form,
.playlist-search-form {
    margin-bottom: 24px;
}

.search-columns {
    align-items: end;
    grid-template-columns: 180px minmax(240px, 1fr) auto;
}

.search-button {
    height: 50px;
}

.artist-results,
.playlist-results {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.artist-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 2px solid rgba(228, 96, 51, 0.42);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 16px;
    text-align: center;
}


.artist-card.active {
    border-color: #2ed573;
    box-shadow: 0 0 0 1px rgba(46, 213, 115, 0.22);
}
.artist-card.passive {
    border-color: #eb2127;
    box-shadow: 0 0 0 1px rgba(235, 33, 39, 0.22);
}

.artist-photo {
    align-items: center;
    aspect-ratio: 1;
    background: #34343b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.management-letter-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.management-letter-filter button {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.36);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    min-width: 38px;
    padding: 0 10px;
}

.management-letter-filter button:hover,
.management-letter-filter button:focus-visible,
.management-letter-filter button.is-active {
    background: rgba(228, 96, 51, 0.18);
    border-color: rgba(228, 96, 51, 0.72);
    color: #fff;
    outline: none;
}

.management-artist-search-form {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 18px;
}

.management-artist-search-form input {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    height: 46px;
    min-width: 0;
    padding: 0 14px;
    width: 100%;
}

.management-search-button {
    height: 46px;
    min-height: 46px;
    min-width: 112px;
    padding: 0 24px;
}

.management-artist-search-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

@media (max-width: 760px) {
.management-artist-search-form {
        grid-template-columns: 1fr;
    }
}

.management-artist-card {
    cursor: default;
}

.management-user-card {
    gap: 14px;
    min-height: 170px;
    text-align: left;
}

.management-user-results {
    grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
}

.management-user-info {
    display: grid;
    gap: 9px;
    min-width: 0;
    width: 100%;
}

.management-user-row {
    display: grid;
    gap: 14px;
    grid-template-columns: 120px minmax(0, 1fr);
}

.management-user-label,
.management-user-value {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
}

.management-user-value {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
.management-user-results {
        grid-template-columns: 1fr;
    }
}

.management-artist-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    width: 100%;
}

.management-state-button {
    align-items: center;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    padding: 0 10px;
}

.management-state-active {
    background: linear-gradient(135deg, #2ecc71, #1f9d55);
}

.management-state-passive {
    background: linear-gradient(135deg, #eb2127, #b91519);
}

.management-state-button:disabled {
    cursor: default;
    filter: grayscale(0.35);
    opacity: 0.45;
}

.management-state-button:not(:disabled):hover,
.management-state-button:not(:disabled):focus-visible {
    filter: brightness(1.12);
    outline: none;
}

.music-link-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    max-width: 680px;
    padding: 0;
}

.music-link-form,
.video-link-form {
    background: #232329;
    border: 1px solid rgba(228, 96, 51, 0.52);
    border-radius: 10px;
    display: grid;
    gap: 13px;
    padding: 14px;
}

.music-link-form label,
.video-link-form label {
    display: grid;
    gap: 7px;
}

.music-link-form label > span:not(.select-wrap),
.video-link-form label > span:not(.select-wrap) {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.music-link-form .select-wrap select,
.video-link-form .select-wrap select,
.video-link-form input[type="url"],
.video-link-search-form input[type="url"] {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 16px;
    width: 100%;
}

.music-link-form .select-wrap::after,
.video-link-form .select-wrap::after {
    border-color: var(--accent);
    height: 10px;
    right: 16px;
    width: 10px;
}

.music-link-credit-note {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.music-link-result {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.music-link-result-panel {
    background: rgba(35, 35, 41, 0.92);
    border: 1px solid rgba(228, 96, 51, 0.42);
    border-radius: 10px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.music-link-result-item {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 104px;
}

.music-link-result-title {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.music-link-result-stat {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    margin-top: 4px;
}

.music-link-error {
    color: #ffd8cc;
    margin: 0;
    text-align: center;
}

.music-link-copy-button {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.05;
    min-height: 100%;
    overflow: hidden;
    padding: 0 4px;
    white-space: normal;
}

.music-link-copy-button.is-s,
.music-link-copy-button.is-spotify {
    background: #1db954;
}

.music-link-copy-button.is-y,
.music-link-copy-button.is-youtube_music {
    background: #ff0000;
}

.music-link-copy-button.is-a,
.music-link-copy-button.is-audiomack {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.music-link-copy-button.is-sy,
.music-link-copy-button.is-spotify_youtube {
    background: linear-gradient(135deg, #1db954 0 50%, #ff0000 50% 100%);
}

.music-link-copy-button.is-video {
    background: linear-gradient(135deg, #ff0000, #b00000);
}

.music-link-copy-button.copied {
    filter: brightness(1.12);
}

.music-report-controls {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.music-report-filter,
.music-report-sorts {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.music-report-type-filter {
    gap: 6px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.music-report-filter button,
.music-report-sorts button,
.music-report-pager button {
    align-items: center;
    background: #2d2d34;
    border: 1px solid rgba(228, 96, 51, 0.45);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.08;
    min-height: 44px;
    padding: 0 5px;
    text-align: center;
}

.music-report-filter button.active,
.music-report-sorts button.active,
.music-report-pager button {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
}


.music-report-sorts button[data-value='oldest'],
.music-report-sorts button[data-value='newest'] {
    display: none;
}
.music-report-store-filter {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.music-report-store-filter button {
    align-items: center;
    background: #ececf0;
    border: 2px solid #ff0000;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    font-weight: 900;
    justify-content: center;
    min-height: 58px;
    padding: 7px;
}

.music-report-store-filter button.active {
    border-color: #1db954;
}

.music-report-store-filter img {
    display: block;
    height: 42px;
    max-width: 100%;
    object-fit: contain;
}

.music-report-store-filter button:nth-child(1) img {
    height: 48px;
}

.music-report-store-filter button:nth-child(2) img {
    height: 48px;
}



.music-report-store-filter button:nth-child(3) img {
    height: 52px;
}

.music-report-store-filter .duo {
    gap: 4px;
}

.music-report-store-filter .duo img {
    height: 48px;
    object-fit: contain;
    width: 50%;
}


.playlist-report-store-filter button:nth-child(2) img {
    height: 52px;
    transform: none;
}

.music-report-list {
    gap: 0;
}

.music-report-link-item {
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 104px;
    padding-top: 12px;
}

.music-report-link-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.music-report-link-item + .music-report-link-item {
    margin-top: 12px;
}

.music-report-empty {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.music-report-pager {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.music-report-pager button:last-child {
    margin-left: auto;
    min-width: 112px;
}

@media (max-width: 760px) {
    .music-link-result-item,
    .music-report-link-item {
        grid-template-columns: minmax(0, 1fr) 112px;
    }
}
@media (max-width: 760px) {
    
.music-report-store-filter {
        gap: 6px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .music-report-store-filter button {
        min-height: 48px;
        padding: 5px;
    }
    .music-report-type-filter {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .music-report-type-filter button {
        min-width: 0;
        padding: 0 4px;
    }

    .music-report-sorts button[data-value='oldest'],
    .music-report-sorts button[data-value='newest'] {
        display: inline-flex;
    }
    .playlist-report-store-filter {
        gap: 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .playlist-report-store-filter button {
        min-height: 48px;
        padding: 5px;
    }
}

.credit-settings-panel {
    max-width: none;
}

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

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

.credit-setting-row {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(0, 1fr) 60px;
    padding: 9px 10px;
}

.credit-setting-row span {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.5;
}

.credit-setting-row input {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    height: 34px;
    padding: 0 8px;
    text-align: center;
    width: 100%;
}

.credit-setting-row input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

@media (max-width: 760px) {
.credit-settings-grid {
        gap: 9px;
        grid-template-columns: 1fr;
    }

    .credit-setting-row {
        grid-template-columns: minmax(0, 1fr) 56px;
    }
}

.artist-photo img {
    display: block;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    width: 100%;
}

.artist-card-name {
    color: #fff;
    display: grid;
    gap: 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    min-height: 38px;
    overflow-wrap: anywhere;
}

.playlist-card-artist,
.playlist-card-title {
    display: block;
}

.playlist-card-title {
    font-size: 0.94em;
}

.playlist-card-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.artist-empty {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.24);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    grid-column: 1 / -1;
    padding: 18px;
    text-align: center;
}

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

    .search-button {
        width: 100%;
    }

    .artist-results,
    .playlist-results {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}
.artist-search-form label,
.playlist-search-form label {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.artist-search-form span,
.playlist-search-form span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.artist-search-form input,
.playlist-search-form input,
.artist-search-form select {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 16px;
    width: 100%;
}

.artist-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.artist-search-form input:focus,
.artist-search-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.artist-state-segment {
    display: none;
}
.select-wrap {
    display: block;
    position: relative;
}

.select-wrap::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-62%) rotate(45deg);
    width: 8px;
}

.artist-search-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
}
/* Artist edit */
.artist-card {
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.artist-card:hover,
.artist-card:focus-visible {
    outline: none;
    transform: translateY(-2px);
}

.artist-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.35);
}

.artist-edit-panel,
.playlist-edit-panel {
    max-width: none;
}

.artist-edit-layout {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.artist-edit-box {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(228, 96, 51, 0.24);
    border-radius: 8px;
    min-width: 0;
    padding: 22px;
}

.artist-edit-form,
.artist-profile-form {
    display: grid;
    gap: 18px;
}

.artist-edit-photo,
.artist-profile-preview {
    align-items: center;
    aspect-ratio: 1;
    background: #34343b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 230px;
    overflow: hidden;
    width: 100%;
}

.artist-edit-photo img,
.artist-profile-preview img {
    display: block;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    width: 100%;
}

.artist-detail-list {
    display: grid;
    gap: 12px;
}

.artist-detail-row {
    background: #35353d;
    border: 1px solid rgba(228, 96, 51, 0.36);
    border-radius: 8px;
    display: grid;
    gap: 7px;
    padding: 13px 15px;
}

.artist-detail-row > span,
.file-field > span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 700;
}

.artist-detail-row strong {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.birth-detail {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.inline-check {
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.inline-check input {
    accent-color: var(--accent);
    height: 18px;
    width: 18px;
}

.file-field {
    display: grid;
    gap: 9px;
}

.file-field input[type="file"] {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font: inherit;
    font-weight: 600;
    min-height: 50px;
    padding: 10px 12px;
    width: 100%;
}

.file-field input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    margin-right: 12px;
    min-height: 32px;
    padding: 0 14px;
}


.field-label-row {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    min-width: 0;
}

.field-help-text {
    cursor: pointer;
    position: relative;
}

.field-help-text::after {
    background: #111116;
    border: 1px solid rgba(228, 96, 51, 0.75);
    border-radius: 8px;
    bottom: calc(100% + 8px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    content: attr(data-tooltip);
    font-size: 12px;
    font-weight: 700;
    left: 50%;
    line-height: 1.45;
    max-width: min(280px, 82vw);
    opacity: 0;
    padding: 9px 11px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    transform: translate(-50%, 4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    visibility: hidden;
    white-space: normal;
    width: max-content;
    z-index: 30;
}

.field-help-text:hover::after,
.field-help-text:focus-visible::after,
.field-help-text:focus::after {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.field-help {
    align-items: center;
    background: rgba(228, 96, 51, 0.12);
    border: 1px solid rgba(228, 96, 51, 0.65);
    border-radius: 999px;
    color: #fff;
    cursor: help;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: relative;
    width: 20px;
}

.field-help::after {
    background: #111116;
    border: 1px solid rgba(228, 96, 51, 0.75);
    border-radius: 8px;
    bottom: calc(100% + 8px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    content: attr(data-tooltip);
    font-size: 12px;
    font-weight: 700;
    left: 50%;
    line-height: 1.45;
    max-width: min(280px, 82vw);
    opacity: 0;
    padding: 9px 11px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    transform: translate(-50%, 4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    visibility: hidden;
    white-space: normal;
    width: max-content;
    z-index: 30;
}

.field-help:hover::after,
.field-help:focus-visible::after,
.field-help:focus::after {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.help-action-row {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.track-extra-header h4 .form-note {
    background: rgba(228, 96, 51, 0.11);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 13px 15px;
}

@media (max-width: 900px) {
    .artist-edit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
.birth-detail {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* Compact artist edit details */
.artist-edit-panel .artist-detail-row {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: flex-start;
}

.artist-edit-panel .artist-detail-row > span {
    flex: 0 0 120px;
    white-space: nowrap;
}

.artist-edit-panel .artist-detail-row strong {
    flex: 1 1 auto;
}

.artist-edit-panel .birth-detail {
    flex: 1 1 auto;
    justify-content: flex-start;
}

@media (max-width: 760px) {
.artist-edit-panel .artist-detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .artist-edit-panel .artist-detail-row > span {
        flex: none;
    }
}

/* Artist text and social panels */
.artist-edit-layout {
    grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.85fr) minmax(300px, 1fr);
}

.textarea-field,
.social-grid label {
    display: grid;
    gap: 8px;
}

.textarea-field > span,
.social-grid span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.textarea-field textarea,
.social-grid input {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.52);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    min-width: 0;
    width: 100%;
}

.textarea-field textarea {
    line-height: 1.5;
    min-height: 126px;
    padding: 13px 15px;
    resize: vertical;
}

.social-grid input {
    height: 46px;
    padding: 0 14px;
}

.textarea-field textarea:focus,
.social-grid input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.social-grid {
    display: grid;
    gap: 14px;
}

@media (max-width: 1180px) {
    .artist-edit-layout {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }

    .artist-social-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .artist-edit-layout {
        grid-template-columns: 1fr;
    }

    .artist-social-box {
        grid-column: auto;
    }
}

/* Two main artist edit tables */
.artist-edit-panel,
.playlist-edit-panel {
    display: grid;
    gap: 24px;
    max-width: none;
}

.artist-main-table {
    background: rgba(26, 26, 31, 0.56);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    padding: 24px;
}

.artist-main-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.artist-main-grid-profile {
    grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
}

.artist-main-grid-links {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
}

.artist-main-table .artist-edit-box {
    background: rgba(255, 255, 255, 0.035);
}

.artist-store-form,
.artist-social-form {
    display: grid;
    gap: 18px;
}

@media (max-width: 980px) {
    .artist-main-grid,
    .artist-main-grid-profile,
    .artist-main-grid-links {
        grid-template-columns: 1fr;
    }
}

/* Responsive main table layout tightening */
.artist-edit-panel {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    max-width: none;
}

.artist-main-table {
    padding: 16px;
}

.artist-main-grid,
.artist-main-grid-profile,
.artist-main-grid-links {
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.artist-main-table .artist-edit-box {
    padding: 16px;
}

.artist-main-table .content-form-header h2 {
    margin-bottom: 14px;
}

.artist-edit-form,
.artist-profile-form,
.artist-store-form,
.artist-social-form {
    gap: 12px;
}

.artist-detail-list,
.social-grid {
    gap: 10px;
}

.textarea-field,
.social-grid label,
.file-field {
    gap: 8px;
}

.textarea-field textarea {
    min-height: 104px;
    padding: 10px 12px;
}

.social-grid input {
    height: 42px;
    padding: 0 12px;
}

.artist-detail-row {
    padding: 10px 12px;
}


.form-note {
    padding: 10px 12px;
}

.artist-profile-preview {
    max-width: 190px;
}

.form-actions {
    margin-top: 0;
}

@media (max-width: 1120px) {
    .artist-edit-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .artist-main-grid,
    .artist-main-grid-profile,
    .artist-main-grid-links {
        grid-template-columns: 1fr;
    }
}

/* Four independent artist edit boxes */
.artist-edit-panel {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: none;
}

.artist-edit-panel > .artist-edit-box,
.playlist-edit-panel > .artist-edit-box {
    padding: 15px;
}

.artist-edit-panel .content-form-header h2,
.playlist-edit-panel .content-form-header h2 {
    margin-bottom: 12px;
}

.file-field input[type="file"] {
    color: transparent;
}

.file-selected {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    min-height: 36px;
    overflow-wrap: anywhere;
    padding: 9px 11px;
}

/* Align compact artist detail values */
.artist-edit-panel .artist-detail-row > span {
    flex: 0 0 96px;
}

.artist-edit-panel .artist-detail-row strong,
.artist-edit-panel .birth-detail strong {
    white-space: nowrap;
}

.artist-edit-panel .birth-detail {
    gap: 10px;
    min-width: 0;
}

/* Wide two-column artist edit layout */
.dashboard-section {
    max-width: none;
}

.artist-edit-panel {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    width: 100%;
}

.artist-edit-panel > .artist-edit-box,
.playlist-edit-panel > .artist-edit-box {
    background: rgba(26, 26, 31, 0.56);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
}

.artist-edit-panel .content-form-header h2,
.playlist-edit-panel .content-form-header h2 {
    font-size: 23px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.artist-edit-form,
.artist-profile-form,
.artist-social-form,
.artist-store-form,
.playlist-edit-form,
.playlist-image-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 11px;
}

.artist-edit-panel .form-actions,
.playlist-edit-panel .form-actions {
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 2px;
}

.social-grid {
    gap: 10px;
}

.social-grid label,
.textarea-field,
.file-field {
    gap: 8px;
}

.social-grid span,
.textarea-field > span,
.file-field > span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.social-grid input,
.textarea-field textarea,
.file-field input[type="file"] {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #ffffff;
    width: 100%;
}

.social-grid input,
.file-field input[type="file"] {
    min-height: 42px;
}

.textarea-field textarea {
    min-height: 104px;
}

.artist-detail-list {
    gap: 10px;
}

.artist-detail-row {
    min-height: 42px;
    padding: 10px 12px;
}

.artist-profile-preview {
    max-width: 232px;
}

@media (max-width: 980px) {
    .artist-edit-panel,
    .playlist-edit-panel {
        grid-template-columns: 1fr;
    }

    .artist-edit-panel .form-actions,
    .playlist-edit-panel .form-actions {
        justify-content: stretch;
    }

    .artist-edit-panel .form-actions .primary-button {
        width: 100%;
    }
}

/* Flush artist images without inner frame */
.artist-photo,
.artist-profile-preview {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.artist-photo img,
.artist-profile-preview img {
    height: 100%;
    object-fit: cover;
    padding: 0;
    width: 100%;
}

.artist-profile-preview {
    max-width: 230px;
}

/* Soft image corners */
.artist-photo,
.artist-photo img,
.artist-profile-preview,
.artist-profile-preview img {
    border-radius: 8px;
}

/* Wider artist search results */
.admin-content {
    padding-left: 28px;
    padding-right: 28px;
}

.dashboard-section,
.artist-search-panel,
.playlist-search-panel {
    max-width: none;
    width: 100%;
}

.artist-results,
.playlist-results {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
}

.artist-card {
    min-height: 202px;
}

.artist-card-name {
    min-height: 22px;
}

@media (min-width: 1280px) {
    .artist-results,
    .playlist-results {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    }
}

.artist-results.management-user-results {
    grid-template-columns: repeat(auto-fill, minmax(620px, 1fr));
}

.artist-results.management-user-results .management-user-card {
    min-height: 150px;
}

.artist-results.management-user-results .management-user-row {
    grid-template-columns: 110px minmax(0, 1fr);
}

@media (max-width: 760px) {
.artist-results.management-user-results {
        grid-template-columns: 1fr;
    }
}

/* Profile image left, controls right */
.artist-profile-form {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: minmax(180px, 230px) minmax(260px, 1fr);
}

.artist-profile-form .artist-profile-preview {
    align-self: start;
    grid-row: 1 / span 4;
    justify-self: start;
    margin: 0;
    max-width: 230px;
    width: 100%;
}

.file-picker {
    align-self: start;
    display: flex;
    gap: 12px;
}

.file-picker input[type="file"] {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.file-button {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    text-align: center;
}

.file-picker .file-selected {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    min-height: 42px;
}

.artist-profile-form .form-note,
.artist-profile-form .form-actions {
    grid-column: 2;
}

.artist-profile-form .form-actions {
    align-self: end;
}

@media (max-width: 760px) {
.artist-profile-form {
        grid-template-columns: 1fr;
    }

    .artist-profile-form .artist-profile-preview,
    .artist-profile-form .form-note,
    .artist-profile-form .form-actions {
        grid-column: auto;
        grid-row: auto;
    }

    .artist-profile-form .artist-profile-preview {
        justify-self: center;
    }
}

/* Artist state controls */
.artist-state-form {
    grid-column: 1 / -1;
}

.artist-state-box {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    margin-top: 2px;
    padding: 12px;
}


.artist-state-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.state-button {
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 42px;
    padding: 0 14px;
}

.state-active {
    background: linear-gradient(135deg, #2ed573, #1e9b58);
}

.state-passive {
    background: linear-gradient(135deg, #eb2127, #b71920);
}

@media (max-width: 520px) {
    .artist-state-actions {
        grid-template-columns: 1fr;
    }
}

/* Compact profile upload controls */
.artist-profile-form {
    align-items: start;
    grid-template-columns: minmax(180px, 230px) minmax(260px, 1fr);
}

.artist-profile-form .file-picker,
.artist-profile-form .form-note,
.artist-profile-form .form-actions {
    grid-column: 2;
}

.artist-profile-form .file-picker {
    grid-row: 1;
}

.artist-profile-form 
.form-note {
    grid-row: 2;
    margin-top: 0;
}

.artist-profile-form .form-actions {
    align-self: start;
    grid-row: 3;
    margin-top: 0;
    padding-top: 0;
}

.artist-profile-form .form-actions .primary-button {
    min-height: 46px;
}

@media (max-width: 760px) {
.artist-profile-form .file-picker,
    .artist-profile-form .form-note,
    .artist-profile-form .form-actions {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Tight profile upload right column */
.artist-profile-form {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(180px, 230px) minmax(260px, 1fr);
}

.artist-profile-form .artist-profile-preview {
    grid-column: 1;
    grid-row: 1;
}

.profile-upload-controls {
    align-self: start;
    display: grid;
    gap: 10px;
    grid-column: 2;
    grid-row: 1;
}

.profile-upload-controls .form-note,
.profile-upload-controls .form-actions {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    padding-top: 0;
}

.profile-upload-controls .form-actions {
    justify-content: flex-end;
}

@media (max-width: 760px) {
.artist-profile-form {
        grid-template-columns: 1fr;
    }

    .artist-profile-form .artist-profile-preview,
    .profile-upload-controls {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Force profile upload control order */
.profile-upload-controls {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-upload-controls .file-picker,
.profile-upload-controls .form-note,
.profile-upload-controls .form-actions {
    align-self: stretch;
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0;
    padding-top: 0;
}

.profile-upload-controls .file-picker {
    order: 1;
}

.profile-upload-controls 
.form-note {
    order: 2;
}

.profile-upload-controls .form-actions {
    justify-content: flex-end;
    order: 3;
}

/* Balanced profile warning spacing */
.profile-upload-controls 
.form-note {
    line-height: 1.55;
    padding: 13px 15px;
}
/* Artist state is shown on the profile image border */
.artist-profile-preview img.is-active {
    border: 2px solid #2ed573;
    box-shadow: 0 0 0 1px rgba(46, 213, 115, 0.22);
}

.artist-profile-preview img.is-passive {
    border: 2px solid #eb2127;
    box-shadow: 0 0 0 1px rgba(235, 33, 39, 0.22);
}

.state-button:disabled {
    cursor: not-allowed;
    filter: saturate(0.75);
    opacity: 0.48;
}
/* Showcase video field below profile image */
.artist-video-form {
    grid-column: 1 / -1;
}

.artist-video-form {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 12px;
}

.artist-video-form > label {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 190px minmax(0, 1fr);
}

.artist-video-form > .form-actions {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 620px) {
    .artist-video-form > label {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}
/* Profile video and state spacing */
.artist-video-form {
    margin-bottom: 14px;
}

.artist-state-form {
    margin-top: 0;
}

.artist-video-form input[type="text"] {
    background: rgba(54, 54, 65, 0.95);
    border: 2px solid rgba(228, 96, 51, 0.72);
    border-radius: 10px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    min-height: 42px;
    outline: none;
    padding: 0 14px;
    width: 100%;
}

.artist-video-form input[type="text"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.18);
}
/* Profile upload as table box */
.artist-profile-form {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 12px;
}
/* Discography forms */
.discography-title {
    margin-top: 18px;
}

.release-form,
.track-form {
    display: grid;
    gap: 18px;
    max-width: none;
    width: 100%;
}

.release-form label,
.track-form label,
.track-block label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.release-form span,
.track-form span,
.track-block span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.release-form input,
.release-form select,
.track-form input,
.track-form select,
.track-block input {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 16px;
    width: 100%;
}

.release-form input:focus,
.release-form select:focus,
.track-form input:focus,
.track-form select:focus,
.track-block input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.release-form input[type="date"] {
    color-scheme: dark;
}

.release-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0.82;
}

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

.track-block {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 14px;
}

.track-block-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.track-block-header h3 {
    font-size: 18px;
    margin: 0;
}

.track-remove,
.secondary-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(228, 96, 51, 0.42);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
}

.track-remove:hover,
.secondary-button:hover {
    background: rgba(228, 96, 51, 0.18);
}

.track-credit-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.track-actions {
    display: flex;
    justify-content: flex-start;
}

.track-form.is-single-release .track-list {
    margin-bottom: -16px;
}

.track-form.is-single-release .track-list + .track-actions + .form-warning {
    margin-top: 0;
}

@media (max-width: 760px) {
.track-credit-grid {
        grid-template-columns: 1fr;
    }
}
/* Themed select arrows */
.artist-form select,
.artist-search-form select,
.release-form select,
.track-form select,
.comment-filter-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
    background-repeat: no-repeat;
    background-size: 8px 8px, 8px 8px;
    padding-right: 46px;
}

.select-wrap::after {
    display: none;
}
/* Single themed select arrow */
.artist-form select,
.artist-search-form select,
.release-form select,
.track-form select,
.comment-filter-form select {
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background-image: none !important;
    padding-right: 46px !important;
}

.artist-form select::-ms-expand,
.artist-search-form select::-ms-expand,
.release-form select::-ms-expand,
.track-form select::-ms-expand,
.comment-filter-form select::-ms-expand {
    display: none;
}

.select-wrap::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    display: block;
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-62%) rotate(45deg);
    width: 8px;
}

.select-wrap.has-mobile-select {
    display: block;
}

.select-wrap.has-mobile-select > select {
    display: none;
}

.select-wrap.has-mobile-select::after {
    display: none;
}

.mobile-select-dropdown {
    display: block;
    position: relative;
    width: 100%;
}

.mobile-select-dropdown-button {
    align-items: center;
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 800;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    text-align: left;
    width: 100%;
}

.mobile-select-dropdown-button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.mobile-select-dropdown-button::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    transform: rotate(45deg);
    width: 8px;
}

.mobile-select-dropdown.is-open .mobile-select-dropdown-button {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.mobile-select-dropdown.is-open .mobile-select-dropdown-button::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.mobile-select-dropdown-list {
    background: #35353d;
    border: 1px solid rgba(228, 96, 51, 0.62);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
    display: none;
    left: 0;
    margin-top: 5px;
    max-height: 260px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 1500;
}

.mobile-select-dropdown.is-open .mobile-select-dropdown-list {
    display: grid;
}

.mobile-select-dropdown-option {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    min-height: 38px;
    padding: 0 12px;
    text-align: left;
    width: 100%;
}

.mobile-select-dropdown-option:hover,
.mobile-select-dropdown-option:focus-visible {
    background: rgba(228, 96, 51, 0.16);
    outline: none;
}

.mobile-select-dropdown-option.is-active {
    background: transparent;
    box-shadow: none;
}

.mobile-select-dropdown-option.is-active:hover,
.mobile-select-dropdown-option.is-active:focus-visible {
    background: rgba(228, 96, 51, 0.16);
}
/* Track store URL fields */
.track-store-section {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(228, 96, 51, 0.24);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 12px;
}

.track-store-section h4 {
    font-size: 16px;
    margin: 0;
}

.track-store-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.track-credit-grid label,
.track-store-grid label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.track-credit-grid span,
.track-store-grid span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 760px) {
.track-store-grid {
        grid-template-columns: 1fr;
    }
}
/* Required field marker */
.artist-form label:has([required]) > span:first-child::after,
.release-form label:has([required]) > span:first-child::after,
.track-form label:has([required]) > span:first-child::after,
.track-block label:has([required]) > span:first-child::after {
    color: var(--accent);
    content: " *";
}

/* Release search */
.release-search-form {
    display: grid;
    gap: 18px;
    max-width: 640px;
}

.release-search-form label {
    display: grid;
    gap: 8px;
}

.release-search-form span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.release-search-form select {
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background: #35353d;
    background-image: none !important;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 46px 0 16px;
    width: 100%;
}

.release-search-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.release-search-results {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.release-result-section {
    display: grid;
    gap: 14px;
}

.release-result-section h3 {
    font-size: 20px;
    margin: 0;
}

.release-results-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
}

.release-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 2px solid rgba(228, 96, 51, 0.42);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    min-height: 202px;
    padding: 16px;
    text-align: center;
}

.release-card.active {
    border-color: #2ed573;
    box-shadow: 0 0 0 1px rgba(46, 213, 115, 0.22);
}

.release-card.passive {
    border-color: #eb2127;
    box-shadow: 0 0 0 1px rgba(235, 33, 39, 0.22);
}

.release-cover {
    align-items: center;
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

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

.release-card-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    min-height: 22px;
    overflow-wrap: anywhere;
}
.release-cover img.is-logo {
    object-fit: contain;
    padding: 18px;
}
/* Release detail editor */
.release-card {
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.release-card:hover,
.release-card:focus-visible {
    outline: none;
    transform: translateY(-2px);
}

.release-detail-panel {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding: 16px;
}

.release-detail-heading h3 {
    font-size: 20px;
    margin: 0;
}

.release-detail-heading h3 span {
    overflow-wrap: anywhere;
}

.release-detail-state-form,
.release-detail-track-form {
    display: grid;
    gap: 14px;
}

.release-detail-track-form .track-block {
    background: rgba(255, 255, 255, 0.04);
}
/* Release detail paired rows */
.release-detail-field-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.release-detail-field-row.single {
    grid-template-columns: 1fr;
}

@media (max-width: 760px) {
.release-detail-field-row {
        grid-template-columns: 1fr;
    }
}
/* Artist showcase video without nested table */
.artist-video-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 10px;
    margin: auto 0 0;
    padding: 0;
}

.artist-video-form > label {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 170px minmax(0, 1fr);
}

.artist-video-form > label > span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
}

.artist-video-form > .form-actions {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 620px) {
    .artist-video-form {
        margin-top: 0;
    }

    .artist-video-form > label {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}
/* Space between artist state and profile image tables */
.artist-state-form {
    margin-bottom: 14px;
}
/* Track optional fields opened in an external panel */
.track-extra-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.track-extra-panel[hidden] {
    display: none !important;
}

.track-extra-panel {
    align-items: center;
    background: rgba(10, 10, 14, 0.72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 80;
}

.track-extra-dialog {
    background: #1f1f25;
    border: 1px solid rgba(228, 96, 51, 0.46);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    display: grid;
    gap: 16px;
    max-height: min(760px, calc(100vh - 44px));
    max-width: 940px;
    overflow: auto;
    padding: 18px;
    width: min(940px, 100%);
}

.track-extra-header {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.track-extra-header h4 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0;
}

.track-extra-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(228, 96, 51, 0.42);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    line-height: 1;
    width: 40px;
}

.track-extra-dialog .form-actions {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 760px) {
.track-extra-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .track-extra-panel {
        align-items: stretch;
        padding: 12px;
    }

    .track-extra-dialog {
        max-height: calc(100vh - 24px);
    }
}
/* Keep optional track panel save buttons compact on mobile */
.track-extra-dialog .form-actions .primary-button {
    flex: 0 0 auto;
    min-width: 128px;
    width: auto;
}

@media (max-width: 760px) {
.track-extra-dialog .form-actions {
        justify-content: flex-end;
    }

    .track-extra-dialog .form-actions .primary-button {
        max-width: 180px;
        width: auto;
    }
}
/* Track collapse controls and compact optional-panel save button */
.track-block-body {
    display: grid;
    gap: 14px;
}

.track-block.is-collapsed .track-block-body {
    display: none;
}

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

.track-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(228, 96, 51, 0.42);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
}

.track-toggle:hover {
    background: rgba(228, 96, 51, 0.18);
}

.track-block-header h3 {
    overflow-wrap: anywhere;
}

.track-extra-dialog .form-actions {
    align-items: center;
}

.track-extra-dialog .form-actions .primary-button {
    align-self: center;
    flex: 0 0 auto;
    height: 46px;
    min-height: 46px;
    min-width: 128px;
    width: auto;
}

@media (max-width: 760px) {
.track-block-header {
        align-items: flex-start;
    }

    .track-header-actions {
        gap: 6px;
    }

    .track-toggle,
    .track-remove {
        min-height: 36px;
        padding: 0 10px;
    }

    .track-extra-dialog .form-actions .primary-button {
        height: 46px;
        max-width: 180px;
        min-height: 46px;
        width: auto;
    }
}
/* Keep short optional track panels from stretching on mobile */
@media (max-width: 760px) {
.track-extra-panel {
        align-items: center;
    }

    .track-extra-dialog {
        height: auto;
        max-height: calc(100vh - 24px);
    }
}
/* Release cover upload */
.release-cover-form {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(180px, 230px) minmax(260px, 1fr);
    padding: 12px;
}

.release-cover-preview {
    align-self: start;
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

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

.release-cover-preview img.is-logo {
    object-fit: contain;
    padding: 18px;
}

.track-image-preview {
    background: #202027;
    border: 1px solid rgba(228, 96, 51, 0.35);
    justify-self: center;
    max-width: 220px;
    width: min(220px, 100%);
}

.track-image-preview img.is-logo {
    padding: 28px;
}

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

.track-image-form {
    align-content: start;
    align-items: start;
    display: grid;
    gap: 10px 14px;
    grid-template-columns: minmax(210px, 230px) minmax(0, 1fr);
}

.track-image-form > .track-extra-header {
    grid-column: 1 / -1;
}

.track-image-form > .track-image-preview {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    width: 100%;
}

.track-image-form > .track-image-controls {
    align-self: start;
    display: grid;
    gap: 10px;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
}

.track-image-controls > .file-picker {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
}

.track-image-controls > .form-note,
.track-image-controls > .form-actions {
    margin: 0;
}

.track-image-controls > .file-picker .file-button,
.track-image-controls > .file-picker .file-selected {
    min-height: 48px;
}

.track-image-controls > .form-actions {
    justify-content: flex-end;
}

.release-cover-controls {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.release-cover-controls .file-picker,
.release-cover-controls .form-note,
.release-cover-controls .form-actions {
    align-self: stretch;
    margin: 0;
    padding-top: 0;
}

.release-cover-controls .form-actions {
    justify-content: flex-end;
}

.release-detail-panel.is-detail-only {
    margin-top: 0;
}

@media (max-width: 760px) {
.release-cover-form {
        grid-template-columns: 1fr;
    }

    .release-cover-preview {
        max-width: 230px;
        justify-self: center;
    }

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

    .track-image-form > .track-extra-header,
    .track-image-form > .track-image-preview,
    .track-image-form > .track-image-controls {
        grid-column: 1;
        grid-row: auto;
    }

    .track-image-form > .track-image-preview {
        max-width: 230px;
    }

    .track-image-controls > .file-picker {
        display: grid;
        grid-template-columns: 1fr;
    }

    .track-image-controls > .form-actions {
        justify-content: stretch;
    }
}
/* Release cover spacing and state border */
.release-cover-section {
    display: grid;
    gap: 12px;
}

.release-cover-controls 
.form-note {
    line-height: 1.55;
    padding: 14px 15px !important;
}

.release-cover-preview {
    border: 2px solid rgba(228, 96, 51, 0.42);
}

.release-cover-preview.is-active {
    border-color: #2ed573;
    box-shadow: 0 0 0 1px rgba(46, 213, 115, 0.22);
}

.release-cover-preview.is-passive {
    border-color: #eb2127;
    box-shadow: 0 0 0 1px rgba(235, 33, 39, 0.22);
}

.release-store-open {
    justify-self: end;
    min-width: 178px;
}

.release-store-form .track-store-grid label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.release-store-form .track-store-grid span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.release-store-form .track-store-grid input {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 16px;
    width: 100%;
}

.release-store-form .track-store-grid input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

@media (max-width: 760px) {
.release-store-open {
        justify-self: stretch;
        width: 100%;
    }
}
.release-cover-controls .release-store-open {
    align-self: flex-end;
}

@media (max-width: 760px) {
.release-cover-controls .release-store-open {
        align-self: stretch;
    }
}
/* Release detail container should not look like an extra table */
.release-detail-panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}
/* Track lyrics and description text panels */
.track-textarea-field {
    display: grid;
    gap: 8px;
}

.track-textarea-field span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.track-textarea-field textarea {
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.5;
    min-height: 320px;
    padding: 14px 16px;
    resize: vertical;
    width: 100%;
}

.track-textarea-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

@media (max-width: 760px) {
.track-textarea-field textarea {
        min-height: 260px;
    }
}
/* Artist discography visibility toggle */
.discography-toggle-row {
    justify-content: space-between;
    min-height: 48px;
}

.discography-toggle-row .ios-toggle {
    margin-left: auto;
}

.ios-toggle {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    gap: 10px;
    min-width: 0;
}

.ios-toggle input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.ios-toggle-slider {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.28);
    flex: 0 0 auto;
    height: 28px;
    position: relative;
    transition: background 0.18s ease, border-color 0.18s ease;
    width: 104px;
}

.ios-toggle-slider::after {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
    content: "";
    height: 22px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: transform 0.18s ease;
    width: 22px;
}

.ios-toggle input:checked + .ios-toggle-slider {
    background: #2ed573;
    border-color: #2ed573;
}

.ios-toggle input:checked + .ios-toggle-slider::after {
    transform: translateX(76px);
}

.ios-toggle input:focus-visible + .ios-toggle-slider {
    outline: 2px solid rgba(228, 96, 51, 0.85);
    outline-offset: 3px;
}

.ios-toggle strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 760px) {
.discography-toggle-row .ios-toggle {
        width: 100%;
    }
}
/* Release cover action buttons */
.release-cover-action-row {
    align-self: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.release-cover-action-row .secondary-button {
    min-width: 178px;
}

.release-description-form .track-textarea-field textarea {
    min-height: 320px;
}

@media (max-width: 760px) {
.release-cover-action-row {
        align-self: stretch;
        display: grid;
        grid-template-columns: 1fr;
    }

    .release-cover-action-row .secondary-button {
        width: 100%;
    }

    .release-description-form .track-textarea-field textarea {
        min-height: 260px;
    }
}

.release-store-panel > .release-store-form,
.release-description-panel > .release-description-form {
    position: relative;
}

.release-store-panel .track-extra-close,
.release-description-panel .track-extra-close {
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #e46033;
    border-radius: 0 8px 0 8px;
    background: #e46033;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.release-store-panel .track-extra-close:hover,
.release-description-panel .track-extra-close:hover {
    background: #c94d27;
    border-color: #c94d27;
}
.track-extra-dialog {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.track-extra-dialog > * {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 760px) {
.track-extra-panel {
        box-sizing: border-box;
        overflow-x: hidden;
        padding: 10px;
    }

    .track-extra-dialog {
        box-sizing: border-box;
        max-width: 100%;
        padding: 14px;
        width: 100%;
    }

    .track-extra-dialog .track-store-grid,
    .track-extra-dialog .track-credit-grid,
    .track-extra-dialog .track-textarea-field,
    .track-extra-dialog textarea,
    .track-extra-dialog input {
        max-width: 100%;
        min-width: 0;
    }
}
.track-extra-dialog {
    position: relative;
}

.track-extra-dialog > .track-extra-header .track-extra-close {
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #e46033;
    border-radius: 0 8px 0 8px;
    background: #e46033;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.track-extra-dialog > .track-extra-header .track-extra-close:hover {
    background: #f06d3f;
    border-color: #f06d3f;
}
/* Default player table */
.artist-player-form {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.28);
    border-radius: 999px;
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
    margin-bottom: 14px;
    padding: 12px;
}

.artist-player-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 170px minmax(0, 1fr);
}

.artist-player-row > span:first-child {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
}

.artist-player-form .select-wrap {
    min-width: 0;
}

.artist-player-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: rgba(54, 54, 65, 0.95);
    border: 2px solid rgba(228, 96, 51, 0.72);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 42px;
    outline: none;
    padding: 0 46px 0 14px;
    width: 100%;
}

.artist-player-form select::-ms-expand {
    display: none;
}

.artist-player-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.18);
}

.artist-player-form .select-wrap::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    display: block;
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-62%) rotate(45deg);
    width: 8px;
}

.artist-player-form .form-actions {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 620px) {
    .artist-player-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}
/* Artist edit default player card */
.artist-player-form {
    grid-column: 1 / -1;
    margin: 0 0 14px;
}

.artist-player-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.46);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.artist-player-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 170px minmax(220px, 360px);
    margin: 0;
}

.artist-player-row > span:first-child {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.artist-player-form .select-wrap {
    display: block;
    min-width: 0;
    position: relative;
}

.artist-player-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: rgba(54, 54, 65, 0.98);
    border: 2px solid rgba(228, 96, 51, 0.72);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 44px;
    outline: none;
    padding: 0 46px 0 14px;
    width: 100%;
}

.artist-player-form select::-ms-expand {
    display: none;
}

.artist-player-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 92, 5, 0.18);
}

.artist-player-form .select-wrap::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-62%) rotate(45deg);
    width: 8px;
}

.artist-player-card .form-actions {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 620px) {
    .artist-player-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}
/* Artist default player single frame override */
.artist-player-form {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.46);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-column: 1 / -1;
    margin: 0 0 14px;
    padding: 16px;
}

.artist-player-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 14px;
    padding: 0;
}

.artist-player-row {
    grid-template-columns: 170px minmax(0, 1fr);
}

.artist-player-form .select-wrap {
    width: 100%;
}

.artist-player-form select {
    width: 100%;
}

.mobile-player-label {
    display: none;
}

.mobile-label-space {
    display: none;
}

.desktop-label-break {
    display: block;
    flex: 0 0 100%;
    height: 0;
}

.artist-video-form > label > span {
    align-items: center;
    background: rgba(54, 54, 65, 0.98);
    border: 2px solid rgba(228, 96, 51, 0.72);
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    min-height: 42px;
    padding: 0 14px;
}
.artist-video-form > label {
    grid-template-columns: 170px minmax(0, 1fr);
}

.artist-video-form > label > span {
    white-space: nowrap;
}
.artist-player-row,
.artist-video-form > label {
    grid-template-columns: minmax(170px, 1fr) minmax(0, 526px);
}

.artist-video-form input[type="text"],
.artist-player-form .select-wrap {
    width: 100%;
}
/* Exact alignment for artist player and showcase video rows */
.artist-player-form,
.artist-video-form {
    box-sizing: border-box;
    width: 100%;
}

.artist-player-card,
.artist-video-form > label {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(176px, 1fr) minmax(0, 526px);
    column-gap: 16px;
    width: 100%;
}

.artist-player-row {
    display: contents;
}

.artist-player-row > span:first-child,
.artist-video-form > label > span {
    box-sizing: border-box;
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
}

.artist-player-form .select-wrap,
.artist-player-form select,
.artist-video-form input[type="text"] {
    box-sizing: border-box;
    max-width: none;
    width: 100%;
}

.artist-player-card .form-actions,
.artist-video-form > .form-actions {
    grid-column: 2;
}

@media (max-width: 760px) {
.artist-player-card,
    .artist-video-form > label {
        grid-template-columns: 1fr;
    }

    .artist-player-card .form-actions,
    .artist-video-form > .form-actions {
        grid-column: auto;
    }
}
/* Showcase video row: keep label/input/button same height and prevent overflow */
.artist-video-form {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto;
}

.artist-video-form > label {
    display: contents;
}

.artist-video-form > label > span,
.artist-video-form input[type="text"],
.artist-video-form .primary-button {
    box-sizing: border-box;
    min-height: 46px;
}

.artist-video-form > label > span {
    align-items: center;
    display: flex;
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
    padding: 0 10px;
    text-align: center;
    white-space: normal;
    word-break: normal;
}

.artist-video-form input[type="text"] {
    max-width: none;
    width: 100%;
}

.artist-video-form > .form-actions {
    align-self: stretch;
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.artist-video-form .primary-button {
    align-items: center;
    display: inline-flex;
}

@media (max-width: 760px) {
.artist-video-form {
        grid-template-columns: 1fr;
    }

    .artist-video-form > label {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .artist-video-form > label > span {
        font-size: 13px;
    }

    .desktop-label-break {
        display: none;
    }

    .mobile-label-space {
        display: inline-block;
        width: 0.28em;
    }

    .desktop-player-label {
        display: none;
    }

    .mobile-player-label {
        display: inline;
    }
}
/* Default player row: match showcase video row */
.artist-player-form {
    align-items: end;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto;
    margin: 0;
    padding: 0;
}

.artist-player-card {
    display: contents;
}

.artist-player-row {
    display: contents;
}

.artist-player-row > span:first-child,
.artist-player-form select,
.artist-player-form .primary-button {
    box-sizing: border-box;
    min-height: 46px;
}

.artist-player-row > span:first-child {
    align-items: center;
    background: rgba(54, 54, 65, 0.98);
    border: 2px solid rgba(228, 96, 51, 0.72);
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 0 10px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artist-player-form .select-wrap {
    width: 100%;
}

.artist-player-card .form-actions {
    align-self: stretch;
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.artist-player-form .primary-button {
    align-items: center;
    display: inline-flex;
}

@media (max-width: 760px) {
.artist-player-form {
        grid-template-columns: 1fr;
    }
}
.artist-player-form {
    margin-bottom: 12px;
}

@media (min-width: 761px) {
    .artist-video-form > label > span {
        flex-direction: column;
        gap: 1px;
        line-height: 1.05;
        padding-bottom: 6px;
        padding-top: 6px;
    }

    .artist-video-form .desktop-label-break {
        display: block;
        height: 0;
    }
}

/* Artist player row: keep the select the same width as the showcase input. */
.artist-player-form {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    margin: 0 0 12px;
    padding: 0;
    width: 100%;
}

.artist-player-card {
    align-items: end;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto;
    padding: 0;
    width: 100%;
}

.artist-player-label,
.artist-player-form select,
.artist-player-form .primary-button {
    box-sizing: border-box;
    min-height: 46px;
}

.artist-player-label {
    align-items: center;
    background: rgba(54, 54, 65, 0.98);
    border: 2px solid rgba(228, 96, 51, 0.72);
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 0 10px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.artist-player-form .select-wrap {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    position: relative;
    width: 100%;
}

.artist-player-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    box-sizing: border-box;
    max-width: none;
    width: 100%;
}

.artist-player-form select::-ms-expand {
    display: none;
}

.artist-player-card .form-actions {
    align-self: stretch;
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 760px) {
.artist-player-card {
        grid-template-columns: 1fr;
    }

    .artist-player-label {
        justify-content: flex-start;
        white-space: normal;
    }

    .artist-player-card .form-actions {
        justify-content: flex-start;
    }
}
.artist-language-panel {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.artist-language-panel[hidden] {
    display: none;
}

.artist-language-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 2px;
}

.artist-language-actions .form-actions {
    margin: 0;
    padding: 0;
}

.artist-language-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(228, 96, 51, 0.42);
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    width: 48px;
}

.artist-language-toggle:hover,
.artist-language-toggle:focus-visible {
    background: rgba(228, 96, 51, 0.16);
    border-color: #e46033;
    outline: none;
    transform: translateY(-1px);
}

.artist-language-toggle img {
    border-radius: 3px;
    display: block;
    height: 22px;
    object-fit: cover;
    width: 31px;
}

@media (max-width: 760px) {
.artist-language-actions {
        align-items: center;
        flex-direction: row;
    }
}

.comment-admin-list {
    display: grid;
    gap: 14px;
}
.comment-page-heading-panel {
    background: rgba(31, 31, 39, 0.98);
    border: 1px solid rgba(228, 96, 51, 0.62);
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 14px 28px 13px;
}

.comment-page-heading-text {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
}
.comment-panel {
    padding-left: 14px;
    padding-right: 14px;
}

.comment-admin-card {
    background: rgba(31, 31, 39, 0.98);
    border: 1px solid rgba(228, 96, 51, 0.38);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 14px;
}

.comment-admin-card.pending {
    border-color: rgba(255, 190, 76, 0.65);
}

.comment-admin-card.approved {
    border-color: rgba(60, 200, 130, 0.45);
}

.comment-admin-head,
.comment-admin-author,
.comment-admin-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.comment-admin-head strong {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 12px;
}

.comment-admin-head span,
.comment-admin-head time {
    color: #ffb08e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.comment-admin-author {
    justify-content: flex-start;
}

.comment-admin-author span,
.comment-admin-author a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.comment-admin-author a {
    color: #ffb08e;
}

.comment-admin-card p {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
    padding: 11px;
}

.comment-admin-actions {
    justify-content: flex-end;
}

.comment-admin-actions form {
    margin: 0;
}

.danger-button {
    border-color: rgba(255, 82, 82, 0.75);
    color: #ffb0b0;
}

@media (max-width: 760px) {
.comment-admin-head,
    .comment-admin-author,
    .comment-admin-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .comment-admin-actions {
        align-items: stretch;
    }

    .comment-admin-actions form,
    .comment-admin-actions button {
        width: 100%;
    }
}

.admin-menu a.admin-submenu-link {
    text-decoration: none;
}

.comment-filter-form {
    margin: 0 0 12px;
    max-width: 360px;
}

.comment-filter-form label {
    display: grid;
    gap: 6px;
}

.comment-filter-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #35353d;
    background-image: none;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 46px 0 16px;
    width: 100%;
}

.comment-filter-form label > span:first-child {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 800;
}

.compact-comment-list {
    gap: 8px;
}

.compact-comment-list .comment-admin-card {
    gap: 7px;
    padding: 9px 10px;
}

.compact-comment-list .comment-admin-head strong {
    font-size: 14px;
}

.compact-comment-list .comment-admin-head span,
.compact-comment-list .comment-admin-head time,
.compact-comment-list .comment-admin-author span,
.compact-comment-list .comment-admin-author a {
    font-size: 12px;
}

.compact-comment-list .comment-admin-card p {
    line-height: 1.42;
    padding: 8px;
}

.compact-comment-list .comment-admin-actions button {
    min-height: 34px;
    padding: 7px 12px;
}

.comment-pagination {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
}

.comment-pagination span {
    color: #ffb08e;
    font-size: 12px;
    font-weight: 900;
}

.comment-pagination .secondary-button {
    align-items: center;
    display: inline-flex;
    min-height: 34px;
    padding: 7px 12px;
    text-decoration: none;
}
.artist-comment-row-card {
    gap: 6px;
}

.artist-comment-row-head {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.artist-comment-person,
.artist-comment-date-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.artist-comment-person {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.artist-comment-date-actions {
    flex: 0 0 auto;
}

.artist-comment-person span,
.artist-comment-date-actions time {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.artist-comment-date-actions form {
    margin: 0;
}

.comment-delete-x {
    align-items: center;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    line-height: 1;
    min-height: 20px;
    padding: 0;
    width: 20px;
}

@media (max-width: 760px) {
.artist-comment-row-head,
    .artist-comment-person,
    .artist-comment-date-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .artist-comment-date-actions {
        gap: 6px;
    }
}
.comment-filter-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.comment-filter-form select option {
    background: #35353d;
    color: #fff;
}

.comment-artist-dropdown {
    display: none;
}

.mobile-select-dropdown {
    display: none;
}

.select-wrap.has-mobile-select + .mobile-select-dropdown {
    display: block;
}

.artist-comment-person span {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.artist-comment-person strong {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 900;
}

.artist-comment-person em {
    color: rgba(255, 255, 255, 0.68);
    font-style: normal;
    font-weight: 400;
}

.pending-comment-actions {
    gap: 6px;
}

.pending-comment-actions form {
    margin: 0;
}

.comment-approve-small {
    align-items: center;
    background: rgba(47, 213, 120, 0.16);
    border-color: rgba(47, 213, 120, 0.78);
    color: #2fd578;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    line-height: 1;
    min-height: 20px;
    padding: 0;
    width: 20px;
}
.comment-approve-small:hover,
.comment-approve-small:focus-visible {
    background: rgba(47, 213, 120, 0.26);
    border-color: #2fd578;
    color: #ffffff;
}

.pending-comment-actions .comment-approve-small {
    flex-basis: 20px !important;
    width: 20px !important;
}

@media (min-width: 761px) {
    .comment-admin-card.pending .pending-comment-actions form {
        flex: 0 0 auto;
        width: auto !important;
    }

    .comment-admin-card.pending .pending-comment-actions button,
    .comment-admin-card.pending .comment-approve-small,
    .comment-admin-card.pending .comment-delete-x {
        box-sizing: border-box;
        flex: 0 0 20px !important;
        max-width: 20px !important;
        min-width: 20px !important;
        width: 20px !important;
    }
}

/* Release info edit dialog */
.release-edit-panel > .release-edit-form {
    position: relative;
    width: min(760px, 100%);
}

.release-edit-form {
    gap: 18px;
}

.release-edit-form label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.release-edit-form label > span:not(.select-wrap) {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.release-edit-form input,
.release-edit-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #35353d;
    background-image: none;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    height: 50px;
    min-width: 0;
    padding: 0 16px;
    width: 100%;
}

.release-edit-form select {
    padding-right: 46px;
}

.release-edit-form select::-ms-expand {
    display: none;
}

.release-edit-form .select-wrap {
    display: block;
    position: relative;
}

.release-edit-form .select-wrap::after {
    content: none;
    display: none;
}

.release-edit-form input:focus,
.release-edit-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.release-edit-form input[type="date"] {
    color-scheme: dark;
}

.release-edit-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0.82;
}

.release-edit-panel .track-extra-close {
    position: absolute;
    top: -1px;
    right: -1px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #e46033;
    border-radius: 0 8px 0 8px;
    background: #e46033;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.release-edit-panel .track-extra-close:hover {
    background: #f06d3f;
    border-color: #f06d3f;
}

@media (max-width: 760px) {
.release-edit-form .form-row.two-columns {
        grid-template-columns: 1fr;
    }
}
.release-description-form .release-description-field textarea { min-height: 180px; }
@media (max-width: 760px) {
.release-description-form .release-description-field textarea { min-height: 160px; } }

.release-edit-form label:has([required]) > span:first-child::after {
    color: var(--accent);
    content: " *";
}

/* Playlist admin forms */
.playlist-form-panel {
    max-width: min(640px, 50vw);
    width: 100%;
}

.playlist-edit-panel {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    width: 100%;
}

.playlist-form,
.playlist-edit-form {
    display: grid;
    gap: 18px;
    max-width: 640px;
}

.playlist-edit-form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    max-width: none;
}

.playlist-form label,
.playlist-edit-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.playlist-form label {
    gap: 7px;
}

.playlist-form span,
.playlist-edit-form span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
}

.playlist-edit-form label > span:not(.select-wrap) {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.playlist-form label > span:not(.select-wrap) {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.playlist-form input,
.playlist-form select,
.playlist-edit-form input,
.playlist-edit-form select {
    background: var(--input-bg);
    border: 2px solid rgba(228, 96, 51, 0.45);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    height: 48px;
    padding: 0 14px;
    width: 100%;
}

.playlist-edit-form input,
.playlist-edit-form select {
    height: 42px;
    padding: 0 12px;
}

.playlist-form input:focus,
.playlist-form select:focus,
.playlist-edit-form input:focus,
.playlist-edit-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

.playlist-form input::placeholder,
.playlist-edit-form input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.playlist-form select,
.playlist-edit-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 44px;
}

.playlist-form label:has([required]) > span:first-child::after,
.playlist-edit-form label:has([required]) > span:first-child::after {
    color: var(--accent);
    content: " *";
}

.playlist-platform-name {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.playlist-search-form {
    margin-bottom: 16px;
}

.playlist-search-columns {
    align-items: end;
    grid-template-columns: 180px minmax(240px, 1fr) auto;
}

.visit-stat-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-bottom: 18px;
}

.visit-toolbar {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.visit-range-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.visit-toolbar-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.visit-traffic-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.visit-range-filter a,
.visit-traffic-filter a {
    align-items: center;
    background: rgba(228, 96, 51, 0.12);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    min-height: 38px;
    padding: 0 13px;
    text-decoration: none;
}

.visit-range-filter a:hover,
.visit-range-filter a:focus-visible,
.visit-range-filter a.active,
.visit-traffic-filter a:hover,
.visit-traffic-filter a:focus-visible,
.visit-traffic-filter a.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    outline: none;
}

.visit-cleanup-button {
    align-items: center;
    background: rgba(235, 33, 39, 0.16);
    border: 1px solid rgba(235, 33, 39, 0.48);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
}

.visit-cleanup-button:hover,
.visit-cleanup-button:focus-visible {
    background: #eb2127;
    outline: none;
}

.visit-cleanup-all-button {
    background: rgba(235, 33, 39, 0.28);
    border-color: rgba(235, 33, 39, 0.72);
}

.visit-cleanup-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.64);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 1000;
}

.visit-cleanup-dialog {
    background: #1b1b20;
    border: 1px solid rgba(228, 96, 51, 0.48);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
    color: #fff;
    display: grid;
    gap: 14px;
    max-width: 440px;
    padding: 22px;
    width: min(100%, 440px);
}

.visit-cleanup-dialog h3 {
    font-size: 24px;
    margin: 0;
}

.visit-cleanup-dialog p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.5;
    margin: 0;
}

.visit-cleanup-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.comment-delete-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.64);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 18px;
    position: fixed;
    z-index: 1100;
}

.comment-delete-dialog {
    background: #1b1b20;
    border: 1px solid rgba(228, 96, 51, 0.48);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
    color: #fff;
    display: grid;
    gap: 14px;
    max-width: 440px;
    padding: 22px;
    position: relative;
    width: min(100%, 440px);
}

.comment-delete-dialog h3 {
    font-size: 24px;
    margin: 0;
    padding-right: 36px;
}

.comment-delete-dialog p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.5;
    margin: 0;
}
#comment-delete-title {
    margin-top: 20px;
}

.comment-delete-confirm-actions {
    margin-top: 8px;
}

.comment-delete-close {
    align-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: 1px solid rgba(228, 96, 51, 0.72);
    border-radius: 0 8px 0 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: -1px;
    top: -1px;
    width: 32px;
}

.comment-delete-close:hover,
.comment-delete-close:focus-visible {
    background: linear-gradient(135deg, #f07648, var(--accent));
    outline: none;
}

.comment-delete-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.comment-delete-confirm-actions .primary-button,
.comment-delete-confirm-actions .secondary-button {
    box-sizing: border-box;
    font-size: 12px;
    min-height: 34px;
    min-width: 78px;
    padding: 7px 12px;
    width: 78px;
}

.danger-confirm-button {
    background: linear-gradient(135deg, #eb2127, #b91519);
}

.track-image-confirm-actions {
    justify-content: space-between;
}

.track-image-confirm-actions .primary-button,
.track-image-confirm-actions .secondary-button {
    min-width: 110px;
}

.track-image-confirm-yes {
    background: linear-gradient(135deg, #30c96f, #19884a);
}
.playlist-side-stack {
    display: grid;
    gap: 0;
}
.playlist-side-stack .playlist-state-form,
.playlist-side-stack .artist-state-box,
.playlist-side-stack .playlist-image-table {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.playlist-side-stack {
    row-gap: 0 !important;
}

.playlist-image-table {
    background: rgba(26, 26, 31, 0.56);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    padding: 16px;
}
.playlist-side-stack .playlist-image-table {
    margin-top: -24px !important;
}

@media (max-width: 760px) {
    .playlist-side-stack .playlist-image-table {
        margin-top: 14px !important;
    }
}

.playlist-image-table .playlist-image-form {
    align-items: stretch;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(180px, 232px) minmax(0, 1fr);
}

.playlist-image-table .artist-profile-preview {
    border: 2px solid #db2f32;
    border-radius: 7px;
    max-width: 232px;
    width: 100%;
}


.playlist-image-table .artist-profile-preview.is-active {
    border-color: #2bd478;
}

.playlist-image-table .artist-profile-preview.is-passive {
    border-color: #db2f32;
}
.playlist-image-table .profile-upload-controls {
    align-self: stretch;
    display: grid;
    gap: 10px;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 262px;
    width: 100%;
}

.playlist-image-table .file-picker {
    display: grid;
    gap: 10px;
}

.playlist-image-table .file-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 39px;
    width: 100%;
}

.playlist-image-table .file-selected {
    align-items: center;
    background: #35353d;
    border: 1px solid rgba(228, 96, 51, 0.36);
    border-radius: 7px;
    color: #fff;
    display: flex;
    min-height: 39px;
    overflow: hidden;
    padding: 0 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.playlist-image-table 
.form-note {
    margin: 0;
}

.playlist-image-table .form-actions {
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

@media (max-width: 760px) {
    .playlist-image-table .playlist-image-form,
    .playlist-image-table .profile-upload-controls {
        grid-template-columns: 1fr;
    }

    .playlist-image-table .profile-upload-controls {
        min-height: 0;
    }

    .playlist-image-table .artist-profile-preview {
        max-width: 220px;
    }

    .playlist-image-table .form-actions .primary-button,
    .playlist-image-table .file-button,
    .playlist-image-table .file-selected {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .visit-toolbar {
        display: grid;
    }

    .visit-toolbar-actions,
    .visit-cleanup-button {
        width: 100%;
    }

    .visit-toolbar-actions,
    .visit-traffic-filter {
        justify-content: flex-start;
    }
}

.visit-stat-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(228, 96, 51, 0.34);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 16px;
}

.visit-stat-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 800;
}

.visit-stat-card strong {
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.visit-stat-card.suspicious {
    border-color: rgba(239, 68, 68, 0.48);
}

.visit-stat-card.suspicious strong {
    color: #ff6b6b;
}

.visit-stat-summary {
    gap: 10px;
}

.visit-table-wrap {
    overflow: visible;
    width: 100%;
}

.visit-table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.visit-table th:nth-child(1),
.visit-table td:nth-child(1) {
    width: 50%;
}

.visit-table th:nth-child(2),
.visit-table td:nth-child(2) {
    width: 8%;
}

.visit-table th:nth-child(3),
.visit-table td:nth-child(3) {
    width: 8%;
}

.visit-table th:nth-child(4),
.visit-table td:nth-child(4) {
    width: 16%;
}

.visit-table th:nth-child(5),
.visit-table td:nth-child(5) {
    width: 22%;
}

.visit-table th,
.visit-table td {
    border-bottom: 1px solid rgba(228, 96, 51, 0.22);
    color: #fff;
    font-size: 14px;
    overflow-wrap: anywhere;
    padding: 12px;
    text-align: left;
    word-break: break-word;
}

.visit-table th {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.visit-sort-heading {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    white-space: nowrap;
}

.visit-sort-button {
    align-items: center;
    background: rgba(228, 96, 51, 0.22);
    border: 1px solid rgba(228, 96, 51, 0.68);
    border-radius: 50%;
    color: var(--accent);
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    width: 24px;
}

.visit-sort-button:hover,
.visit-sort-button:focus-visible,
.visit-sort-button.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.18);
    outline: none;
}

.visit-time-cell {
    overflow-wrap: normal;
    word-break: normal;
}

.visit-time-dropdown {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    position: relative;
    white-space: nowrap;
}

.visit-time-toggle {
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    cursor: pointer;
    height: 8px;
    margin-top: -3px;
    padding: 0;
    transform: rotate(45deg);
    width: 8px;
}

.visit-time-toggle:focus-visible {
    outline: 2px solid rgba(228, 96, 51, 0.55);
    outline-offset: 5px;
}

.visit-time-menu {
    background: #24242a;
    border: 1px solid rgba(228, 96, 51, 0.55);
    border-radius: 8px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 6px;
    left: 0;
    min-width: 155px;
    padding: 10px 12px;
    position: absolute;
    top: calc(100% + 9px);
    z-index: 25;
}

.visit-time-menu span {
    color: #fff;
    font-size: 13px;
}

.visit-ip-cell {
    overflow-wrap: normal;
    word-break: normal;
}

.visit-ip-content {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    overflow-wrap: normal;
    word-break: normal;
}

.visit-ip-content > span:first-child {
    white-space: nowrap;
}

.visit-suspicious-badge {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.55);
    border-radius: 999px;
    color: #ff8a8a;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    padding: 5px 8px;
}

.visit-user-agent-info {
    align-items: center;
    background: rgba(228, 96, 51, 0.16);
    border: 1px solid rgba(228, 96, 51, 0.75);
    border-radius: 50%;
    color: var(--accent);
    cursor: help;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    position: relative;
    width: 20px;
}

.visit-mark-suspicious-button {
    align-items: center;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.58);
    border-radius: 50%;
    color: #ff8a8a;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    padding: 0;
    width: 20px;
}

.visit-mark-suspicious-button:hover,
.visit-mark-suspicious-button:focus-visible {
    background: #eb2127;
    border-color: #eb2127;
    color: #fff;
    outline: none;
}

.visit-user-agent-info::after {
    background: #24242a;
    border: 1px solid rgba(228, 96, 51, 0.7);
    border-radius: 8px;
    bottom: calc(100% + 10px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
    color: #fff;
    content: attr(data-user-agent);
    font-size: 12px;
    font-weight: 700;
    left: 50%;
    line-height: 1.45;
    max-width: min(420px, 55vw);
    opacity: 0;
    padding: 10px 12px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    transform: translate(-50%, 6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
    white-space: pre-wrap;
    width: max-content;
    z-index: 20;
}

.visit-user-agent-info:hover::after,
.visit-user-agent-info:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.playlist-search-columns .search-button {
    height: 50px;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
    width: 112px;
}

.playlist-search-form label {
    display: grid;
    gap: 9px;
}

.playlist-search-form span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.playlist-search-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    height: 50px;
    padding: 0 44px 0 16px;
    width: 100%;
}

.playlist-search-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(228, 96, 51, 0.3);
    outline: none;
}

@media (max-width: 700px) {
    .playlist-form-panel {
        max-width: none;
    }

    .playlist-edit-panel {
        grid-template-columns: 1fr;
    }

    .playlist-search-columns {
        grid-template-columns: 1fr;
    }

    .playlist-search-columns .search-button {
        width: 112px;
    }
}

@media (max-width: 420px) {
    .admin-mobile-bar {
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .admin-panel {
        padding-left: 8px;
        padding-right: 8px;
    }

    .admin-mobile-actions {
        gap: 6px;
    }

    .admin-mobile-menu-toggle {
        min-height: 40px;
        min-width: 42px;
        padding: 0;
        width: 42px;
    }

    .admin-mobile-actions .admin-refresh-button {
        width: 42px;
    }
}

@media (max-width: 760px) {
.artist-edit-panel .artist-detail-list {
        gap: 8px;
    }

    .artist-edit-panel .artist-detail-row {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 0;
        padding: 11px;
    }

    .artist-edit-panel .artist-detail-row > span {
        color: rgba(255, 255, 255, 0.9);
        display: block;
        flex: none;
        font-size: 11px;
        line-height: 1.25;
        white-space: nowrap;
    }

    .artist-edit-panel .artist-detail-row strong,
    .artist-edit-panel .birth-detail strong {
        display: block;
        font-size: 14px;
        line-height: 1.3;
        white-space: normal;
    }

    .artist-edit-panel .birth-row {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .artist-edit-panel .birth-detail {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: stretch;
        width: 100%;
    }

    .artist-edit-panel .inline-check {
        align-items: center;
        display: inline-flex;
        gap: 8px;
        min-height: 24px;
    }

    .artist-edit-panel .inline-check input {
        flex: 0 0 auto;
        height: 18px;
        width: 18px;
    }

    .artist-edit-panel .inline-check span {
        line-height: 1.2;
    }

    .artist-edit-panel .discography-toggle-row {
        align-items: center;
        grid-template-columns: 86px minmax(0, 1fr) auto;
    }

    .artist-edit-panel .discography-toggle-row .ios-toggle {
        grid-column: 3;
        justify-self: end;
        margin: 0;
    }

    .comment-admin-card.pending .artist-comment-row-head {
        align-items: start;
        display: grid;
        gap: 8px 10px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .comment-admin-card.pending .artist-comment-person {
        grid-column: 1;
        grid-row: 1;
    }

    .comment-admin-card.pending .pending-comment-actions {
        align-items: center;
        align-self: start;
        display: flex;
        flex-direction: row;
        gap: 6px;
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        justify-self: end;
        width: auto;
    }

    .comment-admin-card.pending .pending-comment-actions form {
        flex: 0 0 auto;
        width: auto !important;
    }

    .comment-admin-card.pending .pending-comment-actions button,
    .comment-admin-card.pending .comment-approve-small,
    .comment-admin-card.pending .comment-delete-x {
        box-sizing: border-box;
        flex: 0 0 auto;
        height: 34px;
        min-height: 34px;
        min-width: 36px;
        padding: 0;
        width: 36px !important;
    }

    .comment-admin-card.approved .artist-comment-row-head {
        align-items: start;
        display: grid;
        gap: 8px 10px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .comment-admin-card.approved .artist-comment-person {
        grid-column: 1;
        grid-row: 1;
    }

    .comment-admin-card.approved .artist-comment-date-actions {
        align-items: center;
        align-self: start;
        display: flex;
        flex-direction: row;
        gap: 6px;
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        justify-self: end;
        width: auto;
    }

    .comment-admin-card.approved .artist-comment-date-actions form {
        flex: 0 0 auto;
        width: auto !important;
    }

    .comment-admin-card.approved .comment-delete-x {
        box-sizing: border-box;
        flex: 0 0 auto;
        height: 34px;
        min-height: 34px;
        min-width: 36px;
        padding: 0;
        width: 36px !important;
    }
}

/* Final artist player layout override. Keep desktop in one row; mobile stays stacked. */
.artist-player-form {
    background: transparent !important;
    border: 0 !important;
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    width: 100% !important;
}

.artist-player-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    width: 100% !important;
}

.artist-player-label {
    align-items: center !important;
    background: rgba(54, 54, 65, 0.98) !important;
    border: 2px solid rgba(228, 96, 51, 0.72) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    color: #fff !important;
    display: flex !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    justify-content: center !important;
    min-height: 46px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 10px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.artist-player-form .artist-player-select-wrap {
    box-sizing: border-box !important;
    display: block !important;
    min-width: 0 !important;
    position: relative !important;
    width: 100% !important;
}

.artist-player-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    box-sizing: border-box !important;
    min-height: 46px !important;
    width: 100% !important;
}

.artist-player-form .artist-player-select-wrap::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-62%) rotate(45deg);
    width: 8px;
}

.artist-player-card .form-actions {
    align-self: stretch !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.artist-player-form .primary-button {
    min-height: 46px !important;
}

@media (min-width: 761px) {
    .artist-player-card {
        align-items: end !important;
        display: grid !important;
        gap: 12px !important;
        grid-template-columns: minmax(0, 180px) minmax(0, 1fr) 116px !important;
    }

    .artist-player-label {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .artist-player-form .artist-player-select-wrap {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .artist-player-card .form-actions {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-content: stretch !important;
    }

    .artist-player-form .primary-button {
        width: 116px !important;
    }
}

@media (max-width: 760px) {
.artist-player-card {
        display: grid !important;
        gap: 12px !important;
        grid-template-columns: 1fr !important;
    }

    .artist-player-label,
    .artist-player-form .artist-player-select-wrap,
    .artist-player-card .form-actions {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .artist-player-label {
        justify-content: flex-start !important;
        white-space: normal !important;
    }

    .artist-player-card .form-actions {
        justify-content: flex-start !important;
    }
}

/* Final responsive admin header repair */
.sr-only {
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.admin-home-brand {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(228, 96, 51, 0.38);
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    margin-top: 8px;
    text-decoration: none;
    width: 46px;
}

.admin-home-brand:hover,
.admin-home-brand:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.18);
    color: #fff;
    outline: none;
}

.admin-home-brand svg {
    display: block;
    height: 25px;
    width: 25px;
}

@media (min-width: 761px) {
    .admin-sidebar > .admin-mobile-bar {
        display: none !important;
    }

    .admin-sidebar > .admin-brand-desktop {
        display: inline-flex !important;
    }

    .admin-sidebar > .admin-menu {
        margin-top: 18px !important;
    }

    .admin-header .admin-report-refresh-button {
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(228, 96, 51, 0.38) !important;
        border-radius: 999px !important;
        box-shadow: none !important;
        height: 46px !important;
        width: 46px !important;
    }

    .admin-header .admin-report-refresh-button:hover,
    .admin-header .admin-report-refresh-button:focus-visible {
        border-color: var(--accent) !important;
        box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.22) !important;
        outline: none !important;
    }

    .admin-header .admin-report-refresh-button svg {
        height: 22px !important;
        width: 22px !important;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 78px !important;
    }

    body {
        background: #18181e !important;
        overflow-x: hidden !important;
    }

    body.admin-mobile-menu-open {
        overflow: hidden !important;
    }

    .admin-panel {
        display: block !important;
        min-height: 100svh !important;
        padding: 10px !important;
        width: 100% !important;
    }

    .admin-sidebar {
        background: rgba(32, 32, 38, 0.98) !important;
        border: 1px solid rgba(228, 96, 51, 0.42) !important;
        border-radius: 10px !important;
        left: 0 !important;
        padding: 0 !important;
        position: sticky !important;
        right: 0 !important;
        top: 0 !important;
        transform: translateY(0) !important;
        transition: transform 0.22s ease !important;
        width: 100% !important;
        z-index: 1200 !important;
    }

    .admin-sidebar.is-hidden-on-scroll:not(.is-mobile-menu-open) {
        transform: translateY(-100%) !important;
    }

    .admin-main > .admin-header,
    .admin-sidebar > .admin-brand-desktop {
        display: none !important;
    }

    .admin-sidebar > .admin-mobile-bar {
        align-items: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: space-between !important;
        min-height: 58px !important;
        padding: 8px 12px !important;
        width: 100% !important;
    }

    .admin-mobile-left-actions,
    .admin-mobile-actions {
        align-items: center !important;
        display: flex !important;
        flex: 0 0 auto !important;
        gap: 6px !important;
        min-width: 0 !important;
    }

    .admin-mobile-home-button,
    .admin-mobile-menu-toggle,
    .admin-mobile-actions .admin-refresh-button,
    .admin-mobile-account-menu .admin-account-button {
        align-items: center !important;
        background: transparent !important;
        border: 1px solid rgba(228, 96, 51, 0.45) !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        color: #fff !important;
        display: inline-flex !important;
        height: 40px !important;
        justify-content: center !important;
        min-height: 40px !important;
        min-width: 42px !important;
        padding: 0 !important;
        width: 42px !important;
    }

    .admin-mobile-home-button:hover,
    .admin-mobile-home-button:focus-visible,
    .admin-mobile-menu-toggle:hover,
    .admin-mobile-menu-toggle:focus-visible,
    .admin-mobile-menu-toggle[aria-expanded="true"],
    .admin-mobile-actions .admin-refresh-button:hover,
    .admin-mobile-actions .admin-refresh-button:focus-visible {
        background: transparent !important;
        border-color: rgba(228, 96, 51, 0.78) !important;
        box-shadow: none !important;
        color: #fff !important;
        outline: none !important;
    }

    .admin-mobile-home-button svg {
        height: 22px !important;
        width: 22px !important;
    }

    .admin-mobile-menu-icon {
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        justify-content: center !important;
        width: 22px !important;
    }

    .admin-mobile-menu-icon span {
        background: #fff !important;
        border-radius: 999px !important;
        display: block !important;
        flex: 0 0 auto !important;
        height: 2px !important;
        width: 22px !important;
    }

    .admin-mobile-actions .admin-refresh-button svg {
        height: 21px !important;
        width: 21px !important;
    }

    .admin-mobile-account-menu {
        display: block !important;
        position: relative !important;
    }

    .admin-mobile-account-menu .admin-account-avatar {
        height: 32px !important;
        width: 32px !important;
    }

    .admin-mobile-account-popover {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid rgba(228, 96, 51, 0.28) !important;
        box-shadow: none !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        max-width: none !important;
        min-width: 0 !important;
        order: 3 !important;
        padding: 8px 12px 14px !important;
        position: static !important;
        width: 100% !important;
    }

    .admin-menu {
        border-top: 1px solid rgba(228, 96, 51, 0.28) !important;
        display: none !important;
        gap: 0 !important;
        margin: 0 !important;
        max-height: calc(100svh - 58px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        padding: 8px 12px 14px !important;
    }

    .admin-sidebar.is-mobile-menu-open .admin-menu {
        display: grid !important;
    }

    .admin-menu-title {
        align-items: center !important;
        background: #2d2d34 !important;
        border: 1px solid rgba(228, 96, 51, 0.38) !important;
        border-radius: 8px !important;
        color: #fff !important;
        cursor: pointer !important;
        display: flex !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        justify-content: space-between !important;
        margin: 6px 0 0 !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        user-select: none !important;
        width: 100% !important;
    }

    .admin-menu-title::after {
        border: solid var(--accent) !important;
        border-width: 0 2px 2px 0 !important;
        content: "" !important;
        height: 8px !important;
        transform: rotate(45deg) !important;
        transition: transform 0.18s ease !important;
        width: 8px !important;
    }

    .admin-menu-title.is-open {
        background: rgba(228, 96, 51, 0.16) !important;
        border-color: rgba(228, 96, 51, 0.62) !important;
    }

    .admin-menu-title.is-open::after {
        transform: rotate(-135deg) translate(-2px, -2px) !important;
    }

    .admin-menu .admin-submenu-link[hidden] {
        display: none !important;
    }

    .admin-menu .admin-submenu-link {
        align-items: center !important;
        background: rgba(255, 255, 255, 0.045) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        color: rgba(255, 255, 255, 0.88) !important;
        display: flex !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        margin-top: 6px !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        text-align: left !important;
        width: 100% !important;
    }

    .admin-menu .admin-submenu-link.active {
        background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
        border-color: transparent !important;
    }

    .admin-content {
        min-height: auto !important;
        padding: 10px 0 12px !important;
    }
}

/* Mobile report refresh and account logout polish */
@media (max-width: 760px) {
    .admin-mobile-actions .admin-refresh-button {
        align-items: center !important;
        display: grid !important;
        justify-items: center !important;
        line-height: 0 !important;
        place-items: center !important;
        text-align: center !important;
    }

    .admin-mobile-actions .admin-refresh-button svg {
        display: block !important;
        grid-area: 1 / 1 !important;
        height: 22px !important;
        margin: 0 !important;
        transform: translate(0, 0) !important;
        width: 22px !important;
    }

    .admin-mobile-menu-logout-button {
        align-items: center !important;
        background: transparent !important;
        border: 1px solid rgba(228, 96, 51, 0.45) !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        color: #fff !important;
        cursor: pointer !important;
        display: flex !important;
        font: inherit !important;
        font-size: 14px !important;
        font-weight: 900 !important;
        justify-content: center !important;
        line-height: 1.15 !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        width: 100% !important;
    }

    .admin-mobile-menu-logout-button:hover,
    .admin-mobile-menu-logout-button:focus-visible {
        background: rgba(228, 96, 51, 0.10) !important;
        border-color: rgba(228, 96, 51, 0.78) !important;
        outline: none !important;
    }
}

.admin-account-logout-form .logout-button {
    background: transparent !important;
    border: 1px solid rgba(228, 96, 51, 0.45) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #fff !important;
    min-height: 42px !important;
}

.admin-account-logout-form .logout-button:hover,
.admin-account-logout-form .logout-button:focus-visible {
    background: rgba(228, 96, 51, 0.10) !important;
    border-color: rgba(228, 96, 51, 0.78) !important;
    outline: none !important;
}

/* Mobile report refresh visibility fix */
@media (max-width: 760px) {
    .admin-mobile-actions .admin-refresh-button[hidden] {
        display: none !important;
    }

    .admin-mobile-actions .admin-refresh-button:not([hidden]) {
        display: grid !important;
        place-items: center !important;
    }
}








/* Keep select fields visually unchanged while focused or keyboard-searched. */
.artist-search-form select:focus,
.artist-search-form select:focus-visible,
.release-search-form select:focus,
.release-search-form select:focus-visible,
.release-form select:focus,
.release-form select:focus-visible,
.track-form select:focus,
.track-form select:focus-visible {
    background: #35353d !important;
    border-color: rgba(228, 96, 51, 0.62) !important;
    box-shadow: none !important;
    color: #fff !important;
    outline: none !important;
}

.playlist-form select:focus,
.playlist-form select:focus-visible,
.playlist-edit-form select:focus,
.playlist-edit-form select:focus-visible {
    background: var(--input-bg) !important;
    border-color: rgba(228, 96, 51, 0.45) !important;
    box-shadow: none !important;
    color: #fff !important;
    outline: none !important;
}

.playlist-search-form input:focus,
.playlist-search-form input:focus-visible,
.playlist-search-form select:focus,
.playlist-search-form select:focus-visible {
    background: #35353d !important;
    border-color: rgba(228, 96, 51, 0.62) !important;
    box-shadow: none !important;
    color: #fff !important;
    outline: none !important;
}


@media (max-width: 760px) {
    .artist-player-label {
        justify-content: center !important;
        text-align: center !important;
    }
}
@media (max-width: 760px) {
    .artist-player-form .artist-player-select-wrap {
        max-width: 100% !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .artist-player-form select {
        box-sizing: border-box !important;
        max-width: 100% !important;
        padding-left: 44px !important;
        padding-right: 44px !important;
        text-align: center !important;
        text-align-last: center !important;
        width: 100% !important;
    }

    .artist-player-form select option {
        text-align: center !important;
    }
}
.artist-player-select-wrap.has-mobile-select {
    display: none !important;
}

.artist-player-select-wrap.has-mobile-select > select {
    display: none !important;
}

.artist-player-select-wrap.has-mobile-select::after {
    display: none !important;
}

.artist-player-select-wrap + .mobile-select-dropdown {
    display: block;
    grid-column: 2 !important;
    grid-row: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.artist-player-select-wrap + .mobile-select-dropdown .mobile-select-dropdown-button {
    justify-content: flex-start;
    padding-left: 14px;
    padding-right: 44px;
    position: relative;
    text-align: left;
}

.artist-player-select-wrap + .mobile-select-dropdown .mobile-select-dropdown-button::after {
    position: absolute;
    right: 18px;
    top: 50%;
}

.artist-player-select-wrap + .mobile-select-dropdown .mobile-select-dropdown-list {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
}

.artist-player-select-wrap + .mobile-select-dropdown .mobile-select-dropdown-option {
    text-align: left !important;
}

@media (max-width: 760px) {
    .artist-player-select-wrap + .mobile-select-dropdown {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .artist-player-select-wrap + .mobile-select-dropdown .mobile-select-dropdown-button {
        justify-content: center;
        padding-left: 44px;
        padding-right: 44px;
        text-align: center;
    }

    .artist-player-select-wrap + .mobile-select-dropdown .mobile-select-dropdown-option {
        text-align: center !important;
    }
}
.comment-filter-form,
.comment-filter-form label,
.comment-artist-select-wrap,
.comment-artist-dropdown {
    box-sizing: border-box;
    max-width: 360px;
    min-width: 0;
    width: 100%;
}

.comment-artist-dropdown {
    position: relative;
}

.comment-artist-dropdown-button {
    align-items: center;
    background: #35353d;
    border: 2px solid rgba(228, 96, 51, 0.62);
    border-radius: 12px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: 800;
    height: 46px;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: 0 44px 0 14px;
    position: relative;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.comment-artist-dropdown-button::after {
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    content: "";
    height: 8px;
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-62%) rotate(45deg);
    width: 8px;
}

.comment-artist-dropdown.is-open .comment-artist-dropdown-button::after {
    transform: translateY(-35%) rotate(-135deg);
}

.comment-artist-dropdown-list {
    background: #35353d;
    border: 1px solid rgba(228, 96, 51, 0.62);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
    box-sizing: border-box;
    display: none;
    left: 0;
    margin-top: 5px;
    max-height: 260px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 1500;
}

.comment-artist-dropdown.is-open .comment-artist-dropdown-list {
    display: grid;
}

.comment-artist-dropdown-option {
    background: transparent;
    border: 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    min-height: 38px;
    min-width: 0;
    overflow: hidden;
    padding: 0 12px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.comment-artist-dropdown-option:hover,
.comment-artist-dropdown-option:focus-visible {
    background: rgba(228, 96, 51, 0.16);
    outline: none;
}
.comment-filter-form .select-wrap.has-mobile-select + .mobile-select-dropdown {
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.comment-filter-form .mobile-select-dropdown-button,
.comment-filter-form .mobile-select-dropdown-option {
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-filter-form .mobile-select-dropdown-button {
    padding-right: 44px;
    position: relative;
}

.comment-filter-form .mobile-select-dropdown-button::after {
    flex: 0 0 auto;
    position: absolute;
    right: 18px;
    top: 50%;
}

.comment-filter-form .mobile-select-dropdown-list {
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 760px) {
    .comment-filter-form,
    .comment-filter-form label,
    .comment-artist-select-wrap {
        max-width: none;
        width: 100%;
    }
}
.playlist-image-table .artist-profile-preview {
    aspect-ratio: 1 / 1;
    display: flex;
    overflow: hidden;
}

.playlist-image-table .artist-profile-preview img {
    display: block;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
    width: 100% !important;
}
@media (min-width: 761px) {
    .playlist-side-stack .playlist-image-table {
        margin-top: 18px !important;
        min-height: 330px;
    }

    .playlist-image-table .playlist-image-form {
        min-height: 296px;
    }

    .playlist-image-table .profile-upload-controls {
        display: flex;
        flex-direction: column;
        min-height: 296px;
    }

    .playlist-image-table .form-actions {
        margin-top: auto;
    }
}
@media (max-width: 760px) {
    .playlist-image-table {
        padding-bottom: 8px !important;
    }
}
@media (max-width: 760px) {
    .playlist-image-table {
        padding-bottom: 2px !important;
    }

    .playlist-image-table .playlist-image-form,
    .playlist-image-table .profile-upload-controls,
    .playlist-image-table .form-actions {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width: 760px) {
    .playlist-side-stack .playlist-image-table {
        padding-bottom: 0 !important;
    }

    .playlist-image-table .form-actions,
    .playlist-image-table .primary-button {
        margin-bottom: 0 !important;
    }
}
@media (max-width: 760px) {
    [data-artist-form] .artist-form,
    [data-artist-form] .artist-form label,
    [data-artist-form] .form-row,
    [data-artist-form] .form-row.two-columns {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    [data-artist-form] .form-row.two-columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    [data-artist-form] .artist-form input,
    [data-artist-form] .artist-form select,
    [data-artist-form] .artist-form input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
}
@media (max-width: 760px) {
    [data-release-form] .release-form,
    [data-release-form] .release-form label,
    [data-release-form] .form-row,
    [data-release-form] .form-row.two-columns {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    [data-release-form] .form-row.two-columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    [data-release-form] .release-form input,
    [data-release-form] .release-form select,
    [data-release-form] .release-form input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
}


.playlist-copy-button {
    align-items: center;
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 34px;
    padding: 0 14px;
    width: 100%;
}

.playlist-copy-button.is-spotify {
    background: #1db954;
}

.playlist-copy-button.is-audiomack {
    background: linear-gradient(135deg, #e46033, #d35400);
}

.playlist-copy-button.copied {
    filter: brightness(1.08);
}

[data-youtube-auth-info] .form-warning + 
.form-note {
    margin-top: 12px;
}


[data-youtube-auth-info] .form-note + .form-actions {
    margin-top: 14px;
}



.video-watch-panel {
    max-width: none;
    width: 100%;
}
.video-watch-result {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.video-watch-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    justify-content: start;
}

.video-watch-card {
    background: rgba(35, 35, 41, 0.92);
    border: 1px solid rgba(228, 96, 51, 0.42);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.video-watch-card:hover,
.video-watch-card:focus-within {
    border-color: rgba(228, 96, 51, 0.85);
    transform: translateY(-1px);
}

.video-watch-thumb {
    aspect-ratio: 16 / 9;
    background: #111116;
    overflow: hidden;
    width: 100%;
}

.video-watch-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}


[data-music-listen] .video-watch-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

[data-music-listen] .video-watch-thumb {
    aspect-ratio: 1 / 1;
}.video-watch-info {
    padding: 12px;
}

.video-watch-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.video-watch-modal {
    align-items: center;
    animation: video-watch-backdrop-in 0.34s ease both;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 10000;
}

.video-watch-modal[hidden] {
    display: none !important;
}

.video-watch-modal-backdrop {
    animation: video-watch-backdrop-glow 0.52s ease both;
    background: radial-gradient(circle at 50% 46%, rgba(228, 96, 51, 0.18), rgba(0, 0, 0, 0.88) 54%);
    inset: 0;
    position: absolute;
}

.video-watch-dialog {
    animation: video-watch-dialog-in 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(228, 96, 51, 0.72);
    border-radius: 10px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 58px rgba(228, 96, 51, 0.3);
    max-height: calc(100vh - 56px);
    max-width: 1180px;
    overflow: visible;
    position: relative;
    width: min(92vw, 1180px);
    z-index: 1;
}

@keyframes video-watch-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes video-watch-backdrop-glow {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes video-watch-dialog-in {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(34px) scale(0.68);
    }
    62% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(-4px) scale(1.035);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}


.video-watch-modal.is-closing {
    animation: video-watch-backdrop-out 0.22s ease both;
}

.video-watch-modal.is-closing .video-watch-modal-backdrop {
    animation: video-watch-backdrop-out 0.22s ease both;
}

.video-watch-modal.is-closing .video-watch-dialog {
    animation: video-watch-dialog-out 0.22s ease both;
}

@keyframes video-watch-backdrop-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes video-watch-dialog-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(14px) scale(0.82);
    }
}
@media (prefers-reduced-motion: reduce) {
    .video-watch-modal,
    .video-watch-modal-backdrop,
    .video-watch-dialog,
    .video-watch-plus-one.is-visible {
        animation: none;
    }
}

.video-watch-close {
    align-items: center;
    background: #e46033;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), 0 0 22px rgba(228, 96, 51, 0.42);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 26px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: -15px;
    top: -15px;
    width: 42px;
    z-index: 3;
}

.video-watch-player {
    border-radius: inherit;
    display: block;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.video-watch-player iframe {
    display: block;
    height: 100%;
    width: 100%;
}

.video-watch-plus-one {
    color: #31f28f;
    display: block;
    font-size: clamp(54px, 7.4vw, 108px);
    font-weight: 1000;
    left: 50%;
    letter-spacing: 0;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.76), 0 0 16px rgba(49, 242, 143, 0.95), 0 0 42px rgba(49, 242, 143, 0.72), 0 0 86px rgba(228, 96, 51, 0.38);
    top: 50%;
    transform: translate(-50%, -50%) scale(0.72);
    white-space: nowrap;
    z-index: 2;
}

.video-watch-plus-one::before,
.video-watch-plus-one::after {
    content: "";
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.video-watch-plus-one::before {
    background: radial-gradient(circle, rgba(49, 242, 143, 0.36) 0%, rgba(49, 242, 143, 0.18) 34%, rgba(49, 242, 143, 0) 72%);
    filter: blur(10px);
    height: 1.8em;
    width: 4.6em;
}

.video-watch-plus-one::after {
    background: linear-gradient(90deg, rgba(49, 242, 143, 0), rgba(49, 242, 143, 0.8), rgba(255, 255, 255, 0.72), rgba(49, 242, 143, 0.8), rgba(49, 242, 143, 0));
    filter: blur(6px);
    height: 0.16em;
    opacity: 0.82;
    width: 4.9em;
}

.video-watch-plus-one[hidden] {
    display: none !important;
}

.video-watch-plus-one.is-visible {
    animation: video-watch-plus-one-pop 3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes video-watch-plus-one-pop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.42);
    }
    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.14);
    }
    72% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -62%) scale(1.18);
    }
}

body.video-watch-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .video-watch-grid {
        grid-template-columns: 1fr;
    }

    .video-watch-modal {
        overflow: hidden;
        padding: 24px;
    }

    .video-watch-dialog {
        border-radius: 8px;
        max-height: calc(100vh - 48px);
        max-width: calc(100vw - 48px);
        overflow: visible;
        width: calc(100vw - 48px);
    }

    .video-watch-close {
        border-radius: 8px;
        font-size: 18px;
        height: 28px;
        right: -13px;
        top: -13px;
        width: 28px;
    }
}

@media (max-width: 760px) and (orientation: portrait) {
    .video-watch-dialog {
        aspect-ratio: 16 / 9;
        max-height: calc(100vh - 48px);
        max-width: calc(100vw - 48px);
        width: calc(100vw - 48px);
    }
}

@media (max-width: 760px) and (orientation: landscape), (max-height: 760px) and (orientation: landscape) {
    .video-watch-modal {
        padding: 18px;
    }

    .video-watch-dialog {
        aspect-ratio: auto;
        height: calc(100vh - 36px);
        max-height: none;
        max-width: none;
        width: calc(100vw - 36px);
    }

    .video-watch-close {
        border-radius: 8px;
        font-size: 18px;
        height: 28px;
        right: -13px;
        top: -13px;
        width: 28px;
    }
}


.video-watch-modal[data-music-listen-modal] .video-watch-dialog {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: calc(100vh - 56px);
    max-width: min(92vw, calc(100vh - 56px), 760px);
    width: min(92vw, calc(100vh - 56px), 760px);
}

@media (max-width: 760px) {
    .video-watch-modal[data-music-listen-modal] .video-watch-dialog {
        aspect-ratio: 1 / 1;
        height: auto;
        max-height: calc(100vh - 48px);
        max-width: min(calc(100vw - 48px), calc(100vh - 48px));
        width: min(calc(100vw - 48px), calc(100vh - 48px));
    }
}

@media (max-width: 760px) and (orientation: landscape), (max-height: 760px) and (orientation: landscape) {
    .video-watch-modal[data-music-listen-modal] .video-watch-dialog {
        aspect-ratio: 1 / 1;
        height: auto;
        max-height: calc(100vh - 36px);
        max-width: min(calc(100vw - 36px), calc(100vh - 36px));
        width: min(calc(100vw - 36px), calc(100vh - 36px));
    }
}

.video-pool-report-scroll {
    overflow-x: auto;
    width: 100%;
}

.video-pool-report-table {
    border-collapse: collapse;
    min-width: 620px;
    width: 100%;
}

.video-pool-report-table th,
.video-pool-report-table td {
    border-bottom: 1px solid rgba(228, 96, 51, 0.22);
    color: #fff;
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
}

.video-pool-report-table th {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.video-pool-report-table td:not(:first-child),
.video-pool-report-table th:not(:first-child) {
    text-align: center;
    width: 96px;
}


.video-pool-report-table td:first-child strong {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}
.report-title-status.is-active {
    color: #2ecc71;
}

.report-title-status.is-passive {
    color: #e74c3c;
}
.video-pool-title-status.is-active {
    color: #2ecc71;
}

.video-pool-title-status.is-passive {
    color: #e74c3c;
}
.video-pool-status-dot {
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin-right: 8px;
    vertical-align: middle;
    width: 10px;
}

.video-pool-status-dot.is-active {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.55);
}

.video-pool-status-dot.is-passive {
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.55);
}

.video-pool-status-text {
    color: rgba(255, 255, 255, 0.66);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-left: 9px;
}

@media (max-width: 620px) {
    .video-pool-report-scroll {
        overflow: visible;
    }

    .video-pool-report-table,
    .video-pool-report-table thead,
    .video-pool-report-table tbody,
    .video-pool-report-table tr,
    .video-pool-report-table th,
    .video-pool-report-table td {
        display: block;
    }

    .video-pool-report-table {
        min-width: 0;
    }

    .video-pool-report-table thead {
        display: none;
    }

    .video-pool-report-table tr {
        border: 1px solid rgba(228, 96, 51, 0.24);
        border-radius: 8px;
        margin-bottom: 6px;
        padding: 6px 10px;
    }

    .video-pool-report-table td {
        align-items: center;
        border-bottom: 0;
        display: flex;
        justify-content: space-between;
        color: rgba(255, 255, 255, 0.62);
        font-size: 11px;
        font-weight: 900;
        padding: 2px 0;
        text-align: right;
        width: auto !important;
    }

    .video-pool-report-table td::before {
        color: rgba(255, 255, 255, 0.62);
        content: attr(data-label);
        font-size: 11px;
        font-weight: 900;
        margin-right: 8px;
        text-align: left;
    }

    .video-pool-report-table td:first-child {
        align-items: flex-start;
        display: block;
        text-align: left;
    }

    .video-pool-report-table td:first-child::before {
        display: none;
    }

    .video-pool-report-table td:first-child strong {
        font-size: 13px;
        line-height: 1.25;
    }
}
/* Restore artist edit to two boxes per row on desktop. */
.artist-edit-panel {
    grid-template-columns: repeat(2, minmax(340px, 1fr));
}

@media (max-width: 980px) {
    .artist-edit-panel {
        grid-template-columns: 1fr;
    }
}
.artist-video-form .field-label-row {
    overflow: visible;
    position: relative;
    z-index: 60;
}

.artist-video-form .field-help-text {
    display: inline-flex;
    overflow: visible;
    position: relative;
}

.artist-video-form .field-help-text::after {
    bottom: auto;
    top: calc(100% + 8px);
    z-index: 1000;
}
/* Final form note baseline: keeps upload and optional-field warnings styled consistently. */
.form-note {
    background: rgba(228, 96, 51, 0.11);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 13px 15px;
}

.profile-upload-controls .form-note,
.release-cover-controls .form-note {
    background: rgba(228, 96, 51, 0.11);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.55;
    padding: 13px 15px !important;
}
.artist-video-form .showcase-help-text {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
    line-height: 1.08;
    text-align: center;
    white-space: normal;
}
.track-extra-dialog .track-textarea-field + .form-note,
.track-extra-dialog .artist-language-panel + .form-note {
    margin: 0;
}

.track-extra-dialog .form-note + .form-actions,
.track-extra-dialog .form-note + .artist-language-actions {
    margin-top: 0;
    padding-top: 0;
}

.profile-upload-controls .form-note + .help-action-row,
.release-cover-controls .form-note + .help-action-row {
    margin-top: 0;
    padding-top: 0;
}
@media (max-width: 760px) {
    .artist-profile-form .help-action-row,
    .artist-social-form .help-action-row,
    .artist-store-form .help-action-row,
    .profile-upload-controls .help-action-row {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        width: 100%;
    }

    .artist-profile-form .help-action-row .field-help,
    .artist-social-form .help-action-row .field-help,
    .artist-store-form .help-action-row .field-help,
    .profile-upload-controls .help-action-row .field-help {
        flex: 0 0 20px;
        height: 20px;
        min-height: 20px;
        min-width: 20px;
        padding: 0;
        width: 20px;
    }

    .artist-profile-form .help-action-row .primary-button,
    .artist-social-form .help-action-row .primary-button,
    .artist-store-form .help-action-row .primary-button,
    .profile-upload-controls .help-action-row .primary-button {
        flex: 0 0 auto;
        min-width: 128px;
        white-space: nowrap;
        width: auto;
    }

    .artist-edit-panel .field-help::after,
    .artist-edit-panel .field-help-text::after {
        max-width: calc(100vw - 48px);
        width: min(280px, calc(100vw - 48px));
    }

    .artist-edit-panel .field-label-row .field-help::after,
    .artist-edit-panel .field-help-text::after {
        left: 0;
        right: auto;
        transform: translate(0, 4px);
    }

    .artist-edit-panel .field-label-row .field-help:hover::after,
    .artist-edit-panel .field-label-row .field-help:focus-visible::after,
    .artist-edit-panel .field-label-row .field-help:focus::after,
    .artist-edit-panel .field-help-text:hover::after,
    .artist-edit-panel .field-help-text:focus-visible::after,
    .artist-edit-panel .field-help-text:focus::after {
        transform: translate(0, 0);
    }

    .artist-profile-form .help-action-row .field-help::after,
    .artist-social-form .help-action-row .field-help::after,
    .artist-store-form .help-action-row .field-help::after,
    .profile-upload-controls .help-action-row .field-help::after {
        left: auto;
        right: 0;
        transform: translate(0, 4px);
    }

    .artist-profile-form .help-action-row .field-help:hover::after,
    .artist-profile-form .help-action-row .field-help:focus-visible::after,
    .artist-profile-form .help-action-row .field-help:focus::after,
    .artist-social-form .help-action-row .field-help:hover::after,
    .artist-social-form .help-action-row .field-help:focus-visible::after,
    .artist-social-form .help-action-row .field-help:focus::after,
    .artist-store-form .help-action-row .field-help:hover::after,
    .artist-store-form .help-action-row .field-help:focus-visible::after,
    .artist-store-form .help-action-row .field-help:focus::after,
    .profile-upload-controls .help-action-row .field-help:hover::after,
    .profile-upload-controls .help-action-row .field-help:focus-visible::after,
    .profile-upload-controls .help-action-row .field-help:focus::after {
        transform: translate(0, 0);
    }
}
@media (max-width: 760px) {
    .artist-social-form .help-action-row,
    .artist-store-form .help-action-row {
        position: relative;
    }

    .artist-social-form .help-action-row .field-help,
    .artist-store-form .help-action-row .field-help {
        position: static;
    }

    .artist-social-form .help-action-row .field-help::after,
    .artist-store-form .help-action-row .field-help::after {
        left: auto;
        right: 0;
        transform: translate(0, 4px);
        width: min(280px, calc(100vw - 48px));
    }

    .artist-social-form .help-action-row .field-help:hover::after,
    .artist-social-form .help-action-row .field-help:focus-visible::after,
    .artist-social-form .help-action-row .field-help:focus::after,
    .artist-store-form .help-action-row .field-help:hover::after,
    .artist-store-form .help-action-row .field-help:focus-visible::after,
    .artist-store-form .help-action-row .field-help:focus::after {
        transform: translate(0, 0);
    }
}
@media (max-width: 760px) {
    .artist-profile-form .help-action-row,
    .profile-upload-controls .help-action-row {
        position: relative;
    }

    .artist-profile-form .help-action-row .field-help,
    .profile-upload-controls .help-action-row .field-help {
        position: static;
    }

    .artist-profile-form .help-action-row .field-help::after,
    .profile-upload-controls .help-action-row .field-help::after {
        left: auto;
        right: 0;
        transform: translate(0, 4px);
        width: min(280px, calc(100vw - 48px));
    }

    .artist-profile-form .help-action-row .field-help:hover::after,
    .artist-profile-form .help-action-row .field-help:focus-visible::after,
    .artist-profile-form .help-action-row .field-help:focus::after,
    .profile-upload-controls .help-action-row .field-help:hover::after,
    .profile-upload-controls .help-action-row .field-help:focus-visible::after,
    .profile-upload-controls .help-action-row .field-help:focus::after {
        transform: translate(0, 0);
    }

    .artist-video-form .field-help-text::after {
        left: auto;
        right: 0;
        transform: translate(0, 4px);
        width: min(280px, calc(100vw - 48px));
    }

    .artist-video-form .field-help-text:hover::after,
    .artist-video-form .field-help-text:focus-visible::after,
    .artist-video-form .field-help-text:focus::after {
        transform: translate(0, 0);
    }
}
@media (max-width: 760px) {
    .artist-video-form .field-help-text::after {
        left: 50%;
        right: auto;
        transform: translate(-50%, 4px);
        width: min(280px, calc(100vw - 80px));
    }

    .artist-video-form .field-help-text:hover::after,
    .artist-video-form .field-help-text:focus-visible::after,
    .artist-video-form .field-help-text:focus::after {
        transform: translate(-50%, 0);
    }
}
@media (max-width: 760px) {
    .artist-video-form .showcase-help-text {
        flex-direction: row;
        gap: 4px;
        line-height: 1;
        white-space: nowrap;
    }
}
@media (max-width: 760px) {
    .track-block.is-collapsed .track-block-header h3 .track-title-prefix,
    .track-block.is-collapsed .track-block-header h3 .track-title-name {
        display: block;
    }

    .track-block.is-collapsed .track-block-header h3 .track-title-name {
        margin-top: 3px;
    }
}
@media (max-width: 760px) {
    [data-artist-form],
    [data-artist-search],
    [data-release-form],
    [data-release-search],
    [data-track-form],
    [data-playlist-form],
    [data-playlist-search],
    [data-music-link],
    [data-video-link],
    [data-video-link-search],
    [data-music-report],
    [data-video-report],
    [data-playlist-report],
    [data-video-pool],
    [data-video-pool-list],
    [data-music-pool],
    [data-music-pool-list],
    .artist-edit-panel > .artist-edit-box,
    .playlist-edit-panel > .artist-edit-box,
    .playlist-side-stack > *,
    .artist-main-table,
    .release-edit-panel > .release-edit-form,
    .release-detail-track-form .track-block,
    .track-form .track-block,
    .music-link-form,
    .video-link-form,
    .playlist-form,
    .playlist-search-form,
    .playlist-edit-form {
        padding-left: 12px;
        padding-right: 12px;
    }

    .content-form-panel[data-artist-form],
    .content-form-panel[data-artist-search],
    .content-form-panel[data-release-form],
    .content-form-panel[data-release-search],
    .content-form-panel[data-track-form],
    .content-form-panel[data-playlist-form],
    .content-form-panel[data-playlist-search],
    .content-form-panel[data-music-link],
    .content-form-panel[data-video-link],
    .content-form-panel[data-video-link-search],
    .content-form-panel[data-music-report],
    .content-form-panel[data-video-report],
    .content-form-panel[data-playlist-report],
    .content-form-panel[data-video-pool],
    .content-form-panel[data-video-pool-list],
    .content-form-panel[data-music-pool],
    .content-form-panel[data-music-pool-list] {
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (max-width: 760px) {
    .release-cover-controls .help-action-row {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        position: relative;
        width: 100%;
    }

    .release-cover-controls .help-action-row .field-help {
        flex: 0 0 20px;
        height: 20px;
        min-height: 20px;
        min-width: 20px;
        padding: 0;
        position: static;
        width: 20px;
    }

    .release-cover-controls .help-action-row .primary-button {
        flex: 0 0 auto;
        min-width: 128px;
        white-space: nowrap;
        width: auto;
    }

    .release-cover-controls .help-action-row .field-help::after {
        left: auto;
        right: 0;
        transform: translate(0, 4px);
        width: min(280px, calc(100vw - 48px));
    }

    .release-cover-controls .help-action-row .field-help:hover::after,
    .release-cover-controls .help-action-row .field-help:focus-visible::after,
    .release-cover-controls .help-action-row .field-help:focus::after {
        transform: translate(0, 0);
    }
}
@media (max-width: 760px) {
    .track-image-controls .help-action-row {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        position: relative;
        width: 100%;
    }

    .track-image-controls .help-action-row .field-help {
        flex: 0 0 20px;
        height: 20px;
        min-height: 20px;
        min-width: 20px;
        padding: 0;
        position: static;
        width: 20px;
    }

    .track-image-controls .help-action-row .primary-button {
        flex: 0 0 auto;
        min-width: 128px;
        white-space: nowrap;
        width: auto;
    }

    .track-image-controls .help-action-row .field-help::after {
        left: auto;
        right: 0;
        transform: translate(0, 4px);
        width: min(280px, calc(100vw - 48px));
    }

    .track-image-controls .help-action-row .field-help:hover::after,
    .track-image-controls .help-action-row .field-help:focus-visible::after,
    .track-image-controls .help-action-row .field-help:focus::after {
        transform: translate(0, 0);
    }
}
@media (max-width: 760px) {
    .release-search-panel .release-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .release-search-panel .release-card {
        gap: 10px;
        min-height: 0;
        padding: 8px;
    }

    .release-search-panel .release-cover img.is-logo {
        padding: 12px;
    }
}
.release-search-panel .release-card {
    padding: 10px;
}

.release-search-panel .release-card-name {
    margin-top: 2px;
}
@media (max-width: 760px) {
    .release-search-panel .release-card {
        padding: 8px;
    }
}
/* Standard orange focus glow for writable fields. */
.admin-content input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.admin-content input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus-visible,
.admin-content textarea:focus,
.admin-content textarea:focus-visible,
.admin-content select:focus,
.admin-content select:focus-visible,
.admin-content .mobile-select-dropdown-button:focus,
.admin-content .mobile-select-dropdown-button:focus-visible {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(228, 96, 51, 0.18), 0 0 18px rgba(228, 96, 51, 0.28) !important;
    outline: none !important;
}




