.video-section { --video-surface: #14101d; --video-line: #3b2c51; }
.video-gallery { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); overflow: hidden; border: 1px solid var(--video-line); border-radius: 18px; background: linear-gradient(130deg, #1b1425, #11101a 58%); box-shadow: 0 24px 64px -36px #6b3f9f55; }
.video-featured { min-width: 0; padding: 18px; }
.video-player-shell { background: #050407; border: 1px solid #5b417c66; border-radius: 11px; overflow: hidden; }
.video-screen { position: relative; aspect-ratio: 16 / 9; background: #08060d; }
.video-screen iframe, .video-screen>div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-controls { display: flex; align-items: center; gap: 9px; padding: 12px 10px; background: #15101e; border-top: 1px solid var(--video-line); }
.video-controls[hidden] { display: none; }
.player-control { display: inline-grid; place-items: center; flex: none; border: 0; border-radius: 5px; padding: 6px; width: 28px; height: 30px; background: transparent; color: #dfd4ef; cursor: pointer; }
.player-control:hover, .player-control[aria-pressed="true"] { background: #ad83e82b; color: #d5baff; }
.player-play { color: var(--accent); font-size: 15px; }
.player-time { color: #b4a7c4; font-size: 11px; font-variant-numeric: tabular-nums; flex: none; }
.video-controls input[type="range"] { --played: 0%; appearance: none; height: 4px; padding: 0; border: 0; border-radius: 3px; background: linear-gradient(to right, #b89ae9 var(--played), #44374f var(--played)); cursor: pointer; }
.video-controls input[type="range"]::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #ddc9ff; }
.video-controls input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #ddc9ff; }
.player-progress { min-width: 30px; width: 100%; }
.player-volume { --played: 80%; width: 52px; flex: none; }
.player-speed { display: flex; align-items: center; gap: 5px; color: #b4a7c4; font-size: 10px; }
.player-speed select { border: 1px solid #44334f; border-radius: 4px; background: #22182f; color: #e4d5f7; padding: 3px 2px; font: inherit; font-size: 11px; cursor: pointer; }
.video-caption { display: flex; gap: 20px; justify-content: space-between; align-items: start; padding: 22px 4px 10px; }
.video-caption .eyebrow { font-size: 10px; letter-spacing: .14em; color: #9d80c1; }
.video-caption h3 { margin-top: 9px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.4; font-weight: 600; max-width: 34ch; }
.video-author { margin-top: 9px; color: var(--muted); font-size: 12px; }
.video-youtube { flex: none; display: flex; gap: 8px; align-items: center; color: #bba4d9; font-size: 11px; line-height: 1.5; max-width: 110px; padding-top: 2px; }
.video-youtube:hover { color: #e4d5ff; }
.video-playlist { min-width: 0; border-left: 1px solid var(--video-line); background: #0e0b1466; }
.video-playlist-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #cbb9df; padding: 22px 20px 17px; font-size: 12px; border-bottom: 1px solid #31233f; }
.video-playlist-heading>span:last-child { color: #9373b6; font-size: 11px; font-variant-numeric: tabular-nums; }
.video-playlist-items { max-height: 430px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #5c4377 #171020; padding: 6px; }
.video-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin: 2px 0; text-align: left; font: inherit; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.video-item:hover { background: #3924494a; }
.video-item.is-active { border-color: #73539770; background: linear-gradient(100deg, #332042b3, #21152b66); }
.video-item-art { flex: none; position: relative; display: block; width: 85px; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: #23172d; }
.video-item-art img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-item.is-active img, .video-item:hover img { opacity: 1; }
.video-item-play { display: none; place-items: center; position: absolute; inset: 0; background: #140b2799; color: #eedfff; font-size: 14px; }
.video-item.is-active .video-item-play { display: grid; }
.video-item-copy { display: grid; gap: 6px; min-width: 0; }
.video-item-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.5; font-weight: 500; }
.video-item-copy small { color: #9d8bad; font-size: 10px; }
.video-item-number { margin-left: auto; color: #765d8b; font-size: 10px; font-variant-numeric: tabular-nums; }
.video-error { padding: 12px 4px 4px; color: #c7adcc; font-size: 12px; line-height: 1.6; }
.video-player-shell:fullscreen { display: flex; flex-direction: column; width: 100vw; height: 100vh; border: 0; border-radius: 0; }
.video-player-shell:fullscreen .video-screen { flex: 1; aspect-ratio: auto; }
.video-player-shell:fullscreen .video-controls { flex: none; min-height: 55px; }
.video-player-shell:focus-visible, .video-item:focus-visible, .player-control:focus-visible, .video-controls input:focus-visible, .player-speed select:focus-visible { outline: 2px solid #c8a6fa; outline-offset: 3px; }
@media(min-width: 1250px) { .video-playlist-items { max-height: 465px; } }
@media(max-width: 1050px) { .video-gallery { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); } .video-item { gap: 9px; padding: 10px 8px; } .video-item-art { width: 68px; } .player-speed>span { display: none; } .player-volume { width: 36px; } .video-caption { flex-direction: column; gap: 14px; } .video-youtube { max-width: none; } }
@media(max-width: 780px) { .video-gallery { grid-template-columns: 1fr; } .video-featured { padding: 12px; } .video-playlist { border-left: 0; border-top: 1px solid var(--video-line); } .video-playlist-items { max-height: 300px; } .video-item-art { width: 100px; } .video-item-copy strong { font-size: 13px; } .video-caption { padding: 20px 5px 10px; } .video-caption h3 { max-width: none; } .video-playlist-heading { padding: 18px; } }
@media(max-width: 420px) { .video-controls { flex-wrap: wrap; gap: 7px; padding: 10px 8px; } .player-progress { flex: 1; } .player-volume { width: 40px; } .player-speed { margin-left: auto; } .video-controls>[data-player-mute] { margin-left: 0; } .video-item-number { display: none; } .video-item-art { width: 80px; } }
@media(prefers-reduced-motion: reduce) { .video-item { transition: none; } }

.video-poster { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: #08060d; cursor: pointer; }
.video-poster[hidden] { display: none; }
.video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s ease; }
.video-poster>span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 68px; height: 68px; padding-left: 4px; transform: translate(-50%, -50%); border: 1px solid #dbc4ff88; border-radius: 50%; background: #2d174ad9; box-shadow: 0 0 35px #ac77f54d; color: #f5ebff; font-size: 22px; }
.video-poster:hover img { opacity: 1; }
.video-poster:focus-visible { outline: 2px solid #d5baff; outline-offset: -4px; }

.video-gallery-single { grid-template-columns: minmax(0,1fr); max-width: 1000px; margin-inline: auto; }
.video-gallery-single .video-playlist { display: none; }
.subpage>.video-section { width: 100%; }
