.action-gallery-hint { margin-top: 12px; color: #d4d5cc; font-size: 13px; }
.action-gallery__open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.action-gallery__open:focus-visible { outline: 3px solid #facc15; outline-offset: -4px; border-radius: 4px; }
.action-gallery__open::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff65;
  border-radius: 50%;
  background: #10110fbc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23facc15' stroke-width='1.5'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m13-5v5h-5'/%3E%3C/svg%3E") center / 20px no-repeat;
  pointer-events: none;
}
.action-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 65px 24px 24px;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: auto;
}
.action-viewer[open] { display: grid; place-items: center; }
.action-viewer::backdrop { background: #080a08f5; }
.action-viewer__content { max-width: 1100px; width: 100%; text-align: center; }
.action-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 160px);
  margin: auto;
  object-fit: contain;
  border-radius: 5px;
}
.action-viewer__caption { margin: 18px auto 0; max-width: 700px; color: #e2e3d8; font-size: 14px; line-height: 1.6; }
.action-viewer__close {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  background: #151810;
  color: #facc15;
  cursor: pointer;
}
.action-viewer__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.action-viewer__flight { position: fixed; z-index: 1; object-fit: cover; transform-origin: top left; border-radius: 5px; pointer-events: none; }
body.action-viewer-open { overflow: hidden; }
@media (max-width: 767px) {
  .action-viewer { padding: 64px 16px 24px; }
  .action-viewer__caption { font-size: 13px; }
}
