/* Screens stay at their natural proportions, with a full-width preview on phones. */
.raseed-screens .raseed-screen-list {
    --fit-m: 1;
    --fit-gap: 18px;
    --fit-cap: 600px;
}

.raseed-screen-list .raseed-screen .zoom {
    aspect-ratio: auto;
}

.op-media .raseed-screen img,
.raseed-screen-list .raseed-screen img {
    width: 100%;
    height: auto;
    max-height: 85svh;
    object-fit: contain;
}

.raseed-screen figcaption {
    margin-block-start: 6px;
    color: var(--fg-2);
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.op-media .raseed-screen figcaption {
    padding: 4px 12px 10px;
}

@container (min-width: 760px) {
    .raseed-screens .raseed-screen-list { --fit-m: 2; }
}
