.ha-wp-schedule {
    --ha-ink: #f4f1f6;
    --ha-muted: #a8a0af;
    --ha-line: rgba(255, 255, 255, .14);
    --ha-accent: #a78bfa;
    --ha-cyan: #9be7e5;
    max-width: 960px;
    margin: 2.5rem auto;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    color: var(--ha-ink);
    background: #0c0b10;
    border: 1px solid var(--ha-line);
    border-radius: 10px;
    box-sizing: border-box;
}

.ha-wp-schedule__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ha-line);
}

.ha-wp-schedule__eyebrow {
    margin: 0 0 .35rem;
    color: var(--ha-cyan);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ha-wp-schedule h2,
.ha-wp-schedule h3,
.ha-wp-schedule p {
    margin-top: 0;
}

.ha-wp-schedule h2 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1;
}

.ha-wp-schedule__profile,
.ha-wp-schedule__teleport {
    color: var(--ha-accent);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ha-wp-schedule__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: .75rem 1rem;
}

.ha-wp-schedule__profile:hover,
.ha-wp-schedule__teleport:hover {
    color: #d8ccff;
}

.ha-wp-schedule__item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    min-height: 6rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--ha-line);
}

.ha-wp-schedule__date {
    display: grid;
    gap: .1rem;
    color: var(--ha-accent);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.ha-wp-schedule__date strong {
    color: var(--ha-ink);
    font-size: 2rem;
    letter-spacing: -.04em;
}

.ha-wp-schedule__details h3 {
    margin-bottom: .25rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.ha-wp-schedule__details h3 a {
    color: inherit;
    text-decoration: none;
}

.ha-wp-schedule__details h3 a:hover {
    color: var(--ha-cyan);
}

.ha-wp-schedule__meta,
.ha-wp-schedule__time {
    margin-bottom: 0;
    font-size: .86rem;
}

.ha-wp-schedule__meta {
    color: var(--ha-muted);
}

.ha-wp-schedule__time {
    margin-top: .45rem;
    color: var(--ha-cyan);
}

.ha-wp-schedule__club-item {
    align-items: start;
}

.ha-wp-schedule__club-item .ha-wp-schedule__time {
    margin: 0 0 .4rem;
}

.ha-wp-schedule__club-item h3 {
    margin-bottom: .9rem;
}

.ha-wp-schedule__slots {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ha-wp-schedule__slots li {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: .2rem .75rem;
    padding-top: .5rem;
    border-top: 1px solid var(--ha-line);
}

.ha-wp-schedule__slot-role {
    color: var(--ha-muted);
    font-size: .8rem;
    font-weight: 700;
}

.ha-wp-schedule__slot-status {
    color: var(--ha-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ha-wp-schedule__slot-performers {
    grid-column: 2;
    font-size: .95rem;
}

.ha-wp-schedule__slot-performers a {
    color: var(--ha-ink);
    font-weight: 700;
    text-decoration: none;
}

.ha-wp-schedule__slot-performers a:hover {
    color: var(--ha-cyan);
}

.ha-wp-schedule__slot-empty {
    color: var(--ha-muted);
}

.ha-wp-schedule__club-item.is-live .ha-wp-schedule__time,
.ha-wp-schedule__slot-status.status-call_out {
    color: #f3c875;
}

.ha-wp-schedule__empty,
.ha-wp-schedule__message {
    margin: 0;
    padding: 2rem 0 .25rem;
    color: var(--ha-muted);
}

.ha-wp-schedule__admin-error {
    margin: .75rem 0 0;
    color: #f7b4c2;
    font-size: .8rem;
}

@media (max-width: 560px) {
    .ha-wp-schedule__header {
        align-items: start;
        flex-direction: column;
    }

    .ha-wp-schedule__item {
        grid-template-columns: 3.5rem minmax(0, 1fr);
        gap: .9rem;
    }

    .ha-wp-schedule__teleport {
        grid-column: 2;
    }

    .ha-wp-schedule__actions {
        justify-content: start;
    }

    .ha-wp-schedule__slots li {
        grid-template-columns: minmax(0, 1fr);
    }

    .ha-wp-schedule__slot-performers {
        grid-column: 1;
    }
}
