/* Clearcut accessibility and progressive-disclosure additions. */
.dock { position: relative; }
.duration-notice {
  flex: 1 1 auto;
  min-width: 0;
  color: #f5c8a2;
  font-size: 11px;
  text-align: center;
  line-height: 1.25;
}
#clipTools {
  justify-content: center;
  gap: 6px;
}
#moreToolsBtn[aria-expanded="true"] {
  background: #28332f;
  color: #e8f3ed;
}
.advanced-strip {
  position: absolute;
  z-index: 20;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: calc(100% - 1px);
  justify-content: flex-start;
  flex-wrap: wrap;
  max-height: min(210px, 38dvh);
  overflow: auto;
  padding: 8px;
  background: #1b1d23;
  border: 1px solid #3a3e48;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -10px 28px rgba(0, 0, 0, .32);
  scrollbar-width: thin;
}
.advanced-strip .tool-button {
  min-width: 64px;
  height: 57px;
  flex: 1 0 64px;
}
.advanced-strip .tool-symbol { font-size: 19px; height: 21px; }
@media (max-width: 480px) {
  #clipTools { justify-content: space-between; }
  #clipTools .tool-button { flex: 1 1 20%; min-width: 0; height: 58px; padding: 4px 2px; }
  #clipTools .tool-symbol { font-size: 20px; height: 22px; }
  .timeline-heading { flex-wrap: wrap; }
  .timeline-heading .duration-notice { order: 3; flex: 1 0 100%; text-align: left; }
  .advanced-strip .tool-button { min-width: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .advanced-strip, #moreToolsBtn { animation: none !important; transition: none !important; }
}
