:root{
  --bg:#faf9f5; --paper:#faf9f5; --ink:#20201e; --muted:#77746f;
  --gold:#e5b63d; --blue:#afc9d6; --blue-pale:#edf5f7; --line:#e4e1da;
  --max:1380px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.shell{width:min(calc(100% - 64px),var(--max));margin:auto}
.site-header{padding:26px 0 22px;background:rgba(250,249,245,.96)}
.header-row{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:0}
.brand{width:230px;text-align:center;display:block;justify-self:center}
.brand-symbol{width:92px;height:auto;display:block;margin:0 auto 4px}
.brand-word{font-size:28px;font-weight:400;letter-spacing:.18em;line-height:1;margin-left:.18em}
.brand-tagline{font-size:8.8px;letter-spacing:.22em;color:var(--muted);margin:9px auto 0;white-space:nowrap;width:max-content;max-width:100%}
.main-nav{display:flex;justify-content:center;gap:34px;font-family:Georgia,serif;color:#66625d}
.main-nav a{padding:8px 0;border-bottom:2px solid transparent}
.main-nav a.active,.main-nav a:hover{border-color:var(--gold);color:var(--ink)}
.header-note{justify-self:end;font-family:Georgia,serif;font-style:italic;color:#8a8782;line-height:1.2;font-size:17px}
.header-note:after{content:"";display:block;width:28px;border-top:2px solid var(--gold);margin-top:10px}
.hero{position:relative;overflow:hidden;background:var(--blue-pale);min-height:320px}
.hero img{width:100%;height:390px;object-fit:cover;display:block}
.hero-copy{position:absolute;left:max(5vw,48px);top:50%;transform:translateY(-50%);width:min(420px,40vw);padding:30px;background:rgba(250,249,245,.88);backdrop-filter:blur(5px)}
.hero-copy h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(34px,4vw,58px);line-height:1.02;margin:0 0 18px}
.hero-copy p{font-family:Georgia,serif;color:#5f5c57;font-size:18px;line-height:1.45;margin:0}
.gold-rule{width:34px;border-top:2px solid var(--gold);margin-top:20px}
.section{padding:54px 0 20px}
.section-title{font-family:Georgia,serif;font-weight:400;font-size:36px;margin:0 0 28px}
.section-title:after{content:"";display:block;width:34px;border-top:2px solid var(--gold);margin-top:12px}
.travel-card{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);border:1px solid #dce6e9;border-radius:14px;overflow:hidden;background:linear-gradient(105deg,#fff 0%,#f7fbfc 48%,#e9f3f6 100%);box-shadow:0 10px 30px rgba(34,62,72,.04)}
.travel-collage{display:grid;grid-template-columns:1.55fr .82fr;grid-template-rows:1fr 1fr;gap:5px;height:470px;background:#fff}
.travel-collage img{width:100%;height:100%;object-fit:cover;display:block}
.travel-collage img:first-child{grid-row:1/3}
.travel-info{padding:42px;display:flex;flex-direction:column;justify-content:center}
.travel-info h2{font-family:Georgia,serif;font-size:44px;font-weight:400;margin:0 0 10px}
.travel-info .place{color:var(--muted);font-family:Georgia,serif;font-size:17px;line-height:1.5}
.travel-info .stats{margin-top:22px;color:#6f6c67;font-size:13px}
.travel-info .open{margin-top:30px;color:#35729a;font-size:14px}
.travel-info .open span{display:inline-block;margin-left:10px;transition:transform .2s}
.travel-card:hover .open span{transform:translateX(5px)}
.future{margin:32px 0 70px;padding:26px;border:1px dashed #c9dce3;border-radius:12px;color:#7b8588;background:#f5fafb;text-align:center;font-family:Georgia,serif}
.footer{margin-top:70px;border-top:1px solid var(--line);padding:28px 0 38px;color:var(--muted);font-size:12px;display:flex;justify-content:space-between}
@media(max-width:900px){
  .shell{width:min(calc(100% - 30px),var(--max))}
  .header-row{grid-template-columns:1fr}.brand{justify-self:center}.main-nav{order:2}.header-note{display:none}
  .hero img{height:440px}.hero-copy{left:20px;right:20px;width:auto;top:auto;bottom:20px;transform:none}
  .travel-card{grid-template-columns:1fr}.travel-collage{height:390px}.travel-info{padding:28px}
}
@media(max-width:560px){
  .main-nav{gap:20px;font-size:14px}.brand{width:210px}.brand-word{font-size:25px}
  .hero img{height:430px}.hero-copy{padding:22px}.hero-copy h1{font-size:34px}.hero-copy p{font-size:16px}
  .travel-collage{height:320px}.travel-info h2{font-size:36px}
}

.gallery-head{padding:48px 0 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:end;gap:30px}
.gallery-head h1{font-family:Georgia,serif;font-size:clamp(46px,6vw,78px);font-weight:400;margin:0}
.gallery-meta{text-align:right;color:var(--muted);font-family:Georgia,serif;line-height:1.55}
.back{font-size:13px;color:#477e9d}
.gallery{padding:10px 0 30px}
.photo-group{margin:0 0 44px}
.photo-group.trio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.42fr);gap:18px;height:min(72vw,760px)}
.photo-group.trio.right{grid-template-columns:minmax(0,1.42fr) minmax(0,1fr)}
.photo-group.trio.right .portrait{order:2}.photo-group.trio.right .land-stack{order:1}
.land-stack{display:grid;grid-template-rows:1fr 1fr;gap:18px;min-height:0}
.tile{border:0;padding:0;margin:0;background:transparent;overflow:hidden;cursor:pointer;width:100%;height:100%;display:block}
.tile img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}
.tile:hover img{transform:scale(1.012)}
.trio .portrait img{object-fit:contain;background:#f2f5f5}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.pair .tile{aspect-ratio:3/2}.pair img{object-fit:cover}
.portraits{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:980px;margin-left:auto;margin-right:auto}
.portraits .tile{height:720px}.portraits img{object-fit:contain;background:#f2f5f5}











/* Hauptbild: kein Zoom */

@media(max-width:760px){
 .gallery-head{align-items:start;flex-direction:column}.gallery-meta{text-align:left}
 .photo-group.trio,.photo-group.trio.right{height:auto;grid-template-columns:1fr}
 .photo-group.trio.right .portrait,.photo-group.trio.right .land-stack{order:initial}
 .trio .portrait{height:70vh}.land-stack{grid-template-rows:auto;gap:14px}.land-stack .tile{aspect-ratio:3/2}
 .pair{grid-template-columns:1fr;gap:14px}.portraits{grid-template-columns:1fr}.portraits .tile{height:70vh}
 
}


/* v6 gallery refinement */
.photo-group.trio{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.45fr);
  gap:18px;
  height:auto;
  align-items:stretch;
}
.photo-group.trio.right{
  grid-template-columns:minmax(0,1.45fr) minmax(0,.82fr);
}
.photo-group.trio .portrait{
  aspect-ratio:2/3;
  height:auto;
  min-height:0;
}
.photo-group.trio .portrait img{
  width:100%;
  height:100%;
  object-fit:cover;
  background:transparent;
}
.photo-group.trio .land-stack{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:18px;
  height:100%;
  min-height:0;
}
.photo-group.trio .land-stack .tile{
  min-height:0;
  overflow:hidden;
}
.photo-group.trio .land-stack img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.photo-group.trio.left,
.photo-group.trio.right{
  min-height:0;
}
@media(min-width:761px){
  .photo-group.trio{
    --portrait-width:min(31vw,420px);
    grid-template-columns:var(--portrait-width) minmax(0,1fr);
  }
  .photo-group.trio.right{
    grid-template-columns:minmax(0,1fr) var(--portrait-width);
  }
  .photo-group.trio .portrait{
    width:100%;
    aspect-ratio:2/3;
  }
  .photo-group.trio .land-stack{
    height:100%;
  }
}
@media(max-width:760px){
  .photo-group.trio .portrait{
    aspect-ratio:auto;
    height:68vh;
  }
}

/* v13 — alle Bilder auf einer Seite, oben/unten schmaler, Mitte breiter */
html, body{
  min-height:100%;
}
@media(min-width:761px){
  html, body{
    height:100%;
    overflow:hidden;
  }

  .site-header{
    padding:5px 0 3px !important;
  }
  .site-header .header-row{
    min-height:52px;
  }
  .site-header .brand{
    transform:scale(.64);
    transform-origin:center center;
    height:48px;
  }

  main.shell{
    height:calc(100vh - 60px);
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  .gallery-head{
    padding:5px 0 6px !important;
    min-height:54px;
  }
  .gallery-head h1{
    font-size:36px !important;
    line-height:1 !important;
  }
  .gallery-meta{
    font-size:11.5px !important;
    line-height:1.2 !important;
  }

  .gallery.sculpted-collage{
    flex:1 1 auto;
    min-height:0;
    width:100%;
    padding:0 0 4px !important;
    display:flex !important;
    flex-direction:column;
    justify-content:center;
    gap:3px;
    overflow:hidden;
  }

  .sculpted-row{
    display:flex;
    justify-content:center;
    gap:3px;
    margin:0 auto;
    min-height:0;
  }

  .gallery.sculpted-collage .sculpted-item{
    flex:0 0 auto;
    height:100% !important;
    border:0;
    padding:0;
    margin:0;
    background:transparent;
    overflow:hidden;
    cursor:pointer;
    aspect-ratio:auto !important;
    grid-column:auto !important;
    grid-row:auto !important;
  }

  .gallery.sculpted-collage .sculpted-item img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain !important;
    background:transparent !important;
    transform:none !important;
  }

  .gallery.sculpted-collage .sculpted-item:hover img{
    opacity:.95;
  }

  .footer{
    display:none !important;
  }
}

@media(max-width:760px){
  .gallery.sculpted-collage{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:3px;
    padding:4px 0 14px !important;
  }
  .gallery.sculpted-collage .sculpted-item{
    aspect-ratio:1/1;
    height:auto !important;
  }
  .gallery.sculpted-collage .sculpted-item img{
    width:100%;
    height:100%;
    object-fit:contain !important;
  }
}


/* v14 — Menton-Titel unterhalb der Collage */
@media(min-width:761px){
  .gallery-head-top{
    padding:5px 0 6px !important;
    min-height:34px !important;
    border-top:1px solid var(--line) !important;
    display:flex !important;
    justify-content:flex-end !important;
    align-items:flex-end !important;
  }

  .gallery-head-top .gallery-meta{
    margin-left:auto !important;
    text-align:right !important;
    font-size:11.5px !important;
    line-height:1.2 !important;
  }

  main.shell{
    height:calc(100vh - 60px) !important;
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
  }

  .gallery.sculpted-collage{
    flex:1 1 auto !important;
    min-height:0 !important;
    padding-bottom:2px !important;
  }

  .album-bottom-title{
    flex:0 0 auto;
    padding:7px 0 9px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
  }

  .album-bottom-line{
    width:40px;
    height:2px;
    background:var(--gold);
    margin-bottom:6px;
  }

  .album-bottom-title h1{
    margin:0;
    font-family:Georgia,serif;
    font-size:30px;
    line-height:1;
    font-weight:400;
  }
}

@media(max-width:760px){
  .gallery-head-top{
    padding:8px 0 8px !important;
    border-top:1px solid var(--line) !important;
  }

  .gallery-head-top .gallery-meta{
    text-align:left !important;
  }

  .album-bottom-title{
    padding:14px 0 20px;
  }

  .album-bottom-line{
    width:40px;
    height:2px;
    background:var(--gold);
    margin-bottom:7px;
  }

  .album-bottom-title h1{
    margin:0;
    font-family:Georgia,serif;
    font-size:30px;
    font-weight:400;
  }
}


/* v15 — echte Justified Gallery: füllt die Seite, ohne Verzerrung und praktisch ohne Beschnitt */
@media(min-width:761px){
  html, body{
    height:100%;
    overflow:hidden;
  }

  main.shell{
    height:calc(100vh - 58px) !important;
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
  }

  .gallery-head-top{
    flex:0 0 auto;
    padding:3px 0 5px !important;
    min-height:30px !important;
  }

  .gallery.sculpted-collage{
    flex:1 1 auto !important;
    min-height:0 !important;
    width:100% !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:3px !important;
    overflow:hidden !important;
  }

  .justified-row{
    display:flex;
    width:100%;
    gap:3px;
    min-height:0;
  }

  .gallery.sculpted-collage .sculpted-item{
    flex:0 0 auto !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    overflow:hidden !important;
    background:transparent !important;
    cursor:pointer;
  }

  .gallery.sculpted-collage .sculpted-item img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    transform:none !important;
    background:transparent !important;
  }

  .album-bottom-title{
    flex:0 0 auto;
    padding:6px 0 8px !important;
  }
}

@media(max-width:760px){
  .gallery.sculpted-collage{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:3px 0 12px !important;
  }
  .gallery.sculpted-collage .sculpted-item{
    aspect-ratio:1/1 !important;
    overflow:hidden !important;
  }
  .gallery.sculpted-collage .sculpted-item img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
}


/* v16 — Metadaten und Trennlinie nach unten */
@media(min-width:761px){
  .gallery-head-top{
    flex:0 0 0 !important;
    height:0 !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border-top:0 !important;
    border-bottom:0 !important;
  }

  /* obere durchgezogene Linie ausblenden */
  .site-header{
    border-bottom:0 !important;
  }

  .album-bottom{
    flex:0 0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    padding:7px 0 9px;
    border-top:1px solid var(--line);
  }

  .album-bottom-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
  }

  .album-bottom-line{
    width:42px !important;
    height:2px !important;
    background:var(--gold) !important;
    margin:0 0 6px !important;
  }

  .album-bottom-left h1{
    margin:0;
    font-family:Georgia,serif;
    font-size:30px;
    line-height:1;
    font-weight:400;
  }

  .album-bottom-meta{
    margin-left:auto;
    text-align:right;
    font-family:Georgia,serif;
    font-size:12px;
    line-height:1.28;
    color:var(--muted);
    padding-bottom:1px;
  }

  main.shell{
    height:calc(100vh - 58px) !important;
  }
}

@media(max-width:760px){
  .gallery-head-top{
    display:none !important;
  }

  .site-header{
    border-bottom:0 !important;
  }

  .album-bottom{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:18px;
    padding:12px 0 18px;
    border-top:1px solid var(--line);
  }

  .album-bottom-left h1{
    margin:0;
    font-family:Georgia,serif;
    font-size:28px;
    font-weight:400;
  }

  .album-bottom-meta{
    text-align:right;
    font-family:Georgia,serif;
    font-size:11px;
    line-height:1.3;
    color:var(--muted);
  }
}


/* v17 — kompakter Kopfbereich, Logo frei sichtbar, Linie unten wieder sichtbar */
@media(min-width:761px){

  /* Kopfzeile kleiner und klar vom Bildbereich getrennt */
  .site-header{
    height:66px !important;
    min-height:66px !important;
    padding:4px 0 5px !important;
    border-bottom:1px solid var(--line) !important;
    position:relative !important;
    z-index:5 !important;
    background:var(--paper) !important;
  }

  .site-header .header-row{
    min-height:56px !important;
    height:56px !important;
    align-items:center !important;
  }

  .site-header .brand{
    transform:scale(.52) !important;
    transform-origin:left center !important;
    height:44px !important;
    margin-top:0 !important;
    position:relative !important;
    z-index:6 !important;
  }

  .site-header .back-link{
    align-self:center !important;
    margin-top:0 !important;
  }

  /* Bilder beginnen etwas tiefer, damit nichts überlappt */
  main.shell{
    height:calc(100vh - 66px) !important;
    padding-top:10px !important;
  }

  .gallery.sculpted-collage{
    margin-top:0 !important;
  }

  /* Untere Trennlinie sichtbar über dem Titel-/Metabereich */
  .album-bottom{
    border-top:1px solid var(--line) !important;
    margin-top:6px !important;
    padding-top:8px !important;
  }

  .album-bottom-left{
    padding-top:0 !important;
  }

  .album-bottom-line{
    display:block !important;
    width:42px !important;
    height:2px !important;
    background:var(--gold) !important;
    margin:0 0 6px !important;
  }
}

@media(max-width:760px){
  .site-header{
    border-bottom:1px solid var(--line) !important;
  }

  .album-bottom{
    border-top:1px solid var(--line) !important;
  }
}

/* Logo-Sonne: identische Bewegung wie auf der Startseite */
.logo-sun{
  transform-box:fill-box;
  transform-origin:center;
  transform:translateY(20px) scale(.94);
  transition:transform 650ms cubic-bezier(.22,.61,.36,1);
}
.brand:hover .logo-sun,
.brand:focus-visible .logo-sun{
  transform:translateY(0) scale(1.10);
}

.focus-corner{
  transform-box:fill-box;
  transform-origin:center;
  transition:transform 600ms cubic-bezier(.22,.61,.36,1);
}
.brand:hover .focus-tl,
.brand:focus-visible .focus-tl{transform:translate(5px,4px)}
.brand:hover .focus-tr,
.brand:focus-visible .focus-tr{transform:translate(-5px,4px)}
.brand:hover .focus-bl,
.brand:focus-visible .focus-bl{transform:translate(5px,-4px)}
.brand:hover .focus-br,
.brand:focus-visible .focus-br{transform:translate(-5px,-4px)}






/* jaraframes: einheitlicher warmer Hintergrund für jede Bildansicht */






/* jaraframes ambient photo background */









/* jaraframes lightbox controls — fixed editorial layout */











/* v33: gallery fills more space; ambient background changes softly */
.gallery{width:100% !important;max-width:none !important;}


/* jaraframes Albumkopf: Logo mittig, Klick führt zur Startseite */
.site-header .header-row{
  grid-template-columns:1fr !important;
  justify-items:center !important;
}
.site-header .brand{
  justify-self:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
  transform-origin:center center !important;
}

img{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}




/* Final lightbox layer guard */


/* iPad/Tablet: echtes Vollbild ohne künstliche Seitenränder.
   Das Foto bleibt vollständig sichtbar; die native iPad-Schaltfläche
   ersetzt im Vollbild den zusätzlichen Galerie-Schließen-Button. */
@media (min-width: 768px) and (pointer: coarse){
  

  

  

  

  

  
}


/* ================================================================
   jaraframes v47 — definitive responsive lightbox
   One coordinate system only: the dynamic CSS viewport.
   No visualViewport.offsetTop and no JS positioning.
   The photograph remains uncropped and uses virtually all available area.
   ================================================================ */




/* Full-resolution image: contain, never crop, almost edge-to-edge. */


/* Ambient image always follows the same viewport, independently of photo size. */



/* Controls float above the image and therefore never reduce photo area. */






/* iPhone / narrow WebViews: use every practical pixel. */
@media (max-width:760px){
  
  
  
}

/* Fallback for engines without dvh. */
@supports not (height:100dvh){
  
  
}

/* ======================================================================
   jaraframes v48 — mobile/webview lightbox
   One stage, one geometry source. JS writes the measured visible viewport
   in CSS pixels and sizes the photograph to the largest uncropped rectangle.
   ====================================================================== */
.lightbox{
  position:fixed !important;
  inset:0 auto auto 0 !important;
  display:none !important;
  box-sizing:border-box !important;
  width:var(--jf-lb-w,100vw) !important;
  height:var(--jf-lb-h,100vh) !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:#8f8a7e !important;
  z-index:100 !important;
  overscroll-behavior:none !important;
  touch-action:pan-y !important;
}
.lightbox.open,
.lightbox:fullscreen,
.lightbox:-webkit-full-screen{
  display:block !important;
}

.lb-stage{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  z-index:4 !important;
  pointer-events:auto !important;
}

.lb-stage > #lbImg{
  position:relative !important;
  display:block !important;
  flex:none !important;
  width:auto !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
  transform-origin:center center !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
  cursor:pointer !important;
  z-index:4 !important;
}

.lightbox > .ambient-bg{
  position:absolute !important;
  inset:-80px !important;
  width:calc(100% + 160px) !important;
  height:calc(100% + 160px) !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  filter:blur(58px) saturate(.72) brightness(.72) !important;
  transform:scale(1.12) !important;
  opacity:0;
  pointer-events:none !important;
  transition:opacity 1.3s ease !important;
  will-change:opacity;
  z-index:0 !important;
}
.lightbox > .ambient-bg.is-visible{opacity:.92 !important;}
.lightbox > .ambient-tint{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  pointer-events:none !important;
  background:linear-gradient(rgba(238,236,228,.24),rgba(238,236,228,.24)),rgba(58,55,48,.18) !important;
  z-index:1 !important;
}

.lb-close,.lb-nav{
  position:absolute !important;
  border:0 !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  cursor:pointer !important;
  z-index:10 !important;
  -webkit-tap-highlight-color:transparent;
}
.lb-close{
  top:max(12px,env(safe-area-inset-top)) !important;
  right:max(12px,env(safe-area-inset-right)) !important;
  width:46px !important;
  height:46px !important;
  border-radius:50% !important;
  font-size:29px !important;
  line-height:46px !important;
  padding:0 !important;
}
.lb-prev,.lb-next{
  top:50% !important;
  width:46px !important;
  height:68px !important;
  border-radius:25px !important;
  font-size:40px !important;
  line-height:64px !important;
  padding:0 !important;
  transform:translateY(-50%) !important;
}
.lb-prev{left:max(3px,env(safe-area-inset-left)) !important;}
.lb-next{right:max(3px,env(safe-area-inset-right)) !important;}
.lb-count{
  position:absolute !important;
  right:max(14px,env(safe-area-inset-right)) !important;
  bottom:max(12px,env(safe-area-inset-bottom)) !important;
  left:auto !important;
  top:auto !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
  color:rgba(238,236,228,.72) !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:400 !important;
  letter-spacing:.08em !important;
  font-variant-numeric:tabular-nums;
  text-shadow:0 1px 10px rgba(28,27,25,.20);
  pointer-events:none !important;
  z-index:10 !important;
}

/* Mobile: controls stay compact; image still gets the complete measured stage. */
@media(max-width:760px){
  .lb-close{
    top:max(10px,env(safe-area-inset-top)) !important;
    right:max(10px,env(safe-area-inset-right)) !important;
  }
  .lb-prev,.lb-next{
    width:42px !important;
    height:62px !important;
    font-size:36px !important;
    line-height:58px !important;
  }
  .lb-prev{left:max(2px,env(safe-area-inset-left)) !important;}
  .lb-next{right:max(2px,env(safe-area-inset-right)) !important;}
}

.lightbox:fullscreen,
.lightbox:-webkit-full-screen{
  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;
}
.lightbox:fullscreen .lb-stage,
.lightbox:-webkit-full-screen .lb-stage{
  width:100% !important;
  height:100% !important;
}

