.timeline-window {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 80vw;
    height: 80vh;
    height: 80dvh;
    max-width: none;
    max-height: none;
    padding: 24px 26px;
    overflow: hidden;
    color: var(--vim-text);
    background: #000;
}

.timeline-window[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
}

.timeline-window::backdrop { background: rgb(0 0 0 / 55%); }
.timeline-window > :is(.ascii-surface, .ascii-frame) { display: block; }
.timeline-window-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.timeline-window-close { border: 0; background: transparent; color: inherit; font: inherit; padding: 4px; cursor: pointer; }
.timeline-window-close:focus-visible, #timeline-card:focus-visible { outline: 1px dotted currentColor; outline-offset: 3px; }
.timeline-window-scene { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; border: 0; background: #e4ddd7; }
