:where(img, picture, svg image, .rs-image-surface, .rs-head-photo, a:has(> img:only-child), a:has(> picture:only-child)) {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}
img {
    -webkit-user-select: none;
    user-select: none;
}
button.rsr-bildlink {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: zoom-in;
}
dialog.rsr-bildfenster {
    box-sizing: border-box;
    width: fit-content;
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    color: #20272a;
    background: #fff;
}
.rsr-bildfenster::backdrop { background: rgb(15 20 23 / 86%); }
.rsr-bildwerkzeuge {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    padding: .5rem;
}
.rsr-bildwerkzeuge button {
    min-height: 44px;
    padding: .4em .85em;
    border: 1px solid #536064;
    color: #20272a;
    background: #fff;
    font: inherit;
    cursor: pointer;
}
.rsr-bildwerkzeuge button[aria-pressed="true"] { background: #20272a; color: #fff; }
.rsr-bildflaeche {
    max-height: calc(100vh - 8rem);
    max-height: calc(100dvh - 8rem);
    overflow: auto;
    overscroll-behavior: contain;
}
.rsr-bildflaeche img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: inherit;
    margin-inline: auto;
}
.rsr-originalgroesse .rsr-bildflaeche img {
    max-width: none;
    max-height: none;
}
