.sns-gallery {
  color: var(--ink, canvastext);
  background: transparent;
}
.sns-gallery-frame {
  margin: 0;
  inline-size: 100%;
  max-inline-size: 48rem;
}
.sns-gallery-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: contain;
  background: var(--wash);
  border-radius: .8rem;
}
.sns-gallery-controls:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.sns-gallery-controls button {
  min-width: 44px;
  min-height: 44px;
  color: var(--shop-blue);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: .6rem;
  padding: .45rem .75rem;
  font: inherit;
  cursor: pointer;
}
.sns-gallery-controls button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

.sns-gallery figcaption { margin-block: .5rem; color: var(--dim); }
