/* ==========================================================================
   DR. MAHAR KASHIF RASHEED — PRO-EXCLUSIVE ENCRYPTED VIDEOS CSS
   YouTube-inspired responsive layout, custom anti-download Theater Player
   ========================================================================== */

.dkv-main {
    padding: 22px 0 72px;
    min-height: calc(100vh - 200px);
    background: #ffffff;
}

.dkv-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── ACCESS GATE CARD (GUESTS & NON-PRO USERS) ─── */
.dkv-gate-wrap {
    max-width: 580px;
    margin: 34px auto 48px;
}

.dkv-gate-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.14);
}

.dkv-gate-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.dkv-gate-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.dkv-gate-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
}

.dkv-gate-desc {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 auto 24px;
    max-width: 46ch;
}

.dkv-gate-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dkv-btn-emerald {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #047857, #059669);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.dkv-btn-emerald:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.34);
}

.dkv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

/* ─── TOP HEADER STRIP FOR PRO PORTAL ─── */
.dkv-portal-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.dkv-portal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dkv-portal-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    font-weight: 900;
    color: #090d16;
    line-height: 1.15;
    margin: 0 0 6px;
}

.dkv-portal-sub {
    color: #475569;
    font-size: 0.88rem;
    margin: 0;
}

.dkv-security-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.dkv-security-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* ─── THEATER WORKSPACE (PLAYER + UP NEXT SIDEBAR) ─── */
.dkv-theater-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.dkv-player-column {
    min-width: 0;
}

.dkv-player-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050810;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 46px -20px rgba(9, 13, 22, 0.48);
    border: 1px solid rgba(15, 23, 42, 0.14);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

.dkv-player-shell:fullscreen,
.dkv-player-shell:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    border: none !important;
}

.dkv-player-shell.is-pseudo-fs {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    z-index: 999999 !important;
}

.dkv-video-el {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000000;
    pointer-events: none;
    -webkit-user-drag: none;
}

.dkv-gesture-layer {
    position: absolute;
    inset: 0 0 68px 0;
    z-index: 4;
    cursor: pointer;
}

.dkv-watermark {
    position: absolute;
    z-index: 25;
    top: 14%;
    left: 12%;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(9, 13, 22, 0.45);
    color: rgba(255, 255, 255, 0.45);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    transition: top 1.6s ease, left 1.6s ease;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* ─── ANTI-PIRACY & SCREEN-RECORDING BLACKOUT SHIELD ─── */
.dkv-blackout-shield {
    position: absolute;
    inset: 0;
    z-index: 60;
    background: #020617;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: #ffffff;
    pointer-events: all;
    user-select: none;
    -webkit-user-select: none;
}

.dkv-player-shell.is-blacked-out .dkv-blackout-shield {
    display: flex;
}

.dkv-blackout-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.4));
}

.dkv-blackout-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f87171;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.dkv-blackout-desc {
    font-size: 0.86rem;
    color: #94a3b8;
    max-width: 420px;
    line-height: 1.5;
    margin: 0;
}

.dkv-seek-flash {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.92);
    z-index: 6;
    padding: 10px 16px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dkv-seek-flash.is-left { left: 10%; }
.dkv-seek-flash.is-right { right: 10%; }
.dkv-seek-flash.is-visible { opacity: 1; transform: translateY(-50%) scale(1); }

.dkv-center-hud {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.dkv-center-play-btn {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(5, 150, 105, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease, background 0.15s ease;
}

.dkv-center-play-btn:hover {
    transform: scale(1.06);
    background: #10b981;
}

.dkv-center-play-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}

.dkv-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(255, 255, 255, 0.22);
    border-top-color: #34d399;
    border-radius: 50%;
    animation: dkvSpin 0.75s linear infinite;
    display: none;
}

.dkv-spinner.is-visible {
    display: block;
}

@keyframes dkvSpin {
    to { transform: rotate(360deg); }
}

/* ─── CUSTOM YOUTUBE-STYLE BOTTOM CONTROL BAR ─── */
.dkv-controls-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    padding: 26px 14px 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(5, 8, 16, 0.88) 42%, rgba(5, 8, 16, 0.96) 100%);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.dkv-player-shell.is-hud-hidden .dkv-controls-bar {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
}

.dkv-progress-wrap {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 6px;
    touch-action: none;
}

.dkv-progress-rail {
    position: relative;
    width: 100%;
    height: 5px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
    transition: height 0.12s ease;
}

.dkv-progress-wrap:hover .dkv-progress-rail,
.dkv-progress-wrap.is-scrubbing .dkv-progress-rail {
    height: 7px;
}

.dkv-progress-buffered {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 9999px;
    transition: width 0.2s linear;
}

.dkv-progress-played {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 9999px;
}

.dkv-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid #ffffff;
    transform: translate(-50%, -50%) scale(0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    transition: transform 0.12s ease;
}

.dkv-progress-wrap:hover .dkv-progress-thumb,
.dkv-progress-wrap.is-scrubbing .dkv-progress-thumb {
    transform: translate(-50%, -50%) scale(1.1);
}

.dkv-hover-time {
    position: absolute;
    bottom: 22px;
    transform: translateX(-50%);
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
}

.dkv-hover-time.is-visible {
    opacity: 1;
}

.dkv-ctrl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.dkv-ctrl-group {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.dkv-ctrl-btn {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    height: 32px;
    min-width: 32px;
    padding: 0 9px;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.dkv-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.dkv-ctrl-btn.is-primary {
    background: #059669;
    color: #ffffff;
}

.dkv-ctrl-btn.is-primary:hover {
    background: #10b981;
}

.dkv-vol-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2px 6px 2px 2px;
}

.dkv-vol-slider {
    width: 68px;
    accent-color: #10b981;
    cursor: pointer;
    height: 4px;
}

.dkv-time-readout {
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 4px;
}

.dkv-buffer-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 7px;
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

/* ─── VIDEO META UNDER PLAYER ─── */
.dkv-now-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    margin-top: 14px;
    box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.18);
}

.dkv-now-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dkv-cat-pill {
    padding: 4px 10px;
    border-radius: 9999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
}

.dkv-shield-pill {
    padding: 4px 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
}

.dkv-now-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: #090d16;
    margin: 0 0 8px;
    line-height: 1.25;
}

.dkv-now-desc {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

/* ─── UP NEXT SIDEBAR PLAYLIST ─── */
.dkv-playlist-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.18);
}

.dkv-playlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.dkv-playlist-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.dkv-playlist-count {
    font-size: 0.72rem;
    font-weight: 800;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 9999px;
}

.dkv-playlist-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 460px;
    overflow-y: auto;
}

.dkv-upnext-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 10px;
    padding: 7px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: #f8fafc;
    cursor: pointer;
    text-align: left;
    transition: all 0.16s ease;
    width: 100%;
}

.dkv-upnext-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.dkv-upnext-item.is-active {
    background: #ecfdf5;
    border-color: #34d399;
}

.dkv-upnext-thumb {
    position: relative;
    width: 118px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b, #0f172a);
    flex-shrink: 0;
}

.dkv-upnext-thumb img,
.dkv-yt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.dkv-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    font-size: 1.25rem;
    font-weight: 800;
}

.dkv-dur-badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(9, 13, 22, 0.86);
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
}

.dkv-upnext-meta h4 {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dkv-upnext-meta p {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0;
    font-weight: 600;
}

/* ─── SEARCH, FILTER PILLS & YOUTUBE-STYLE BROWSE WORKSPACE ─── */
.dkv-browse-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dkv-browse-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dkv-browse-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
    min-width: 260px;
}

.dkv-yt-chips-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dkv-yt-chips-bar::-webkit-scrollbar {
    display: none;
}

.dkv-search-box {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 400px;
}

.dkv-search-input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.dkv-search-input:focus {
    background: #ffffff;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.dkv-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.88rem;
    pointer-events: none;
}

.dkv-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.dkv-filter-pill {
    padding: 7px 14px;
    border-radius: 9px;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.dkv-filter-pill:hover {
    background: #e2e8f0;
}

.dkv-filter-pill.is-active {
    background: #0f172a;
    color: #ffffff;
}

/* ─── AUTHENTIC YOUTUBE VIDEO CARD GRID ─── */
.dkv-yt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
}

.dkv-yt-card {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: inherit;
    transition: transform 0.16s ease;
}

.dkv-yt-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 13px;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
    box-shadow: 0 4px 16px -10px rgba(15, 23, 42, 0.35);
}

.dkv-yt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.25s ease;
}

.dkv-yt-card:hover .dkv-yt-thumb img {
    transform: scale(1.03);
}

.dkv-yt-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 13, 22, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dkv-yt-card:hover .dkv-yt-hover-overlay {
    opacity: 1;
}

.dkv-yt-hover-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.94);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.dkv-card-pro-tag {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(5, 150, 105, 0.92);
    color: #ffffff;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.dkv-yt-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 4px 4px;
}

.dkv-yt-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #ecfdf5;
}

.dkv-yt-meta-col {
    flex: 1;
    min-width: 0;
}

.dkv-yt-title {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dkv-yt-channel {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.35;
}

.dkv-yt-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #64748b;
    color: #ffffff;
    font-size: 0.56rem;
    font-weight: 900;
    flex-shrink: 0;
}

.dkv-yt-stats {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* ─── YOUTUBE LOADING SKELETON GRID ─── */
.dkv-yt-skel-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 13px;
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: dkvShimmer 1.35s infinite linear;
}

.dkv-yt-skel-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    flex-shrink: 0;
}

.dkv-yt-skel-line {
    height: 13px;
    border-radius: 5px;
    background: #e2e8f0;
    margin-bottom: 8px;
}

.dkv-yt-skel-line.short {
    width: 62%;
    height: 11px;
    margin-bottom: 0;
}

@keyframes dkvShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── WATCH VIEW HEADER BAR & YOUTUBE CHANNEL DETAILS ─── */
.dkv-watch-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dkv-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.dkv-back-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.dkv-watch-channel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0 14px;
}

.dkv-watch-creator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dkv-watch-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cbd5e1;
    background: #ecfdf5;
}

.dkv-watch-creator-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dkv-watch-creator-sub {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
}

.dkv-watch-desc-box {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 13px 15px;
}

.dkv-empty-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 42px 20px;
    text-align: center;
    color: #475569;
}

/* ─── RESPONSIVE BREAKPOINTS (TABLET & MOBILE) ─── */
@media (max-width: 1024px) {
    .dkv-theater-grid {
        grid-template-columns: 1fr;
    }
    .dkv-playlist-list {
        max-height: 320px;
    }
    .dkv-yt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
}

@media (max-width: 640px) {
    .dkv-container {
        padding: 0 12px;
    }
    .dkv-main {
        padding: 14px 0 44px;
    }
    .dkv-player-shell {
        border-radius: 12px;
    }
    .dkv-controls-bar {
        padding: 20px 8px 8px;
    }
    .dkv-ctrl-btn {
        height: 28px;
        min-width: 28px;
        padding: 0 6px;
        font-size: 0.7rem;
    }
    .dkv-vol-slider {
        display: none;
    }
    .dkv-buffer-tag {
        display: none;
    }
    .dkv-time-readout {
        font-size: 0.68rem;
    }
    .dkv-center-play-btn {
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
    }
    .dkv-yt-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .dkv-browse-actions {
        width: 100%;
        justify-content: stretch;
    }
    .dkv-search-box {
        max-width: none;
        width: 100%;
    }
}
