:root[lang="en"] [data-copy="ja"],
:root[lang="ja"] [data-copy="en"],
.language-toggle[hidden] {
  display: none !important;
}

.language-toggle,
#language-prompt {
  font: 500 1rem/1.5 var(--reading);
}

.language-toggle {
  position: fixed;
  z-index: 20;
  top: max(.75rem, env(safe-area-inset-top));
  right: max(.75rem, env(safe-area-inset-right));
  display: flex;
  gap: .125rem;
  padding: .1875rem;
  border: 1px solid #d7ded1;
  border-radius: 2rem;
  background: #fffdf7;
  box-shadow: 0 2px 10px #172d2630;
}

.language-toggle button,
#language-prompt button {
  font: inherit;
  font-family: var(--reading);
  cursor: pointer;
}

.language-toggle button {
  min-height: 2.75rem;
  padding: .42rem .7rem;
  border: 0;
  border-radius: 2rem;
  background: transparent;
  color: #1b4332;
}

.language-toggle button[aria-pressed="true"] {
  background: #28614b;
  color: white;
}

#language-prompt {
  box-sizing: border-box;
  width: min(26rem, calc(100% - 2rem));
  height: fit-content;
  padding: clamp(1.5rem, 6vw, 2.25rem);
  border: 1px solid #f1e1cb;
  border-radius: 1.5rem;
  background: #fff8ec;
  color: #1b4332;
  text-align: center;
  box-shadow: 0 18px 60px #112b2650;
}

#language-prompt::backdrop {
  background: rgb(19 37 30 / 48%);
}

#language-prompt h2 {
  margin: 0 0 1.25rem;
  font: 700 clamp(1.4rem, 6vw, 1.9rem)/1.2 var(--reading);
}

.language-prompt__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

#language-prompt button {
  min-height: 3rem;
  padding: .5rem .25rem;
  border: 1px solid #28614b;
  border-radius: .75rem;
  background: #fffdf7;
  color: #1b4332;
  font-weight: 650;
}

#language-prompt button:hover {
  background: #28614b;
  color: white;
}

.language-toggle button:focus-visible,
#language-prompt button:focus-visible,
.shuttle-map__caption a:focus-visible,
.preview-link:focus-visible {
  outline: 3px solid #8451a8;
  outline-offset: 2px;
}

@media (max-width: 59.999rem) {
  .announcement h1 { top: max(8.5%, 4.5rem); }
}

.shuttle-maps {
  max-width: 46rem;
  margin: 2rem auto 0;
  font-size: 1rem;
  line-height: 1.55;
}

.shuttle-maps__heading {
  margin: 1.5rem 0 .75rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.shuttle-map {
  margin: 0 0 1rem;
  border: 1px solid #b9cebf;
  border-radius: .75rem;
  background: #fffdf7;
  color: #1b4332;
}

.shuttle-map__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid #d7ded1;
  border-radius: .75rem .75rem 0 0;
  background: #fff;
}

.shuttle-map__frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shuttle-map__caption {
  padding: .85rem clamp(.75rem, 3vw, 1.25rem);
}

.shuttle-map__caption p {
  margin: .2rem 0 .35rem;
}

.shuttle-map__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 .9rem;
}

.shuttle-map__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  text-underline-offset: .2em;
}

.preview-link {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: .65rem;
  background: #28614b;
  color: #fff;
  font: 700 1rem/1.5 var(--reading);
  text-decoration: none;
}

.preview-link:hover { background: #1b4332; }
