/* ZILOURD STUDIO — SCENE-DELETE UNDO BAR (2026-11-21).
   Linked after studio-dock.css. The bar is built by chunk
   inline-studio-30 on the owner's Studio road only (guests never
   get it): a slim bar that rises at the foot of the screen when a
   scene is deleted, carrying the scene's name and one Undo button,
   for a 10-second window. On phone widths it floats above the
   mobile control dock (z-index 70) so the two never overlap; the
   sheets (z-index 60) and their backdrop (55) sit below it too. */

/* ---- the bar: hidden until a deletion, gone when the window lapses ---- */
.zundo{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:80;display:flex;align-items:center;gap:12px;max-width:min(92vw,540px);padding:10px 10px 10px 16px;background:var(--panel2);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.5);color:var(--text);font-size:13px}
.zundo[hidden]{display:none}
.zundo-msg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zundo-btn{flex:0 0 auto;min-width:64px;min-height:40px;padding:8px 18px;border-radius:10px;background:transparent;border:1px solid var(--gold);color:var(--gold);font-weight:700;font-size:13px;cursor:pointer}
.zundo-btn:active{background:var(--gold);color:#101b14}

@media (max-width:900px){
 /* ---- phone: the bar rides above the mobile dock ---- */
 .zundo{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
 .zundo-btn{min-height:44px}
}
