html body .monitor:has(#empty:not([hidden])){background:linear-gradient(180deg,#4d4d4d 0%,#6c6554 50%,#a99b69 100%)!important}
html body .monitor:has(#empty:not([hidden])) #empty,html body .monitor:has(#empty:not([hidden])) #empty *{color:#fff!important;text-shadow:none!important}
html body dialog::backdrop,html body #importMedia115::backdrop,html body #mobileToolSheet::backdrop{background:rgba(238,226,196,.32)!important;-webkit-backdrop-filter:blur(14px) saturate(1.15);backdrop-filter:blur(14px) saturate(1.15)}
html body #more146{background:rgba(238,226,196,.32)!important;-webkit-backdrop-filter:blur(14px) saturate(1.15);backdrop-filter:blur(14px) saturate(1.15)}
html body .monitor:has(#empty:not([hidden])) canvas,html body .monitor:has(#empty:not([hidden])) video{background:transparent!important;opacity:0!important}
html body .monitor{background:linear-gradient(180deg,#4d4d4d 0%,#6c6554 50%,#a99b69 100%)!important}

html body .monitor:fullscreen,html body .monitor:-webkit-full-screen{background:#000!important}
html,html body{background:linear-gradient(180deg,#4d4d4d 0%,#6c6554 50%,#a99b69 100%) fixed!important;background-color:#6c6554!important;min-height:100%}
html body #mobileToolbar{background:rgba(20,22,28,.55)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html body #timelineScroll{background:rgba(20,22,28,.35)!important}
html:root>body:not(.nx):not(.ny):not(.nz){background:linear-gradient(180deg,#4d4d4d 0%,#6c6554 50%,#a99b69 100%) fixed!important;background-color:#6c6554!important}

/* fx69: clean trash icon, no blue tints, tighter timeline with larger thumbnails */
html body #mobileContextBar,html body.mobile-focus-editor #mobileContextBar{background:transparent!important;border:0!important;box-shadow:none!important}
html body #mobileQuickDelete,html body.mobile-focus-editor #mobileQuickDelete{background:transparent!important;border:0!important;box-shadow:none!important}
html body #timeline{background:transparent!important;min-height:54px!important}
html body.mobile-focus-editor #timeline .clip,html body #timeline .clip{min-height:54px!important;height:54px!important;background:rgba(0,0,0,.28)!important}
html body #timeline .clip-select{min-height:52px!important;height:52px!important}
html body #timeline .filmstrip98{height:52px!important;background:rgba(0,0,0,.25)!important}
html body #timeline .filmstrip98-cell{height:52px!important;background:rgba(0,0,0,.2)!important;border-right-color:rgba(0,0,0,.35)!important}
html body #timeline .filmstrip98-cell img{height:52px!important}
html body.mobile-focus-editor #ruler,html body #ruler{height:22px!important;min-height:22px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body.mobile-focus-editor #mobileMediaRow125 #timelineScroll,html body #timelineScroll{min-height:0!important;height:auto!important}

/* fx70: unified close X (top-left of every dialog) and white trash */
html body dialog>.x170{position:absolute;top:8px;left:8px;right:auto;z-index:20;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;margin:0;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;box-shadow:none}
html body dialog .x170-hide{display:none!important}
html body #mobileQuickDelete,html body.mobile-focus-editor #mobileQuickDelete{color:#fff!important}
html body #mobileQuickDelete svg,html body #mobileQuickDelete svg *{stroke:#fff!important;color:#fff!important}
html body dialog [data-close]:not(.x170),html body dialog button[id^="close"]:not(.x170),html body dialog button[aria-label="סגור"]:not(.x170),html body dialog button[aria-label="Close"]:not(.x170){display:none!important}
html body dialog>.x170{display:grid!important}

/* fx73: sheet close shares the X look; ruler fully transparent; no X in the photo editor (it has its own back) */
html body #mobileSheetDone{background:rgba(255,255,255,.14)!important;border:0!important;border-radius:50%!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;color:#fff!important;box-shadow:none!important}
html body #mobileSheetDone:after{color:#fff}
html body #photo104>.x170{display:none!important}
html body #guide148 #g148x{display:none!important}
html body #ruler *,html body #ruler span{background:transparent!important;box-shadow:none!important}
html body #timelineScroll,html body.mobile-focus-editor #mobileMediaRow125 #timelineScroll{background:transparent!important;border:0!important;box-shadow:none!important}

/* fx74: modern trim handles. Glass-gold tabs wrapping the selected clip; one-sided caps at the very start/end of the movie */
html body #timeline .clip.active .trim-handle{width:20px!important;min-width:20px!important;top:1px!important;bottom:1px!important;min-height:0!important;background:linear-gradient(180deg,#fff3bd 0%,#ffd45e 45%,#e9a93b 100%)!important;color:transparent!important;font-size:0!important;border:0!important;display:grid!important;place-items:center;box-shadow:0 3px 12px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.45)!important;transition:transform .15s,box-shadow .15s}
html body #timeline .clip.active .trim-handle:after{display:block!important;content:'';position:static!important;width:6px!important;height:20px!important;border-left:2px solid rgba(60,40,0,.55);border-right:2px solid rgba(60,40,0,.55);border-radius:2px;background:none!important;box-shadow:none!important}
html body #timeline .clip.active .trim-start{left:-5px!important;right:auto!important;border-radius:13px 4px 4px 13px!important}
html body #timeline .clip.active .trim-end{right:-5px!important;left:auto!important;border-radius:4px 13px 13px 4px!important}
html body #timeline .clip.active .trim-handle:active{transform:scaleX(1.18);box-shadow:0 4px 16px rgba(255,209,90,.55),inset 0 0 0 1px #fff!important}
/* movie edges: same handle, just flush with the film's first/last frame */
html body #timeline .clip.active.movie-first174 .trim-start{left:0!important}
html body #timeline .clip.active.movie-last174 .trim-end{right:0!important}

/* fx75: music library opens directly; "add file from phone" is a clean + button at the top */
html body #musicLibrary{position:relative}
html body #musicLibrary #chooseLocalMusic{position:absolute!important;top:8px;left:56px;right:auto;z-index:20;width:40px;height:40px;min-width:40px;min-height:40px;margin:0!important;padding:0!important;font-size:0!important;border:0!important;border-radius:50%;display:grid!important;place-items:center;background:linear-gradient(135deg,#8b5cf6,#ec4899)!important;color:#fff!important;box-shadow:0 2px 10px rgba(139,92,246,.45)}
html body #musicLibrary #chooseLocalMusic:after{content:'+';font-size:28px;line-height:1;font-weight:300;color:#fff}
html body dialog>button.x170{border-radius:50%!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:0!important;background:rgba(255,255,255,.14)!important}

/* fx79: transition window with back / cancel / confirm on the left; main chooser stripped; white marker with black icon */
html body #transitionLive127{position:relative}
html body #transitionLive127>.tbar174{position:absolute;top:8px;left:8px;display:flex;gap:8px;margin:0!important;z-index:3}
html body #transitionLive127>.tbar174 button{flex:none!important;width:40px;height:40px;min-height:40px!important;min-width:40px;padding:0!important;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.14);font-size:0}
html body #transitionLive127>.tbar174 #transitionCancel174{background:rgba(220,60,70,.22);color:#ff8d95;box-shadow:inset 0 0 0 1.5px #e5484d}
html body #transitionLive127>.tbar174 #transitionDone127{background:#1f9d55;color:#fff;flex:none!important;font-size:0}
html[dir=ltr] body #transitionLive127>.tbar174 #transitionType127 svg{transform:scaleX(-1)}
html body #transitionLive127>strong{padding-inline-end:0;min-height:40px;display:flex!important;align-items:center}
html body #transitionDock #previewTransition94,html body #transitionDock #mobileRemoveTransition,html body #transitionDock #transitionActionStatus,html body #transitionDock label:has(#transitionDuration),html body #transitionDock #transitionDurationControl3{display:none!important}
html body #transitionMarkers .timeline-transition-marker{background:#fff!important;color:#000!important;border:0!important;border-radius:6px!important;box-shadow:0 1px 6px rgba(0,0,0,.35)!important;font-weight:700}
/* long-press remove */
#transRemove174{position:fixed;inset:0;z-index:99998;background:rgba(0,0,0,.28)}
#transRemove174 button{position:absolute;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;padding:0;background:rgba(20,20,20,.92);border:3px solid #e5484d;color:#fff;box-shadow:0 6px 24px rgba(0,0,0,.5)}
