:root {
    --tus-banner-height: 0px;
}

.tus-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12040;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box;
    padding: 8px 16px;
    background: #f7641f;
    color: #111;
    font-size: 13px;
    font-weight: 600;
}

body.tus-has-banner #Header,
body.tus-has-banner .admin-topbar {
    top: var(--tus-banner-height);
}

body.tus-has-banner .mobile-menu {
    top: var(--tus-banner-height);
}

body.tus-has-banner.admin-panel .admin-sidebar {
    top: calc(var(--topbar-height) + var(--tus-banner-height));
    height: calc(100vh - var(--topbar-height) - var(--tus-banner-height));
}

body.tus-has-banner.admin-panel .admin-content {
    margin-top: calc(var(--topbar-height) + var(--tus-banner-height));
    min-height: calc(100vh - var(--topbar-height) - var(--tus-banner-height));
}

body.tus-has-banner #site-main {
    padding-top: calc(var(--site-header-offset) + var(--tus-banner-height));
}

body.tus-has-banner #site-main:has(#main_Index_Container),
body.tus-has-banner #site-main:has(.music-page) {
    padding-top: 0;
}

.tus-banner button {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.profile-dropdown-item-test {
    color: #ffb347;
}

.profile-button-qa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f7641f;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.tus-overlay {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tus-overlay.is-open {
    display: flex;
}

.tus-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.62);
}

.tus-modal {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(82vh, 720px);
    overflow: auto;
    background: #13151a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    color: #e8eaed;
}

.tus-header,
.tus-create,
.tus-list,
.tus-footer {
    padding: 16px 20px;
}

.tus-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tus-header h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
}

.tus-header p,
.tus-footer {
    margin: 0;
    font-size: 13px;
    color: #8b92a0;
}

.tus-close {
    border: 0;
    background: transparent;
    color: #e8eaed;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.tus-create {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tus-create input {
    flex: 1 1 180px;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #0f1115;
    color: #fff;
    border-radius: 8px;
    padding: 10px 12px;
}

.tus-btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.tus-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.tus-btn-primary {
    background: #f7641f;
    color: #111;
}

.tus-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #e8eaed;
}

.tus-btn-danger {
    background: transparent;
    color: #ff8a8a;
    padding: 6px 8px;
}

.tus-status {
    display: none;
    margin: 0 20px 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.tus-status.is-error {
    display: block;
    background: rgba(255, 80, 80, 0.12);
    color: #ffb4b4;
}

.tus-status.is-ok {
    display: block;
    background: rgba(80, 200, 120, 0.12);
    color: #b6f0c6;
}

.tus-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tus-row:last-child {
    border-bottom: 0;
}

.tus-row.is-current {
    background: rgba(247, 100, 31, 0.08);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 8px;
}

.tus-row-main {
    min-width: 0;
}

.tus-row-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.tus-row-email {
    font-size: 12px;
    color: #8b92a0;
    word-break: break-all;
}

.tus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.tus-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #c9ced6;
}

.tus-pill-on {
    background: rgba(80, 200, 120, 0.18);
    color: #b6f0c6;
}

.tus-row-actions {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
}

.tus-empty {
    color: #8b92a0;
    font-size: 13px;
    padding: 8px 0;
}
