/* Bildauswahl in Chat und Pop-up-Verlauf */
.entwurf-bahn { display:grid; grid-auto-flow:column; grid-auto-columns:100%; overflow-x:auto; scroll-snap-type:x mandatory; }
.entwurf-bahn section { min-width:0; scroll-snap-align:start; }
.entwurf-bahn picture,.entwurf-bahn img { display:block; width:100%; }
.entwurf-bahn img { max-height:58dvh; object-fit:contain; }
.entwurf-aktionen { display:flex; align-items:center; gap:var(--s-2); flex-wrap:wrap; padding-block:var(--s-2); }
.entwurf-aktionen [aria-pressed="true"] { font-weight:bold; }
@media (max-width: 40rem) {
  .entwurf-bahn img { max-height:46dvh; }
  .entwurf-auswahl picture { max-height:46dvh; overflow-y:auto; }
  .entwurf-auswahl img { max-height:none; height:auto; }
}

.entwurf-aktionen :is(button,a) { min-block-size:2.75rem; min-inline-size:2.75rem; display:inline-flex; align-items:center; justify-content:center; }

.entwurf-aktionen a { color:var(--info); }
.oxy2 .entwurf-aktionen a { color:var(--o2-link); }
.entwurf-aktionen .entwurf-stand { background:var(--o2-karte); color:var(--o2-tinte); border:thin solid var(--o2-linie); border-radius:var(--radius-rund); padding:var(--s-1) var(--s-2); }

/* Eine Welle für den Entwurfsdialog in beiden Chats. Bilder behalten ihre eigene Fläche. */
.entwurf-auswahl::before {
  content: "";
  display: block;
  block-size: var(--s-4);
  background: var(--o2-mesh-spektrum, var(--info));
  mask: url('./oxy2/startwelle.svg') center / 100% 100% no-repeat;
  pointer-events: none;
}
@keyframes entwurf-wellenlicht {
  from { opacity: .6; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-bewegungsruhe]) .entwurf-auswahl::before {
    animation: entwurf-wellenlicht 6s ease-in-out infinite alternate;
  }
}
