/* v0.36.11: thumb-safe, swipeable tea detail gallery. Loaded after legacy rules. */
body #fsoctea-profile-panel .fsoctea-gallery-frame {
  min-width: 0;
  max-width: 100%;
  background: #070706;
  position: relative;
  align-self: start;
  overflow: hidden;
}
body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-gallery {
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-padding-inline: 0 !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  outline-offset: -3px;
}
body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-gallery::-webkit-scrollbar { display: none; }
body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-photo {
  box-sizing: border-box !important;
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  position: relative !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always;
  aspect-ratio: 1 / 1 !important;
  cursor: default;
  background: #070706;
}
body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  pointer-events: none;
}
body #fsoctea-profile-panel .fsoctea-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 12px 1px;
  background: #0d0c0b;
}
body #fsoctea-profile-panel .fsoctea-gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  background: #191a1c;
  color: #d6e1ea;
  width: 42px;
  height: 38px;
  padding: 0;
  border-radius: 11px;
  font: 700 29px/1 system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
body #fsoctea-profile-panel .fsoctea-gallery-arrow:disabled { opacity: .35; cursor: default; }
body #fsoctea-profile-panel .fsoctea-gallery-position {
  color: #c7d5e0;
  font: 700 13px/1 system-ui, sans-serif;
  min-width: 50px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
body #fsoctea-profile-panel .fsoctea-gallery-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px 11px;
  background: #0d0c0b;
}
body #fsoctea-profile-panel .fsoctea-gallery-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #5c6671;
  opacity: .55;
  cursor: pointer;
}
body #fsoctea-profile-panel .fsoctea-gallery-dot.is-active { background: #d7e7f6; opacity: 1; }
body #fsoctea-profile-panel .fsoctea-gallery-arrow:focus-visible,
body #fsoctea-profile-panel .fsoctea-gallery-dot:focus-visible,
body #fsoctea-profile-panel .fsoctea-detail-gallery:focus-visible { outline: 2px solid #c7d5e0; outline-offset: 2px; }
@media(max-width:680px) {
  body #fsoctea-profile-panel .fsoctea-gallery-frame {
    margin: 10px 12px 0 !important;
    border-radius: 18px;
  }
  body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-gallery {
    margin: 0 !important;
    border-radius: 18px 18px 0 0 !important;
  }
  body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-photo {
    border-radius: 18px 18px 0 0 !important;
  }
}
@media(prefers-reduced-motion: reduce) {
  body #fsoctea-profile-panel .fsoctea-gallery-frame .fsoctea-detail-gallery {scroll-behavior: auto !important;}
}
