.photo-share-entry {
  grid-column: 1 / -1; align-self: center; width: min(100%, 620px); margin: 14px auto;
  min-height: 48px; padding: 14px 20px; border-radius: 18px; border: 1px solid #badedb;
  background: #00243f; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
dialog.photo-share-dialog {
  box-sizing: border-box; width: min(540px, calc(100vw - 28px)); max-width: none;
  max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: clamp(20px, 4vw, 30px); border-radius: 26px; border: 1px solid #39586e;
  background: #00243f; color: #f5fbfc; overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 24px 70px #00172a40;
}
.photo-share-dialog::backdrop { background: #001c32a6; }
.photo-share-dialog h2 { margin: 0 0 10px; font-size: 26px; color: #fff; }
.photo-share-dialog h3 { margin: 0 0 8px; color: #fff; overflow-wrap: anywhere; }
.photo-share-dialog p { line-height: 1.5; color: #d4e5ed; }
.photo-share-list { display: grid; gap: 16px; }
.photo-share-list article { padding: 18px; border: 1px solid #36566d; border-radius: 18px; background: #ffffff08; }
.photo-share-dialog label { display: flex; align-items: center; gap: 12px; min-height: 48px; line-height: 1.5; }
.photo-share-dialog input[type=checkbox] { flex: 0 0 22px; width: 22px; height: 22px; accent-color: #73dac6; }
.photo-share-dialog button { display: block; width: 100%; min-height: 48px; padding: 12px 16px; margin-top: 10px; border-radius: 14px; font: inherit; font-weight: 700; cursor: pointer; }
.photo-share-primary { background: #73dac6; color: #00243f; border: 1px solid #73dac6; }
.photo-share-secondary { background: transparent; color: #e4f0f4; border: 1px solid #688493; }
.photo-share-dialog .photo-share-hint { font-size: 13px; color: #b8d1dc; }
.photo-share-dialog .photo-share-status { color: #a5eddf; }
.photo-share-dialog .photo-share-card-status { margin: 12px 0 0; padding: 12px; border-radius: 12px; background: #ffffff0d; }
.photo-share-dialog .photo-share-card-status.is-error { border: 1px solid #688493; color: #fff; }
.photo-share-dialog [hidden] { display: none !important; }
.photo-share-dialog button:disabled { opacity: .6; cursor: wait; }
.photo-share-dialog :focus-visible, .photo-share-entry:focus-visible { outline: 3px solid #73dac6; outline-offset: 4px; }
