/* DIAMOND EDIT AI — V24, 23/10/2026
   Editor mobile with preview-first proportions and CapCut-style interaction.
   Intentionally scoped: approved Vídeo/Foto/IA chooser remains untouched. */
:root {--diamond-obsidian:#08090c;--diamond-gold:#eac28b;--diamond-electric:#64c7ef;}

/* Editorial, cinematic arrival: visual identity is the existing official diamond. */
.splash-screen{background:radial-gradient(ellipse 62% 47% at 50% 43%,#132941 0%,#070b14 57%,#010205 100%)!important;isolation:isolate}
.splash-atmosphere{background-image:linear-gradient(90deg,transparent 0%,#3ab4fd0c 49.9%,transparent 50.2%),radial-gradient(ellipse at 50% 48%,#dfa65311,transparent 56%)}
.splash-atmosphere:before{content:'';position:absolute;inset:-25%;background:conic-gradient(from -34deg at 50% 49%,transparent 0 15%,#439cff12 19%,transparent 24% 47%,#f0c47c1c 52%,transparent 60% 81%,#419cfb12 84%,transparent 91%);filter:blur(21px);pointer-events:none;animation:v24-splash-cycle 20s linear infinite}
.splash-atmosphere .splash-grid{mask-image:radial-gradient(ellipse at 50% 53%,#000b,transparent 78%);opacity:.36}
.splash-diamond-frame{transform-origin:50% 50%;filter:drop-shadow(0 10px 45px #03040ddd)!important}
.splash-diamond-frame:before{background:conic-gradient(from 0deg,transparent 0 22%,#edc38129 31%,transparent 41%,#35a5ff28 58%,transparent 67% 86%,#edc38122 94%,transparent)!important;filter:blur(15px)!important}
.splash-ready .splash-mark{animation:v24-diamond-arrival 2.5s ease-in-out both,v24-diamond-breathe 6s 2.5s ease-in-out infinite alternate!important;filter:drop-shadow(0 0 21px #e9b56b55) drop-shadow(0 0 46px #2d8edc47)!important}
.splash-ready .splash-wordmark{animation:v24-title-emerge .85s .13s both}
.splash-wordmark{font-weight:950!important;letter-spacing:.07em!important;text-shadow:0 3px 35px #d8a96824!important}
.splash-tagline{color:#c1d0db!important;letter-spacing:.25em!important}
.splash-center .v19-cinema-message strong{font-weight:750;letter-spacing:-.035em}
.splash-bottom{color:#7b94ac!important}
.tap-cta{border:1px solid #e7be83!important;background:linear-gradient(112deg,#161e29,#102338 52%,#261d16)!important;box-shadow:0 0 0 1px #61baff28,0 0 32px #d7aa6849,0 9px 24px #000c!important}
.tap-cta-arrow{background:#172b3d!important;color:#f7d9ae!important}
@keyframes v24-splash-cycle{to{transform:rotate(360deg)}}
@keyframes v24-diamond-arrival{0%{opacity:.25;transform:scale(.84) rotate(-6deg);filter:blur(9px)}45%{opacity:1;filter:blur(0)}70%{transform:scale(1.08) rotate(1deg)}100%{opacity:1;transform:scale(1) rotate(0deg)}}
@keyframes v24-diamond-breathe{to{transform:translateY(-6px) scale(1.03)}}
@keyframes v24-title-emerge{from{opacity:0;transform:translateY(14px);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}

/* Desktop remains fully-featured, while mobile gets the new tool station. */
.v24-format-host{display:none}
.v24-tool-head,.v24-photo-menu{display:none}
.v24-ruler,.v24-filmstrip{display:none}

@media(max-width:650px){
 /* Immersive black workspace, consistent with professional editing apps. */
 body .mode-editor .shell,body .mode-photo .shell{background:#050608!important}
 body .mode-editor .content-shell,body .mode-photo .content-shell{min-width:0!important;min-height:0!important;overflow:hidden!important}
 body .mode-editor .content-shell main#screen,body .mode-photo .content-shell main#screen{
   box-sizing:border-box!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;
   padding:calc(4px + env(safe-area-inset-top,0px)) 5px calc(4px + env(safe-area-inset-bottom,0px))!important;
   display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden!important;
   background:#050608!important;overscroll-behavior:none!important;
 }
 body .mode-editor .content-shell .editor-top,body .mode-photo .content-shell .photo-heading{
   box-sizing:border-box!important;flex:0 0 44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;
   width:100%!important;margin:0!important;padding:1px 6px!important;gap:6px!important;display:flex!important;
   border:0!important;background:#08090c!important;border-radius:0!important;box-shadow:none!important;
 }
 body .mode-editor .editor-top-left{flex:1 1 0!important;min-width:0!important;max-width:none!important;gap:5px!important;overflow:hidden}
 body .mode-editor .editor-top .editor-mobile-back,body .mode-photo .photo-heading>.btn[data-action="switch-mode"]{
   flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:36px!important;min-height:36px!important;max-height:36px!important;
   border:0!important;padding:0!important;background:transparent!important;color:#f0f3f7!important;box-shadow:none!important;font-size:28px!important;
 }
 body .mode-photo .photo-heading>.btn[data-action="switch-mode"]{font-size:0!important;position:relative}
 body .mode-photo .photo-heading>.btn[data-action="switch-mode"]:after{content:'×';position:absolute;inset:0;font-size:26px;display:grid;place-items:center}
 body .mode-editor .v20-workspace-icon{display:none!important}
 body .mode-editor .v20-editor-name{flex:1 1 auto!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
 body .mode-editor .v20-editor-name small,body .mode-photo .v20-editor-name small{display:none!important}
 body .mode-editor #project-name{width:100%!important;max-width:100%!important;min-height:25px!important;height:25px!important;padding:1px 2px!important;font-size:12px!important;color:#dce3e8!important;font-weight:650!important;text-overflow:ellipsis!important}
 body .mode-editor .editor-actions{display:flex!important;flex:0 0 auto!important;min-width:0!important;gap:5px!important}
 body .mode-editor .editor-actions .btn,body .mode-editor .editor-actions label,body .mode-photo .photo-heading>label,body .mode-photo .v24-photo-export-trigger{
   height:34px!important;min-height:34px!important;max-height:34px!important;min-width:0!important;display:inline-flex!important;
   padding:2px 9px!important;border-radius:7px!important;font-size:11px!important;align-items:center!important;justify-content:center!important;gap:3px!important;
 }
 body .mode-editor .editor-actions label,body .mode-photo .photo-heading>label{background:#121b23!important;border:1px solid #263b49!important;color:#c6dceb!important}
 body .mode-editor .editor-actions [data-action="export"],body .mode-photo .v24-photo-export-trigger{background:#eac38c!important;color:#15100a!important;border:1px solid #cfac7c!important;box-shadow:none!important;font-weight:850!important}
 body .mode-editor .editor-actions [data-action="export"]:focus-visible,body .mode-photo .v24-photo-export-trigger:focus-visible{outline:2px solid var(--diamond-electric)}
 body .mode-editor .v24-format-host{display:flex!important;flex:0 0 auto!important;min-width:0!important;max-width:79px!important;justify-content:center!important}
 body .mode-editor .v24-format-host label{display:flex!important;flex-direction:column!important;gap:0!important;align-items:center!important;max-width:79px!important;overflow:hidden!important;font-size:0!important;color:transparent!important}
 body .mode-editor .v24-format-host select{box-sizing:border-box!important;width:76px!important;max-width:76px!important;min-height:29px!important;height:29px!important;
   padding:2px 4px!important;border:1px solid #283746!important;background:#15191f!important;color:#d1e6f4!important;font-size:10px!important;border-radius:6px!important}
 body .mode-editor .v20-stage-label,body .mode-photo .v20-stage-label{display:none!important}
 body .mode-photo .photo-heading>.v20-editor-name{flex:1 1 auto!important;min-width:0!important;margin-right:auto!important}
 body .mode-photo .photo-heading>.v20-editor-name strong{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
 body .mode-photo .photo-heading{position:relative!important}
 body .mode-photo .v24-photo-menu:not([hidden]){position:absolute!important;top:42px;right:4px;z-index:42;display:grid!important;gap:4px;background:#10171e;border:1px solid #af8c59;border-radius:11px;padding:6px;min-width:145px;box-shadow:0 14px 35px #000c}
 body .mode-photo .v24-photo-menu button{min-height:40px;display:block;background:#172432;border:0;border-radius:7px;color:#eee8df;font-size:12px;text-align:left;padding:7px 10px}
 /* Video structure: preview -> transport -> real thumbnail timeline -> horizontal tool dock. */
 body .mode-editor .editor-layout,body .mode-photo .photo-workspace{display:flex!important;flex:1 1 0!important;min-height:0!important;max-height:100%!important;height:auto!important;
   flex-direction:column!important;gap:0!important;overflow:hidden!important;position:relative!important;padding:0!important;margin:0!important}
 body .mode-editor .editor-layout>.stage-panel,body .mode-photo .photo-workspace>.photo-stage{
   order:0!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;
   box-sizing:border-box!important;padding:0!important;margin:0!important;top:auto!important;position:relative!important;
   overflow:hidden!important;border:0!important;border-radius:0!important;background:#050608!important;box-shadow:none!important;
   display:flex!important;flex-direction:column!important;gap:0!important;
 }
 body .mode-editor .stage-header,body .mode-photo .photo-stage-header{display:none!important}
 body .mode-editor .preview-area,body .mode-photo .photo-stage-view{
   box-sizing:border-box!important;display:flex!important;flex:1 1 0!important;justify-content:center!important;align-items:center!important;
   height:auto!important;max-height:none!important;min-height:0!important;width:100%!important;margin:0!important;padding:0!important;
   border:0!important;border-radius:0!important;background:#050608!important;overflow:hidden!important;box-shadow:none!important;
 }
 body .mode-editor .preview-area canvas,body .mode-photo .photo-stage-view canvas{
   box-sizing:border-box!important;display:block!important;max-width:100%!important;max-height:100%!important;min-height:0!important;
   height:auto!important;width:auto!important;object-fit:contain!important;border-radius:2px!important;box-shadow:0 0 0 1px #ffffff08!important;filter:none!important;
 }
 body .mode-photo .photo-stage-view canvas[style*="display: none"]{display:none!important}
 body .mode-editor .preview-area .preview-demo-video,body .mode-photo .photo-demo-video{object-fit:cover!important}
 body .mode-editor .preview-empty,body .mode-photo .photo-empty{border-radius:0!important;padding:8px!important;background:#0c131c!important}
 body .mode-editor .preview-empty-content,body .mode-photo .photo-empty-content{z-index:2!important}
 body .mode-editor .transport{
   flex:0 0 35px!important;min-height:35px!important;height:35px!important;max-height:35px!important;
   display:grid!important;grid-template-columns:1fr 55px 50px 38px 1fr!important;gap:0!important;align-items:center!important;
   padding:0 7px!important;margin:0!important;border:0!important;background:#050608!important;
 }
 body .mode-editor .transport .video-before{grid-column:1!important;justify-self:start!important;border:0!important;min-height:32px!important;font-size:11px!important;color:#b2c1d0!important;padding:2px 3px!important}
 body .mode-editor .transport #time-current{grid-column:2!important;justify-self:end!important;color:#9ba4b1!important;font-size:11px!important}
 body .mode-editor .transport #play-button{grid-column:3!important;justify-self:center!important;width:31px!important;height:31px!important;min-height:31px!important;max-height:31px!important;border:0!important;background:none!important;box-shadow:none!important;color:#f0d1a0!important;font-size:19px!important}
 body .mode-editor .transport #time-total{grid-column:4!important;font-size:11px!important;color:#9ba4b1!important}
 body .mode-editor .editor-layout>.v16-import-strip{display:none!important}
 body .mode-editor .editor-layout>.timeline-panel{
   order:1!important;position:relative!important;flex:0 0 98px!important;box-sizing:border-box!important;height:98px!important;max-height:98px!important;min-height:98px!important;
   border:0!important;border-top:1px solid #24272d!important;border-bottom:1px solid #24272d!important;border-radius:0!important;
   padding:3px 3px 1px!important;margin:0!important;background:#101115!important;overflow:hidden!important;
 }
 body .mode-editor .timeline-top{height:15px!important;min-height:15px!important;margin:0!important;align-items:center!important;gap:5px!important;color:#777f88!important}
 body .mode-editor .timeline-top strong{font-size:9px!important;font-weight:700!important;letter-spacing:.05em!important}
 body .mode-editor .timeline-top #clip-name{max-width:57%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px!important;color:#8995a0!important}
 body .mode-editor .v24-ruler{height:12px!important;display:flex!important;justify-content:space-between;gap:3px;align-items:center;font-size:8px!important;color:#778593!important;letter-spacing:.02em}
 body .mode-editor #timeline-track{
   height:51px!important;min-height:51px!important;max-height:51px!important;border:1px solid #c5bba2!important;border-radius:4px!important;
   background:#25272d!important;display:block!important;overflow:hidden!important;margin:0!important;position:relative!important;
 }
 body .mode-editor #timeline-track #track-label{position:absolute!important;left:0;right:0;bottom:1px;top:auto;text-align:center;z-index:3!important;
   font-size:9px!important;color:#ffffffde!important;text-shadow:0 1px 4px #000;background:linear-gradient(transparent,#0008)!important;
   white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:1px 2px}
 body .mode-editor .v24-filmstrip{position:absolute!important;inset:0!important;display:flex!important;width:100%!important;height:100%!important;overflow:hidden!important}
 body .mode-editor .v24-filmstrip img{height:100%;width:12.5%;min-width:12.5%;object-fit:cover;filter:saturate(.9)}
 body .mode-editor .timeline-panel .track-fill{z-index:4!important;opacity:.7;background:#e4bf831b!important;border-right:2px solid #efc990!important}
 body .mode-editor #v15-cut-track{height:9px!important;max-height:9px!important;min-height:9px!important;margin:2px 0 0!important;border:0!important;border-radius:0!important;overflow:hidden}
 body .mode-editor .timeline-panel .timeline-help{display:none!important}
 body .mode-editor .timeline-panel>.seek-row{display:flex!important;position:absolute!important;z-index:5!important;left:4px!important;right:4px!important;top:26px!important;
   height:51px!important;min-height:51px!important;margin:0!important;padding:0!important;pointer-events:none!important}
 body .mode-editor .timeline-panel .seek-row input[type=range]{pointer-events:auto!important;appearance:none!important;-webkit-appearance:none!important;touch-action:none!important;
   padding:0!important;margin:0!important;width:100%!important;height:51px!important;min-height:51px!important;border:0!important;background:transparent!important;cursor:ew-resize!important}
 body .mode-editor .timeline-panel .seek-row input[type=range]::-webkit-slider-runnable-track{height:51px!important;background:transparent!important}
 body .mode-editor .timeline-panel .seek-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:3px!important;height:57px!important;margin-top:-3px!important;background:#f6e8cb!important;border:0!important;border-radius:1px!important;box-shadow:0 0 0 1px #1118,0 0 7px #000b!important}
 body .mode-editor .timeline-panel .seek-row input[type=range]::-moz-range-thumb{width:3px;height:55px;background:#fff1d2;border:0;border-radius:2px}
 /* One row of compact icons, finger-sized touch targets; no stacked tool cards. */
 body .mode-editor .editor-layout>.v20-group-switch,body .mode-photo .photo-workspace>.v20-group-switch{display:none!important}
 body .mode-editor .editor-layout>.tab-row,body .mode-photo .photo-workspace>.photo-mobile-dock{
   order:3!important;display:flex!important;flex:0 0 67px!important;min-height:67px!important;height:67px!important;max-height:67px!important;
   width:100%!important;box-sizing:border-box!important;margin:0!important;padding:4px 4px calc(6px + env(safe-area-inset-bottom,0px))!important;
   gap:2px!important;position:relative!important;top:auto!important;bottom:auto!important;overflow-x:auto!important;overflow-y:hidden!important;
   flex-wrap:nowrap!important;align-items:center!important;border:0!important;border-radius:0!important;background:#090a0c!important;box-shadow:none!important;scroll-snap-type:x proximity!important;
 }
 body .mode-editor .editor-layout>.tab-row .tab,body .mode-photo .photo-workspace>.photo-mobile-dock button{
   box-sizing:border-box!important;flex:0 0 59px!important;min-width:59px!important;width:59px!important;min-height:51px!important;height:51px!important;max-height:51px!important;
   padding:3px 2px!important;margin:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;
   background:transparent!important;border:0!important;border-radius:6px!important;box-shadow:none!important;color:#afb1b7!important;
 }
 body .mode-editor .editor-layout>.tab-row .tab>span,body .mode-photo .photo-workspace>.photo-mobile-dock button>span{font-size:20px!important;line-height:23px!important;color:#e5e7eb!important;opacity:.96}
 body .mode-editor .editor-layout>.tab-row .tab>small,body .mode-photo .photo-workspace>.photo-mobile-dock button>small{font-size:10px!important;line-height:12px!important;color:#b2b4ba!important;letter-spacing:0!important;font-weight:500!important}
 body .mode-editor .editor-layout>.tab-row .tab.selected,body .mode-photo .photo-workspace>.photo-mobile-dock button.active{background:#1c1c20!important;color:#f7d39a!important;border:0!important;box-shadow:none!important}
 body .mode-editor .editor-layout>.tab-row .tab.selected span,body .mode-photo .photo-workspace>.photo-mobile-dock button.active span{color:#eeca91!important}
 body .mode-editor .editor-layout>.tab-row [hidden],body .mode-photo .photo-workspace>.photo-mobile-dock [hidden]{display:flex!important}
 body .mode-editor .tab-row .tab:after,body .mode-photo .photo-mobile-dock button:after{display:none!important}
 /* A tools sheet replaces the bottom toolbar instead of adding an endlessly scrolling card. */
 body .mode-editor .editor-layout>.properties-panel,body .mode-photo .photo-workspace>.photo-properties{
   order:4!important;display:none!important;align-self:stretch!important;position:relative!important;box-sizing:border-box!important;
   padding:3px 9px calc(4px + env(safe-area-inset-bottom,0px))!important;margin:0!important;width:100%!important;
   border:0!important;border-top:1px solid #2e3138!important;border-radius:0!important;background:#111115!important;box-shadow:none!important;overflow-y:auto!important;overflow-x:hidden!important;
 }
 body .mode-editor.v24-tool-open .editor-layout>.tab-row,body .mode-photo.v24-tool-open .photo-workspace>.photo-mobile-dock{display:none!important}
 body .mode-editor.v24-tool-open .editor-layout>.properties-panel{
   display:block!important;flex:0 0 152px!important;min-height:152px!important;max-height:152px!important;height:152px!important;
 }
 body .mode-photo.v24-tool-open .photo-workspace>.photo-properties{
   display:block!important;flex:0 0 161px!important;min-height:161px!important;max-height:161px!important;height:161px!important;
 }
 body .mode-editor .v24-tool-head,body .mode-photo .v24-tool-head{display:flex!important;align-items:center!important;gap:7px!important;position:sticky;top:0;z-index:5;background:#111115;
   min-height:30px;height:30px;margin-bottom:1px;border-bottom:1px solid #242830}
 body .mode-editor .v24-tool-head button,body .mode-photo .v24-tool-head button{width:32px;height:28px;min-height:28px;padding:0;border:0;background:none;color:#e4e8ed;font-size:27px;line-height:27px}
 body .mode-editor .v24-tool-label,body .mode-photo .v24-tool-label{color:#f3d2a0!important;font-size:12px!important;font-weight:750!important;white-space:nowrap}
 body .mode-editor .v24-tool-advice,body .mode-photo .v24-tool-advice{margin-left:auto;max-width:53%;font-size:9px;white-space:nowrap;overflow:hidden;color:#818b9a}
 body .mode-editor .properties-panel>.v19-tool-caption,body .mode-photo .photo-properties>.v19-tool-caption{display:none!important}
 body .mode-photo .photo-properties>.photo-tabs,body .mode-photo .photo-properties>h3,body .mode-photo .photo-properties>p{display:none!important}
 body .mode-editor #control-panel,body .mode-photo .photo-properties{font-size:11px!important}
 body .mode-editor #control-panel .panel-heading,body .mode-photo .photo-properties .panel-heading{font-size:11px!important;min-height:22px!important;margin:0 0 2px!important}
 body .mode-editor #control-panel .panel-heading>strong,body .mode-photo .photo-properties .panel-heading>strong{font-size:11px!important;color:#d5dce6!important}
 body .mode-photo .photo-tool-section:not(.mobile-active){display:none!important}
 body .mode-photo .photo-tool-section.mobile-active{display:block!important;margin:0!important;padding:0!important}
 body .mode-editor #control-panel .v22-rail,body .mode-photo .v22-rail{min-height:73px!important;max-height:92px!important;padding:0!important;scroll-behavior:smooth!important}
 body .mode-editor #control-panel .v22-rail>.ctrl,body .mode-photo .v22-rail>.ctrl{min-height:65px!important;padding:2px 5px!important}
 body .mode-editor .v22-rail-nav,body .mode-photo .v22-rail-nav{min-height:25px!important;height:25px!important;margin:0!important;padding:0 3px!important}
 body .mode-editor .v22-rail-tag,body .mode-photo .v22-rail-tag{font-size:9px!important}
 body .mode-editor .v22-rail-prev,body .mode-editor .v22-rail-next,body .mode-photo .v22-rail-prev,body .mode-photo .v22-rail-next{height:22px!important;min-height:22px!important;width:27px!important;min-width:27px!important;font-size:18px!important;border-radius:5px!important;background:#242932!important;border:1px solid #3b4655!important;box-shadow:none!important}
 body .mode-editor .v22-rail>.ctrl>label,body .mode-photo .v22-rail>.ctrl>label{font-size:12px!important;color:#f0f0f3!important;margin-bottom:2px!important}
 body .mode-editor .properties-panel input[type=range],body .mode-photo .photo-properties input[type=range]{width:100%!important;min-height:36px!important;height:36px!important;accent-color:#edc58b!important;touch-action:pan-x!important}
 body .mode-editor .properties-panel .ctrl,body .mode-photo .photo-properties .ctrl{border:0!important}
 body .mode-editor .properties-panel .ctrl-note,body .mode-photo .photo-properties .ctrl-note{font-size:10px!important;line-height:1.35!important;margin:0 0 4px!important}
 body .mode-editor .filter-presets,body .mode-photo .photo-filter-grid{max-height:108px!important;gap:5px!important;padding:2px 0!important;overflow-x:auto!important}
 body .mode-editor .filter-presets .filter-preset,body .mode-photo .photo-filter-grid .photo-preset{flex:0 0 83px!important;width:83px!important;min-width:83px!important;height:92px!important;min-height:92px!important;max-height:92px!important}
 /* Photo preview occupies almost the entire upper region. Export/import stay in the header. */
 body .mode-photo .photo-stage .v16-import-strip,body .mode-photo .photo-stage .v24-photo-actions-fallback{display:none!important}
 body .mode-photo .photo-stage .studio-quickbar{flex:0 0 33px!important;height:33px!important;min-height:33px!important;margin:0!important;padding:1px 8px!important;border:0!important;background:#0a0b0d!important}
 body .mode-photo .studio-quickbar #photo-tip{font-size:9px!important;line-height:1.3!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body .mode-photo .studio-quickbar .compare-button{min-height:29px!important;font-size:10px!important}
 body .mode-photo .photo-stage-view{border-radius:0!important}
 body .mode-editor .properties-panel select,body .mode-photo .photo-properties select{font-size:11px!important;padding:5px!important;min-height:29px!important}
 body .mode-editor .properties-panel textarea,body .mode-photo .photo-properties textarea{font-size:12px!important;max-height:67px!important;min-height:50px!important}
 body .mode-editor .properties-panel .btn,body .mode-photo .photo-properties .btn{font-size:11px!important;min-height:32px!important;height:auto!important;padding:5px 9px!important}
 body .mode-editor .properties-panel .v23-trim-guide{display:none!important}
 body .mode-editor .properties-panel .v23-trim-details{margin:3px 0!important}
 body .mode-editor .properties-panel .v23-trim-details summary{padding:5px 8px!important}
 /* The cinema-enlarge action is still useful on desktop but hidden here to avoid stealing image space. */
 body.v19-preview-theater .mode-editor .editor-layout>.stage-panel,body.v19-preview-theater .mode-photo .photo-workspace>.photo-stage{flex:1 1 auto!important}
}
@media(max-width:650px) and (max-height:675px){
 body .mode-editor .editor-layout>.timeline-panel{flex-basis:78px!important;min-height:78px!important;height:78px!important;max-height:78px!important}
 body .mode-editor #timeline-track{height:35px!important;min-height:35px!important;max-height:35px!important}
 body .mode-editor .timeline-panel>.seek-row,body .mode-editor .timeline-panel .seek-row input[type=range]{height:35px!important;min-height:35px!important}
 body .mode-editor .timeline-panel .seek-row input[type=range]::-webkit-slider-thumb{height:42px!important}
 body .mode-editor.v24-tool-open .editor-layout>.properties-panel{flex-basis:136px!important;min-height:136px!important;height:136px!important;max-height:136px!important}
 body .mode-photo.v24-tool-open .photo-workspace>.photo-properties{flex-basis:145px!important;min-height:145px!important;height:145px!important;max-height:145px!important}
}
@media(prefers-reduced-motion:reduce){.splash-atmosphere:before,.splash-ready .splash-mark,.splash-ready .splash-wordmark{animation:none!important}}

/* Active tools replace the scrolling bar and expose the entire adjustment slider. */
@media(max-width:650px){
 body .mode-editor.v24-tool-open .editor-layout>.tab-row,body .mode-photo.v24-tool-open .photo-workspace>.photo-mobile-dock{display:none!important;min-height:0!important;height:0!important;max-height:0!important;flex-basis:0!important}
 body .mode-editor.v24-tool-open .editor-layout>.properties-panel{display:block!important;order:4!important;flex:0 0 206px!important;min-height:206px!important;max-height:206px!important;height:206px!important;padding:2px 10px 8px!important}
 body .mode-photo.v24-tool-open .photo-workspace>.photo-properties{display:block!important;order:4!important;flex:0 0 213px!important;min-height:213px!important;max-height:213px!important;height:213px!important;padding:2px 10px 8px!important}
 body .mode-editor .v24-tool-head,body .mode-photo .v24-tool-head{flex:0 0 30px!important;height:30px!important;min-height:30px!important;margin:0 0 3px!important}
 body .mode-editor .properties-panel .v22-rail,body .mode-photo .photo-properties .v22-rail{height:72px!important;max-height:72px!important}
 body .mode-editor #control-panel .panel-heading,body .mode-photo .photo-tool-section .panel-heading{margin-bottom:0!important}
 body .mode-editor .v24-adjust-picker,body .mode-photo .v24-adjust-picker{margin:0!important}
 body .mode-editor .v24-tool-head button,body .mode-photo .v24-tool-head button{cursor:pointer}
}
/* V24 final usability pass: show the actual adjustment slider without a second navigation row. */
@media(max-width:650px){
 body .mode-editor #control-panel .v24-adjust-picker,body .mode-photo .photo-properties .v24-adjust-picker{
   display:flex!important;align-items:center!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;
   width:100%!important;height:26px!important;min-height:26px!important;max-height:26px!important;
   padding:0 2px!important;margin:2px 0 0!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
 }
 body .mode-editor .v24-adjust-picker::-webkit-scrollbar,body .mode-photo .v24-adjust-picker::-webkit-scrollbar{display:none}
 body .mode-editor .v24-adjust-chip,body .mode-photo .v24-adjust-chip{
   flex:0 0 auto!important;box-sizing:border-box!important;font-size:10px!important;line-height:1!important;
   height:23px!important;min-height:23px!important;max-height:23px!important;
   padding:3px 9px!important;border:0!important;border-radius:7px!important;
   background:transparent!important;color:#b6bcc3!important;white-space:nowrap!important;
 }
 body .mode-editor .v24-adjust-chip[aria-pressed="true"],body .mode-photo .v24-adjust-chip[aria-pressed="true"]{background:#2f3137!important;color:#f4cb92!important}
 body .mode-editor .v24-adjust-picker+.v22-rail-nav,body .mode-photo .v24-adjust-picker+.v22-rail-nav{display:none!important}
 body .mode-editor #control-panel .v24-adjust-picker~.v22-rail,body .mode-photo .photo-properties .v24-adjust-picker~.v22-rail{min-height:59px!important;max-height:68px!important;}
 body .mode-editor #control-panel .v24-adjust-picker~.v22-rail>.ctrl,body .mode-photo .v24-adjust-picker~.v22-rail>.ctrl{min-height:57px!important;padding:1px 6px!important}
 body .mode-editor #control-panel .v24-adjust-picker~.v22-rail>.ctrl>label,body .mode-photo .v24-adjust-picker~.v22-rail>.ctrl>label{margin-bottom:0!important;font-size:11px!important}
 body .mode-editor #control-panel .v24-adjust-picker~.v22-rail input[type=range],body .mode-photo .v24-adjust-picker~.v22-rail input[type=range]{height:35px!important;min-height:35px!important;}
 body .mode-editor .v24-tool-head,body .mode-photo .v24-tool-head{min-height:27px!important;height:27px!important}
 body .mode-editor.v24-tool-open .editor-layout>.properties-panel{flex-basis:160px!important;min-height:160px!important;max-height:160px!important;height:160px!important}
 body .mode-photo.v24-tool-open .photo-workspace>.photo-properties{flex-basis:164px!important;min-height:164px!important;max-height:164px!important;height:164px!important}
 /* A brief status toast must not cover the active slider or the thumbnail filmstrip. */
 body .mode-editor ~ #toast,body .mode-photo ~ #toast,body:has(.mode-editor) #toast,body:has(.mode-photo) #toast{
   top:51px!important;bottom:auto!important;left:16px!important;right:16px!important;
   max-width:none!important;width:auto!important;padding:9px 12px!important;
   text-align:center!important;font-size:11px!important;line-height:1.4!important;
 }
}
/* V24 cinematic signature: prevent letter collisions on the initial frame. */
.splash-center .v24-cinema-kicker{box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;width:min(92%,330px);gap:11px;margin:13px auto 4px;color:#e9c892;font-size:9px;font-weight:750;line-height:1.4;letter-spacing:.17em;white-space:nowrap;text-align:center}
.splash-center .v24-cinema-kicker span:not(.v24-filmline){display:inline-block;flex:0 0 auto;white-space:nowrap}
.splash-center .v24-filmline{height:1px;width:20px;min-width:20px;flex:0 0 20px;background:linear-gradient(90deg,transparent,#e8b96f,transparent)}
.splash-center .v24-hero-line{margin:16px auto 5px;color:#edc585;font-weight:700;font-size:10px;line-height:1.6;letter-spacing:.12em;text-align:center;text-shadow:0 0 15px #dbaf6855}
@media(max-width:380px){.splash-center .v24-cinema-kicker{font-size:8px;gap:7px}.splash-center .v24-filmline{width:12px;min-width:12px;flex-basis:12px}}
