.kamikaze-gallery { border-bottom: 1px solid #91b8d570; }
.kamikaze-gallery-title {
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 730;
}
.kamikaze-gallery figure { margin: 0; }
.kamikaze-gallery img {
  width: 100%;
  height: clamp(190px,23vw,320px);
  object-fit: contain;
  background: #101b21;
}
.kamikaze-gallery figcaption { padding: 8px 16px; font-weight: 620; }
.kamikaze-gallery[data-gallery-ready] figcaption { display: none; }
.kamikaze-controls {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 44px;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
}
.kamikaze-controls button {
  --radius: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--link);
}
.kamikaze-controls button:hover { background: #f6fdffcf; }
.kamikaze-controls button svg { width: 22px; height: 22px; }
.kamikaze-controls [data-gallery-previous] svg { transform: rotate(180deg); }
.kamikaze-photo-info { text-align: center; font-size: 14px; }
.kamikaze-photo-info p { font-weight: 660; }
.kamikaze-photo-info a {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.console-photo-pair {
  display: grid;
  grid-template-columns: minmax(0,3fr) minmax(0,2fr);
  height: clamp(190px,23vw,320px);
  gap: 2px;
}
.console-photo-pair > div { position: relative; }
.console-photo-pair img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.console-hdmi-photos {
  height: auto;
  min-height: 260px;
  background: #d1e8f7;
}
.console-hdmi-photos > div:last-child img { object-fit: contain; }
@media (max-width: 670px) {
  .kamikaze-gallery img { height: auto; aspect-ratio: 1280 / 804; }
  .console-photo-pair { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
}
