/* as wide as the screen allows while the 16:9 video still fits under the dialog's height cap */ .dialog { width: min(1600px, calc(100vw - 2 * var(--s-4)), calc(65dvh * 16 / 9)); max-width: none; } .body { display: flex; flex-direction: column; gap: var(--s-3); } .video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-box); } .actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2); } .meta { margin-inline-end: auto; font-size: var(--font-2xs); color: var(--color-text-high); font-variant-numeric: tabular-nums; } .nav { display: flex; align-items: center; gap: var(--s-1); } .position { min-width: 4ch; text-align: center; font-size: var(--font-2xs); font-weight: var(--weight-semi); font-variant-numeric: tabular-nums; } .music { display: flex; align-items: center; gap: var(--s-2); min-width: 0; font-size: var(--font-xs); } .musicNote { display: flex; align-items: center; gap: var(--s-1); font-size: var(--font-2xs); color: var(--color-text-high); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 24ch; } .musicSpinner { width: 14px; height: 14px; }