.ds-player-heading{padding:18px 0 20px;margin-bottom:16px;border-bottom:1px solid #dbe8f2}
.ds-player-heading h2{margin:8px 0 4px;color:#142c3d}
.ds-player-heading p{margin:0;color:#626b78;font-size:13px}
.ds-video-player,.library-player-frame,.ds-video-player-unavailable{position:relative;width:100%;aspect-ratio:16/9;min-height:220px;overflow:hidden;border:1px solid rgba(8,169,232,.22);border-radius:20px;background:linear-gradient(145deg,#071d49,#0c4888 62%,#087eb5);box-shadow:0 16px 38px rgba(12,48,91,.2)}
.library-video-player{display:block;width:100%;height:100%;background:#071d49;object-fit:contain}
.library-player-frame iframe{display:block;width:100%;height:100%;border:0;background:#071d49}
.ds-video-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(135deg,rgba(5,21,54,.74),rgba(8,67,115,.52));color:#fff;font-weight:700;font-size:14px;pointer-events:none}
.ds-video-loading[hidden],.ds-video-error[hidden]{display:none}
.ds-video-spinner{width:28px;height:28px;border:3px solid rgba(255,255,255,.35);border-top-color:#d9ed16;border-radius:50%;animation:ds-video-spin .8s linear infinite}
@keyframes ds-video-spin{to{transform:rotate(360deg)}}
.ds-video-error{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;background:rgba(5,24,59,.94);color:#fff;text-align:center}
.ds-video-error b{font:700 clamp(16px,2vw,22px)/1.2 var(--display, sans-serif)}
.ds-video-error p{max-width:620px;margin:0;color:#eaf5ff;font-size:13px;line-height:1.5}
.ds-video-error .small-action{background:#d9ed16;color:#142c3d}
.ds-video-controls{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;gap:12px;padding:12px 15px;background:linear-gradient(transparent,rgba(4,17,43,.96));color:#fff}
.ds-video-play,.ds-video-fullscreen{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.36);border-radius:50%;background:rgba(8,169,232,.86);color:#fff;font-size:15px;cursor:pointer}
.ds-video-play:disabled{opacity:.5;cursor:not-allowed}
.ds-video-timeline{flex:1;min-width:70px;display:grid;gap:4px}
.ds-video-timeline input,.ds-video-volume input{width:100%;height:5px;margin:0;accent-color:#d9ed16;cursor:pointer}
.ds-video-time{display:flex;justify-content:space-between;color:#fff;font-variant-numeric:tabular-nums;font-size:11px}
.ds-video-volume{width:95px;display:flex;align-items:center;gap:8px;color:#fff}
.ds-video-speed-label{display:flex;align-items:center;gap:6px;color:#fff;font-size:11px;white-space:nowrap}
.ds-video-speed-label select{padding:7px 8px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:#102d52;color:#fff;font-size:12px}
.ds-video-fullscreen{background:rgba(13,45,78,.9);font-size:19px}
.ds-video-player-unavailable{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:28px;background:linear-gradient(145deg,#f6fbff,#eaf5ff);color:#142c3d;text-align:center}
.ds-video-unavailable-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#08a9e8;color:#fff;font-size:21px}
.ds-video-player-unavailable h3{margin:0;font:700 18px var(--display, sans-serif)}
.ds-video-player-unavailable p{max-width:570px;margin:0;color:#526579;font-size:13px;line-height:1.55}
.ds-video-player-unavailable small{color:#1688d5;font-weight:700}
.video-detail-card{margin-top:16px;padding:18px 20px}
.video-detail-card h3{margin:0 0 8px;color:#142c3d;font:700 17px var(--display, sans-serif)}
.video-detail-card p{font-size:13px;line-height:1.6}
.video-detail-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.video-detail-meta span{padding:7px 10px;border:1px solid #dcebf4;border-radius:999px;background:#f4f9fc;color:#38556c;font-size:11px}
.ds-video-player:fullscreen{width:100vw;height:100vh;max-height:none;aspect-ratio:auto;border:0;border-radius:0;background:#000}
.ds-video-player:fullscreen .library-video-player{object-fit:contain}
@media(max-width:620px){.ds-video-player,.library-player-frame,.ds-video-player-unavailable{min-height:190px;border-radius:14px}.ds-video-controls{gap:7px;padding:9px}.ds-video-play,.ds-video-fullscreen{flex-basis:34px;width:34px;height:34px}.ds-video-volume{width:62px}.ds-video-speed-label{gap:3px;font-size:10px}.ds-video-speed-label select{padding:6px 5px;font-size:11px}.ds-video-error p{font-size:12px}.video-detail-card{padding:15px}}
@media(prefers-reduced-motion:reduce){.ds-video-spinner{animation-duration:1.8s}}


