.generation-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;background:transparent;color:#fff;width:fit-content;height:fit-content;max-width:none;max-height:none;overflow:visible;outline:none}.generation-dialog::backdrop{background:#06090df0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.library-dialog.library-preview.library-video-preview{position:fixed;inset:0;width:fit-content;height:fit-content;max-width:none;max-height:none;margin:auto;padding:0;border:0;background:transparent;overflow:visible}.shorts-player{--video-height:min(860px, calc(100dvh - 48px) ,calc((100vw - 48px) / var(--video-ratio)));position:relative;width:calc(var(--video-height) * var(--video-ratio));height:var(--video-height);max-width:100%;color:#fff;outline:none}.shorts-screen{position:relative;isolation:isolate;width:100%;height:100%;background:#08090b;border-radius:12px;overflow:hidden}.shorts-screen>video{position:relative;display:block;width:100%;height:100%;object-fit:contain;cursor:pointer;background:#08090b}.shorts-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.shorts-screen.has-frame>.shorts-poster{opacity:0;visibility:hidden}.shorts-screen:has(.shorts-poster[data-media-state=ready],.shorts-poster[data-media-state=error])>.media-placeholder,.shorts-screen.has-frame>.media-placeholder,.shorts-screen.media-failed>.media-placeholder{--media-placeholder-animation:none;opacity:0;animation:none}.shorts-player .shorts-icon,.shorts-player .shorts-action{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;box-shadow:none;text-decoration:none;cursor:pointer;line-height:1}.shorts-player :is(.shorts-icon,.shorts-action) svg{flex:none;filter:drop-shadow(0 1px 3px #0009)}.shorts-player :is(.shorts-icon,.shorts-action):hover{color:#ddd;background:transparent}.shorts-player :is(button,a,input):focus-visible{outline:2px solid #fff;outline-offset:-2px}.shorts-heading{position:absolute;inset:0 0 auto;padding:24px 110px 36px 20px;pointer-events:none;background:linear-gradient(#0008,transparent);font-size:15px;line-height:1.4;font-weight:500;color:#fff;text-shadow:0 1px 4px #0008}.shorts-heading span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shorts-close,.shorts-more{position:absolute;right:10px;top:12px;z-index:3}.shorts-more.has-close{right:54px}.shorts-actions{position:absolute;right:10px;bottom:94px;display:flex;flex-direction:column;gap:12px;z-index:2}.shorts-player .shorts-action.saved{color:#ff4669}.shorts-action:disabled{opacity:.5;cursor:wait}.shorts-menu{position:absolute;top:62px;right:16px;z-index:5;width:226px;max-width:calc(100% - 32px);padding:6px;border-radius:12px;background:#262626;box-shadow:0 12px 32px #0008}.shorts-player .shorts-menu-item{display:flex;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-height:50px;padding:12px 14px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:14px;font-weight:450;line-height:1.4;text-align:left;text-decoration:none;cursor:pointer}.shorts-menu-item>svg{flex:none}.shorts-player .shorts-menu-item:hover{background:#353535}.shorts-player .shorts-menu-item.is-danger{color:#ff777d}.shorts-menu hr{height:1px;margin:5px 10px;border:0;background:#ffffff18}.shorts-player .shorts-menu-item:disabled{opacity:.5;cursor:wait}.shorts-bottom{position:absolute;bottom:0;left:0;right:0;padding:24px 10px 6px;pointer-events:none;background:linear-gradient(transparent,#000b);z-index:2}.shorts-time{display:flex;align-items:center;gap:4px;min-height:44px;color:#fff;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.shorts-duration{color:#ffffffad}.shorts-control-spacer{flex:1}.shorts-time>*{pointer-events:auto}.shorts-player .shorts-screen .video-volume{--volume-size:44px}.shorts-player .shorts-screen .video-volume .video-volume-toggle{background:transparent;border-radius:8px;-webkit-backdrop-filter:none;backdrop-filter:none}.shorts-player .shorts-screen .video-volume .video-volume-panel{inset:auto 0 44px auto;width:140px;height:44px;padding:0 12px;border-radius:8px;transition:opacity .15s,visibility .15s;opacity:0;background:#262626}.shorts-player .shorts-screen .video-volume:hover .video-volume-panel,.shorts-player .shorts-screen .video-volume:has(:focus-visible) .video-volume-panel{opacity:1;visibility:visible;width:140px}.shorts-player .shorts-seek{pointer-events:auto;display:block;appearance:none;-webkit-appearance:none;width:calc(100% - 12px);height:18px;margin:0 6px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;accent-color:#fff}.shorts-seek::-webkit-slider-runnable-track{height:2px;border-radius:2px;background:linear-gradient(to right,#fff var(--progress),#ffffff50 var(--progress))}.shorts-seek::-moz-range-track{height:2px;border-radius:2px;background:linear-gradient(to right,#fff var(--progress),#ffffff50 var(--progress))}.shorts-seek::-webkit-slider-thumb{appearance:none;width:8px;height:8px;margin-top:-3px;border-radius:50%;background:#fff}.shorts-seek::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#fff}.shorts-player .shorts-play-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px}.shorts-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.shorts-loading .loader{border-color:#ffffff40;border-top-color:#fff}.shorts-media-error{position:absolute;inset:30% 20px auto;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;font-size:14px;padding:18px;background:#171717f2;border-radius:12px;z-index:4}.shorts-retry{padding:10px 18px;min-height:44px;border:0;border-radius:8px;background:#353535;color:#fff;font:inherit;cursor:pointer}.shorts-action-error{position:absolute;left:16px;right:16px;bottom:80px;padding:12px 16px;background:#542b30;border-radius:10px;font-size:13px;line-height:1.5;z-index:6}.shorts-share-fallback{position:absolute;bottom:80px;left:16px;right:16px;z-index:5;display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;background:#262626;box-shadow:0 8px 40px #0008;max-height:calc(100% - 96px);overflow:auto}.shorts-share-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.shorts-send,.shorts-copy{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:0;border-radius:8px;padding:11px;background:#404040;color:#fff;font-size:13px}.shorts-share-fallback label{min-width:0;color:#fff;font-size:13px}.shorts-share-fallback input{width:100%;min-width:0;font-size:14px;color:#fff;background:#ffffff12;border-color:#ffffff30}.shorts-player.embedded{width:100%;height:100%;min-height:0}.shorts-player.embedded .shorts-screen{border-radius:0}.shorts-player.contained{width:100%;height:clamp(300px,calc(580px / var(--video-ratio)),620px);min-height:0}.shorts-screen:fullscreen,.shorts-screen.is-fullscreen{position:fixed;inset:0;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0;background:#000;z-index:10000}html:has(.shorts-screen:fullscreen),html:has(.shorts-screen.is-fullscreen){scrollbar-gutter:auto}@media(max-width:700px){.generation-dialog{width:100vw;height:100dvh;border-radius:0}.shorts-player:not(.embedded):not(.contained){width:100vw;height:100dvh;max-width:none}.shorts-screen{border-radius:0}.shorts-player.contained .shorts-screen{border-radius:12px}.shorts-close,.shorts-more{top:max(12px,env(safe-area-inset-top))}.shorts-heading{padding-top:max(24px,calc(env(safe-area-inset-top) + 12px))}.shorts-bottom{padding-bottom:max(6px,env(safe-area-inset-bottom))}.shorts-actions{bottom:calc(94px + env(safe-area-inset-bottom))}.shorts-menu{top:max(62px,calc(env(safe-area-inset-top) + 56px))}}@media(forced-colors:active){.shorts-player :is(button,a,input):focus-visible{outline:2px solid Highlight}.shorts-menu{border:1px solid CanvasText}}
