
.acsp-live-videos {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.acsp-live video {
    background: #111;
    max-width: 100%;
    width: 100%;
}

.acsp-live .acsp-audio-track {
    display: none;
}

.acsp-live-controls button {
    margin: 0 0.5rem 0.5rem 0;
}

.acsp-live-controls button.acsp-is-loading,
.acsp-live-create button.acsp-is-loading {
    cursor: wait;
}

.acsp-live-controls button.acsp-is-loading::after,
.acsp-live-create button.acsp-is-loading::after {
    animation: acsp-live-spin 700ms linear infinite;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 0.8em;
    margin-left: 0.5em;
    vertical-align: -0.1em;
    width: 0.8em;
}

@keyframes acsp-live-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .acsp-live-controls button.acsp-is-loading::after,
    .acsp-live-create button.acsp-is-loading::after {
        animation-duration: 1.5s;
    }
}

.acsp-live-chat-messages {
    max-height: 16rem;
    overflow-y: auto;
}

.acsp-live-error {
    color: #b32d2e;
}

.acsp-hidden {
    display: none!important;
}

.acsp-dashboard-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}

/* .acsp-performers,
.acsp-dashboard {
    --acsp-ink: #241b2f;
    --acsp-muted: #756b80;
    --acsp-accent: #7545d6;
    --acsp-accent-dark: #5630a8;
    --acsp-line: #eee9f2;
    color: var(--acsp-ink);
    margin: 2rem auto;
    max-width: 1180px;
} */

.acsp-directory-hero {
    background:
        radial-gradient(ellipse at 88% 20%, rgba(236, 189, 255, 0.45), transparent 34%),
        linear-gradient(125deg, #21182d, #38234b 60%, #513273);
    border-radius: 24px;
    color: #fff;
    margin-bottom: 1.5rem;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4.5rem);
}

.acsp-directory-eyebrow,
.acsp-dashboard-eyebrow {
    color: #d8baff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin: 0 0 0.75rem;
}

.acsp-directory-hero h1 {
    color: inherit;
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0;
}

.acsp-directory-hero > p:not(.acsp-directory-eyebrow) {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    margin: 1rem 0 1.5rem;
    max-width: 42rem;
}

.acsp-directory-search {
    align-items: center;
    background: #fff;
    border-radius: 14px;
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
    padding: 0.4rem;
}

.acsp-directory-search input[type="search"] {
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1rem;
}

.acsp-directory-search button,
.acsp-directory-filters button,
.acsp-follow,
.acsp-follow-link {
    background: var(--acsp-accent);
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-weight: 700;
    padding: 0.7rem 1rem;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.acsp-directory-search button:hover,
.acsp-directory-filters button:hover,
.acsp-follow:hover,
.acsp-follow-link:hover {
    background: var(--acsp-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.acsp-performers :focus-visible,
.acsp-dashboard :focus-visible {
    outline: 1px solid #1e293b;
    outline-offset: 0px;
}

.acsp-directory-toolbar {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.acsp-directory-toolbar > p {
    color: var(--acsp-muted);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.acsp-directory-filters {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.acsp-directory-filters label,
.acsp-performer-report label {
    color: var(--acsp-muted);
    display: grid;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 0.35rem;
}

.acsp-directory-filters input,
.acsp-directory-filters select,
.acsp-performer-report select,
.acsp-performer-report textarea {
    border: 1px solid var(--acsp-line);
    border-radius: 9px;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
    background: #131b2e;
    color: #fff;
}

.acsp-live-create input,
.acsp-live-create select {
    border: 1px solid var(--acsp-line);
    border-radius: 9px;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
    background: #131b2e;
    color: #fff;
}

.acsp-performer-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
}

.acsp-performer-card {
    background: #fff;
    border: 1px solid var(--acsp-line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(45, 26, 64, 0.06);
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.acsp-performer-card:hover {
    box-shadow: 0 16px 38px rgba(45, 26, 64, 0.12);
    transform: translateY(-3px);
}

.acsp-performer-art {
    align-items: center;
    background:
        radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.28), transparent 18%),
        radial-gradient(circle at 20% 100%, rgba(242, 181, 255, 0.55), transparent 44%),
        linear-gradient(135deg, #7647cb, #b264ae 58%, #ed9a91);
    color: #fff;
    display: flex;
    height: 154px;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.acsp-performer-art > span:first-child {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    font-size: 4rem;
    font-weight: 800;
    height: 104px;
    justify-content: center;
    text-shadow: 0 3px 15px rgba(42, 20, 60, 0.2);
    width: 104px;
}

.acsp-live-pill {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: #ad275b;
    display: inline-flex;
    font-size: 0.67rem;
    font-weight: 800;
    gap: 0.4rem;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.65rem;
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
}

.acsp-live-pill i {
    animation: acsp-live-pulse 1.6s infinite;
    background: #e74068;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.acsp-offline-pill {
    color: #60447f;
}

.acsp-performer-card-content {
    padding: 1.1rem 1.2rem 1rem;
}

.acsp-performer-heading {
    align-items: start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.acsp-performer-kicker {
    color: var(--acsp-accent);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 0.25rem;
}

.acsp-performer-heading h2 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
}

.acsp-region-chip,
.acsp-performer-tags span {
    background: #f5f1fa;
    border-radius: 999px;
    color: #5d4d6e;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
}

.acsp-performer-bio {
    color: var(--acsp-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0.75rem 0;
    min-height: 2.8em;
}

.acsp-performer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 1.8rem;
}

.acsp-performer-card-footer {
    align-items: center;
    border-top: 1px solid var(--acsp-line);
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.9rem;
}

.acsp-follower-count {
    color: var(--acsp-muted);
    font-size: 0.82rem;
}

.acsp-follow {
    border-radius: 999px;
    font-size: 0.82rem;
    padding: 0.55rem 0.9rem;
}

.acsp-follow[data-following="true"] {
    background: #f1ebf8;
    color: var(--acsp-accent-dark);
}

.acsp-follow-link {
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 0.55rem 0.8rem;
}

.acsp-performer-report {
    color: var(--acsp-muted);
    font-size: 0.78rem;
    margin-top: 0.8rem;
}

.acsp-performer-report summary {
    cursor: pointer;
}

.acsp-performer-report button,
.acsp-performer-report textarea {
    margin-top: 0.5rem;
}

.acsp-directory-empty {
    /* background: #faf8fc; */
    border: 1px dashed #ddd2e8;
    border-radius: 18px;
    padding: 3rem 1rem;
    text-align: center;
}

.acsp-directory-empty > span {
    color: var(--acsp-accent);
    font-size: 2rem;
}

.acsp-directory-empty h2 {
    margin: 0.5rem 0;
}

.acsp-directory-empty p {
    color: var(--acsp-muted);
    margin: 0;
}

.acsp-directory-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.acsp-directory-pagination a {
    align-items: center;
    border: 1px solid var(--acsp-line);
    border-radius: 9px;
    color: var(--acsp-ink);
    display: flex;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    text-decoration: none;
}

.acsp-directory-pagination a[aria-current="page"] {
    background: var(--acsp-accent);
    border-color: var(--acsp-accent);
    color: #fff;
}

/* .acsp-dashboard {
    background: #fbf9fd;
    border: 1px solid var(--acsp-line);
    border-radius: 22px;
    padding: clamp(1rem, 4vw, 2.2rem);
} */

.acsp-dashboard-header {
    margin-bottom: 1.4rem;
}

.acsp-dashboard-eyebrow {
    color: var(--acsp-accent);
}

.acsp-dashboard-header h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    letter-spacing: -0.04em;
    margin: 0;
}

.acsp-dashboard-header > p:last-child {
    color: var(--acsp-muted);
    margin: 0.45rem 0 0;
}

.acsp-dashboard-metric {
    background: #fff;
    border: 1px solid var(--acsp-line);
    border-radius: 14px;
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
}

.acsp-dashboard-metric span {
    color: var(--acsp-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.acsp-dashboard-metric strong {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.acsp-dashboard-broadcast {
    align-items: center;
    background:
        radial-gradient(circle at 88% 12%, rgba(242, 216, 255, 0.25), transparent 32%),
        linear-gradient(120deg, #302040, #573777);
    border-radius: 16px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 1.35rem;
}

.acsp-dashboard-broadcast h3 {
    color: inherit;
    margin: 0;
}

.acsp-dashboard-broadcast p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0.35rem 0 0;
}

.acsp-dashboard-broadcast .acsp-dashboard-eyebrow {
    margin-bottom: 0.35rem;
}

.acsp-broadcast-launch {
    width: min(100%, 230px);
}

.acsp-broadcast-launch summary {
    /* background: #fff; */
    border-radius: 10px;
    color: var(--acsp-accent-dark);
    cursor: pointer;
    font-weight: 800;
    list-style-position: inside;
    padding: 0.85rem 1rem;
    text-align: center;
}

.acsp-broadcast-launch[open] {
    background: #5f407c;
    border-radius: 12px;
    color: var(--acsp-ink);
    padding: 0.35rem;
    width: 100%;
}

.acsp-broadcast-launch[open] summary {
    background: #5f407c;
    text-align: left;
}

.acsp-broadcast-content {
    padding: 0.8rem;
}

.acsp-broadcast-content .acsp-live {
    color: var(--acsp-ink);
}

.acsp-dashboard > h3 {
    margin: 1.8rem 0 0.7rem;
}

.acsp-dashboard-table {
    background: #fff;
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.acsp-dashboard-table th,
.acsp-dashboard-table td {
    border-bottom: 1px solid var(--acsp-line);
    padding: 0.8rem;
    text-align: left;
}

.acsp-dashboard-table th {
    color: var(--acsp-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

@keyframes acsp-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 64, 104, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(231, 64, 104, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .acsp-performer-card,
    .acsp-directory-search button,
    .acsp-directory-filters button,
    .acsp-follow,
    .acsp-follow-link,
    .acsp-live-pill i {
        animation: none;
        transition: none;
    }
}

@media (max-width: 600px) {
    .acsp-directory-hero {
        border-radius: 16px;
    }

    .acsp-directory-search {
        align-items: stretch;
        flex-direction: column;
    }

    .acsp-directory-search button {
        width: 100%;
    }

    .acsp-directory-filters {
        align-items: stretch;
        width: 100%;
    }

    .acsp-directory-filters label {
        flex: 1 1 100%;
    }

    .acsp-directory-filters button {
        width: 100%;
    }
}
