/* v8.180 — move only the existing CUT DECK trigger into the video action row. */
#videoLoaded:not([hidden]) .clip-player-tools > #trimTool {
  margin:0 0 0 auto!important; flex:0 0 auto; width:108px; min-width:0;
  border:1px solid #3c7695; border-radius:9px; background:linear-gradient(125deg,#0e4568,#0f2b59);
  box-shadow:none; overflow:hidden;
}
#videoLoaded:not([hidden]) .clip-player-tools > #trimTool > summary {
  box-sizing:border-box; display:flex; justify-content:center; align-items:center;
  gap:5px; height:36px; min-height:36px; max-height:36px; padding:0 7px;
  line-height:1.2; white-space:nowrap;
}
#videoLoaded:not([hidden]) .clip-player-tools > #trimTool .tool-title {font-size:11px;color:#91e6ff;white-space:nowrap;}
#videoLoaded:not([hidden]) .clip-player-tools > #trimTool .tool-arrow {font-size:13px;color:#91e6ff;}
#videoLoaded:not([hidden]) .clip-player-tools > #trimTool[open] {border-color:#71d7f6;background:#164970;}
#videoLoaded:not([hidden]) .clip-player-tools > #trimTool > .quick-edit-content {display:none!important;}
/* Same trim-only availability as before, but reserve space so tab switches never move the toolbar. */
#videoLoaded:has(#videoToolPanel_trim[hidden]) .clip-player-tools > #trimTool {visibility:hidden;pointer-events:none;}
@media(max-width:740px){
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool {width:92px;}
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool > summary {height:32px;min-height:32px;max-height:32px;padding:0 3px;gap:3px;}
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool .tool-title {font-size:10px;letter-spacing:-.35px;}
  #videoLoaded.mobile-editor-tight:not([hidden]) .clip-player-tools > #trimTool > summary {height:28px;min-height:28px;max-height:28px;}
}
@media(max-width:849px),(hover:none),(pointer:coarse){
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool summary:has(#mobileSegmentsCompleted:not([hidden])) .tool-title {display:none;}
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool #mobileSegmentsCompleted:not([hidden]) {display:inline;color:#b2f9e7;font-size:10px;white-space:nowrap;font-weight:800;}
}


/* v8.182 — mobile: make trim details button span the full toolbar width */
@media (max-width:740px){
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool{
    flex:1 0 100%;
    width:100%;
    max-width:100%;
    margin-top:2px;
  }
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool > summary{
    width:100%;
    height:31px;
    min-height:31px;
    max-height:31px;
    padding:0 10px;
    justify-content:center;
    gap:6px;
  }
  #videoLoaded:not([hidden]) .clip-player-tools > #trimTool .tool-title{
    font-size:11px;
    letter-spacing:-.2px;
  }
  #videoLoaded.mobile-editor-tight:not([hidden]) .clip-player-tools > #trimTool > summary{
    height:30px;
    min-height:30px;
    max-height:30px;
  }
}
