.gallery-site-header .visitor-header-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  color: inherit;
  font: 650 11px/1.15 var(--garage-font, sans-serif);
  white-space: nowrap;
}

.gallery-site-header .visitor-header-action .ui-icon { width: 19px; height: 19px; }
.visitor-favorite-toggle[aria-pressed="true"] { background: #f0e8da; border-color: #897141; color: #48381c; }
.visitor-favorites ul { list-style: none; margin: 16px 0 0; padding: 0; }
.visitor-favorites li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--dc-line, #dfd9cd); }
.visitor-favorites li a { display: grid; flex: 1; gap: 3px; min-height: 44px; min-width: 0; align-content: center; color: inherit; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.visitor-favorites li small { color: #5f5b54; }
.visitor-favorites li .button { flex: none; min-height: 44px; }
.visitor-favorites-empty { margin: 16px 0 0; padding: 16px; background: #f3efe7; border-radius: 6px; color: #534e46; }
.visitor-share-poster { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--dc-line, #dfd9cd); }
.visitor-share-poster img { display: block; width: min(100%, 350px); height: auto; margin-inline: auto; border-radius: 12px; background: #101211; }
.visitor-share-poster p { margin: 12px 0; }
.visitor-share-poster[hidden] { display: none; }

.public-share-shade { backdrop-filter: none; }
.public-share-shade .modal { display: flex; flex-direction: column; overflow: hidden; }
.public-share-shade .modal > header { position: relative; flex: none; backdrop-filter: none; }
.public-share-shade .modal > header .icon-button { display: inline-flex; gap: 6px; width: auto; min-height: 44px; padding: 0 10px; color: var(--dc-text, #183b30); white-space: nowrap; }
.public-share-shade .modal-body { min-height: 0; flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; }
.visitor-share-return { margin-top: 12px; min-height: 44px; }

@media (max-width: 420px) {
  .gallery-site-header .site-header-inner { padding-inline: 10px; }
  .detail-actions .visitor-favorite-toggle { flex: 1 0 auto; }
}
