/* lisa-roman.com/galerie · handy zuerst */
:root {
  --cream: #fbf3ec;
  --cream-deep: #f4e5d8;
  --paper: #fffaf5;
  --terracotta: #d1634b;
  --terracotta-soft: #dd8a78;
  --ink: #8f4432;
  --font-script: "Caveat", "Comic Sans MS", cursive;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  background-color: var(--cream); color: var(--ink);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(209, 99, 75, .03) 0 1.5px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(143, 68, 50, .025) 0 1px, transparent 1.5px);
  background-size: 240px 240px, 180px 180px;
  font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.5;
  overflow-x: hidden; -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
a { color: inherit; }
.script { font-family: var(--font-script); color: var(--terracotta); font-weight: 400; }
:focus-visible { outline: 2.5px solid var(--terracotta); outline-offset: 3px; }
::selection { background: rgba(209, 99, 75, .22); color: var(--ink); }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.langs { position: absolute; top: max(.8rem, env(safe-area-inset-top)); right: max(1rem, calc(50vw - 600px + .7rem)); display: flex; gap: .2rem; z-index: 5; }
.langs button { font: inherit; font-size: .95rem; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--ink); opacity: .85; cursor: pointer; }
.langs button:hover { opacity: 1; }
.langs button[aria-pressed="true"] { opacity: 1; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.wrap { position: relative; max-width: 480px; margin: 0 auto; padding: max(2.4rem, env(safe-area-inset-top)) 1.1rem calc(7rem + env(safe-area-inset-bottom)); }
.wrap.wide { max-width: 1200px; }
.intro { padding: 2.6rem .2rem 1.2rem; animation: rise .8s var(--ease-out) both; }
.names { font-size: 1.9rem; margin: 0; line-height: 1; }
h1 { font-weight: 600; font-size: clamp(2.3rem, 10vw, 3.1rem); line-height: 1.02; letter-spacing: -.01em; margin: .35rem 0 .6rem; text-wrap: balance; overflow-wrap: anywhere; }
.lede { margin: 0; font-style: italic; max-width: 26em; opacity: .92; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .55rem 1.3rem; border-radius: 999px; border: 0;
  background: var(--terracotta); color: #fff; font: inherit; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 18px -12px rgba(209, 99, 75, .9); transition: background .2s, transform .2s var(--ease-out), border-color .2s; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--terracotta-soft); box-shadow: none; }
@media (hover: hover) { .btn:hover { background: #c75a42; } .btn.ghost:hover { background: var(--paper); border-color: var(--terracotta); } }
.btn:disabled { opacity: .6; cursor: wait; }
.sign { text-align: center; margin-top: 2rem; opacity: .85; }
.sign img { width: 44px; height: auto; }
.sign p { margin: .2rem 0 0; font-size: 1rem; letter-spacing: .12em; font-variant-numeric: lining-nums; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .intro, .albums { animation: none; }
  .btn, .acard, .acta, .chap, .tile img { transition: none; }
}

/* ── Galerie ── */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; margin: .1rem 0 0; }
.counts { font-style: italic; opacity: .85; font-variant-numeric: lining-nums; }
.zipbox { display: contents; }
.meta .btn { padding-inline: 1.1rem; }
.zipbox a.small { font-size: 1rem; opacity: .85; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Album: Kopfleiste bleibt oben (Zurück, Titel, Auswählen), der große Kopf darunter ist kompakt */
.topbar { display: none; }
.in-album .topbar { display: block; position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top);
  transition: background-color .25s, box-shadow .25s; }
.topbar.is-scrolled { background: rgba(251, 243, 236, .96); -webkit-backdrop-filter: saturate(1.2) blur(20px); backdrop-filter: saturate(1.2) blur(20px);
  box-shadow: 0 1px 0 rgba(143, 68, 50, .12); }
.topbar.has-chaps { box-shadow: none; } /* die Kapitelleiste klebt darunter und trägt dann die Trennlinie */
.topbar-in { max-width: 1200px; margin: 0 auto; height: 52px; display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: .5rem;
  padding: 0 max(.7rem, env(safe-area-inset-right)) 0 max(.35rem, env(safe-area-inset-left)); }
.tb-back { justify-self: start; display: inline-flex; align-items: center; gap: .2rem; min-height: 44px; padding: 0 .6rem 0 .35rem;
  font-size: 1.1rem; text-decoration: none; white-space: nowrap; }
.tb-back .ico { width: 1.15em; height: 1.15em; }
@media (hover: hover) { .tb-back:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
.tb-title { margin: 0; min-width: 0; font-weight: 600; font-size: 1.15rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .3s var(--ease-out); }
.topbar.show-title .tb-title { opacity: 1; transform: none; }
.tb-btn { justify-self: end; position: relative; min-height: 36px; padding: 0 1rem; border: 0; border-radius: 999px; background: rgba(209, 99, 75, .12);
  color: var(--ink); font: inherit; font-size: 1.02rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.tb-btn::before { content: ""; position: absolute; inset: -4px; }
.tb-btn:active { transform: scale(.97); }
@media (hover: hover) { .tb-btn:hover { background: rgba(209, 99, 75, .2); } }
.in-album .langs { top: calc(52px + env(safe-area-inset-top) + .15rem); }
.in-album .wrap { padding-top: 0; }
.in-album .intro { padding: .15rem .2rem .7rem; }
.in-album .names { font-size: 1.65rem; line-height: 44px; }
.in-album h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); margin: .15rem 0 .2rem; }
.in-album .grid { margin-top: .4rem; }

.albums { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: .6rem; animation: rise .8s .08s var(--ease-out) both; }
@media (min-width: 700px) { .albums { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; } }
.acard { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(143, 68, 50, .08), 0 14px 30px -22px rgba(143, 68, 50, .55);
  transition: transform .3s var(--ease-out), box-shadow .3s; }
.acard:active { transform: scale(.98); }
@media (hover: hover) { .acard:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(143, 68, 50, .08), 0 22px 36px -22px rgba(143, 68, 50, .6); } }
.acover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream-deep); }
.acover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.acard b { padding: .6rem .85rem 0; font-size: 1.15rem; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.acard small { padding: .15rem .85rem .75rem; opacity: .8; font-size: .95rem; font-style: italic; font-variant-numeric: lining-nums; }
.acard.is-wall b::after { content: " ✦"; color: var(--terracotta); }

/* Zwischenüberschrift vor den Alben der Gäste */
.asec { grid-column: 1 / -1; margin: .9rem .2rem -.15rem; font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
@media (min-width: 700px) { .asec { margin: 1.3rem 0 0; font-size: 1.7rem; } }

/* Leiser Link zu "Alle Fotos & Videos" unter den Alben */
.aall-foot { grid-column: 1 / -1; margin: 1.1rem 0 .3rem; text-align: center; font-size: 1.05rem; font-style: italic; opacity: .9; }
.aall-foot a { display: inline-block; min-height: 44px; line-height: 44px; font-style: normal; font-weight: 600; color: var(--terracotta);
  text-decoration: underline; text-underline-offset: 3px; }

/* Kapitel im Album des Fotografen: Sprungleiste, bleibt unter der Kopfleiste stehen. Der Rahmen klebt, innen
   lässt sich die Reihe seitlich schieben. Der Hintergrund reicht per border-image über die ganze Fensterbreite:
   das ist nur Farbe und macht die Seite nicht breiter (ein überstehendes Pseudo-Element tat das am Handy). */
.chapbar { position: sticky; top: calc(52px + env(safe-area-inset-top)); z-index: 9; margin: .3rem -1.1rem 0;
  border-image: conic-gradient(rgba(251, 243, 236, .96) 0 0) fill 0 / 0 / 0 100vw; }
.chapbar.is-stuck { -webkit-backdrop-filter: saturate(1.2) blur(20px); backdrop-filter: saturate(1.2) blur(20px);
  border-image: linear-gradient(rgba(251, 243, 236, .96) calc(100% - 1px), rgba(238, 222, 212, .96) 0) fill 0 / 0 / 0 100vw; }
.chaps { position: relative; display: flex; gap: .4rem; padding: .45rem 1.1rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.chaps::-webkit-scrollbar { display: none; }
.chap { position: relative; flex: none; min-height: 36px; padding: 0 .95rem; border: 0; border-radius: 999px; background: rgba(209, 99, 75, .12);
  color: var(--ink); font: inherit; font-size: 1.02rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.chap::before { content: ""; position: absolute; inset: -4px 0; }
.chap[aria-current="true"] { background: var(--ink); color: var(--paper); }
.chap:active { transform: scale(.97); }
@media (hover: hover) { .chap:not([aria-current="true"]):hover { background: rgba(209, 99, 75, .2); } }
@media (min-width: 700px) { .chapbar { margin: .5rem 0 0; } .chaps { padding-inline: 0; } }

/* Zwischenüberschriften in "Alle Fotos & Videos" */
.gsec { grid-column: 1 / -1; margin: 0; padding: 1.2rem 1.1rem .45rem; font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.gsec:first-child { padding-top: .3rem; }
.gsec small { font-size: .92rem; font-weight: 400; font-style: italic; opacity: .75; }
@media (min-width: 700px) { .gsec { padding: 1.5rem 0 .5rem; font-size: 1.35rem; } }

/* Hauptalbum (Fotograf): volle Breite, größtes Bild der Übersicht, Überschrift in der Schreibschrift
   und der einzige Knopf, damit klar ist, wo die Hochzeitsfotos liegen */
.acard.is-hero { grid-column: 1 / -1; }
.acard.is-hero .acover { aspect-ratio: 4 / 3; }
.ahero { display: flex; flex-direction: column; align-items: flex-start; padding: .85rem 1.05rem 1.1rem; }
.ahero-title { font-size: clamp(2.05rem, 9.4vw, 2.45rem); line-height: 1; text-wrap: balance; }
.ahero-sub { margin: .35rem 0 .9rem; font-size: 1.05rem; line-height: 1.3; font-style: italic; opacity: .85; font-variant-numeric: lining-nums; }
.acta { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .4rem 1.25rem; border-radius: 999px;
  background: var(--terracotta); color: #fff; font-weight: 600; box-shadow: 0 8px 18px -12px rgba(209, 99, 75, .9);
  transition: background .2s, gap .3s var(--ease-out); }
@media (hover: hover) { .acard.is-hero:hover .acta { background: #c75a42; gap: .8rem; } }
@media (min-width: 700px) {
  .acard.is-hero { flex-direction: row; align-items: center; }
  .acard.is-hero .acover { flex: 0 0 60%; aspect-ratio: 3 / 2; }
  .ahero { min-width: 0; padding: 1.6rem clamp(1.4rem, 3.4vw, 2.8rem); }
  .ahero-title { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
  .ahero-sub { font-size: 1.2rem; margin: .5rem 0 1.3rem; }
}

/* Hervorgehobenes Album (Photobooth): volle Breite, Querformat wie die Prints */
.acard.is-feature { grid-column: 1 / -1; }
.acard.is-feature .acover { aspect-ratio: 1844 / 1240; background: #fff; }
.afeature { display: flex; flex-direction: column; padding: .65rem .9rem .8rem; }
.acard.is-feature b { padding: 0; font-size: 1.45rem; }
.acard.is-feature b::after { content: " ✦"; color: var(--terracotta); }
.acard.is-feature small { padding: .1rem 0 0; }
.atag { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: .2rem; }
@media (min-width: 700px) {
  .acard.is-feature { flex-direction: row; align-items: center; }
  .acard.is-feature .acover { flex: 0 0 54%; }
  .afeature { padding: 1.4rem 2.4rem; }
  .atag { font-size: .85rem; }
  .acard.is-feature b { font-size: 2.6rem; margin: .1rem 0 .2rem; }
  .acard.is-feature small { font-size: 1.15rem; }
}

/* Hinweis auf die Profi-Fotos (bis das Album "Fotograf" existiert) */
.asoon { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem .9rem .5rem;
  border-radius: 18px; background: linear-gradient(135deg, var(--paper) 0%, var(--cream-deep) 100%);
  box-shadow: 0 1px 2px rgba(143, 68, 50, .08), 0 14px 30px -22px rgba(143, 68, 50, .55); }
.asoon-art { flex: none; width: 31%; max-width: 150px; height: auto; }
.asoon-text { min-width: 0; }
.asoon-eyebrow { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.asoon-title { display: block; font-size: 2.35rem; line-height: 1; margin: .25rem 0 .4rem; }
.asoon p { margin: 0; font-size: 1.02rem; line-height: 1.35; font-style: italic; }
@media (min-width: 700px) {
  .asoon { gap: 1.6rem; padding: 1.1rem 2rem 1.1rem 1rem; }
  .asoon-art { width: 150px; }
  .asoon-title { font-size: 3rem; }
  .asoon p { font-size: 1.15rem; max-width: 30em; }
}
/* Breite Bildschirme: Valletta-Skyline füllt die rechte Hälfte, Text bleibt links davon */
@media (min-width: 1000px) {
  .asoon { position: relative; overflow: hidden; }
  .asoon::after { content: ""; position: absolute; right: 1.4rem; bottom: .5rem; width: 36%; max-width: 420px; aspect-ratio: 16 / 9;
    background: url("/img/skyline.webp") no-repeat right bottom / contain; opacity: .6; pointer-events: none; }
  .asoon-text { position: relative; z-index: 1; }
  .asoon p { max-width: 23em; }
}

/* Hinweis auf das Spiel: wie die Profi-Foto-Karte, aber als Link mit Pfeil */
.agame { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; padding: .7rem 1.1rem .7rem .9rem;
  border-radius: 18px; text-decoration: none; color: inherit; background: linear-gradient(135deg, #fff1e6 0%, #f6d3c3 100%);
  box-shadow: 0 1px 2px rgba(143, 68, 50, .08), 0 14px 30px -22px rgba(143, 68, 50, .55); transition: transform .2s var(--ease-out); }
.agame:active { transform: scale(.985); }
.agame-art { flex: none; width: 19%; max-width: 92px; height: auto; filter: drop-shadow(0 6px 10px rgba(31, 42, 68, .18)); }
.agame-text { min-width: 0; flex: 1; }
.agame-eyebrow { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.agame-title { display: block; font-size: 2.35rem; line-height: 1; margin: .2rem 0 .35rem; }
.agame p { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.agame-arrow { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--terracotta); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 700px) {
  .agame { gap: 1.4rem; padding: .9rem 2rem .9rem 1.4rem; }
  .agame-title { font-size: 3rem; }
  .agame p { font-size: 1.15rem; max-width: 30em; }
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 1rem -1.1rem 0; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; margin: 1.2rem 0 0; } }
.tile { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: var(--cream-deep); overflow: hidden; cursor: pointer; display: grid; place-items: center; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease-out), opacity .2s; }
@media (hover: hover) { .tile:hover img { transform: scale(1.03); } }
.tile:focus-visible { outline: 3px solid var(--terracotta); outline-offset: -3px; }
.tile .np { font-size: 1.6rem; opacity: .5; }
.tile .dur { position: absolute; right: .35rem; bottom: .35rem; background: rgba(18, 12, 10, .6); color: #fff; font: 600 .85rem/1.5 var(--font-serif);
  font-variant-numeric: lining-nums tabular-nums; border-radius: 999px; padding: 0 .5rem; }
.selecting .tile::after { content: ""; position: absolute; top: .35rem; right: .35rem; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(0, 0, 0, .2); }
.selecting .tile.sel::after { background: var(--terracotta); box-shadow: inset 0 0 0 4px #fff; }
.selecting .tile.sel img { opacity: .8; }
.tile.seen::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 3px var(--terracotta), inset 0 0 0 5px #fff;
  animation: seen 1.6s ease-out forwards; }
@keyframes seen { 0%, 45% { opacity: 1; } 100% { opacity: 0; } }
.msg { text-align: center; font-style: italic; margin: 2.5rem auto; max-width: 24em; }

.selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: rgba(255, 250, 245, .97); border-radius: 20px 20px 0 0; padding: .7rem 1.1rem calc(.7rem + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -18px rgba(143, 68, 50, .6); }
.selbar #selcount { font-family: var(--font-script); color: var(--terracotta); font-size: 2.2rem; line-height: 1; min-width: 1.5ch; }
.ico.ok { width: 1.05em; height: 1.05em; margin-left: .4em; stroke-width: 2.4; vertical-align: -.15em; }
.toast { position: fixed; left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40;
  background: var(--ink); color: #fff; border-radius: 999px; padding: .5rem 1.1rem; font-size: 1rem; margin: 0; font-variant-numeric: lining-nums tabular-nums;
  max-width: calc(100vw - 2rem); text-align: center; box-shadow: 0 10px 24px -14px rgba(18, 12, 10, .7); animation: fade .25s var(--ease-out) both; }

.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 30; background: rgb(18 12 10 / var(--lb-a, 1)); color: #fff; animation: fade .25s var(--ease-out) both;
  user-select: none; -webkit-user-select: none; }
.lb-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.lb-track { position: absolute; inset: 0; will-change: transform; }
.lb-slide { position: absolute; inset: 0; display: grid; place-items: center; }
.lb-media { position: relative; width: 100%; height: 100%; will-change: transform; }
.lb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-full { opacity: 0; transition: opacity .25s ease-out; }
.lb-media.is-loaded .lb-full { opacity: 1; }
video.lb-media { display: block; background: #000; object-fit: contain; }
.lb-slide .np.big { font-size: 3rem; opacity: .4; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: max(.5rem, env(safe-area-inset-top)) .6rem .5rem 1rem; background: linear-gradient(rgba(0, 0, 0, .55), transparent); pointer-events: none;
  transition: opacity .2s; }
.lb-top > * { pointer-events: auto; }
.lb-info { font-size: 1rem; opacity: .92; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); font-variant-numeric: lining-nums tabular-nums; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-x { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 1.6rem; cursor: pointer; transition: background .2s; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(18, 12, 10, .45); color: #fff; font-size: 1.6rem; cursor: pointer; transition: background .2s, opacity .2s; }
.lb-nav.prev { left: 1rem; }
.lb-nav.next { right: 1rem; }
@media (hover: hover) { .lb-x:hover, .lb-nav:hover { background: rgba(255, 255, 255, .14); } }
.lb :focus-visible { outline-color: #fff; }
.lb-nav:disabled { opacity: 0; pointer-events: none; }
/* Touch: Fotos werden gewischt, die Pfeile bleiben dann nur für VoiceOver erreichbar. Bei Videos sind sie
   sichtbar, weil Wischen auf der Videosteuerung nicht geht. */
@media (pointer: coarse) {
  .lb:not(.is-video) .lb-nav { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; }
}
.lb .btn { box-shadow: none; }
.lb.is-dismissing .lb-top, .lb.is-dismissing .lb-bottom, .lb.is-dismissing .lb-nav,
.lb.is-bare .lb-top, .lb.is-bare .lb-bottom, .lb.is-bare .lb-nav { opacity: 0; }
.lb.is-bare .lb-top > *, .lb.is-bare .lb-bottom > *, .lb.is-bare .lb-nav { pointer-events: none; }
/* Tastatur: fokussierte Leiste bleibt sichtbar (nur :focus-visible, der Startfokus auf ✕ zählt nicht) */
.lb.is-bare .lb-top:has(:focus-visible), .lb.is-bare .lb-bottom:has(:focus-visible) { opacity: 1; }
.lb-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1rem calc(1rem + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0, 0, 0, .6));
  pointer-events: none; transition: opacity .2s; }
.lb-bottom > * { pointer-events: auto; }
.lb-dl { color: #fff; font-size: 1.05rem; opacity: .9; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); min-height: 44px; padding: 0 .4rem; display: inline-flex; align-items: center; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (hover: hover) { .lb-dl:hover { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
