/* Approved interaction and accessibility refinements; geometry remains shared. */
html[data-interface-feedback=true] :is(.theme-cycle,.gallery-view-entry,.gallery-view-return,.smartphone-gallery button,.smartphone-dialog-close,.imprint-tools button){transition:background-color .12s ease-in-out,box-shadow .12s ease-in-out}
html[data-interface-feedback=true] :is(.theme-cycle,.gallery-view-entry,.gallery-view-return,.smartphone-gallery button,.smartphone-dialog-close,.imprint-tools button):active:not(:disabled){background:color-mix(in srgb,var(--paper) 16%,var(--background));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--paper) 36%,transparent);transition:none}
html[data-interface-feedback=true] #selection-stack:active .selection-return-icon{background:color-mix(in srgb,var(--paper) 16%,var(--background));border-color:var(--paper)}
html[data-interface-feedback=true] .info-menu a:active{background:color-mix(in srgb,var(--paper) 16%,var(--background))}

html[data-interface-contrast=true] body{--interface-muted:#d8d4cb!important;--muted:#d8d4cb!important;--interface-line:#96928a!important;--line:#96928a!important}
html[data-interface-contrast=true] body[data-theme=light]{--interface-muted:#353530!important;--muted:#353530!important;--interface-line:#777266!important;--line:#777266!important}
html[data-interface-contrast=true] :is(.gallery-dot-mark,.theme-cycle,.selection-return-icon){border-color:var(--paper)!important}
html[data-interface-contrast=true] .gallery-dot:not([aria-current]) .gallery-dot-mark{opacity:.75}
html[data-interface-contrast=true] :is(button,a,[tabindex]):focus-visible{outline:2px solid var(--interface-accent)!important;outline-offset:3px}

html[data-interface-transparency=true] :is(.info-menu,.gallery-tap-notice,.selection-return-icon,.smartphone-dialog,.smartphone-location-notice,.gallery-location-compact){background:var(--background,#222529)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-interface-transparency=true] .gallery-tap-notice{border:1px solid var(--interface-line)}

html[data-interface-reading=true]{font-size:100%;--reading-small:.75rem;--reading-body:.9375rem}
html[data-interface-reading=true] body{font-size:15px}
html[data-interface-reading=true] :is(.imprint-text,.smartphone-dialog-body,.info-menu a,.news-letter,.news-fields){font-size:var(--reading-body)}
html[data-interface-reading=true] :is(#selection-gallery-intro,.gallery-expand-label,.gallery-group-label,.smartphone-position,.news-status,.news-consent,.news-privacy){font-size:var(--reading-small)!important}
html[data-interface-reading=true] #selection-exif{font-size:var(--reading-body)!important;line-height:1.6!important;overflow:auto;overscroll-behavior:contain}
html[data-interface-reading=true] #selection-gallery-intro{line-height:1.6!important;overflow:auto}
html[data-interface-reading=true] :is(.imprint-text p,.smartphone-dialog-body p,.news-letter p){font-size:inherit;overflow-wrap:anywhere}
html[data-interface-reading=true] .info-menu{width:max-content;min-width:200px;max-width:calc(100vw - 24px)}
html[data-interface-reading=true] .info-menu a{white-space:normal}
html[data-interface-reading=true] .smartphone-dialog-head h2{font-size:max(20px,1.25rem)}
html[data-interface-reading=true] .smartphone-dialog-head{align-items:flex-start}
@media(prefers-reduced-motion:reduce){html[data-interface-feedback=true] :is(.theme-cycle,.gallery-view-entry,.gallery-view-return,.smartphone-gallery button,.smartphone-dialog-close,.imprint-tools button){transition:none}}
