.fs-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.fs-shot-grid figure, .fs-guide .fs-shot { min-width: 0; margin: 0; }

.fs-shot-link {
  display: block;
  border: 1px solid #cddbe7;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
}

.fs-shot-link img { display: block; width: 100%; height: auto; }
.fs-shot-link:hover { border-color: #117bc5; }
.fs-shot-link:focus-visible, .fs-shot-dialog button:focus-visible, .fs-guide a:focus-visible {
  outline: 3px solid #147fca;
  outline-offset: 3px;
}

.fs-shot-grid figcaption, .fs-guide .fs-shot figcaption {
  padding-top: 9px;
  color: #455d72;
  font-size: 14px;
  line-height: 1.55;
}

.fs-shot-grid figcaption strong { display: block; color: #173650; }

.fs-shot-dialog {
  box-sizing: border-box;
  width: min(1240px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0 12px 12px;
  border: 1px solid #415568;
  border-radius: 8px;
  background: #101820;
  color: #fff;
}

.fs-shot-dialog::backdrop { background: rgb(8 17 25 / 85%); }
.fs-shot-dialog form { display: flex; justify-content: flex-end; margin: 0; }
.fs-shot-dialog button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.fs-shot-dialog figure { margin: 0; }
.fs-shot-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 125px); object-fit: contain; }
.fs-shot-dialog figcaption { padding: 8px 0 0; color: #e6eff8; text-align: center; font: 14px/1.5 Arial, sans-serif; }

@media (max-width: 560px) {
  .fs-shot-grid { grid-template-columns: minmax(0, 1fr); }
}
