/* Mobile assembly: a full-width timeline, primary action row, then view tools.
   Keep the exhibition floor visible; no extra floating card. */
@media (max-width:760px) {
  body[data-mode=assembly] .assembly-transport {
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom))!important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px!important;
    padding:0!important;
  }
  .assembly-transport .playback-timeline {
    grid-column:1/-1;
    grid-row:1;
    padding:0 6px;
  }
  .assembly-transport .timeline-meta,
  .assembly-transport .timeline-meta #progress-label {
    font-size:11px;
    margin-bottom:0;
  }
  .assembly-transport .playback-timeline #progress {
    height:28px;
    background-size:100% 3px;
    background-position:center;
    background-repeat:no-repeat;
    touch-action:pan-y;
  }
  .assembly-transport .playback-timeline #progress::-webkit-slider-thumb {
    width:16px;height:16px;
  }
  .assembly-transport .playback-timeline #progress::-moz-range-thumb {
    width:16px;height:16px;
  }
  .assembly-transport .playback-main {grid-column:1;grid-row:2;min-width:0}
  .assembly-transport .playback-main #auto-play {
    width:100%;min-height:44px;justify-content:center;font-size:13px;gap:9px;
  }
  .assembly-transport .playback-options {
    grid-column:2;grid-row:2;gap:6px;
  }
  .assembly-transport .playback-options #speed {
    order:0;min-width:60px;height:44px;margin:0;padding:0 8px;
    font-size:13px;border:1px solid #4d656b;border-radius:9px;
  }
  .assembly-transport .playback-more summary {
    min-width:44px;height:44px;padding:0;display:flex;align-items:center;
    justify-content:center;font-size:16px;border:1px solid #4d656b;border-radius:9px;
  }
  .assembly-transport .playback-more>div {bottom:52px;right:0;width:150px;z-index:45}
  .assembly-transport .playback-more button {min-height:44px;font-size:13px}
  .assembly-transport #transport-tools {grid-column:1/-1;grid-row:3;padding-top:6px;border-top:1px solid #526b6e50}
  body[data-mode=assembly] .assembly-transport .view-tools {
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:4px;
    padding:0;border:0;
  }
  body[data-mode=assembly] .assembly-transport .view-tools button {
    min-width:0;min-height:48px;padding:5px 2px;font-size:11px;
    flex-direction:column;justify-content:center;gap:3px;white-space:nowrap;
  }
  .assembly-transport .view-tools button span {display:block;font-size:10px}
  .assembly-transport .view-tools button svg {width:17px;height:17px}
  body[data-mode=assembly] #interaction-hints {animation:none}
  body[data-mode=assembly] .mobile-panels {bottom:calc(184px + env(safe-area-inset-bottom));gap:8px;left:12px}
  body[data-mode=assembly] .mobile-panels button {min-height:40px;font-size:12px;padding:8px 16px}
  body[data-mode=assembly] .sheets-panel,
  body[data-mode=assembly] .guide-panel {bottom:calc(232px + env(safe-area-inset-bottom));max-height:calc(100dvh - 360px)}
  body[data-mode=assembly] .display-settings {max-height:calc(100dvh - 310px)}
  body[data-mode=assembly].motion-active #transport-tools {grid-row:1}
}
