.mark-lights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}
.mark-light {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #cbd8cd;
  border-radius: 12px;
  background: #eef2ec;
}
.mark-light h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}
.mark-light-scene {
  position: relative;
  display: grid;
  place-items: center;
  height: 155px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(#112931 68%, #24434c 68%, #152f37 69%);
}
.mark-light-lamp {
  position: absolute;
  top: 40px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #41555a;
}
.mark-light-lamp.is-lit {
  background: #fff;
  box-shadow:
    0 0 9px 3px #fff9,
    0 0 24px 9px #ffffff26;
}
.mark-light-status {
  position: absolute;
  right: 8px;
  bottom: 10px;
  left: 8px;
  color: #e3ecec;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.mark-light figcaption {
  font-size: 0.9rem;
  line-height: 1.5;
}
.mark-light figcaption strong {
  display: block;
  min-height: 3em;
}
.mark-light button {
  display: block;
  min-height: 44px;
  width: 100%;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid #456e65;
  border-radius: 7px;
  background: transparent;
  color: #204f46;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.mark-light button[hidden] {
  display: none;
}
.mark-light button[aria-pressed="true"] {
  background: #24564d;
  color: #fff;
}
.mark-light button:hover {
  border-color: #183e43;
}
.mark-light button:focus-visible {
  outline: 3px solid #b16826;
  outline-offset: 4px;
}
.special-marks {
  display: grid;
  gap: 16px;
  margin: 24px 0 32px;
}
.special-mark {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 20px;
  border: 1px solid #cbd8cd;
  border-radius: 12px;
  background: #eef2ec;
  break-inside: avoid;
}
.special-mark img {
  display: block;
  width: 120px;
  height: auto;
}
.special-mark h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}
.special-mark figcaption {
  font-size: 0.9rem;
  line-height: 1.5;
}
.bridge-mark {
  margin: 24px 0 0;
}
.bridge-mark img {
  display: block;
  width: 100%;
  max-width: 580px;
  height: auto;
  margin: auto;
}
.bridge-mark figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .mark-lights {
    grid-template-columns: minmax(0, 1fr);
  }
  .mark-light figcaption,
  .special-mark figcaption,
  .bridge-mark figcaption {
    font-size: 1rem;
  }
  .mark-light figcaption strong {
    min-height: 0;
  }
  .special-mark {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .special-mark img {
    width: 76px;
  }
}
@media print {
  .mark-light {
    break-inside: avoid;
  }
  .mark-light-scene,
  .mark-light button {
    display: none;
  }
}
