.stta-player {
    margin: 1.5em 0;
    padding: 1em 1.25em;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fafafa;
    font-family: inherit;
}

.stta-player--admin {
    color: #7a4a00;
    background: #fff8e6;
    border-color: #f0d48a;
}

.stta-play {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.6em 1.2em;
    border: 0;
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1em;
    line-height: 1.2;
    cursor: pointer;
}

.stta-play:hover,
.stta-play:focus-visible {
    background: #333;
}

.stta-play:disabled,
.stta-play[aria-disabled="true"] {
    opacity: 0.6;
    cursor: wait;
}

.stta-play-icon {
    font-size: 0.9em;
}

.stta-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75em;
    margin-top: 0.9em;
}

.stta-progress {
    flex: 1 1 160px;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    overflow: hidden;
}

.stta-progress-fill {
    height: 100%;
    width: 0;
    background: #1a1a1a;
}

.stta-time {
    font-size: 0.9em;
    color: #555;
    white-space: nowrap;
}

.stta-speed {
    font-size: 0.9em;
    color: #555;
}

.stta-speed-select {
    padding: 0.2em 0.4em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.stta-status {
    margin: 0.7em 0 0;
    font-size: 0.9em;
    color: #555;
}

.stta-status:empty {
    display: none;
}
