.project-photo-trigger {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
}
.project-photo-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
body.project-image-open { overflow: hidden; }
dialog.project-image-viewer {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 24px 32px;
  border: 0;
  background: #0b0b0c;
  color: #fff;
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  overscroll-behavior: contain;
}
dialog.project-image-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
.project-image-viewer::backdrop { background: #0b0b0c; }
.project-image-header, .project-image-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.project-image-header p { margin: 0; color: #c3c3c5; font-size: 16px; }
.project-image-viewer button { appearance: none; border: 1px solid #505055; border-radius: 0; background: transparent; color: #fff; padding: 10px 16px; min-height: 44px; font: inherit; cursor: pointer; }
.project-image-viewer button:hover { background: #252527; }
.project-image-viewer button:disabled { opacity: .3; cursor: default; }
.project-image-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.project-image-stage { min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.project-image-stage img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.project-image-footer span { font-size: 14px; color: #b9b9bf; font-variant-numeric: tabular-nums; }

.project-film-seek {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 12px;
  margin: 0;
  background: #111113;
  color: #fff;
  font: 14px/1.2 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.project-film-seek button { appearance: none; padding: 0; min-width: 44px; min-height: 44px; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.project-film-seek button:hover { background: #2d2d31; }
.project-film-seek button:disabled { opacity: .4; cursor: default; }
.project-film-seek button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.project-film-seek input[type='range'] { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: 100%; min-width: 0; height: 44px; padding: 0; margin: 0; background: transparent; cursor: pointer; accent-color: #fff; }
.project-film-seek input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #fff 0 var(--position, 0%), #55555c var(--position, 0%) 100%); }
.project-film-seek input[type='range']::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; }
.project-film-seek input[type='range']::-moz-range-track { height: 4px; border-radius: 2px; background: #55555c; }
.project-film-seek input[type='range']::-moz-range-progress { height: 4px; border-radius: 2px; background: #fff; }
.project-film-seek input[type='range']::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.project-film-seek input:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.project-film-time { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 14px; }
video[data-project-player] { margin-bottom: 0 !important; }
.more-films .project-film-seek { margin-bottom: 24px; }
@media (max-width: 580px) {
  dialog.project-image-viewer { padding: 16px; gap: 12px; }
  .project-image-header { align-items: flex-start; gap: 16px; }
  .project-image-header p { font-size: 14px; padding-top: 10px; }
  .project-image-viewer button { padding: 10px 12px; }
  .project-film-seek { padding: 4px 6px; gap: 6px; }
}
