.profile-gallery {
  position: relative;
  min-width: 0;
}
.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}
.gallery-controls:not([hidden]) {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  border: 1px solid #545954;
  border-radius: 24px;
  background: #101310f2;
  color: white;
  font: 600 13px/1 system-ui, sans-serif;
  white-space: nowrap;
}
.gallery-controls button {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: inherit;
  font: 26px/1 system-ui, sans-serif;
  cursor: pointer;
}
.gallery-controls button:hover { color: #c9f693; }
.gallery-controls button:focus-visible, .gallery-track:focus-visible {
  outline: 2px solid #c9f693;
  outline-offset: -3px;
}
