/* Looking through the camera: the 4:3 frame the photo is cut from, darkened around, the date stamp in its corner. */
#finder {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#finder .frame {
  position: relative;
  width: min(calc(100vw - 32px), calc((100vh - 150px) * 4 / 3));
  aspect-ratio: 4 / 3;
  border: 2px solid #fff8e6cc;
  border-radius: 6px;
  box-shadow: 0 0 0 100vmax #0008;
}
#finder .frame::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px;
  border: 2px solid #fff8e6aa;
  border-radius: 50%;
}
#finderdate {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #ff9a2e;
  font: 700 16px monospace;
  text-shadow: 0 0 6px #ff5a00;
}
#finderhint {
  font-size: 13px;
  text-align: center;
  max-width: calc(100% - 32px);
}
body.finder #hud {
  display: none;
}
#photo {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 8px solid #faf7f0;
  border-bottom-width: 26px;
  border-radius: 2px;
  background: #faf7f0;
  box-sizing: border-box;
}
#closeup {
  position: fixed;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, calc(100% - 32px), calc((100vh - 120px) * 4 / 3));
  background: #f1ece0;
  color: #16130f;
  border-radius: 4px;
  box-shadow: 0 10px 0 #0004;
  padding: 12px;
  box-sizing: border-box;
}
#closeup img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #8f8a80;
  border: 1px solid #16130f;
}
#closeup footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  font:
    13px Fredoka,
    system-ui,
    sans-serif;
  color: #16130fa0;
}
#photo .row {
  display: flex;
  gap: 8px;
}
#photo .row button {
  flex: 1;
}
#photo small {
  opacity: 0.8;
}
