.a4ncv-shell {
    --a4ncv-bg: #080c16;
    --a4ncv-bg-2: #121826;
    --a4ncv-panel: #ffffff;
    --a4ncv-row: #f4f6f8;
    --a4ncv-row-active: #eef1f4;
    --a4ncv-ink: #10131a;
    --a4ncv-muted: #6b7280;
    --a4ncv-line: #e1e5ea;
    --a4ncv-accent: #f1183d;
    --a4ncv-teal: #10b9aa;
    background:
        linear-gradient(90deg, rgba(8, 12, 22, 0.98), rgba(8, 12, 22, 0.88) 58%, rgba(8, 12, 22, 0.98)),
        radial-gradient(circle at 72% 45%, rgba(241, 24, 61, 0.18), transparent 36%),
        var(--a4ncv-bg);
    color: var(--a4ncv-ink);
    margin: 24px 0;
    padding: clamp(18px, 4vw, 44px);
}

.a4ncv-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(320px, 0.95fr);
    margin: 0 auto;
    max-width: 1480px;
    min-height: 420px;
}

.a4ncv-main {
    align-items: stretch;
    display: flex;
    min-width: 0;
}

.a4ncv-player {
    aspect-ratio: 16 / 9;
    background: var(--a4ncv-bg-2);
    border-radius: 8px 0 0 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    min-height: 360px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.a4ncv-player__iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.a4ncv-playlist {
    background: var(--a4ncv-panel);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
    color: var(--a4ncv-ink);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    min-width: 0;
    overflow: hidden;
}

.a4ncv-playlist__head {
    align-items: center;
    border-bottom: 1px solid var(--a4ncv-line);
    display: flex;
    justify-content: space-between;
    min-height: 66px;
    padding: 18px 22px;
}

.a4ncv-playlist__head strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.a4ncv-playlist__head span {
    color: var(--a4ncv-ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.a4ncv-list {
    display: block;
    max-height: 460px;
    overflow: auto;
}

.a4ncv-video {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid rgba(225, 229, 234, 0.72);
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    min-height: 66px;
    padding: 8px 18px;
    text-align: left;
    transition: background-color 150ms ease, color 150ms ease;
    width: 100%;
}

.a4ncv-video:hover,
.a4ncv-video:focus-visible {
    background: var(--a4ncv-row);
    outline: 0;
}

.a4ncv-video.is-active {
    background: var(--a4ncv-row-active);
}

.a4ncv-video__thumb {
    aspect-ratio: 16 / 9;
    background: #dfe5ec;
    display: block;
    overflow: hidden;
    position: relative;
    width: 96px;
}

.a4ncv-video__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.a4ncv-video__play {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    display: flex;
    height: 22px;
    justify-content: center;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
}

.a4ncv-video__play::before {
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--a4ncv-accent);
    border-top: 5px solid transparent;
    content: "";
    margin-left: 2px;
}

.a4ncv-video__body {
    display: block;
    min-width: 0;
}

.a4ncv-video__body strong {
    color: var(--a4ncv-ink);
    display: -webkit-box;
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.a4ncv-video time {
    color: var(--a4ncv-muted);
    font-size: 0.78rem;
    font-weight: 650;
    justify-self: end;
    white-space: nowrap;
}

.a4ncv-notice {
    background: #fff;
    border: 1px solid #d9e2ea;
    border-left: 4px solid #1476d4;
    border-radius: 8px;
    color: #16202a;
    margin: 20px 0;
    padding: 14px 16px;
}

@media (max-width: 980px) {
    .a4ncv-layout {
        grid-template-columns: 1fr;
    }

    .a4ncv-player {
        border-radius: 8px 8px 0 0;
        min-height: 0;
    }

    .a4ncv-playlist {
        border-radius: 0 0 8px 8px;
        min-height: 0;
    }

    .a4ncv-list {
        max-height: none;
    }
}

@media (max-width: 560px) {
    .a4ncv-shell {
        padding: 14px;
    }

    .a4ncv-playlist__head {
        min-height: 58px;
        padding: 14px 16px;
    }

    .a4ncv-video {
        grid-template-columns: 82px minmax(0, 1fr);
        padding: 8px 12px;
    }

    .a4ncv-video__thumb {
        width: 82px;
    }

    .a4ncv-video time {
        display: none;
    }
}
