.sacred-pictures { --picture-ink:#302d27; --picture-muted:#6d675d; --picture-accent:#806535; --picture-frame-width:clamp(12px,1.5vw,22px); --picture-frame-surface:linear-gradient(135deg,#ecdfbb,#a2834a 16%,#dfc898 24%,#9a783e 46%,#ead9af 54%,#9c7d49 72%,#e2cea4); padding:0 0 3rem; color:var(--picture-ink); background:linear-gradient(150deg,#fcfaf5,#f5f1e8); }
.sacred-pictures > .container { max-width:1440px; }
.sacred-pictures[data-frame="walnut"] { --picture-frame-surface:repeating-linear-gradient(95deg,#3b2a21 0,#694e3b 2px,#50372a 5px,#785a41 7px,#483124 9px); }
.sacred-pictures[data-frame="gallery"] { --picture-frame-surface:linear-gradient(135deg,#41453f,#1e2522 45%,#4d514b 55%,#292f2a); --picture-frame-width:8px; }
.picture-breadcrumb { display:flex; gap:.7rem; align-items:center; margin:0; padding:.9rem 0; font-size:.875rem; color:var(--picture-muted); }
.picture-breadcrumb a { color:inherit; text-underline-offset:4px; }
.picture-heading { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; margin:.75rem 0 1.35rem; }
.picture-heading h1 { margin:.25rem 0 .5rem; font-family:Georgia,'Times New Roman',serif; font-size:clamp(2rem,3.5vw,3.3rem); font-weight:400; letter-spacing:-.035em; line-height:1.1; color:var(--picture-ink); }
.picture-heading p { margin:0; color:var(--picture-muted); font-size:1rem; }
.sacred-pictures .picture-eyebrow { margin:0; color:var(--picture-accent); font-size:.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.16em; }
.picture-tools, .picture-filter { display:flex; align-items:center; gap:.65rem; flex-wrap:wrap; }
.picture-tools { padding:.5rem; border:1px solid #ffffffcc; border-radius:14px; background:#fffdf7a8; box-shadow:0 5px 20px #58432509; backdrop-filter:blur(14px); }
.sacred-pictures button, .picture-filter select { font:inherit; min-height:44px; border:1px solid #bcb09a77; border-radius:8px; padding:.65rem .9rem; background:#fffdf8df; color:var(--picture-ink); cursor:pointer; }
.picture-filter select { appearance:none; padding-right:2.2rem; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%236d675d' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .75rem center; }
.sacred-pictures button:hover, .picture-filter select:hover { border-color:#95805b; }
.sacred-pictures button:focus-visible, .sacred-pictures a:focus-visible, .sacred-pictures select:focus-visible, .sacred-pictures summary:focus-visible, .picture-carousel:focus-visible { outline:3px solid #a67d38; outline-offset:4px; }
.sacred-pictures button:disabled { opacity:.5; cursor:default; }
.picture-carousel { --picture-hero-height:clamp(320px,52dvh,680px); position:relative; height:var(--picture-hero-height); overflow:hidden; border:1px solid #dfd6c7; border-radius:18px; background:radial-gradient(ellipse at 50% 14%,#fffef9 0,#f3eee4 55%,#e7dfd1 100%); box-shadow:inset 0 1px #fff,0 18px 45px -35px #4d391f55; touch-action:pan-y pinch-zoom; }
.picture-wall-label { position:absolute; top:.45rem; left:1.5rem; right:1.5rem; z-index:3; width:fit-content; max-width:calc(100% - 3rem); font-family:Georgia,'Times New Roman',serif; font-size:.875rem; font-style:italic; color:#5a4c3b; }
.picture-wall-label a, .picture-present-citation a { display:inline-block; color:inherit; padding:.65rem .15rem; text-decoration:underline; text-underline-offset:.2em; }
.sacred-pictures .picture-present-citation { position:absolute; z-index:3; left:max(.75rem,env(safe-area-inset-left)); top:max(.65rem,env(safe-area-inset-top)); max-width:calc(100% - 5rem); padding:0 .55rem; border-radius:.5rem; background:#12151adc; color:#fff; font:italic .875rem Georgia,serif; }
.picture-carousel-stage, .picture-slide { position:absolute; inset:0; }
.picture-slide { display:flex; align-items:center; justify-content:center; padding:2.75rem 4.75rem 3.7rem; z-index:2; }
.picture-slide.is-leaving { z-index:1; pointer-events:none; }
.picture-slide[hidden] { display:none !important; }
.picture-frame, .picture-thumbnail-frame { display:block; position:relative; background:var(--picture-frame-surface); }
.picture-frame { flex:none; width:min(100%,calc((var(--picture-hero-height) - 140px) * var(--picture-ratio) + var(--picture-frame-width) * 2)); padding:var(--picture-frame-width); box-shadow:0 22px 30px -14px #49342166,0 2px 4px #49342166,inset 0 0 0 1px #fff7,inset 0 0 0 5px #3a271c38,inset 0 0 0 6px #fff5; }
.picture-frame::before { content:""; position:absolute; inset:8px; border:1px solid #f6e5b477; box-shadow:0 0 0 1px #44301f38; pointer-events:none; }
.picture-frame img { display:block; width:100%; height:auto; border:7px solid #f5f0e5; box-shadow:0 0 0 1px #4f3e2f77; }
.picture-carousel-arrow { display:flex; align-items:center; justify-content:center; position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:52px; border:1px solid #ffffffd9; border-radius:12px; color:#514332; background:#fffdf3a8; box-shadow:0 5px 18px #4c391514; backdrop-filter:blur(12px); text-decoration:none; font-size:1.8rem; }
.picture-carousel-arrow:hover { color:#514332; background:#fffcf2e8; }
.picture-carousel-previous { left:1.25rem; }
.picture-carousel-next { right:1.25rem; }
.picture-carousel-fullscreen { position:absolute; z-index:3; bottom:1rem; right:1rem; }
.picture-carousel-status { position:absolute; z-index:3; bottom:1rem; left:1rem; right:4.5rem; margin:0; width:fit-content; padding:.45rem .7rem; border-radius:.5rem; color:white; background:#12151aec; }
.picture-carousel-status:empty { display:none; }
.picture-collection-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.7rem; margin:1.35rem 0 .65rem; }
.picture-collection-toolbar > p { margin:0; font-weight:500; }
.picture-collection-toolbar > p > span { margin-left:.6rem; color:var(--picture-muted); font-size:.875rem; font-weight:400; }
.picture-frame-picker { display:flex; align-items:center; gap:.25rem; }
.picture-frame-picker > span { margin-right:.35rem; color:var(--picture-muted); font-size:.875rem; }
.picture-frame-picker button { display:flex; align-items:center; gap:.4rem; min-height:44px; padding:.45rem .6rem; border:1px solid transparent; background:transparent; font-size:.875rem; }
.picture-frame-picker button[aria-pressed="true"] { border-color:#b3a17d; background:#fffcf7c7; box-shadow:0 1px 6px #5843250a; }
.picture-frame-picker i { width:13px; height:13px; border-radius:50%; border:1px solid #302d2733; }
.picture-finish-gold { background:linear-gradient(135deg,#f0dfb6,#a18145); }
.picture-finish-walnut { background:linear-gradient(135deg,#986d4c,#3a271d); }
.picture-finish-gallery { background:#39403a; }
.picture-thumbnails { display:flex; align-items:center; gap:.45rem; max-width:100%; overflow-x:auto; padding:.7rem; border:1px solid #fff; border-radius:14px; background:#fffdf7a8; box-shadow:0 4px 20px #58432506; backdrop-filter:blur(12px); scrollbar-width:thin; scrollbar-color:#b9aa8b #eae4d8; scroll-snap-type:x proximity; }
.picture-thumbnail { flex:0 0 110px; min-height:76px; box-sizing:border-box; display:flex; align-items:center; justify-content:center; border:1px solid transparent; border-radius:8px; padding:.4rem; scroll-snap-align:center; text-decoration:none; transition:background .25s,box-shadow .25s; }
.picture-thumbnail:hover { background:#f1ebdfb3; }
.picture-thumbnail[aria-current="true"] { border-color:#aa8c52; background:#efe7d8b3; box-shadow:inset 0 0 0 1px #fff9; }
.picture-thumbnail-frame { width:min(100%,calc(50px * var(--picture-ratio) + 8px)); padding:4px; box-shadow:0 3px 6px #4a341d38; }
.picture-thumbnail-frame img { display:block; width:100%; height:auto; border:2px solid #f6f0e5; }
.picture-artwork-label { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:3rem; margin:2rem .25rem 0; padding-bottom:1.5rem; }
.picture-artwork-label h2 { margin:.4rem 0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(1.6rem,2.4vw,2.25rem); font-weight:400; letter-spacing:-.02em; line-height:1.2; color:var(--picture-ink); }
.picture-artwork-artist { margin:.45rem 0; color:var(--picture-muted); }
.picture-artwork-story > p { margin:0; line-height:1.7; color:var(--picture-muted); }
.picture-artwork-details { margin-top:.8rem; }
.picture-artwork-details summary { width:fit-content; min-height:44px; display:flex; align-items:center; cursor:pointer; color:#6b552e; font-size:.875rem; text-decoration:underline; text-underline-offset:4px; }
.picture-artwork-details dl { margin:.3rem 0 0; padding:1rem; border:1px solid #fff; border-radius:12px; background:#fffdf8b8; backdrop-filter:blur(12px); font-size:.875rem; }
.picture-artwork-details dl > div { display:grid; grid-template-columns:5rem minmax(0,1fr); gap:.6rem; margin:.5rem 0; }
.picture-artwork-details dt { font-weight:600; }
.picture-artwork-details dd { margin:0; overflow-wrap:anywhere; }
.picture-empty { text-align:center; padding:4rem 1rem; }
.sacred-pictures dialog { border:0; border-radius:8px; padding:1.25rem; color:#18334d; max-width:calc(100vw - 2rem); }
.sacred-pictures dialog::backdrop { background:rgb(5 12 20 / .9); }
.sacred-pictures dialog:not([open]) { display:none; }
.sacred-pictures .picture-viewer { width:min(1500px,95vw); height:min(960px,94dvh); background:#0c1119; color:#fff; }
.picture-viewer-toolbar { display:flex; justify-content:flex-end; gap:.6rem; height:50px; }
.picture-viewer-body { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:1rem; height:calc(100% - 54px); }
.picture-viewer-body img { display:block; width:100%; height:100%; min-height:0; max-height:calc(90dvh - 100px); object-fit:contain; }
.picture-viewer-body button { padding:0; font-size:2rem; }
.picture-credits { position:absolute; top:80px; right:1.5rem; max-width:min(420px,calc(100% - 3rem)); max-height:calc(100dvh - 140px); overflow:auto; background:#fffdf5ed; color:#302d27; border:1px solid #fff9; border-radius:12px; padding:1.25rem; box-shadow:0 8px 30px #0006; backdrop-filter:blur(18px); }
.picture-credits h2 { font-family:Georgia,'Times New Roman',serif; font-size:1.7rem; font-weight:400; margin:0 0 .75rem; }
.picture-credits p { margin:.4rem 0; }
.sacred-pictures .picture-presentation { position:fixed; inset:0; margin:0; padding:0; width:100vw; height:100dvh; max-width:none; max-height:none; border-radius:0; background:#080b10; color:#fff; overflow:hidden; touch-action:manipulation; }
.picture-presentation:fullscreen { width:100%; height:100%; }
.sacred-pictures .picture-exit { position:absolute; top:1rem; right:1rem; background:#111c; border-color:#ffffff60; color:#fff; z-index:2; }
.picture-present-controls { position:absolute; z-index:2; bottom:1.5rem; left:50%; transform:translateX(-50%); display:flex; justify-content:center; align-items:center; gap:.6rem; flex-wrap:wrap; width:max-content; max-width:calc(100vw - 2rem); padding:.8rem; border-radius:8px; background:#0c1119e8; }
.picture-present-controls label { display:flex; align-items:center; gap:.5rem; min-height:44px; padding:.5rem; }
.picture-present-controls input { width:20px; height:20px; }
.picture-present-controls p { width:100%; margin:0; text-align:center; font-size:.875rem; }
.picture-present-controls p:empty { display:none; }
.picture-breadcrumb, .picture-tools, .picture-gallery-controls, .picture-carousel-arrow, .picture-viewer-toolbar, .picture-viewer-body button, .picture-exit, .picture-present-controls { transition:opacity .4s ease; }
.sacred-pictures.controls-idle:not(.keyboard-controls) .picture-breadcrumb,
.sacred-pictures.controls-idle:not(.keyboard-controls) .picture-tools,
.sacred-pictures.controls-idle:not(.keyboard-controls) .picture-carousel-arrow,
.sacred-pictures.controls-idle:not(.keyboard-controls) .picture-gallery-controls,
.picture-viewer.controls-idle:not(.keyboard-controls) .picture-viewer-toolbar,
.picture-viewer.controls-idle:not(.keyboard-controls) .picture-viewer-body button,
.picture-presentation.controls-idle:not(.keyboard-controls) .picture-exit,
.picture-presentation.controls-idle:not(.keyboard-controls) .picture-present-citation,
.picture-presentation.controls-idle:not(.keyboard-controls) .picture-present-controls { opacity:0; pointer-events:none; }
html:has(body.picture-modal-open), body.picture-modal-open { overflow:hidden; }
@media(max-width:1000px) {
  .picture-heading { align-items:flex-start; flex-direction:column; gap:1rem; }
  .picture-carousel { --picture-hero-height:clamp(320px,50dvh,620px); }
  .picture-artwork-label { gap:1.5rem; }
}
@media(max-width:600px) {
  .picture-heading { margin:.5rem 0 1.25rem; }
  .picture-heading h1 { font-size:2.25rem; }
  .picture-tools { width:100%; gap:.4rem; padding:.35rem; }
  .picture-filter { flex:1; min-width:0; }
  .picture-filter select { width:100%; min-width:0; padding:.6rem 1.65rem .6rem .5rem; font-size:.875rem; }
  .picture-carousel { --picture-hero-height:clamp(280px,43dvh,420px); border-radius:14px; }
  .picture-carousel-arrow { width:36px; height:44px; border-radius:9px; }
  .picture-carousel-previous { left:.5rem; }
  .picture-carousel-next { right:.5rem; }
  .picture-slide { padding:2.6rem 1.7rem 3.5rem; }
  .picture-wall-label { left:1rem; top:1rem; }
  .picture-frame img { border-width:5px; }
  .picture-frame::before { inset:5px; }
  .picture-collection-toolbar { margin-top:1rem; gap:.35rem; }
  .picture-collection-toolbar > p { width:100%; }
  .picture-thumbnail { flex-basis:102px; }
  .picture-artwork-label { grid-template-columns:minmax(0,1fr); gap:.65rem; margin-top:1.5rem; }
  .picture-artwork-label h2 { font-size:1.8rem; }
  .picture-viewer-body { gap:.25rem; grid-template-columns:38px minmax(0,1fr) 38px; }
  .picture-viewer-body button { min-width:38px; }
  .sacred-pictures .picture-viewer { padding:.5rem; max-width:100vw; width:100vw; height:100dvh; max-height:100dvh; border-radius:0; }
  .picture-viewer-toolbar { gap:.3rem; }
  .picture-viewer-toolbar button { padding:.5rem; }
  .picture-present-controls { bottom:.75rem; gap:.35rem; }
}
@media(prefers-reduced-motion:reduce) {
  .picture-breadcrumb, .picture-tools, .picture-gallery-controls, .picture-carousel-arrow, .picture-thumbnail, .picture-viewer-toolbar, .picture-viewer-body button, .picture-exit, .picture-present-controls { transition:none; }
}

/* One immersive player for both still viewing and the moving presentation. */
html:has(body.picture-modal-open) { height:100%; overflow:hidden; overscroll-behavior:none; }
body.picture-modal-open { position:fixed; left:0; width:100%; height:100%; overflow:hidden; overscroll-behavior:none; }
.sacred-pictures .picture-presentation { box-sizing:border-box; width:100vw; height:100dvh; max-width:none; max-height:none; touch-action:none; overscroll-behavior:none; }
.sacred-pictures.picture-immersive > .container, .sacred-pictures.picture-immersive > .app-notice { display:none; }
.sacred-pictures:fullscreen { position:fixed; inset:0; width:100vw; height:100dvh; min-height:0; padding:0; overflow:hidden; background:#080b10; }
.sacred-pictures .picture-icon { width:44px; height:44px; min-height:44px; padding:9px; display:flex; align-items:center; justify-content:center; border:0; border-radius:50%; color:white; background:#12151a91; font:30px/1 Arial,sans-serif; }
.picture-icon svg,.picture-phone-bar svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.5; }
.sacred-pictures .picture-exit { top:max(.6rem,env(safe-area-inset-top)); right:max(.6rem,env(safe-area-inset-right)); }
.sacred-pictures .picture-settings { display:none; position:absolute; z-index:4; top:max(.6rem,env(safe-area-inset-top)); left:max(.6rem,env(safe-area-inset-left)); }
.picture-phone-bar { display:none; }
.sacred-pictures .picture-dialog-close { position:absolute; right:8px; top:8px; width:44px; min-height:44px; margin:0; padding:0; display:block; border:0; background:transparent; color:inherit; font:28px/1 Arial,sans-serif; }
.picture-playback-options { position:absolute; z-index:4; top:calc(3.8rem + env(safe-area-inset-top)); left:max(.6rem,env(safe-area-inset-left)); max-width:calc(100vw - 1.2rem); padding:1rem; border:1px solid #fff3; border-radius:12px; background:#171b23f2; color:white; }
.picture-playback-options label { display:flex; gap:.6rem; align-items:center; min-height:44px; }
.picture-playback-options input { width:22px; height:22px; }
.picture-playback-options p { font-size:.75rem; color:#c8cbd0; }
.picture-playback-options[hidden] { display:none; }
.picture-tap-feedback { position:absolute; z-index:3; top:50%; left:50%; transform:translate(-50%,-50%); padding:.65rem 1rem; border-radius:8px; color:white; background:#080b10b3; pointer-events:none; transition:opacity .35s; }
.picture-tap-feedback:empty { display:none; }
.picture-player-status { display:none; }
.picture-presentation.controls-idle:not(.keyboard-controls) .picture-settings,
.picture-presentation.controls-idle:not(.keyboard-controls) .picture-tap-feedback,
.picture-presentation.controls-idle:not(.keyboard-controls) .picture-player-status { opacity:0; pointer-events:none; }
.picture-settings { transition:opacity .4s; }
.picture-phone-options { width:min(420px,calc(100vw - 2rem)); box-sizing:border-box; max-height:calc(100dvh - 2rem); overflow:auto; background:#fcfaf5; }
.picture-phone-options h2 { padding-right:2rem; font:1.5rem Georgia,serif; }
.picture-phone-options form { display:grid; gap:.6rem; }
.picture-phone-options select { max-width:100%; min-width:0; min-height:44px; font:inherit; }
.picture-phone-options > button:not(.picture-dialog-close) { margin:1rem 0; width:100%; }
.picture-phone-options > p { font-size:.875rem; line-height:1.6; }
.picture-phone-options [data-mobile-title] { font-weight:600; }
.sacred-pictures dialog.public-scripture-reader { padding:0; border:1px solid #fff9; border-radius:1rem; background:#fffdf4ed; color:#162e3b; touch-action:auto; }
.sacred-pictures dialog.public-scripture-reader::backdrop { background:rgb(5 12 20 / .38); }
.sacred-pictures .scripture-reader-header { background:transparent; }
@supports (backdrop-filter:blur(16px)) {
  .sacred-pictures dialog.public-scripture-reader { background:#fffdf4d9; backdrop-filter:blur(16px); }
}

@media(max-width:700px),(max-width:1000px) and (max-height:520px) {
  html:has(.sacred-pictures),body:has(.sacred-pictures) { overflow:hidden; overscroll-behavior:none; }
  body:has(.sacred-pictures) .site-header,body:has(.sacred-pictures) .site-footer,
  body:has(.sacred-pictures) .member-sidebar,body:has(.sacred-pictures) .workspace-footer { display:none; }
  .sacred-pictures { position:fixed; z-index:1000; inset:0; height:100dvh; overflow:hidden; padding:0; background:#080b10; }
  .sacred-pictures > .container { width:100%; height:100%; max-width:none; margin:0; padding:0; }
  .sacred-pictures > .app-notice { position:absolute; z-index:7; top:calc(56px + env(safe-area-inset-top)); left:.5rem; right:.5rem; margin:0; padding:.6rem; font-size:.75rem; }
  .picture-breadcrumb,.picture-heading,.picture-collection-toolbar,.picture-thumbnails,.picture-artwork-label { display:none; }
  .picture-phone-bar { position:absolute; z-index:6; left:0; right:0; top:0; display:flex; align-items:center; gap:.2rem; height:52px; padding:env(safe-area-inset-top) max(.4rem,env(safe-area-inset-right)) 0 max(.4rem,env(safe-area-inset-left)); color:white; background:linear-gradient(#080b10b3,transparent); transition:opacity .4s; }
  .picture-phone-bar > span { flex:1; font:15px Georgia,serif; }
  .sacred-pictures .picture-phone-bar > button,.picture-phone-bar > a { display:flex; justify-content:center; align-items:center; width:44px; height:44px; padding:10px; box-sizing:border-box; border:0; border-radius:50%; color:white; background:transparent; text-decoration:none; }
  .sacred-pictures .picture-phone-bar > [hidden] { display:none; }
  .picture-carousel { --picture-hero-height:100dvh; height:100dvh; border:0; border-radius:0; background:#080b10; box-shadow:none; touch-action:none; }
  .picture-slide { padding:0; }
  .picture-frame { width:min(100vw,calc((100dvh - 24px) * var(--picture-ratio) + 8px)); max-height:100dvh; padding:4px; box-shadow:none; }
  .picture-frame::before { display:none; }
  .picture-frame img { border:0; box-shadow:none; }
  .picture-wall-label { top:auto; bottom:max(.6rem,env(safe-area-inset-bottom)); left:max(.6rem,env(safe-area-inset-left)); max-width:calc(100% - 4.5rem); padding:0 .45rem; border-radius:.5rem; color:#fff; background:#12151adc; font-size:.8rem; transition:opacity .4s; }
  .picture-carousel-arrow { display:none; }
  .picture-carousel-fullscreen { right:max(.6rem,env(safe-area-inset-right)); bottom:max(.6rem,env(safe-area-inset-bottom)); }
  .sacred-pictures.controls-idle:not(.keyboard-controls) .picture-phone-bar,
  .sacred-pictures.controls-idle:not(.keyboard-controls) .picture-wall-label { opacity:0; pointer-events:none; }
  .sacred-pictures .picture-settings { display:flex; }
  .sacred-pictures .picture-present-citation { left:calc(3.65rem + env(safe-area-inset-left)); max-width:calc(100% - 7.3rem); }
  .picture-present-controls { bottom:max(.5rem,env(safe-area-inset-bottom)); gap:.25rem; padding:.25rem; }
  .picture-present-controls button { min-width:44px; padding:.35rem .55rem; }
  .picture-present-controls label { display:none; }
  .picture-player-status { position:absolute; z-index:3; bottom:3rem; left:1rem; right:1rem; margin:0; color:white; text-align:center; font-size:.8rem; text-shadow:0 1px 5px black; }
  .picture-player-status:not(:empty) { display:block; }
  .mobile-browser-open .picture-phone-bar { background:#131820; }
  .mobile-browser-open .picture-thumbnails { display:flex; flex-wrap:wrap; align-content:flex-start; justify-content:center; position:fixed; z-index:5; top:calc(52px + env(safe-area-inset-top)); bottom:0; left:0; right:0; padding:1rem; margin:0; overflow:auto; background:#131820; }
  .mobile-browser-open .picture-thumbnail { flex:0 0 calc(50% - .5rem); }
}

/* Keep the same phone composition while letting letterbox gestures reach the
   root scroller. lvh leaves room for the browser's own retracting toolbar. */
@media(max-width:700px),(max-width:1000px) and (max-height:520px) {
  html:has(.sacred-pictures):not(:has(.picture-modal-open)),
  body:has(.sacred-pictures):not(.picture-modal-open) { overflow-x:hidden; overflow-y:auto; overscroll-behavior:auto; scrollbar-width:none; }
  html:has(.sacred-pictures)::-webkit-scrollbar,body:has(.sacred-pictures)::-webkit-scrollbar { display:none; }
  body:has(.sacred-pictures) .workspace-frame { display:block; }
  body:has(.sacred-pictures) .workspace-main { padding:0; margin:0; }
  body:has(.sacred-pictures) .workspace-sidebar,body:has(.sacred-pictures) .workspace-mobile-navigation { display:none; }
  .sacred-pictures { position:relative; inset:auto; height:auto; min-height:calc(100vh + 2px); min-height:calc(100lvh + 2px); overflow:visible; touch-action:pan-y; }
  .sacred-pictures > .container { position:sticky; top:0; height:100dvh; }
  .sacred-pictures .picture-carousel,.sacred-pictures .picture-slide,.sacred-pictures .picture-presentation { touch-action:pan-y; overscroll-behavior:auto; }
  .sacred-pictures .picture-frame img,.sacred-pictures .picture-cinema-scene { touch-action:none; }
  .sacred-pictures .picture-slide,.sacred-pictures .picture-frame img { -webkit-user-drag:none; }
  .sacred-pictures.picture-immersive:not(:fullscreen) .picture-presentation[open] { display:block; position:sticky; top:0; left:auto; right:auto; bottom:auto; margin:0; z-index:1100; }
  html.public-scripture-open:has(.sacred-pictures), html.public-scripture-open body:has(.sacred-pictures) { overflow:hidden; }
}
