/**
 * Zurück-Kreis + gemeinsame Token (--glas-chrome-* in css/oberflaechen-farben.css).
 */
button.glas-zurueck-knopf {
  position: relative;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: var(--glas-chrome-kreis, rgba(255, 255, 255, 0.14));
  backdrop-filter: var(--glas-chrome-unschaerfe, blur(12px));
  -webkit-backdrop-filter: var(--glas-chrome-unschaerfe, blur(12px));
  box-shadow: var(--glas-chrome-schatten, 0 2px 14px rgba(0, 0, 0, 0.16));
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

button.glas-zurueck-knopf::after {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14 6l-6 6 6 6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/** Optional: gleicher Pfeil als Inline-SVG (z. B. eingebettete Matches, falls data:-Hintergrund blockiert wird) */
button.glas-zurueck-knopf.glas-zurueck-knopf-pfeil-html::after {
  display: none;
  content: none;
  background: none;
}

button.glas-zurueck-knopf.glas-zurueck-knopf-pfeil-html svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #fff;
}

button.glas-zurueck-knopf:active {
  transform: scale(0.94);
}

button.glas-zurueck-knopf:focus {
  outline: none;
}

button.glas-zurueck-knopf:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

/** Gleiche Chrome-Werte wie Kreisknopf — für Namens-Pille / Kapsel (1:1 Material) */
.glas-chrome-pille {
  background: var(--glas-chrome-kreis, rgba(255, 255, 255, 0.14));
  backdrop-filter: var(--glas-chrome-unschaerfe, blur(12px));
  -webkit-backdrop-filter: var(--glas-chrome-unschaerfe, blur(12px));
  box-shadow: var(--glas-chrome-schatten, 0 2px 14px rgba(0, 0, 0, 0.16));
  color: #fff;
}

/** Home: Profilbild im gleichen 46×46-Glaskreis wie Zurück (ohne ::after-Pfeil) */
button.glas-zurueck-knopf.home-kopf-profil-knopf img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

/** Videochat: gleicher Glaskreis — Kamera-Symbol (Gehäuse + Linse, wie Lucide „camera“) */
button.glas-zurueck-knopf.glas-kamera-wechsel-knopf::after {
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3' stroke='%23ffffff' stroke-width='2.1' fill='none'/%3E%3C/svg%3E");
}
