﻿:root {
    --mint: #2ec5a7;
    --amber: #ffb703;
    --ink: #163047;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    overflow: hidden
}

.video-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px dashed #e6eef6
}

.badge {
    background: var(--amber);
    color: #222;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .9rem
}

.title {
    font-weight: 900
}

.box {
    position: relative;
    background: #e7f7ff
}

    .box video {
        width: 100%;
        display: block
    }

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none
}

.play-btn {
    pointer-events: auto;
    border: 0;
    cursor: pointer;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #fff, #f2fff9);
    box-shadow: 0 8px 20px rgba(0,0,0,.18)
}

    .play-btn svg {
        width: 28px;
        height: 28px;
        fill: var(--mint)
    }

    .play-btn.hide {
        display: none
    }

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--mint)
}

.cbtn {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    width: 38px;
    height: 32px;
    display: grid;
    place-items: center
}

.progress {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,.55);
    border-radius: 999px;
    position: relative;
    cursor: pointer
}

    .progress > span {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: #fff;
        border-radius: 999px
    }

.time {
    color: #fff;
    font-weight: 800;
    min-width: 96px;
    text-align: center
}

.cbtn:focus, .play-btn:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
    border-radius: 10px
}
