[amb-video]{position:relative;overflow:hidden;height:0;padding-bottom:56.25%;background-color:#000;transition:padding-bottom .4s ease-out}[amb-video][readonly]>iframe,[amb-video][readonly]>img,[amb-video][readonly]>video,[amb-video].readonly>iframe,[amb-video].readonly>img,[amb-video].readonly>video{pointer-events:none}[amb-video].square>img{top:50%;left:50%;transform:translate(-50%,-50%)}[amb-video].landscape>img{top:0;left:50%;width:auto;height:100%;transform:translate(-50%)}[amb-video].portrait>img{top:50%;left:0;width:100%;height:auto;transform:translateY(-50%)}[amb-video].aspect-ratio>iframe,[amb-video].aspect-ratio>img,[amb-video].aspect-ratio>video{transform:unset}[amb-video]>iframe,[amb-video]>img,[amb-video]>video{position:absolute;margin:0}[amb-video]>iframe,[amb-video]>video{top:0;left:50%;width:100%;height:100%;transform:translate(-50%)}[amb-video]>iframe[data-ready=true],[amb-video]>video[data-ready=true]{background-color:#000}[amb-video] .controls{position:absolute;top:20px;right:20px;z-index:5;display:flex;flex-direction:column;gap:10px;transition:opacity .4s ease}[amb-video] .controls-wrapper{display:flex;flex-direction:column;gap:10px;overflow:hidden;max-height:0;transition:max-height .2s ease-out}[amb-video] .control{cursor:pointer;display:block;flex-shrink:0;width:34px;height:34px;background-color:#ffffff26;background-size:80% 80%;background-position:55% center;background-repeat:no-repeat;border-radius:50%;transition-duration:.4s;transition-timing-function:ease-out;transition-property:background-color,border}[amb-video] .control[data-control=toggle]{background-image:url('data:image/svg+xml,<svg fill="%23FFFFFF" width="800px" height="800px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M384 512c0 28.3-22.9 51.2-51.2 51.2s-51.2-22.9-51.2-51.2 22.9-51.2 51.2-51.2S384 483.7 384 512zm128-51.2c-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2 51.2-22.9 51.2-51.2-22.9-51.2-51.2-51.2zm179.2 0c-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2 51.2-22.9 51.2-51.2-22.9-51.2-51.2-51.2z"/></svg>');background-size:100% 100%;background-position:center center;transition:transform .2s ease-out}[amb-video] .control[data-control=toggle].expanded{transform:rotate(90deg)}[amb-video] .control[data-control=playback]{background-image:url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M307.2 256h153.6v512H307.2V256zm256 512h153.6V256H563.2v512z" fill="%23FFFFFF" fill-rule="evenodd"/></svg>');background-position:60% 50%}[amb-video] .control[data-control=playback].paused{background-image:url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M716.8 512l-384-256v512z" fill="%23FFFFFF" fill-rule="evenodd"/></svg>');background-position:60% 45%}[amb-video] .control[data-control=volume]{background-image:url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path fill="%23FFFFFF" d="M545.8 294.7L363.7 431.5c-1.2.9-2 2.1-2.7 3.3H256v154.5h105c.7 1.2 1.6 2.4 2.7 3.3l182.1 136.7c7.2 5.4 17.5.3 17.5-8.7V303.5c0-9-10.3-14.2-17.5-8.8zM668 691.7c-8.8 0-17.4-4.5-22.2-12.7-7.1-12.2-3-27.9 9.2-35 2.4-1.4 61.7-38.4 61.7-132 0-95-61.1-131.6-61.7-132-12.2-7.1-16.3-22.8-9.2-35 7.1-12.2 22.8-16.3 35-9.2 3.7 2 87.2 52.2 87.2 176.2s-83.5 174.2-87.1 176.2c-4.1 2.4-8.5 3.5-12.9 3.5z"/><path fill="%23FFFFFF" d="M613.2 621.2c-8.8 0-17.4-4.5-22.1-12.7-7.1-12.2-3-27.9 9.2-35 .7-.4 24.6-16 24.6-55.1s-23.9-54.7-25-55.4c-11.8-7.4-15.7-23.1-8.4-35 7.2-12 22.5-16 34.6-9 2 1.2 50 29.9 50 99.4s-48 98.2-50 99.4c-4.1 2.3-8.5 3.4-12.9 3.4z"/></svg>');background-size:100% 100%}[amb-video] .control[data-control=volume].muted{background-image:url('data:image/svg+xml,<svg fill="%23FFFFFF" width="800px" height="800px" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M542.86 294.4L362.3 430a10.72 10.72 0 0 0-2.71 3.25H255.53v153.2h104.06a10.58 10.58 0 0 0 2.71 3.25l180.56 135.52a10.83 10.83 0 0 0 17.34-8.66v-413.5a10.83 10.83 0 0 0-17.34-8.66zM742.6 599.41L765 577l-67.2-67.2 67.2-67.2-22.4-22.4-67.2 67.2-67.2-67.2-22.4 22.4 67.2 67.2-67.2 67.2 22.4 22.4 67.2-67.2 67.2 67.2z"/></svg>')}
