/* The stage shell positions the ribbon. Its controls remain useful on narrow windows. */
#transport[hidden] { display:none; }
#transport { display:grid; grid-template-columns:auto minmax(90px,1fr) minmax(92px,auto); gap:clamp(6px,1.2vw,18px);
  align-items:center; color:#f1ece1; font:12px/1.25 system-ui,sans-serif; padding:6px 11px;
  border-block:1px solid rgba(219,204,170,.35); background:rgba(16,17,18,.68); }
.tp-controls { display:flex; align-items:center; gap:7px; }
.tp-play { border:1px solid #a88764; border-radius:50%; background:rgba(224,163,95,.12); color:#ffc995;
  width:29px; height:29px; display:grid; place-items:center; font:13px/1 system-ui,sans-serif; cursor:pointer; }
.tp-play:focus-visible,.tp-track:focus-within { outline:2px solid #f0b782; outline-offset:3px; }
.tp-clock,.tp-meter { display:grid; gap:0; }
.tp-now { color:#f6eedd; font:560 17px/1.2 ui-monospace,Consolas,monospace; font-variant-numeric:tabular-nums; }
.tp-clock-label,.tp-scale,.tp-rms,.tp-event-label { font:11px/1.25 ui-monospace,Consolas,monospace; color:#cbbda5; }
.tp-strip { min-width:0; }
.tp-track { height:25px; position:relative; }
.tp-track svg { display:block; width:100%; height:100%; overflow:visible; }
.tp-baseline { fill:none; stroke:#7c7363; stroke-width:1; }
.tp-guide { stroke:#829b9a; stroke-width:2; }
.tp-sub { fill:#9eaaae; stroke:#2e3334; stroke-width:.7; }
.tp-sub.used { fill:#e7c397; }
.tp-sub.rejected,.tp-sub.aborted { fill:#cd795b; }
.tp-event { fill:none; stroke:#d3ba9a; stroke-width:1.3; }
.tp-event.focus,.tp-event.flip { stroke:#dfae74; }
.tp-event.loss { stroke:#f28960; }
.tp-cursor { position:absolute; pointer-events:none; inset-block:0; width:1.5px; transform:translateX(-50%); background:#f8f2d7; }
.tp-cursor::before { content:''; position:absolute; left:-2px; top:-2px; width:6px; height:4px; background:#f8f2d7; }
.tp-slider { position:absolute; inset:0; margin:0; padding:0; width:100%; height:100%; opacity:0; cursor:crosshair; }
.tp-scale { display:flex; justify-content:space-between; gap:2px; font-size:10px; }
.tp-exposure { font-weight:600; }
.tp-event-label { color:#edba82; }
.tp-meter { min-width:0; }
@media (max-width:620px) {
  #transport { grid-template-columns:auto 1fr; gap:3px 10px; }
  .tp-meter { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:6px; font-size:11px; }
}
