.screen-link { display: block; width: 100%; max-width: 340px; margin-inline: auto; }
.screen-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 22px; }
.device-screen { display: block; padding: 7px; border: 1px solid #41454b; border-radius: 22px; background: #17191c; }
.screen-window { display: block; aspect-ratio: 1080 / 2096; overflow: hidden; border-radius: 15px; background: #000; }
.screen-window img { display: block; max-width: none; width: 100%; height: auto; margin-top: -5.9259259259%; border: 0; border-radius: 0; }
.screen-dialog { border: 1px solid #41454b; border-radius: 8px; padding: 48px 16px 16px; background: #101214; color: white; max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); overflow: auto; }
.screen-dialog::backdrop { background: rgba(0, 0, 0, .85); }
html:has(.screen-dialog[open]) { overflow: hidden; }
.screen-dialog .device-screen { width: min(460px, calc((100dvh - 108px) * 1080 / 2096)); max-width: 100%; margin: auto; }
.screen-dialog-close { position: absolute; top: 6px; right: 8px; }
