[data-aim-legacy] { display: none !important; }

.aim-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin: 20px auto;
  scroll-margin-top: 100px;
  container: area-navigation / inline-size;
}

.aim-section .aim-board-scroll {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #c6d8ce;
  border-radius: 12px;
  background: #cce6e7;
}

.aim-section .aim-board-scroll > svg.aim-map {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  margin: 0;
}

.aim-section .aim-board-scroll > svg.aim-narrow { display: none; }

.aim-section .sim-land { fill: #f0f0df; stroke: #a2bbae; stroke-width: 1.5; }
.aim-section .sim-park { fill: #d7e5c1; stroke: #afc59f; stroke-width: .65; }
.aim-section .sim-road { fill: none; stroke: #fffdf0; stroke-width: 3.4; stroke-linecap: round; }
.aim-section .sim-waves { fill: none; stroke: #75aeb6; stroke-width: 1.4; stroke-linecap: round; }
.aim-section .aim-water { fill: #cce5e7; stroke: #8cb4b8; stroke-width: .8; }
.aim-section .sim-compass { fill: #3b655c; font: bold 16px Arial, sans-serif; }
.aim-section .aim-dot { fill: var(--sim-accent); stroke: #fffef4; stroke-width: 2; }
.aim-section .aim-leader { fill: none; stroke: var(--sim-accent); stroke-width: 1.25; stroke-dasharray: 3 3; }

.aim-section .aim-pin {
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}

.aim-section .aim-pin .aim-hit {
  fill: #fffef8;
  stroke: var(--sim-accent);
  stroke-width: 1.35;
}

.aim-section .aim-pin .aim-name {
  fill: #294f46;
  font: 700 20px Arial, Helvetica, sans-serif;
  pointer-events: none;
}

.aim-section .aim-narrow .aim-pin .aim-name { font-size: 15px; }

.aim-section .aim-pin:hover .aim-hit,
.aim-section .aim-pin:focus .aim-hit,
.aim-section .aim-pin[aria-current="page"] .aim-hit {
  fill: #fff1cb;
  stroke: #87542b;
  stroke-width: 2.75;
}

.aim-section .aim-pin:focus .aim-hit {
  stroke: #165647;
  stroke-width: 3.5;
}

.aim-section .aim-credit {
  display: block;
  margin-top: 4px;
  text-align: right;
  line-height: 1.3;
  font-size: 11px;
}

.aim-section .aim-credit a { color: #34635c; }

@media (max-width: 700px) {
  .aim-section { max-width: 420px; }
  .aim-section .aim-board-scroll > svg.aim-wide { display: none; }
  .aim-section .aim-board-scroll > svg.aim-narrow { display: block; }
}

@container area-navigation (max-width: 670px) {
  .aim-section .aim-board-scroll { max-width: 420px; margin-inline: auto; }
  .aim-section .aim-board-scroll > svg.aim-wide { display: none; }
  .aim-section .aim-board-scroll > svg.aim-narrow { display: block; }
}
