.svp{--accent:#e00000;position:relative;background:#111;color:#fff;aspect-ratio:16/9;overflow:hidden;font:14px Arial,sans-serif}.svp video{width:100%;height:100%;display:block;object-fit:contain}.svp button,.svp select{font:inherit;box-shadow:none;border:0;color:#fff;background:transparent;cursor:pointer;padding:7px}.svp button:hover,.svp select:hover{background:#ffffff20}.svp button:focus-visible,.svp select:focus-visible,.svp input:focus-visible{outline:2px solid white;outline-offset:2px}.svp .svp-big,.thumb .svp-big{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;border-radius:50%;border:3px solid white;background:var(--accent,#e00000);color:#fff;display:grid;place-items:center;padding:0;box-shadow:0 4px 20px #0009}.svp .svp-big:hover,.thumb:hover .svp-big{filter:brightness(1.12)}.svp .svp-big:hover{background:var(--accent)}.svp .svp-controls{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000e 32%);padding:25px 12px 8px;display:flex;align-items:center;gap:6px}.svp .svp-controls[hidden],.svp [hidden]{display:none!important}.svp .svp-progress{position:absolute;top:13px;left:14px;width:calc(100% - 28px);height:4px;accent-color:var(--accent);cursor:pointer}.svp .svp-spacer{flex:1}.svp .svp-time{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.svp .svp-volume{width:65px;accent-color:var(--accent)}.svp select{background:#171717;border-radius:3px;padding:5px 2px}.svp svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.svp .svp-error{position:absolute;top:10px;left:10px;right:10px;background:#a00;padding:10px;margin:0}.svp .svp-controls button{min-width:32px;display:grid;place-items:center}.svp .svp-controls button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:550px){.svp .svp-volume{width:40px}.svp .svp-controls{gap:1px;padding-left:5px;padding-right:5px}.svp .svp-time{font-size:10px}.svp button{padding:5px}.svp .svp-big,.thumb .svp-big{width:62px;height:62px}}

.svp .svp-controls{padding-top:36px;padding-bottom:6px;align-items:center}.svp .svp-progress{top:12px}.svp .svp-speed{color:#fff;background:#171717;color-scheme:light}.svp .svp-speed option{color:#111;background:#fff}.svp video{max-width:100%}
.svp .svp-speed-wrap{position:relative;flex:none}.svp .svp-controls .svp-speed{min-width:0;padding:7px 3px;white-space:nowrap;font-size:13px}.svp .svp-speed-menu{position:absolute;z-index:5;right:0;bottom:calc(100% + 8px);width:100px;max-height:min(300px,calc(100vw * .45));overflow-y:auto;background:#fff;border:2px solid #111;box-shadow:0 3px 12px #0009}.svp .svp-speed-menu button{display:block;width:100%;min-width:0;text-align:left;padding:8px 16px;color:#111;background:#fff;border:0;border-radius:0;font-size:14px;line-height:1.2}.svp .svp-speed-menu button:nth-child(even){background:#fff7c7}.svp .svp-speed-menu button:hover,.svp .svp-speed-menu button:focus-visible{background:#ffd400;outline:2px solid #111;outline-offset:-2px}.svp .svp-speed-menu button[aria-checked=true]::after{content:'✓';float:right}.svp .svp-cast.connected{color:var(--accent)}
/* Keep the speed choices on top of the video, within the iframe's visible area. */
.svp .svp-speed-menu button:hover{background:#e7e7e7;outline:none}.svp .svp-speed-menu button:focus-visible{background:#e7e7e7;outline:2px solid #1655b7;outline-offset:-2px}
@media(max-width:550px){.svp .svp-volume{display:none}.svp .svp-speed-menu{max-height:calc(100vw * .5625 - 70px);overscroll-behavior:contain}.svp .svp-controls{gap:3px}}
.svp video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}
.svp{background-position:center;background-size:contain;background-repeat:no-repeat}.svp:not(.svp-started) video{visibility:hidden}

/* Use a vector triangle so iOS cannot substitute a colored play emoji. */
.svp .svp-big svg,.thumb .svp-big svg{width:32px;height:32px;fill:currentColor;stroke:none;pointer-events:none}
@media(max-width:550px){.svp .svp-big svg,.thumb .svp-big svg{width:26px;height:26px}}

.svp .svp-controls .svp-icon-desktop{display:none}
@media (min-width:551px){
  .svp .svp-controls .svp-icon-mobile{display:none}
  .svp .svp-controls .svp-icon-desktop{display:block}
  .svp .svp-controls svg{width:24px;height:24px;stroke-width:2.25}
  .svp .svp-controls button{min-width:38px}
  .svp .svp-controls .svp-time{font-size:15px;font-weight:700}
  .svp .svp-controls .svp-speed{font-size:17px;font-weight:800;padding:7px 5px}
  .svp .svp-speed-menu button{font-size:16px;font-weight:700}
}

.svp .svp-quality-wrap{display:none;position:relative;flex:none}
@media (min-width:551px){
  .svp .svp-controls{padding-top:30px;padding-bottom:12px}
}
@media (min-width:551px) and (pointer:fine){
  .svp .svp-quality-wrap{display:block}
  .svp .svp-controls .svp-quality{min-width:60px;padding-inline:4px;font-size:15px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
  .svp .svp-quality-menu{width:116px}
}
