.camera-page .banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 699px) {
  .camera-page .banner-image {
    max-height: 165px;
  }
}
.explore-page {
  --explore-accent: #5668b7;
  display: block;
  margin-top: 5px;
  padding-bottom: 2px;
}
.explore-stage {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 2px;
}
.explore-stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  grid-column: 1 / -1;
  min-height: 30px;
  margin: 0 0 4px;
}
.explore-stage-heading h2,
.explore-stage-heading p,
.explore-stage > h2 {
  margin: 0;
}
.explore-stage-heading h2,
.explore-stage > h2 {
  color: #172e56;
  font-size: 14px;
  line-height: 1.25;
}
.explore-stage-heading p {
  margin: 0;
  color: #697b98;
  font-size: 11px;
}
.explore-results {
  display: block;
}
.explore-results .explore-stage-heading {
  display: flex;
}
.explore-filter-options {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 1px 1px 3px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.explore-filter-options::-webkit-scrollbar {
  display: none;
}
.explore-chip-list,
.explore-prefecture-grid {
  grid-column: 2;
}
.explore-chip,
.explore-prefecture,
.explore-sidebar-toggle,
.explore-pagination button {
  min-height: 38px;
  border: 1px solid #d9e1f1;
  border-radius: 10px;
  background: #fff;
  color: #243958;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.explore-chip {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 0 11px;
  white-space: nowrap;
  font-size: 12px;
}
.explore-chip[aria-pressed="true"],
.explore-prefecture[aria-pressed="true"] {
  border-color: var(--explore-accent);
  background: var(--explore-accent);
  color: #fff;
  box-shadow: 0 2px 8px #5668b733;
}
.explore-prefecture-grid {
  flex-wrap: nowrap;
}
.explore-prefecture {
  flex: 0 0 auto;
  padding: 0 9px;
  min-height: 38px;
  white-space: nowrap;
  font-size: 12px;
}
.explore-photo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.explore-photo[hidden] {
  display: none;
}
.explore-photo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fff;
  color: #1c3155;
  box-shadow: 0 2px 9px #102b3909;
}
.explore-photo-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.explore-photo-trigger > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #e7ebf1;
  object-fit: cover;
}
.explore-photo-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding: 7px 8px 2px;
  line-height: 1.45;
}
.explore-photo-copy strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.explore-photo-copy > span {
  display: -webkit-box;
  overflow: hidden;
  color: #506482;
  font-size: 11px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.explore-photo-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 32px;
  padding: 2px 8px 6px;
  color: #687c9e;
  font-size: 10px;
  line-height: 1.3;
}
.explore-photo-location > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.explore-map-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  min-height: 30px;
  padding: 0 3px;
  border-radius: 6px;
  color: #416cb3;
  text-decoration: none;
}
.explore-map-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.explore-empty {
  grid-column: 1 / -1;
  margin: 7px 0;
  color: #71809a;
  font-size: 12px;
  line-height: 1.6;
}
.explore-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  color: #536889;
  font-size: 12px;
}
.explore-pagination[hidden] {
  display: none;
}
.explore-pagination button {
  min-width: 80px;
  min-height: 36px;
  padding: 0 10px;
  font-size: 12px;
}
.explore-pagination button:disabled,
.explore-slide-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.explore-sidebar-toggle {
  position: fixed;
  z-index: 6;
  right: max(0px, env(safe-area-inset-right));
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  display: grid;
  width: 36px;
  height: 92px;
  min-height: 44px;
  place-items: center;
  padding: 6px 4px;
  border-color: #fff;
  border-radius: 12px 0 0 12px;
  background: #183e68ed;
  color: #fff;
  box-shadow: 0 4px 15px #061b3b40;
  font-size: 11px;
  font-weight: 650;
  writing-mode: vertical-rl;
}
.explore-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #071a3229;
  overscroll-behavior: contain;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.explore-sidebar[hidden] {
  display: none;
}
.explore-sidebar-sheet {
  width: clamp(150px, 44vw, 290px);
  height: 70vh;
  height: min(70dvh, 600px);
  max-height: calc(100vh - 20px);
  max-height: calc(
    100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 20px
  );
  overflow-y: auto;
  padding: 10px;
  border-radius: 16px 0 0 16px;
  background: #f8f9ff;
  color: #203454;
  box-shadow: -7px 0 24px #061b3b35;
  -webkit-overflow-scrolling: touch;
}
.explore-sidebar-heading {
  position: sticky;
  z-index: 1;
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: -10px -10px 10px;
  padding: 8px 8px 6px 10px;
  border-bottom: 1px solid #e4e9f2;
  border-radius: 16px 0 0;
  background: #f8f9fff2;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.explore-sidebar-heading h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}
.explore-sidebar-heading button {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #e9edf5;
  color: #253958;
  font-size: 22px;
  cursor: pointer;
}
.explore-sidebar section + section {
  margin-top: 12px;
}
.explore-sidebar section h3 {
  margin: 0 0 5px;
  font-size: 12px;
}
.explore-sidebar-list {
  display: grid;
  gap: 6px;
}
.explore-photo-sidebar .explore-photo-trigger {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 5px;
}
.explore-photo-sidebar .explore-photo-trigger > img {
  align-self: start;
  width: 58px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.explore-photo-sidebar .explore-photo-copy {
  gap: 0;
  padding: 0;
}
.explore-photo-sidebar .explore-photo-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.explore-photo-sidebar .explore-photo-location {
  min-height: 24px;
  padding: 0 5px 4px;
  font-size: 9px;
}
.explore-sidebar-open,
.explore-viewer-open {
  overflow: hidden;
  overscroll-behavior: none;
}
.explore-page :focus-visible,
.explore-sidebar :focus-visible,
.explore-viewer :focus-visible {
  outline: 3px solid #3478ee;
  outline-offset: 2px;
}
.explore-viewer {
  display: none;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  height: 100dvh;
  margin: 0;
  padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  flex-direction: column;
  border: 0;
  background: #101a2b;
  color: #fff;
}
.explore-viewer[open] {
  display: flex;
}
.explore-viewer::backdrop {
  background: #07101def;
}
.explore-viewer-heading {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: #d8e2f2;
  font-size: 12px;
}
.explore-viewer-heading > button {
  justify-self: start;
  min-width: 44px;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid #ffffff35;
  border-radius: 12px;
  background: #ffffff12;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.explore-viewer-heading > button.explore-viewer-close {
  justify-self: end;
  width: 44px;
  padding: 0;
  font-size: 25px;
}
.explore-viewer-stage {
  display: grid;
  flex: 1;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  justify-items: center;
  gap: 4px;
  min-height: 0;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.explore-viewer-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}
.explore-slide-arrow {
  z-index: 1;
  width: 40px;
  height: 52px;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  background: #07101d80;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.explore-viewer-copy {
  width: min(100%, 820px);
  max-height: 27dvh;
  flex: 0 0 auto;
  align-self: center;
  overflow-y: auto;
  padding: 10px 4px 3px;
  color: #e4eaf5;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}
.explore-viewer-copy h2 {
  margin: 0 0 3px;
  font-size: clamp(16px, 3vw, 22px);
}
.explore-viewer-copy p {
  margin: 3px 0;
  font-size: 12px;
}
.explore-viewer-copy [data-viewer-location] {
  color: #bdcbe0;
}
.explore-viewer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.explore-viewer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #ffffff36;
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}
.explore-viewer-links a[hidden] {
  display: none;
}
@media (min-width: 700px) {
  .explore-stage {
    grid-template-columns: 100px minmax(0, 1fr);
    padding: 7px 4px;
  }
  .explore-stage-heading h2,
  .explore-stage > h2 {
    font-size: 16px;
  }
  .explore-photo-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .explore-photo-copy strong {
    font-size: 15px;
  }
  .explore-photo-copy > span {
    font-size: 12px;
  }
  .explore-photo-location {
    font-size: 11px;
  }
  .explore-sidebar-toggle {
    right: 12px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .explore-sidebar-sheet {
    width: min(380px, 38vw);
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 16px 0 0 16px;
    padding: max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  }
  .explore-sidebar-heading {
    top: calc(-1 * max(16px, env(safe-area-inset-top)));
    margin: calc(-1 * max(16px, env(safe-area-inset-top))) -16px 16px;
    padding: max(14px, env(safe-area-inset-top)) 16px 10px;
    border-radius: 16px 0 0;
  }
  .explore-sidebar-heading h2 {
    font-size: 16px;
  }
  .explore-sidebar section + section {
    margin-top: 20px;
  }
  .explore-sidebar section h3 {
    font-size: 14px;
  }
  .explore-photo-sidebar .explore-photo-trigger {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }
  .explore-photo-sidebar .explore-photo-trigger > img {
    width: 82px;
    border-radius: 8px;
  }
  .explore-photo-sidebar .explore-photo-copy strong {
    font-size: 13px;
  }
  .explore-photo-sidebar .explore-photo-location {
    padding: 0 8px 6px;
    font-size: 10px;
  }
  .explore-viewer-stage {
    grid-template-columns: minmax(56px, 1fr) minmax(0, 1000px) minmax(56px, 1fr);
    gap: 12px;
  }
  .explore-slide-arrow {
    width: 48px;
    height: 60px;
    justify-self: center;
  }
  .explore-viewer-copy {
    max-height: 22dvh;
  }
}
@media (max-width: 359px) {
  .explore-stage {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 5px;
    padding-inline: 0;
  }
  .explore-photo-list {
    gap: 6px;
  }
  .explore-photo-copy {
    padding-inline: 6px;
  }
  .explore-photo-copy strong {
    font-size: 12px;
  }
  .explore-photo-location {
    padding-inline: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .explore-sidebar,
  .explore-photo,
  .explore-chip,
  .explore-prefecture {
    scroll-behavior: auto;
    transition: none;
  }
}
