:root {
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #000;
}

.player {
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    background: #000;
}

.stage {
    position: relative;
    width: min(100vw, 177.7778vh);
    height: min(100vh, 56.25vw);
    overflow: hidden;
    background: #000;
}

.slide {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 500ms ease;
}

.slide.visible {
    opacity: 1;
}

.empty-state {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #fff;
    text-align: center;
    background: #111;
}

.empty-state strong {
    font-size: clamp(2rem, 6vw, 5rem);
}

.empty-state span {
    color: #aaa;
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.status {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.5rem 0.75rem;
    color: #ddd;
    font-size: 0.8rem;
    background: rgb(0 0 0 / 70%);
    border-radius: 0.25rem;
}

.status.error {
    color: #ffd0d0;
    background: rgb(100 0 0 / 85%);
}
