/* Reading links, quiet tools, and standalone icons follow different roles. */
.sphere-motion-toggle, .gallery-ticket-button, .gallery-page-button,
.ticket-share-tools :is(button, a), .photo-download-link, .live-photo-actions button,
.account-send, .account-verify, .account-more, .chat-send, .chat-stop,
.cabinet-actions button, .atlas-group-open, .atlas-group-zoom, .atlas-group-notice,
.atlas-expanded-photo, .atlas-retry, .story-group-open, .story-map-tools button {
  min-height: 44px; border-radius: 3px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-ticket-button {
  border: 0; border-bottom: 1px solid #ccd2c5; border-radius: 0;
  padding: 0 2px; background: transparent; letter-spacing: .12em;
}
.gallery-ticket-button:hover { background: transparent; border-color: #657768; }
.gallery-pswp .gallery-counter-button { border: 0; border-radius: 0; background: transparent; padding-inline: 8px; }
.gallery-live { min-height: 44px; border-radius: 3px; padding-inline: 12px; }
.ticket-share-tools :is(button, a), .photo-download-link { padding-inline: 13px; }
.ticket-share-tools :is(#copyPhotoLink, #createSouvenir) {
  border: 0; border-bottom: 1px solid #ccd2c5; border-radius: 0;
  background: transparent; color: #353831; padding-inline: 0;
}
.ticket-share-tools .ticket-share-actions { gap: 12px; }
.ticket-share-tools #enlargePhoto { background: #ecefe7; border-color: #ecefe7; color: #353831; }
.ticket-share-tools #enlargePhoto:hover { background: #dfe6d9; border-color: #dfe6d9; }
.photo-download-link, .live-photo-actions button { background: transparent; border-color: #ccd2c5; color: #353831; }
.photo-download-link:hover, .live-photo-actions button:hover { background: #ecefe7; border-color: #a4af9d; }
.story-close, .color-explorer-close, .atlas-close {
  min-height: 44px; padding: 9px 2px; border: 0;
  border-bottom: 1px solid currentColor; border-radius: 0; background: transparent;
}
.story-close:hover, .color-explorer-close:hover, .atlas-close:hover { background: transparent; opacity: .7; }
.story-select { border-radius: 3px; }
.story-map-tools button { padding-inline: 12px; }
.atlas-map-controls { border-radius: 4px; padding: 2px; gap: 0; }
.atlas-map-controls button { border-radius: 2px; }
.atlas-filter { border-radius: 3px; }
.atlas-steps button, .story-map-tools .story-map-zoom,
.photo-atlas-group :is(.photo-atlas-group__close, .photo-atlas-group__prev, .photo-atlas-group__next) { min-width: 44px; min-height: 44px; }
.story-chapter-dot { min-width: 36px; height: 36px; }
.story-photo-open, .atlas-image-hint {
  min-height: 44px; padding: 10px 13px; border: 0; border-radius: 0;
  background: #f7f5f0e8; color: #353831; box-shadow: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.story-photo-open:hover, .atlas-image-hint:hover { background: #f7f5f0f5; color: #353831; }
/* The vendor SVG offset does not fit our compact PhotoSwipe arrow hit area. */
.gallery-pswp .pswp__button--arrow .pswp__icn { display: none; }
.gallery-pswp .pswp__button--arrow { width: 48px; height: 64px; margin-top: -32px; border: 0; border-radius: 0; background: #f7f5f0d9; color: #353831; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gallery-pswp .pswp__button--arrow:hover { background: #f7f5f0f2; }
.gallery-pswp .pswp__button--arrow::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border-top: 1px solid #353831; border-right: 1px solid #353831;
  transform: translate(-65%, -50%) rotate(45deg);
}
.gallery-pswp .pswp__button--arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
@media (max-width: 760px) {
  .gallery-ticket-button { padding-inline: 2px; }
  .atlas-map-controls .atlas-overview, .atlas-map-controls .atlas-expand-map { padding-inline: 8px; }
  .gallery-pswp .pswp__button--arrow { width: 44px; }
}
