.aha-page {
  margin: 0;
  color: #344e4a;
  background: #f5f4ee;
  font: 1rem/1.6 Arial, "Noto Sans JP", sans-serif;
}
.aha-page *, .aha-page *::before, .aha-page *::after { box-sizing: border-box; }
.aha-page [hidden] { display: none !important; }
.aha-page a, .aha-page button { touch-action: manipulation; }
.aha-page :focus-visible { outline: 3px solid #27756c; outline-offset: 3px; }
.aha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: auto;
  padding: 24px 28px 12px;
}
.aha-header nav { display: flex; align-items: center; gap: 12px; }
.aha-header nav a { color: inherit; text-decoration: none; font-size: .875rem; }
.aha-main { max-width: 900px; margin: auto; padding: 0 20px 48px; }
.aha-back { display: inline-flex; align-items: center; min-height: 44px; color: #275c48; }
.aha-main .park-heading { margin: 6px 0 16px; }
.aha-main .park-heading p { font-size: 1rem; margin: 0; }
.aha-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aha-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 12px;
  border: 1px solid #dce5dc;
  border-radius: 20px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}
.aha-card:hover { border-color: #83b7a3; }
.aha-card img {
  display: block;
  width: clamp(64px, 20vw, 104px);
  height: auto;
  border-radius: 10px;
}
.aha-card strong { display: block; overflow-wrap: anywhere; }
.aha-level {
  display: inline-block;
  width: fit-content;
  margin: 6px 0 0;
  padding: 2px 9px;
  border-radius: 100px;
  background: #e5f4ed;
  color: #275c48;
  font-size: .875rem;
  font-weight: 700;
}
.aha-level[data-level="高難易度"] { background: #eee4fa; color: #59386d; }
#aha-game { max-width: 580px; margin: auto; }
#aha-title { font-size: clamp(1.25rem, 5vw, 1.9rem); margin: 0; }
.aha-stage-label { margin: 4px 0; font-weight: 700; color: #275c48; }
.aha-media {
  display: grid;
  place-items: center;
  margin-top: 12px;
}
.aha-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65vh;
  max-height: 65svh;
  object-fit: contain;
}
.aha-status { min-height: 1.6em; margin: 10px 0; }
.aha-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.aha-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #275c48;
  border-radius: 12px;
  color: white;
  background: #275c48;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.aha-secondary { color: #275c48; background: #fff; }
.aha-button:disabled { opacity: .55; cursor: default; }
@media (max-width: 680px) {
  .aha-header { padding: 14px 16px 2px; }
  .aha-main { padding: 0 14px 20px; }
  .aha-list { grid-template-columns: 1fr; }
}
