/* Gemeinsam genutzt von gruppe.html und profil.html: aufklappbare Bereiche („Mehr anzeigen“) und Teilen-Dialog */
.more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.9s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.more-in {
  overflow: hidden;
  min-height: 0;
}

.pf-t {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  padding: 18px 0 6px;
  background: none;
  border: 0;
  color: var(--muted);
  font: 600 0.8rem var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}

.pf-t:hover {
  color: var(--ink);
}

.pf-t svg {
  width: 20px;
  height: 20px;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.pf-t[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .more {
    transition: none;
  }
}

.shr-btn svg {
  width: 15px;
  height: 15px;
}

.shr {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 6, 7, 0.84);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto;
}

.shr-b {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--line2);
  padding: 26px;
  width: min(520px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

.shr-x {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 1px solid var(--line2);
  color: var(--ink);
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.shr-l {
  display: flex;
  gap: 8px;
  margin: 12px 0 10px;
}

.shr-l .inp {
  flex: 1;
  min-width: 0;
  font-size: 0.86rem;
}

.shr-pv {
  margin: 12px 0;
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--line);
}

.shr-pv img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 46vh;
}

.shr-a {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shr-a [aria-disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.shr-a [hidden] {
  display: none;
}
