.dektalent-video-player {
    --video-pink: #ed74ad;
    --video-pink-hover: #d95c96;
    display: block;
    width: 100%;
    color: #fff;
    background: #08080b;
    font-family: system-ui, sans-serif;
}

.dektalent-video-stage {
    position: relative;
    width: 100%;
    aspect-ratio: var(--video-aspect-ratio, 16 / 9);
    overflow: hidden;
    background: #08080b;
}

.dektalent-video-player:fullscreen,
.dektalent-video-player:fullscreen .dektalent-video-stage {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.dektalent-video-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dektalent-video-stage > .dektalent-video-media {
    position: absolute;
    inset: 0;
}

.dektalent-video-player button,
.dektalent-video-player select {
    color: inherit;
    cursor: pointer;
}

.dektalent-video-big-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    width: 9rem;
    padding: 1rem;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 1rem;
    background: rgba(0, 0, 0, .75);
    font-size: 1rem;
    font-weight: 600;
    transition: background .15s, opacity .15s;
}

.dektalent-video-big-play i {
    font-size: 3.5rem;
    line-height: 1;
}

.dektalent-video-big-play:hover { background: var(--video-pink-hover); }
.dektalent-video-stage.is-playing .dektalent-video-big-play { opacity: 0; pointer-events: none; }
.dektalent-video-stage.is-playing:hover .dektalent-video-big-play { opacity: 0; }

.dektalent-video-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: .75rem 1rem .5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .9) 45%);
}

.dektalent-video-toolbar {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.5rem;
}

.dektalent-video-toolbar button {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    font-size: 1.35rem;
}

.dektalent-video-toolbar button:hover,
.dektalent-video-toolbar button:focus-visible,
.dektalent-video-speed:hover,
.dektalent-video-speed:focus-visible { background: var(--video-pink-hover); }

.dektalent-video-time {
    white-space: nowrap;
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

.dektalent-video-spacer { flex: 1; }

.dektalent-video-speed {
    width: 4.75rem;
    height: 2.25rem;
    padding: 0 .35rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: .5rem;
    background: rgba(0,0,0,.65);
    font-size: .9rem;
}

.dektalent-video-speed option { color: #fff; background: #15151b; }

.dektalent-video-seek,
.dektalent-video-volume {
    height: .45rem;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(to right, var(--video-pink) var(--fill, 0%), rgba(255,255,255,.4) var(--fill, 0%));
    appearance: none;
    cursor: pointer;
}

.dektalent-video-seek { display: block; width: 100%; margin-bottom: .35rem; }
.dektalent-video-volume { width: 5rem; flex: none; }
.dektalent-video-seek:disabled { cursor: default; }

.dektalent-video-seek::-webkit-slider-thumb,
.dektalent-video-volume::-webkit-slider-thumb {
    width: .85rem;
    height: .85rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--video-pink);
    appearance: none;
}

.dektalent-video-seek::-moz-range-thumb,
.dektalent-video-volume::-moz-range-thumb {
    width: .7rem;
    height: .7rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--video-pink);
}

.dektalent-video-player :focus-visible { outline: 2px solid var(--video-pink); outline-offset: 2px; }

@media (max-width: 576px) {
    .dektalent-video-controls { padding: .5rem .5rem .25rem; }
    .dektalent-video-toolbar { gap: .15rem; }
    .dektalent-video-toolbar button { width: 2rem; height: 2rem; }
    .dektalent-video-volume { width: 3rem; }
    .dektalent-video-time { font-size: .7rem; }
    .dektalent-video-speed { width: 4rem; font-size: .75rem; }
    .dektalent-video-big-play { width: 6rem; padding: .5rem; font-size: .75rem; }
    .dektalent-video-big-play i { font-size: 2.5rem; }
}
