/* Opt-in custom transport; existing native/embed players are unaffected. */
.video-frame.custom-player{aspect-ratio:auto;background:var(--paper);border-radius:13px}
:is(.preview-page,.autoreview-demo,.result-explainer) .custom-player video{display:block;border:0;border-radius:0;aspect-ratio:16/9;width:100%;height:auto;object-fit:contain}
.lp-controls{padding:0 8px 6px;color:var(--ink);background:var(--paper)}
.lp-seek{display:block;width:100%;height:44px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;--progress:0%}
.lp-seek::-webkit-slider-runnable-track{height:3px;border-radius:99px;background:linear-gradient(to right,var(--orange) var(--progress),var(--line) var(--progress))}
.lp-seek::-moz-range-track{height:3px;border-radius:99px;background:var(--line)}
.lp-seek::-moz-range-progress{height:3px;background:var(--orange)}
.lp-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4.5px;border:0;border-radius:50%;background:var(--ink)}
.lp-seek::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:var(--ink)}
.lp-transport{display:flex;align-items:center;gap:0;margin-top:-8px}
.lp-transport button,.lp-transport .vsl-speed{position:static;display:grid;place-items:center;flex:0 0 44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--ink);font:600 12px/1 -apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer}
.lp-transport button:hover{background:oklch(92% .018 150)}
.lp-transport button:active{background:oklch(88% .025 150)}
.lp-time{flex:1;min-width:0;font:500 11px/1.3 -apple-system,BlinkMacSystemFont,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center}
.lp-controls button:focus-visible,.lp-seek:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.lp-player-status{display:block;text-align:center;font-size:12px;line-height:1.5}
.lp-player-status:empty{display:none}
.video-frame.custom-player:fullscreen{display:flex;flex-direction:column;justify-content:center;border:0;border-radius:0;background:oklch(12% 0 0)}
:is(.preview-page,.autoreview-demo,.result-explainer) .custom-player:fullscreen video{flex:1;min-height:0;height:0;width:100%;aspect-ratio:auto}
.custom-player:fullscreen .lp-controls{flex:none;width:100%;padding-bottom:max(6px,env(safe-area-inset-bottom))}
.video-frame video::cue{color:#fff;background:rgb(0 0 0 / .82);font:600 18px/1.3 -apple-system,BlinkMacSystemFont,sans-serif;text-shadow:0 1px 2px #000}
.video-frame:fullscreen video::cue{font-size:28px}
