/* Zentrya Remote M1 – Videocalls (Portal-Ansicht "Anrufe" und Gastseite call.html) */
/* hidden-Attribut hat Vorrang vor display:grid/flex der Karten und Formularzeilen (Gastseite hat kein style.css) */
#view-calls [hidden], .zr-guest [hidden] { display: none !important; }
.zr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.zr-form { display: grid; gap: 8px; }
.zr-form label { display: grid; gap: 4px; font-weight: 600; }
.zr-form input, .zr-form select { font: inherit; padding: 9px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px;
  background: var(--card, #fff); color: var(--ink, #111827); }
.zr-room { display: grid; gap: 6px; }
.zr-room h3 { margin: 0; font-size: 1.05rem; }
.zr-room .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.zr-room .acts .btn { margin-top: 0; }
.zr-links { margin: 4px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.zr-links li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 3px 0; }
.zr-links .btn { padding: 2px 8px; margin-top: 0; font-size: .8rem; }
.zr-keyform { display: flex; gap: 6px; flex-wrap: wrap; }
.zr-keyform input { flex: 1 1 220px; font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line, #e5e7eb);
  background: var(--card, #fff); color: var(--ink, #111827); }
.zr-ended { opacity: .65; }

.zr-call { position: relative; background: #0b1120; color: #e5e7eb; border-radius: 14px; padding: 10px; display: grid; gap: 8px;
  grid-template-rows: auto minmax(0, 1fr) auto auto; }
.zr-call [hidden] { display: none !important; }
.zr-call-head { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.zr-call-head b { font-size: 1.05rem; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zr-e2ee { display: inline-flex; align-items: center; gap: 4px; background: #0f2e1d; color: #4ade80; border-radius: 99px;
  padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.zr-e2ee.warn { background: #3a2210; color: #fb923c; }
.zr-lockpill { background: #3a2210; color: #fdba74; border-radius: 99px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.zr-status { font-size: .82rem; color: #94a3b8; }
.zr-full { border: 0; background: #1e293b; color: #e5e7eb; border-radius: 10px; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }

/* Kacheln: Raster, Spalten/Zeilen setzt calls.js passend zum Platz (Hoch- und Querformat) */
.zr-tiles { position: relative; display: grid; gap: 6px; height: min(68vh, 680px); min-height: 220px; }
.zr-tile { position: relative; background: #131c2e; border-radius: 12px; overflow: hidden; display: flex; min-width: 0; min-height: 0;
  align-items: center; justify-content: center; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.zr-tile video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.zr-tile video.contain { object-fit: contain; }
.zr-tile.local video { transform: scaleX(-1); }
.zr-tile.local.rear video, .zr-tile.screen video { transform: none; }
.zr-tile .zr-initials { font-size: 2.2rem; font-weight: 700; color: #94a3b8; }
.zr-tile .zr-label { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; border-radius: 8px;
  padding: 2px 8px; font-size: .8rem; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zr-tile.speaking { outline: 3px solid #4ade80; outline-offset: -3px; }
/* Zu zweit: Gegenüber füllt alles, eigenes Bild klein oben rechts */
.zr-tiles.duo { display: block; }
.zr-tiles.duo .zr-tile { position: absolute; inset: 0; }
.zr-tiles.duo .zr-tile.pip { inset: 10px 10px auto auto; width: 26%; max-width: 170px; min-width: 88px; aspect-ratio: 3 / 4; z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.zr-tiles.duo .zr-tile.pip .zr-label { display: none; }
/* Angetippt: eine Person über die ganze Fläche, die anderen klein unten; nochmal tippen verkleinert */
.zr-tiles.spot { display: flex; align-items: flex-end; justify-content: flex-end; gap: 6px; padding: 8px; overflow-x: auto; }
.zr-tiles.spot .zr-tile { position: relative; z-index: 2; flex: 0 0 auto; width: 76px; height: 100px; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.zr-tiles.spot .zr-tile .zr-label, .zr-tiles.spot .zr-tile .zr-initials { font-size: .7rem; }
.zr-tiles.spot .zr-tile:not(.focus) .zr-label { display: none; }
.zr-tiles.spot .zr-tile.focus { position: absolute; inset: 0; z-index: 1; width: auto; height: auto; box-shadow: none; cursor: zoom-out; }
.zr-tiles.spot .zr-tile.focus .zr-label { font-size: .85rem; top: 8px; bottom: auto; }
.zr-tiles.spot .zr-tile.focus .zr-initials { font-size: 3rem; }
.zr-hint { margin: 0; font-size: .78rem; color: #94a3b8; text-align: center; }

.zr-controls { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.zr-controls button { font: inherit; border: 0; border-radius: 16px; padding: 6px 8px; background: #1e293b; color: #e5e7eb;
  cursor: pointer; min-width: 64px; min-height: 56px; display: grid; justify-items: center; gap: 2px; }
.zr-controls button .i { font-size: 1.35rem; line-height: 1; }
.zr-controls button .t { font-size: .72rem; font-weight: 600; white-space: nowrap; }
.zr-controls button.off { background: #3b1414; color: #fca5a5; }
.zr-controls button.on { background: #1e3a8a; }
.zr-controls button.hangup { background: #dc2626; color: #fff; }
.zr-controls button:disabled { opacity: .5; }
.zr-audio-unlock { justify-self: center; font: inherit; font-weight: 700; border: 0; border-radius: 99px; padding: 12px 20px; background: #f59e0b;
  color: #111827; cursor: pointer; }

/* Einladen / Teilnehmer: Blatt über den Kacheln */
.zr-sheet { position: absolute; left: 10px; right: 10px; bottom: 84px; z-index: 5; background: #131c2e; border: 1px solid #23304a;
  border-radius: 16px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-height: 70%; overflow: auto; }
.zr-sheet-text { margin: 0; font-size: .85rem; color: #cbd5e1; }
.zr-sheet-warn { margin: 0; font-size: .85rem; color: #fdba74; }
.zr-sheet input { font: inherit; font-size: .85rem; padding: 10px; border-radius: 10px; border: 1px solid #23304a; background: #0b1120;
  color: #e5e7eb; width: 100%; box-sizing: border-box; }
.zr-sheet-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.zr-sheet-acts button, .zr-sheet-acts a, .zr-sheet li button { font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 10px 14px;
  background: #1e293b; color: #e5e7eb; cursor: pointer; text-decoration: none; min-height: 44px; box-sizing: border-box;
  display: inline-flex; align-items: center; }
.zr-sheet-acts a { background: #15803d; color: #fff; }
.zr-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.zr-sheet li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid #1e293b; }
.zr-sheet li small { color: #94a3b8; }
.zr-sheet li button { background: #3b1414; color: #fca5a5; padding: 6px 10px; min-height: 36px; }

/* Vollbild: Anruf über den ganzen Bildschirm, Hochformat-tauglich, mit sicheren Rändern (iPhone) */
html.zr-noscroll, html.zr-noscroll body { overflow: hidden; }
.zr-call.zr-immersive { position: fixed; inset: 0; z-index: 10000; border-radius: 0; height: 100vh; height: 100dvh; box-sizing: border-box;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.zr-call.zr-immersive .zr-tiles { height: auto; min-height: 0; overflow: hidden; }
.zr-call:fullscreen { padding: 12px; border-radius: 0; }
.zr-hidden-audio { display: none; }

/* Gastseite */
body.zr-guest { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #f4f5f7; color: #111827; }
.zr-guest main { max-width: 960px; margin: 0 auto; padding: 16px; display: grid; gap: 12px; }
.zr-guest header { display: flex; align-items: center; gap: 10px; }
.zr-guest h1 { font-size: 1.25rem; margin: 0; }
.zr-guest .card { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); display: grid; gap: 10px; }
.zr-guest .muted { color: #6b7280; }
.zr-guest .error { color: #b91c1c; min-height: 1.2em; }
.zr-guest .btn { font: inherit; font-weight: 600; border: 1px solid #e5e7eb; background: #fff; color: #111827; border-radius: 10px;
  padding: 11px 14px; cursor: pointer; min-height: 44px; }
.zr-guest .btn.primary { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.zr-guest .btn:disabled { opacity: .5; }
.zr-guest input[type=text] { font: inherit; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 10px; width: 100%; box-sizing: border-box; }
.zr-guest .zr-join { font-size: 1.15rem; min-height: 56px; }
.zr-guest .zr-consent-note { margin: 0; }
.zr-guest .zr-more summary { cursor: pointer; color: #6b7280; padding: 6px 0; }
.zr-guest .zr-more[open] { display: grid; gap: 10px; }
.zr-preview { background: #0b1120; border-radius: 12px; aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center;
  justify-content: center; color: #94a3b8; }
.zr-preview video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.zr-toggles { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-color-scheme: dark) {
  body.zr-guest { background: #0b1120; color: #e5e7eb; }
  .zr-guest .card { background: #131c2e; box-shadow: none; }
  .zr-guest .btn { background: #1e293b; color: #e5e7eb; border-color: #23304a; }
  .zr-guest input[type=text] { background: #0b1120; color: #e5e7eb; border-color: #23304a; }
  .zr-guest .muted { color: #94a3b8; }
}
@media (max-width: 600px) {
  .zr-call-head .zr-status { flex-basis: 100%; order: 5; }
  .zr-controls { flex-wrap: nowrap; gap: 4px; overflow-x: auto; justify-content: space-between; }
  .zr-controls button { min-width: 0; flex: 1 1 0; padding: 6px 2px; }
  .zr-controls button .t { font-size: .64rem; }
  .zr-hint { display: none; }
}
/* Gastseite während des Anrufs: nur noch der Anruf */
body.zr-guest.zr-in-call main > :not(#zrStage) { display: none; }

/* Teammitglied anrufen */
.zr-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zr-team li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zr-team .btn { margin-top: 0; }
.zr-team-acts { display: flex; gap: 4px; }
.zr-check { display: flex; gap: 8px; align-items: center; font-weight: 500 !important; }
.zr-check input { width: 20px; height: 20px; }
/* Eingehender Anruf: ganzer Bildschirm, große Knöpfe wie am Telefon */
.zr-ring { position: fixed; inset: 0; z-index: 10001; background: rgba(5, 10, 20, .92); display: flex; align-items: center;
  justify-content: center; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.zr-ring[hidden] { display: none !important; }
.zr-ring-card { color: #f8fafc; text-align: center; display: grid; gap: 10px; justify-items: center; width: min(360px, 100%); }
.zr-ring-card b { font-size: 1.6rem; }
.zr-ring-card p { margin: 0; color: #cbd5e1; }
.zr-ring-av { width: 112px; height: 112px; border-radius: 50%; background: #1d4ed8; display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 700; animation: zr-pulse 1.4s ease-out infinite; }
@keyframes zr-pulse { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,.6); } 100% { box-shadow: 0 0 0 28px rgba(59,130,246,0); } }
.zr-ring-err { color: #fca5a5 !important; min-height: 1.2em; }
.zr-ring-acts { display: flex; gap: 56px; margin-top: 28px; }
.zr-ring-acts button { border: 0; background: none; color: #f8fafc; font: inherit; font-weight: 600; display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.zr-ring-acts button span { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; }
.zr-ring-acts .decline span { background: #dc2626; }
.zr-ring-acts .accept span { background: #16a34a; }
.zr-ring-acts button:disabled { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .zr-ring-av { animation: none; } }

/* Teamchat: Bilder (Datei portal/teamchat/team-chat.js) */
.team-message .team-image { display: block; max-width: min(100%, 280px); max-height: 320px; border-radius: 10px; margin-top: 6px; cursor: zoom-in; }
.team-preview-image { display: block; max-width: min(100%, 320px); max-height: 260px; border-radius: 10px; }
.team-preview-image[hidden], .team-image-viewer[hidden], #teamPreview[hidden] { display: none !important; }
.team-image-viewer { position: fixed; inset: 0; z-index: 10002; background: rgba(0,0,0,.92); display: flex; align-items: center;
  justify-content: center; cursor: zoom-out; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.team-image-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Chat im Anruf */
.zr-chat { display: grid; grid-template-rows: auto 1fr auto auto auto auto; gap: 6px; max-height: 78%; height: 78%; }
.zr-chat-head { display: flex; justify-content: space-between; align-items: center; }
.zr-chat-head button { border: 0; background: #1e293b; color: #e5e7eb; border-radius: 8px; width: 36px; height: 36px; font-size: 1rem; cursor: pointer; }
.zr-chat-list { overflow: auto; display: flex; flex-direction: column; gap: 6px; min-height: 80px; }
.zr-msg { background: #1e293b; border-radius: 12px; padding: 6px 10px; max-width: 85%; align-self: flex-start; overflow-wrap: anywhere; }
.zr-msg.own { background: #1e3a8a; align-self: flex-end; }
.zr-msg small { color: #94a3b8; font-size: .72rem; }
.zr-msg p { margin: 2px 0 0; white-space: pre-wrap; }
.zr-msg-prog { color: #94a3b8 !important; font-size: .8rem; }
.zr-msg img { display: block; max-width: 220px; max-height: 220px; border-radius: 8px; margin-top: 4px; cursor: zoom-in; }
.zr-gifts, .zr-emojis { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
.zr-gifts button, .zr-emojis button { flex: none; border: 0; background: #1e293b; border-radius: 10px; font-size: 1.4rem; width: 44px; height: 44px; cursor: pointer; }
.zr-gifts button { background: #3b2a0f; }
.zr-gift-target { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: #cbd5e1; }
.zr-gift-target button { font: inherit; border: 0; background: #1e293b; color: #e5e7eb; border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.zr-chat-form { display: flex; gap: 6px; align-items: center; }
.zr-chat-form input[type=text] { flex: 1; width: auto; }
.zr-chat-img { font-size: 1.4rem; cursor: pointer; padding: 6px; }
.zr-chat-form button { border: 0; background: #1d4ed8; color: #fff; border-radius: 10px; width: 48px; height: 44px; font-size: 1.2rem; cursor: pointer; }
.zr-imgview { position: fixed; inset: 0; z-index: 10003; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.zr-imgview img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Geschenke im Videobild */
.zr-gift { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -85%); font-size: 3rem; line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); transition: left .2s, top .2s, font-size .2s; }
.zr-gift.eyes { transform: translate(-50%, -50%); }
.zr-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.zr-gift.fallback { animation: zr-bob 1.2s ease-in-out infinite; }
.zr-gift.float { left: 50%; bottom: 10%; top: auto; transform: translate(-50%, 0); font-size: 3.5rem; animation: zr-float 4s ease-out forwards; }
@keyframes zr-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes zr-float { 0% { opacity: 0; transform: translate(-50%, 20px) scale(.6); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -260px) scale(1); } }
@media (max-width: 600px) { .zr-chat { height: 82%; max-height: 82%; } }

/* Sprachnachricht / Videomemo im Anruf-Chat */
.zr-chat-rec { border: 0; background: #1e293b; color: #e5e7eb; border-radius: 10px; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; flex: none; }
.zr-rec { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #3b1414; border-radius: 10px; padding: 8px 10px; color: #fecaca; font-weight: 600; }
.zr-rec video { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; transform: scaleX(-1); background: #000; }
.zr-rec button { font: inherit; font-weight: 600; border: 0; border-radius: 8px; padding: 8px 12px; background: #1e293b; color: #e5e7eb; cursor: pointer; min-height: 40px; }
.zr-msg audio { display: block; width: 240px; max-width: 100%; margin-top: 4px; }
.zr-msg video { display: block; width: 220px; max-width: 100%; border-radius: 8px; margin-top: 4px; background: #000; }
.zr-chat { grid-template-rows: auto 1fr auto auto auto auto auto; }

/* Kontaktseite (Gast) */
.zr-thread { display: flex; flex-direction: column; gap: 6px; max-height: 40vh; overflow: auto; padding: 4px 0; }
.zr-thread .zr-msg { color: #111827; background: #e5e7eb; }
.zr-thread .zr-msg.own { color: #fff; background: #1d4ed8; }
.zr-msgform { display: flex; gap: 6px; }
.zr-msgform input { flex: 1; }
.zr-msgform .btn { flex: none; width: 56px; }
.zr-guest .zr-ring .zr-ring-card b { color: #f8fafc; }
@media (prefers-color-scheme: dark) { .zr-thread .zr-msg { color: #e5e7eb; background: #1e293b; } }
/* Kontakte (Portal) */
.zr-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zr-contacts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line, #e5e7eb); }
.zr-contacts .zr-cname { font-weight: 600; }
.zr-contacts .zr-cacts { display: flex; gap: 4px; }
.zr-contacts .zr-cacts .btn { margin-top: 0; padding: 6px 8px; }
.zr-cthread { display: grid; gap: 6px; margin-top: 8px; }
.zr-cthread .zr-thread { max-height: 30vh; }

/* Hintergrund-Auswahl */
.zr-bgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.zr-bgs button { height: 64px; border: 2px solid transparent; border-radius: 10px; background: #1e293b center/cover; color: #fff; font: inherit; font-weight: 700;
  cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.9); display: flex; align-items: flex-end; justify-content: center; padding: 4px; }
.zr-bgs button.on { border-color: #4ade80; }
.zr-bgs button:disabled { opacity: .6; }

.zr-gift.clip { left: auto; right: 6px; bottom: 6px; top: auto; transform: none; width: 55%; max-width: 320px; aspect-ratio: auto; animation: zr-pop .5s ease-out; }
.zr-gift.clip video, .zr-gift.clip img { width: 100%; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.zr-gift.clip img { animation: zr-pop .5s ease-out; transform-origin: 50% 90%; }
@keyframes zr-wiggle { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-6px); } }
@keyframes zr-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Geschenk-Blatt: große Kacheln mit Bild */
.zr-gifts.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; overflow: visible; }
.zr-gifts.big button { width: auto; height: 88px; border-radius: 12px; background: #1e293b center/60% no-repeat; display: grid; align-content: end; justify-items: center;
  padding: 4px; font-size: .72rem; font-weight: 700; color: #e5e7eb; }
.zr-gifts.big button .i { font-size: 1.6rem; line-height: 1; }
.zr-gifts.big button[style*="background-image"] .i { display: none; }
.zr-gifts.big button .t { background: rgba(0,0,0,.45); border-radius: 6px; padding: 1px 6px; }

.zr-gift.fallback img { width: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }

/* Registrierung und Mitglieder (Gastseite) */
.zr-avatar-preview { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; }
.zr-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.zr-me { display: flex; gap: 12px; align-items: center; }
.zr-me h2 { margin: 0; }
.zr-h3 { margin: 8px 0 0; font-size: 1rem; }
.zr-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.zr-member { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; background: rgba(127,127,127,.12); text-align: center; }
.zr-member .zr-avatar { width: 64px; height: 64px; }
.zr-member .zr-initial { width: 64px; height: 64px; border-radius: 50%; background: #1d4ed8; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; }
.zr-member b { font-size: .95rem; overflow-wrap: anywhere; }
.zr-member small { color: #6b7280; }
.zr-member .acts { display: flex; gap: 6px; }
.zr-member .acts button { font: inherit; border: 0; border-radius: 10px; width: 44px; height: 40px; background: #1d4ed8; color: #fff; cursor: pointer; }
.zr-member .acts button:disabled { opacity: .45; }
/* Portal: Familie & Freunde */
.zr-fam-link { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.zr-fam-link input { flex: 1 1 220px; font: inherit; padding: 8px; border-radius: 8px; border: 1px solid var(--line, #e5e7eb); background: var(--card, #fff); color: var(--ink, #111827); }
.zr-contacts .zr-avatar { width: 36px; height: 36px; vertical-align: middle; margin-right: 6px; }
