@charset "UTF-8";
/*
 * Vidora — main stylesheet.
 * Mobile-first. Colors, sizes and grid columns come from CSS custom
 * properties printed by inc/setup.php (vidora_css_variables()).
 */

/* ---------- Reset & base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--vd-header-h-m) + 8px)}
body{margin:0;background:var(--vd-bg);color:var(--vd-fg);font:400 15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,svg,video{display:block;max-width:100%}
img{height:auto}
a{color:var(--vd-link,inherit);text-decoration:none}
a:hover{color:var(--vd-primary)}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4{line-height:1.25;margin:0 0 .5em;font-weight:700;letter-spacing:-.01em}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
:focus-visible{outline:2px solid var(--vd-primary);outline-offset:2px;border-radius:6px}
[hidden]{display:none!important}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.vd-skip:focus{clip:auto;clip-path:none;height:auto;width:auto;z-index:1000;top:8px;left:8px;padding:10px 16px;background:var(--vd-primary);color:#fff;border-radius:8px}
html:not(.js) .vd-js-only{display:none!important}
.vd-icon{flex:none}

/* ---------- Buttons & chips ---------- */
.vd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 18px;border:0;border-radius:999px;background:var(--vd-btn);color:var(--vd-btn-text);font-weight:600;font-size:14px;line-height:1.2;transition:filter .15s,transform .15s}
.vd-btn:hover{color:var(--vd-btn-text);filter:brightness(1.08)}
.vd-btn:active{transform:scale(.98)}
.vd-btn-ghost{background:var(--vd-card);color:var(--vd-fg);border:1px solid var(--vd-border)}
.vd-btn-ghost:hover{color:var(--vd-fg);background:var(--vd-card-hover)}
.vd-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--vd-header-ic,currentColor)}
.vd-icon-btn:hover{background:var(--vd-card-hover);color:var(--vd-header-ic,currentColor)}

.vd-filters{margin:0 0 14px;position:relative}
.vd-chips{display:flex;gap:8px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 0}
.vd-chips::-webkit-scrollbar{display:none}
.vd-chips>li{flex:none;scroll-snap-align:start}
.vd-chips-wrap{flex-wrap:wrap;overflow:visible}
.vd-chip{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:7px 14px;border-radius:999px;background:var(--vd-card);border:1px solid var(--vd-border);color:var(--vd-fg);font-size:14px;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.vd-chip:hover{background:var(--vd-card-hover);color:var(--vd-fg)}
.vd-chip.is-active{background:var(--vd-fg);border-color:var(--vd-fg);color:var(--vd-bg)}
.vd-chips-sm .vd-chip{min-height:32px;padding:5px 12px;font-size:13px;font-weight:500}
.vd-filters-sub{margin-top:-4px}

/* ---------- Header ---------- */
.vd-header{position:relative;z-index:50;background:var(--vd-header-bg,var(--vd-bg));color:var(--vd-header-fg,var(--vd-fg))}
.vd-sticky-header .vd-header{position:sticky;top:0}
.admin-bar.vd-sticky-header .vd-header{top:46px}
@media (min-width:783px){.admin-bar.vd-sticky-header .vd-header{top:32px}}
@media (max-width:600px){.admin-bar.vd-sticky-header .vd-header{top:0}}
.vd-header-border .vd-header{border-bottom:1px solid var(--vd-border)}
.vd-header-shadow .vd-header{box-shadow:0 2px 14px rgba(0,0,0,.08)}
.vd-header-inner{display:flex;align-items:center;gap:8px;height:var(--vd-header-h-m);padding:0 8px 0 4px;position:relative}
.vd-header-start{display:flex;align-items:center;gap:4px;min-width:0;flex:1 1 auto}
.vd-header-end{display:flex;align-items:center;gap:2px;flex:none;margin-left:auto}
.vd-brand{min-width:0;display:flex;align-items:center}
.vd-brand .custom-logo-link{display:flex;align-items:center}
.vd-brand .custom-logo{max-width:var(--vd-logo-w-m);max-height:calc(var(--vd-logo-h) * .85);width:auto;height:auto;object-fit:contain}
.vd-site-title{font-size:20px;font-weight:800;letter-spacing:-.02em;color:var(--vd-header-fg,var(--vd-fg));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}
.vd-site-title:hover{color:var(--vd-accent)}
.vd-header-m-center .vd-brand{position:absolute;left:50%;transform:translateX(-50%)}
.vd-header-search{display:none}
.vd-primary-nav{display:none}
.vd-primary-nav ul{display:flex;gap:4px;list-style:none}
.vd-primary-nav a{display:block;padding:8px 12px;border-radius:999px;font-weight:600;font-size:14px;color:var(--vd-header-fg,var(--vd-fg))}
.vd-primary-nav a:hover,.vd-primary-nav .current-menu-item>a{background:var(--vd-card-hover)}

.vd-search-form{display:flex;align-items:center;gap:8px;width:100%;background:var(--vd-card);border:1px solid var(--vd-border);border-radius:999px;padding:0 4px 0 14px;min-height:42px}
.vd-search-form:focus-within{border-color:var(--vd-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--vd-primary) 20%,transparent)}
.vd-search-form input[type=search]{flex:1 1 auto;min-width:0;border:0;background:transparent;padding:8px 0;outline:0;font-size:15px}
.vd-search-form input[type=search]::-webkit-search-cancel-button{cursor:pointer}
.vd-search-submit{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--vd-muted)}
.vd-search-submit:hover{background:var(--vd-card-hover);color:var(--vd-fg)}
.vd-search-form .vd-btn{min-height:34px;padding:6px 14px}
.vd-search-form>.vd-icon{color:var(--vd-muted)}

.vd-search-panel{display:none;position:absolute;left:0;right:0;top:100%;background:var(--vd-header-bg,var(--vd-bg));border-bottom:1px solid var(--vd-border);box-shadow:0 12px 24px rgba(0,0,0,.12);padding:10px 12px 14px}
html.vd-search-open .vd-search-panel,.vd-search-panel:target{display:block}
.vd-search-panel-inner{max-width:720px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:6px 8px;align-items:center}
.vd-suggest{grid-column:1/-1;background:var(--vd-card);border:1px solid var(--vd-border);border-radius:var(--vd-radius);padding:6px;max-height:min(60vh,480px);overflow:auto}
.vd-suggest h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--vd-muted);margin:8px 8px 4px}
.vd-suggest ul{list-style:none}
.vd-suggest a{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;color:var(--vd-fg)}
.vd-suggest a:hover,.vd-suggest a:focus{background:var(--vd-card-hover)}
.vd-suggest img{width:64px;height:36px;object-fit:cover;border-radius:6px;background:var(--vd-card-hover)}
.vd-suggest .vd-sg-count{margin-left:auto;color:var(--vd-muted);font-size:13px}
.vd-suggest-empty{padding:10px;color:var(--vd-muted)}

.vd-mode-toggle .vd-icon-sun{display:none}
html[data-theme=dark] .vd-mode-toggle .vd-icon-sun{display:block}
html[data-theme=dark] .vd-mode-toggle .vd-icon-moon{display:none}
@media (prefers-color-scheme:dark){html:not([data-theme]) .vd-mode-toggle .vd-icon-sun{display:block}html:not([data-theme]) .vd-mode-toggle .vd-icon-moon{display:none}}

/* ---------- Shell & sidebar ---------- */
.vd-shell{display:flex;align-items:flex-start;min-height:calc(100vh - var(--vd-header-h-m))}
.vd-layout-boxed .vd-shell{max-width:var(--vd-max);margin:0 auto}
.vd-col{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;min-height:calc(100vh - var(--vd-header-h-m))}
.vd-main{flex:1 0 auto;outline:0;padding-bottom:24px}
.vd-container{width:100%;max-width:var(--vd-max);margin:0 auto;padding:14px 12px 0}

.vd-sidebar{position:fixed;z-index:70;top:0;left:0;bottom:0;width:min(86vw,320px);background:var(--vd-sb-bg,var(--vd-bg));color:var(--vd-sb-fg,var(--vd-fg));transform:translateX(-102%);transition:transform .25s ease;display:flex;flex-direction:column;box-shadow:0 0 30px rgba(0,0,0,.25);visibility:hidden}
html.vd-drawer-open .vd-sidebar,.vd-sidebar:target{transform:none;visibility:visible}
.vd-overlay{display:none;position:fixed;inset:0;z-index:65;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
html.vd-drawer-open .vd-overlay,.vd-sidebar:target+.vd-overlay{display:block}
html.vd-drawer-open,html.vd-drawer-open body{overflow:hidden}
.vd-sb-top{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 16px;border-bottom:1px solid var(--vd-border);min-height:var(--vd-header-h-m)}
.vd-sb-title{font-weight:800;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vd-sb-scroll{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:8px 10px 24px;scrollbar-width:thin}
.vd-sb-section{padding:6px 0;border-bottom:1px solid var(--vd-border)}
.vd-sb-section:last-child{border-bottom:0}
.vd-sb-heading{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--vd-muted);font-weight:700;margin:10px 12px 6px}
.vd-sb-list{list-style:none}
.vd-sb-link,.vd-sb-menu a{display:flex;align-items:center;gap:14px;min-height:42px;padding:6px 12px;border-radius:10px;color:var(--vd-sb-fg,var(--vd-fg));font-weight:500;font-size:14.5px}
.vd-sb-link:hover,.vd-sb-menu a:hover{background:var(--vd-sb-hover,var(--vd-card-hover));color:var(--vd-sb-fg,var(--vd-fg))}
.vd-sb-link.is-active,.vd-sb-menu .current-menu-item>a{background:var(--vd-sb-hover,var(--vd-card-hover));color:var(--vd-sb-active,var(--vd-accent));font-weight:700}
.vd-sb-label{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vd-sb-count{font-size:12px;color:var(--vd-muted);font-variant-numeric:tabular-nums}
.vd-sb-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none;background:var(--vd-card-hover)}
.vd-sb-extra{display:none}
.vd-sb-list.is-expanded .vd-sb-extra{display:list-item}
.vd-sb-more{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px 4px}
.vd-sb-more-btn{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--vd-sb-fg,var(--vd-fg));font-weight:600;font-size:13.5px;padding:8px;border-radius:8px}
.vd-sb-more-btn:hover{background:var(--vd-sb-hover,var(--vd-card-hover))}
.vd-sb-more-btn[aria-expanded=true] .vd-icon{transform:rotate(180deg)}
.vd-sb-viewall{font-size:13px;font-weight:600;color:var(--vd-muted);padding:8px}
.vd-avatar,.vd-avatar-fallback{border-radius:50%;object-fit:cover;background:var(--vd-card-hover);flex:none}
.vd-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--vd-muted);font-size:.9em}
.vd-sb-avatar.vd-avatar-fallback{font-size:12px}
.vd-sb-desktop .vd-sidebar,.vd-sb-desktop .vd-sb-toggle,.vd-sb-desktop .vd-overlay{display:none}

/* ---------- Video grid & cards ---------- */
.vd-grid{display:grid;grid-template-columns:repeat(var(--vd-cols-xs),minmax(0,1fr));gap:calc(var(--vd-gap-m) * 1.6) var(--vd-gap-m)}
.vd-card{position:relative;min-width:0;display:flex;flex-direction:column;border-radius:var(--vd-card-radius);transition:transform .2s ease,background .2s}
.vd-card-thumb{position:relative;display:block;aspect-ratio:var(--vd-ratio);overflow:hidden;border-radius:var(--vd-card-radius);background:var(--vd-card-hover)}
.vd-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.vd-thumb-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--vd-muted);background:var(--vd-card-hover)}
.vd-badge{position:absolute;right:6px;bottom:6px;padding:2px 6px;border-radius:6px;background:rgba(0,0,0,.78);color:#fff;font-size:12px;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums;letter-spacing:.01em}
/* Trailer previews */
.vd-trailer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s ease;pointer-events:none;background:transparent}
.vd-card.is-previewing .vd-trailer{opacity:1}
.vd-card.is-previewing .vd-card-thumb img{transform:none!important}
.vd-card-thumb .vd-badge,.vd-trailer-badge{z-index:2}
.vd-trailer-badge{position:absolute;left:6px;bottom:6px;display:none;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff}
@media (hover:none){.vd-trailer-badge{display:inline-flex}}
.vd-card.is-previewing .vd-trailer-badge{display:none}
.vd-card.is-loading-preview:not(.is-previewing) .vd-card-thumb::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:40%;background:var(--vd-accent);z-index:3;animation:vd-tload 1s ease-in-out infinite alternate}
@keyframes vd-tload{from{transform:translateX(0)}to{transform:translateX(150%)}}
.vd-card-body{padding:8px 2px 0;min-width:0}
.vd-card-title{font-size:14px;font-weight:600;line-height:1.35;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:var(--vd-title-lines);-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.vd-card-title a{color:var(--vd-fg)}
.vd-card-title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:var(--vd-card-radius)}
.vd-card-meta{display:flex;flex-direction:column;gap:1px;font-size:12.5px;color:var(--vd-muted);min-width:0}
.vd-card-channel{position:relative;z-index:2;color:var(--vd-muted);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-self:flex-start;max-width:100%}
.vd-card-channel:hover{color:var(--vd-fg)}
.vd-card-stats{display:flex;flex-wrap:wrap;gap:0 6px}
.vd-card-stats>*+*::before{content:"\2022";margin-right:6px;opacity:.7}
.vd-card-boxed .vd-card{background:var(--vd-card);border:1px solid var(--vd-border);overflow:hidden}
.vd-card-boxed .vd-card-thumb{border-radius:0}
.vd-card-boxed .vd-card-body{padding:10px 12px 12px}
@media (hover:hover){
	.vd-hover-zoom .vd-card:hover .vd-card-thumb img{transform:scale(1.05)}
	.vd-hover-lift .vd-card:hover{transform:translateY(-3px)}
	.vd-card-boxed .vd-card:hover{background:var(--vd-card-hover)}
	.vd-card:hover .vd-card-title a{color:var(--vd-primary)}
}
@keyframes vd-skel{to{background-position:-150% 0}}
.vd-skeleton .vd-card-thumb,.vd-skeleton .vd-card-title{background:linear-gradient(110deg,var(--vd-card-hover) 30%,var(--vd-card) 50%,var(--vd-card-hover) 70%) 0 0/250% 100%;animation:vd-skel 1.4s linear infinite}
.vd-skeleton .vd-card-title{height:1.1em;width:80%;border-radius:6px}

/* ---------- Pagination ---------- */
.vd-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:28px 0 8px}
.vd-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border-radius:999px;background:var(--vd-card);border:1px solid var(--vd-border);font-weight:600;font-size:14px;color:var(--vd-fg)}
.vd-pagination a.page-numbers:hover{background:var(--vd-card-hover)}
.vd-pagination .page-numbers.current{background:var(--vd-fg);color:var(--vd-bg);border-color:var(--vd-fg)}
.vd-pagination .dots{border:0;background:transparent}
.vd-page-status{color:var(--vd-muted);font-size:14px;padding:0 8px}
.vd-loadmore-wrap{display:flex;justify-content:center;margin:26px 0 6px}
.vd-loadmore[aria-busy=true]{opacity:.7;pointer-events:none}

/* ---------- Page headers ---------- */
.vd-page-header{margin:4px 0 14px}
.vd-page-title{font-size:clamp(20px,4.6vw,30px);font-weight:800;margin:0 0 4px}
.vd-eyebrow{margin:0 0 2px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--vd-accent)}
.vd-page-intro{color:var(--vd-muted);max-width:75ch;margin-top:6px}
.vd-page-search{max-width:560px;margin-top:12px}
.vd-term-header{display:flex;gap:16px;align-items:center;margin:4px 0 18px}
.vd-term-img{width:76px;height:76px;border-radius:50%;object-fit:cover;flex:none;background:var(--vd-card-hover);font-size:30px}
.vd-term-channel .vd-term-img{border-radius:18px}
.vd-term-count{margin:0;color:var(--vd-muted);font-size:14px}
.vd-term-desc{margin-top:8px;color:var(--vd-muted);max-width:75ch;font-size:14px}
.vd-term-desc p:last-child{margin:0}
.vd-social{display:flex;flex-wrap:wrap;gap:8px;list-style:none}
.vd-social a{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:5px 10px;border-radius:999px;border:1px solid var(--vd-border)}
.vd-term-social{margin-top:10px}
.vd-breadcrumbs{font-size:13px;color:var(--vd-muted);margin:0 0 10px}
.vd-breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px}
.vd-breadcrumbs li+li::before{content:"/";margin-right:4px;opacity:.6}
.vd-breadcrumbs a{color:var(--vd-muted)}
.vd-breadcrumbs a:hover{color:var(--vd-fg)}

/* Directories */
.vd-dir-header{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;justify-content:space-between}
.vd-dir-search{max-width:340px}
.vd-term-grid,.vd-term-strip{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.vd-term-strip{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 0 18px;padding-bottom:2px}
.vd-term-strip .vd-term-card{flex:0 0 130px}
.vd-term-card a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:16px 10px;border-radius:var(--vd-radius);background:var(--vd-card);border:1px solid var(--vd-border);height:100%;color:var(--vd-fg);transition:background .15s,transform .15s}
.vd-term-card a:hover{background:var(--vd-card-hover);color:var(--vd-fg)}
.vd-term-card-img{width:84px;height:84px;border-radius:50%;object-fit:cover;font-size:30px}
.vd-term-card-channel .vd-term-card-img{border-radius:18px}
.vd-term-card-name{font-weight:700;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.vd-term-card-count{font-size:12.5px;color:var(--vd-muted)}

/* ---------- Single video ---------- */
.vd-single-wrap{max-width:1280px;padding-top:0}
.vd-player{margin:0 -12px}
.vd-player-frame{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.vd-video{width:100%;height:100%;background:#000;object-fit:contain}
.vd-player-error,.vd-player-missing{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:#fff;padding:20px;background:rgba(0,0,0,.82)}
.vd-player-missing{background:#111 center/cover no-repeat}
.vd-player-missing-inner{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 22px;border-radius:14px;background:rgba(0,0,0,.7)}
.vd-player-error p,.vd-player-missing p{margin:0;max-width:44ch}
.vd-player-msg{color:#fff;padding:20px}
.vd-player-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 12px 0;font-size:13px;color:var(--vd-muted)}
.vd-speed{display:inline-flex;align-items:center;gap:6px}
.vd-speed select{background:var(--vd-card);border:1px solid var(--vd-border);border-radius:8px;padding:4px 8px}
.vd-kbd-hint{display:none}
.vd-info{padding:14px 0 4px}
.vd-video-title{font-size:clamp(18px,3.6vw,24px);font-weight:800;margin:0 0 8px;overflow-wrap:anywhere}
.vd-info-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.vd-info-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;color:var(--vd-muted);font-size:14px}
.vd-info-meta span{display:inline-flex;align-items:center;gap:6px}
.vd-share{position:relative}
.vd-share summary{list-style:none}
.vd-share summary::-webkit-details-marker{display:none}
.vd-share-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:180px;list-style:none;background:var(--vd-card);border:1px solid var(--vd-border);border-radius:12px;padding:6px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.vd-share-menu a,.vd-share-menu button{display:block;width:100%;text-align:left;padding:9px 12px;border-radius:8px;border:0;background:transparent;font-size:14px;color:var(--vd-fg)}
.vd-share-menu a:hover,.vd-share-menu button:hover{background:var(--vd-card-hover)}
.vd-desc{margin-top:14px;background:var(--vd-card);border:1px solid var(--vd-border);border-radius:var(--vd-radius);padding:12px 14px;font-size:14.5px}
.js .vd-desc.is-collapsible:not(.is-open) .vd-desc-inner{max-height:7.2em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.vd-desc-toggle{border:0;background:transparent;font-weight:700;padding:6px 0 0;color:var(--vd-fg)}
.vd-desc.is-short .vd-desc-toggle{display:none}
.vd-section{margin-top:24px}
.vd-section-title{font-size:18px;font-weight:800;margin:0 0 12px}
.vd-people{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.vd-person,.vd-channel-card{display:flex;align-items:center;gap:12px;padding:8px 16px 8px 8px;border-radius:999px;background:var(--vd-card);border:1px solid var(--vd-border);color:var(--vd-fg);min-width:0}
.vd-person:hover,.vd-channel-card:hover{background:var(--vd-card-hover);color:var(--vd-fg)}
.vd-person .vd-avatar,.vd-channel-card .vd-avatar{width:44px;height:44px}
.vd-person-text{display:flex;flex-direction:column;min-width:0}
.vd-person-name{font-weight:700;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vd-person-count{font-size:12.5px;color:var(--vd-muted)}
.vd-channel-card{border-radius:var(--vd-radius);padding:10px 14px 10px 10px;max-width:560px}
.vd-channel-card .vd-avatar{border-radius:12px;width:56px;height:56px}
.vd-channel-cta{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:var(--vd-primary);white-space:nowrap}
.vd-grid-collapsible.is-collapsed>.vd-card.vd-rec-extra{display:none}

/* Homepage SEO text */
.vd-seo-text{margin:28px 0 8px;color:var(--vd-fg)}
.vd-seo-text.vd-seo-above{margin:0 0 16px}
.vd-seo-text h2{font-size:18px;margin:.2em 0 .5em}
.vd-seo-text h3{font-size:16px;margin:1em 0 .4em}
.vd-seo-text p,.vd-seo-text li{color:var(--vd-muted)}
.js .vd-seo-text.is-collapsible:not(.is-open) .vd-desc-inner{max-height:9em}

/* Horizontal rows (More from channel, Continue watching) */
.vd-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.vd-section-head .vd-section-title{margin:0}
.vd-section-link{display:inline-flex;align-items:center;gap:2px;font-size:13.5px;font-weight:700;color:var(--vd-muted);white-space:nowrap}
.vd-section-link:hover{color:var(--vd-fg)}
.vd-grid.vd-row{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(44%,1fr);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:6px;gap:var(--vd-gap-m)}
.vd-grid.vd-row>.vd-card{scroll-snap-align:start}
@media (min-width:768px){.vd-grid.vd-row{grid-auto-columns:calc((100% - 3 * var(--vd-gap)) / 4);gap:var(--vd-gap)}}
@media (min-width:1400px){.vd-grid.vd-row{grid-auto-columns:calc((100% - 4 * var(--vd-gap)) / 5)}}

/* Watch progress & watched badge */
.vd-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.35);z-index:2}
.vd-progress>span{display:block;height:100%;background:var(--vd-accent)}
.vd-watched-badge{position:absolute;left:6px;top:6px;z-index:2;padding:2px 7px;border-radius:6px;background:rgba(0,0,0,.72);color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em}
.vd-card.is-watched .vd-card-thumb img{opacity:.6}
.vd-card.is-watched:hover .vd-card-thumb img{opacity:1}

/* Continue watching */
.vd-cw{margin:0 0 22px}
.vd-cw-row{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(58%,1fr);gap:var(--vd-gap-m);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:6px}
@media (min-width:768px){.vd-cw-row{grid-auto-columns:calc((100% - 4 * var(--vd-gap)) / 5);gap:var(--vd-gap)}}
.vd-cw-item{position:relative;scroll-snap-align:start;min-width:0}
.vd-cw-card{display:block;color:var(--vd-fg)}
.vd-cw-thumb{position:relative;display:block;aspect-ratio:var(--vd-ratio);border-radius:var(--vd-card-radius);overflow:hidden;background:var(--vd-card-hover)}
.vd-cw-thumb img{width:100%;height:100%;object-fit:cover}
.vd-cw-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;font-size:13.5px;line-height:1.35;margin-top:6px}
.vd-cw-meta{display:block;font-size:12px;color:var(--vd-muted);margin-top:2px}
.vd-cw-remove{position:absolute;top:6px;right:6px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff;font-size:17px;line-height:1;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s}
.vd-cw-item:hover .vd-cw-remove,.vd-cw-remove:focus-visible{opacity:1}
@media (hover:none){.vd-cw-remove{opacity:1}}

/* Resume toast in the player */
.vd-resume-toast{position:absolute;left:12px;bottom:56px;z-index:5;display:flex;align-items:center;gap:12px;padding:8px 10px 8px 14px;border-radius:10px;background:rgba(0,0,0,.8);color:#fff;font-size:13.5px;transition:opacity .35s}
.vd-resume-toast button{border:0;border-radius:999px;padding:5px 12px;background:#fff;color:#111;font-weight:700;font-size:12.5px}
.vd-resume-toast.is-hiding{opacity:0}

/* ---------- Prose ---------- */
.vd-prose{overflow-wrap:break-word}
.vd-prose>*:last-child{margin-bottom:0}
.vd-prose a{color:var(--vd-primary);text-decoration:underline;text-underline-offset:2px}
.vd-prose img,.vd-prose iframe{max-width:100%;border-radius:10px}
.vd-prose ul,.vd-prose ol{padding-left:1.4em;margin:0 0 1em}
.vd-page .vd-prose{max-width:780px;font-size:16px;line-height:1.7}

/* ---------- Empty / 404 ---------- */
.vd-empty{text-align:center;padding:48px 16px;color:var(--vd-muted);display:flex;flex-direction:column;align-items:center}
.vd-empty .vd-icon{margin-bottom:12px;opacity:.6}
.vd-empty-title{color:var(--vd-fg);font-size:20px}
.vd-empty-search{width:100%;max-width:460px;margin:6px 0 16px}
.vd-404-code{font-size:clamp(64px,16vw,120px);font-weight:900;line-height:1;margin:0 0 8px;background:linear-gradient(135deg,var(--vd-accent),var(--vd-primary));-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- Footer ---------- */
.vd-footer{margin-top:24px;padding:22px 12px;border-top:1px solid var(--vd-border);background:var(--vd-foot-bg,transparent);color:var(--vd-foot-fg,var(--vd-muted));font-size:14px}
.vd-footer a{color:var(--vd-foot-link,var(--vd-muted))}
.vd-footer a:hover{color:var(--vd-foot-link,var(--vd-fg));text-decoration:underline}
.vd-footer-cols{display:grid;gap:20px;max-width:var(--vd-max);margin:0 auto 18px}
.vd-widget-title{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--vd-foot-fg,var(--vd-fg))}
.vd-widget ul{list-style:none}
.vd-widget li{margin:4px 0}
.vd-footer-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;max-width:var(--vd-max);margin:0 auto}
.vd-copyright{margin:0}
.vd-footer-nav ul{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none}

/* ---------- Bottom nav (mobile) ---------- */
.vd-bnav{position:fixed;z-index:60;left:0;right:0;bottom:0;background:color-mix(in srgb,var(--vd-header-bg,var(--vd-bg)) 94%,transparent);-webkit-backdrop-filter:saturate(1.6) blur(12px);backdrop-filter:saturate(1.6) blur(12px);border-top:1px solid var(--vd-border);padding-bottom:env(safe-area-inset-bottom)}
.vd-bnav ul{display:flex;list-style:none;max-width:640px;margin:0 auto}
.vd-bnav li{flex:1 1 0;min-width:0}
.vd-bnav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:58px;font-size:11px;font-weight:600;color:var(--vd-muted);-webkit-tap-highlight-color:transparent}
.vd-bnav-item span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}
.vd-bnav-item.is-active,.vd-bnav-item:hover{color:var(--vd-fg)}
.vd-bnav-item.is-active .vd-icon{color:var(--vd-accent)}
.vd-has-bnav .vd-col{padding-bottom:calc(58px + env(safe-area-inset-bottom))}

/* ---------- Breakpoints ---------- */
@media (min-width:480px){
	.vd-grid{grid-template-columns:repeat(var(--vd-cols-sm),minmax(0,1fr))}
}
@media (min-width:768px){
	html{scroll-padding-top:calc(var(--vd-header-h) + 8px)}
	.vd-header-inner{height:var(--vd-header-h);padding:0 16px 0 10px;gap:16px}
	.vd-brand .custom-logo{max-width:var(--vd-logo-w);max-height:var(--vd-logo-h)}
	.vd-shell,.vd-col{min-height:calc(100vh - var(--vd-header-h))}
	.vd-sb-top{min-height:var(--vd-header-h)}
	.vd-header-search{display:block;flex:0 1 560px;margin:0 auto}
	.vd-header-split .vd-header-search{margin:0 0 0 auto;flex-basis:420px}
	.vd-header-split .vd-header-end{margin-left:0}
	.vd-header-center .vd-brand{position:absolute;left:50%;transform:translateX(-50%)}
	.vd-header-center .vd-header-search{flex-basis:320px;margin:0 0 0 auto}
	.vd-header-center .vd-header-end{margin-left:0}
	.vd-header-m-center:not(.vd-header-center) .vd-brand{position:static;transform:none}
	.vd-hide-desktop{display:none}
	.vd-container{padding:20px 20px 0}
	.vd-grid{grid-template-columns:repeat(var(--vd-cols-md),minmax(0,1fr));gap:calc(var(--vd-gap) * 1.5) var(--vd-gap)}
	.vd-card-title{font-size:15px}
	.vd-player{margin:0}
	.vd-player-frame{border-radius:var(--vd-radius)}
	.vd-single-wrap{padding-top:20px}
	.vd-kbd-hint{display:inline}
	.vd-term-img{width:110px;height:110px}
	.vd-term-header{gap:22px}
	.vd-footer{padding:26px 20px}
	.vd-footer-cols{grid-template-columns:repeat(3,1fr)}
	.vd-term-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
	.vd-bnav{display:none}
	.vd-has-bnav .vd-col{padding-bottom:0}
}
@media (min-width:1024px){
	.vd-grid{grid-template-columns:repeat(var(--vd-cols-lg),minmax(0,1fr))}
	.vd-primary-nav{display:block}
	.vd-sb-primary{display:none}

	/* Desktop sidebar: in-flow column; main content resizes with it. */
	.vd-has-sidebar:not(.vd-sb-desktop) .vd-sidebar,.vd-sb-desktop .vd-sidebar{display:flex}
	.vd-sb-desktop .vd-sb-toggle{display:inline-flex}
	.vd-sidebar{position:relative;z-index:10;transform:none;visibility:visible;box-shadow:none;flex:0 0 var(--vd-sb-w);width:var(--vd-sb-w);transition:width .2s ease,flex-basis .2s ease;border-right:1px solid var(--vd-border)}
	.vd-sb-fixed .vd-sidebar{position:sticky;top:var(--vd-header-h);height:calc(100vh - var(--vd-header-h))}
	.admin-bar.vd-sb-fixed.vd-sticky-header .vd-sidebar{top:calc(var(--vd-header-h) + 32px);height:calc(100vh - var(--vd-header-h) - 32px)}
	.vd-sb-fixed:not(.vd-sticky-header) .vd-sidebar{top:0;height:100vh}
	.vd-sb-top{display:none}
	.vd-overlay,.vd-sidebar:target+.vd-overlay,html.vd-drawer-open .vd-overlay{display:none}
	html.vd-drawer-open,html.vd-drawer-open body{overflow:visible}
	html[data-sb=collapsed] .vd-sidebar{flex-basis:var(--vd-sb-cw);width:var(--vd-sb-cw)}
	html[data-sb=collapsed] .vd-sb-scroll{padding:8px 6px;scrollbar-width:none}
	html[data-sb=collapsed] .vd-sb-link,html[data-sb=collapsed] .vd-sb-menu a{flex-direction:column;justify-content:center;gap:4px;padding:10px 2px;min-height:58px;font-size:10.5px;text-align:center}
	html[data-sb=collapsed] .vd-sb-label{font-size:10.5px;max-width:100%}
	html[data-sb=collapsed] .vd-sb-count,html[data-sb=collapsed] .vd-sb-heading,html[data-sb=collapsed] .vd-sb-more,html[data-sb=collapsed] .vd-sb-extra{display:none}
	html[data-sb=collapsed] .vd-sb-section{border-color:transparent;padding:2px 0}
	html[data-sb=collapsed] .vd-sb-menu,html[data-sb=collapsed] .vd-sb-section[aria-labelledby]{display:none}
	html[data-sb=hidden] .vd-sidebar{display:none!important}
	.vd-single-wrap{padding-left:28px;padding-right:28px}
}
@media (min-width:1400px){
	.vd-grid{grid-template-columns:repeat(var(--vd-cols-xl),minmax(0,1fr))}
	.vd-container{padding-left:28px;padding-right:28px}
}
@media (min-width:1800px){
	.vd-grid{grid-template-columns:repeat(var(--vd-cols-xxl),minmax(0,1fr))}
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion:reduce){
	*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
	.vd-skeleton .vd-card-thumb,.vd-skeleton .vd-card-title{animation:none}
}
@media print{
	.vd-header,.vd-sidebar,.vd-bnav,.vd-footer,.vd-filters,.vd-pagination{display:none!important}
}
