.live-player-item {
    background: #030914;
    color: #e6f1f5;
    contain: layout paint style;
    height: 100%;
    isolation: isolate;
    min-height: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.player-container {
    background: #030914;
    height: auto;
    min-height: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.player-name {
    background: rgba(3, 9, 20, .9);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 7px;
    color: #f1f7f9;
    font: 700 11px/1.2 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    left: 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    padding: 6px 9px;
    position: absolute;
    text-overflow: ellipsis;
    top: 8px;
    white-space: nowrap;
    z-index: 4;
}

.player-stats {
    align-items: center;
    background: rgba(3, 9, 20, .85);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 7px;
    bottom: 8px;
    color: #d8e6ef;
    display: inline-flex;
    font: 600 10px/1.2 ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
    gap: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 8px;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
    z-index: 4;
}

.player-stats-latency {
    color: #5eead4;
}

.player-container .player-bg {
    display: block;
    height: auto;
    width: 100%;
}

.player-container .player-abs {
    inset: 0;
    position: absolute;
}

.player-container .loader {
    align-items: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(20, 184, 166, .1), transparent 42%),
        #030914;
    color: #e6f1f5;
    display: flex;
    height: 100%;
    justify-content: center;
    opacity: 1;
    padding: clamp(16px, 7%, 40px);
    text-align: left;
    transition: opacity .16s ease, visibility 0s linear .16s;
    visibility: visible;
    z-index: 3;
}

.player-container .loader.is-ready {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.player-status,
.video-error {
    align-items: center;
    display: flex;
    gap: 12px;
    max-width: 28rem;
}

.player-status-mark,
.video-error-mark {
    align-items: center;
    background: rgba(20, 184, 166, .1);
    border: 1px solid rgba(94, 234, 212, .28);
    border-radius: 12px;
    color: #5eead4;
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.player-status-mark svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 22px;
}

.player-status-copy,
.video-error > span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.player-status strong,
.video-error strong {
    color: #f1f7f9;
    font: 750 13px/1.25 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.player-status small,
.video-error small {
    color: #94aabd;
    font: 500 11px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    overflow-wrap: anywhere;
}

.video-error-mark {
    background: rgba(244, 63, 94, .1);
    border-color: rgba(251, 113, 133, .28);
    color: #fda4af;
    font: 800 18px/1 ui-sans-serif, system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    .player-container .loader {
        transition: none;
    }
}
