.project-editor-controls { display: flex; align-items: center; gap: 8px; } .project-editor-controls button, .project-editor-controls a { min-height: 44px; padding: 8px; } .project-save-state { font-size: 11px; color: var(--studio-muted); } .project-video-dialog { width: min(560px, calc(100vw - 24px)); max-height: 80dvh; color: var(--studio-text); background: var(--studio-panel); border: 1px solid var(--studio-border); border-radius: 16px; padding: 16px; } .project-video-dialog::backdrop { background: #0009; } .project-video-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .project-video-dialog h2 { font-size: 18px; margin: 0; } .project-video-row { display: flex; gap: 8px; margin-top: 8px; } .project-video-row > :first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; text-align: left; } .project-video-row button { min-height: 44px; } .project-video-row [aria-current=true] { border-color: var(--studio-accent); }
@media(max-width:768px) { .project-editor-controls { gap: 2px; } .project-editor-controls a { display:none; } .project-save-state { max-width: 70px; } #new-project > div { flex-wrap: wrap; } #new-project button { flex: 1; } }

@media (max-width: 768px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
    html[data-editor-mode=ultimate] header .brand img, html[data-editor-mode=ultimate] header .brand strong span { display: none; }
    .project-editor-controls .project-save-state { display: none; }
    html[data-theme] .project-editor-controls button { font-size: 11px; padding: 6px; white-space: nowrap; }
    html[data-editor-mode=ultimate] header .brand { min-width: 0; }
}

.project-video-row { flex-wrap: wrap; }
.project-video-row .project-recover { flex: 1 0 100%; color: var(--studio-accent); text-align: center; }
