.photo-peek-trigger {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  text-decoration: underline dotted;
  text-underline-offset: .22em;
  cursor: pointer;
}
.photo-peek-trigger:focus-visible, .photo-peek button:focus-visible {
  outline: 3px solid #3c49ff;
  outline-offset: 3px;
}
.photo-peek {
  position: fixed;
  z-index: 90;
  width: min(280px, calc(100vw - 42px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 8px;
  margin: 0;
  color: #0a0818;
  background: #f7f5ee;
  border: 2px solid #0a0818;
  box-shadow: 5px 5px #0a0818, 9px 9px #d5ff35;
  transform: rotate(-2deg);
}
.photo-peek[hidden] { display: none; }
.photo-peek img { display: block; width: 100%; height: min(190px, 45dvh); object-fit: contain; background: #e8e2ff; }
.photo-peek figcaption { padding: 8px 0; font: 700 11px/1.4 var(--mono); text-transform: uppercase; }
.photo-peek-controls { display: flex; gap: 8px; }
.photo-peek-controls button {
  border: 1px solid #0a0818;
  color: #0a0818;
  background: #f7f5ee;
  font: 700 11px var(--mono);
  padding: 6px 10px;
  cursor: pointer;
}
.photo-peek-controls button[aria-pressed="true"] { background: #d5ff35; }
@media (max-width: 600px) {
  .writing .section-meta .photo-peek-label { display: inline; }
}
.photo-peek-controls button { width: 54px; height: 42px; padding: 3px; }
.photo-peek-controls img { width: 100%; height: 100%; object-fit: cover; }
