.lipolaser-gallery .section__head { max-width: 48rem; }
.prose .lipolaser-gallery h2 { margin-top: 0; }
.lipolaser-gallery__notice { color: var(--muted); font-size: .875rem; }
.lipolaser-gallery__notice > span { display: inline-block; color: var(--teal-dark); background: #e5efee; border-radius: 4px; padding: .15rem .5rem; margin-right: .5rem; font-weight: 600; }
.lipolaser-gallery__carousel { aspect-ratio: auto; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(30, 34, 34, .06); }
.lipolaser-gallery__viewport { overflow: hidden; touch-action: pan-y; }
.lipolaser-gallery .carousel__track { height: auto; align-items: stretch; }
.lipolaser-gallery__slide { height: auto; padding: clamp(.75rem, 2vw, 1.5rem); }
.lipolaser-gallery__slide[aria-hidden="true"] { visibility: hidden; }
.lipolaser-gallery__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); height: clamp(320px, 45svh, 480px); gap: clamp(.5rem, 2vw, 1.25rem); max-width: 56rem; margin-inline: auto; }
.lipolaser-gallery__photo { display: flex; flex-direction: column; min-width: 0; min-height: 0; margin: 0; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.lipolaser-gallery__label { flex-shrink: 0; padding: .6rem .75rem; background: #eaf0ef; color: var(--ink); font-size: .875rem; font-weight: 600; text-align: center; }
.lipolaser-gallery__photo:last-child .lipolaser-gallery__label { background: var(--teal); color: white; }
.lipolaser-gallery__photo picture { display: block; flex: 1; min-height: 0; }
.lipolaser-gallery__photo img, .lipolaser-gallery__placeholder { width: 100%; height: 100%; object-fit: contain; }
.lipolaser-gallery__placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .75rem; color: #647574; background: #f0f4f3; font-size: clamp(.7rem, 1.4vw, .95rem); text-align: center; padding: .5rem; }
.prose .lipolaser-gallery__caption { display: grid; place-items: center; height: 2.8em; line-height: 1.4; margin: .75rem 0 0; text-align: center; color: var(--muted); font-size: .875rem; }
.lipolaser-gallery__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0 1rem 1rem; }
.lipolaser-gallery__controls[hidden] { display: none; }
.lipolaser-gallery__controls .carousel__arrow { position: static; transform: none; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); box-shadow: none; opacity: 1; background: #fff; color: var(--teal-dark); font-size: 1.5rem; }
.lipolaser-gallery__controls .carousel__arrow:hover { background: #eaf0ef; }
.lipolaser-gallery__dots { display: flex; gap: .125rem; }
.lipolaser-gallery__dots .carousel__dot { width: 44px; height: 44px; border-radius: 0; background: transparent; display: grid; place-items: center; }
.lipolaser-gallery__dots .carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #bac8c6; }
.lipolaser-gallery__dots .carousel__dot.is-active::before { background: var(--teal); }
.lipolaser-gallery__counter { min-width: 3rem; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.lipolaser-gallery :focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.prose .lipolaser-gallery__footnote { margin-top: 1rem; }
@media (max-width: 639px) {
  .lipolaser-gallery__pair { height: clamp(240px, 42svh, 320px); }
  .lipolaser-gallery__pair--landscape { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .lipolaser-gallery__label { padding: .25rem .5rem; }
  .lipolaser-gallery__controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .125rem; padding-inline: .75rem; width: min(100%, 26rem); margin-inline: auto; }
  .lipolaser-gallery__controls [data-results-prev] { grid-column: 1; grid-row: 1; }
  .lipolaser-gallery__counter { grid-column: 2; grid-row: 1; text-align: center; min-width: 2.5rem; }
  .lipolaser-gallery__controls [data-results-next] { grid-column: 3; grid-row: 1; }
  .lipolaser-gallery__dots { grid-column: 1 / -1; grid-row: 2; min-width: 0; height: 44px; justify-content: center; gap: 0; }
  .lipolaser-gallery__dots .carousel__dot { flex: 1; width: auto; max-width: 36px; min-width: 24px; }
  .lipolaser-gallery__placeholder svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .lipolaser-gallery .carousel__track { transition: none; }
}
.lipolaser-gallery { scroll-margin-top: 5rem; }
