:root {
  color-scheme: dark;
  --ink: #f3f0e8;
  --muted: #a7adbd;
  --faint: #737b8f;
  --night: #070a12;
  --panel: rgba(17, 22, 36, 0.88);
  --panel-strong: #121827;
  --line: rgba(199, 208, 230, 0.16);
  --gold: #d9b96e;
  --gold-bright: #f1d38a;
  --cyan: #82d9df;
  --danger: #ffb07a;
  --focus: #a8f3f6;
  --content-width: 1480px;
  --radius: 22px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(66, 115, 153, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(132, 79, 153, 0.14), transparent 34rem),
    linear-gradient(180deg, #070a12 0%, #080c16 58%, #05070d 100%);
  min-height: 100vh;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 12% 25%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.2px),
    radial-gradient(circle at 42% 72%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.2px);
  background-size: 180px 180px, 260px 260px, 340px 340px;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #071014;
  background: var(--focus);
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid rgba(217, 185, 110, 0.5);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 24px;
  box-shadow: inset 0 0 22px rgba(217, 185, 110, 0.1);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a,
.site-nav span {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav [aria-current="page"] {
  color: #081018;
  background: var(--gold);
}

main,
.site-footer {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(420px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 7vw, 120px);
  padding: clamp(76px, 10vw, 150px) 0 64px;
}

.eyebrow,
.section-index {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.hero h1 {
  max-width: 9em;
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 52rem;
  margin: 28px 0 0;
  color: #c7cbd5;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-block: 1px solid var(--line);
}

.hero-stats div {
  min-width: 0;
  padding: 24px 12px;
  text-align: center;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 46px);
}

.quality-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 176, 122, 0.28);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(126, 63, 34, 0.18), rgba(18, 24, 39, 0.72));
}

.curated-features {
  margin: 56px auto 0;
  max-width: 1360px;
  border: 1px solid rgba(216, 184, 106, 0.22);
  border-radius: 18px;
  background: rgba(10, 15, 24, 0.82);
  overflow: hidden;
}

.curated-features > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  color: #f4eddd;
  cursor: pointer;
  list-style: none;
}

.curated-features > summary::-webkit-details-marker {
  display: none;
}

.curated-features > summary::after {
  content: "＋";
  color: #d8b86a;
  font-size: 22px;
}

.curated-features[open] > summary::after {
  content: "−";
}

.curated-features > summary strong {
  margin-left: auto;
  font-weight: 600;
}

.curated-features .scene-feature,
.curated-features .new-hall-assets {
  margin-top: 0;
  border-top: 1px solid rgba(216, 184, 106, 0.12);
}

@media (max-width: 700px) {
  .curated-features > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }

  .curated-features > summary strong {
    margin-left: 0;
  }
}

.quality-notice-mark {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #160d08;
  background: var(--danger);
  border-radius: 50%;
  font-weight: 800;
}

.quality-notice strong {
  color: #ffd1b0;
}

.scene-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: 32px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(130, 217, 223, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 48, 58, 0.84), rgba(11, 15, 25, 0.94)),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.scene-feature-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 7px);
  background: #05070c;
}

.scene-feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.scene-feature-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #d9e1e8;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(5, 9, 15, 0.78);
  backdrop-filter: blur(14px);
  font-size: 12px;
}

.scene-feature-visual figcaption span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
}

.scene-feature-copy {
  align-self: center;
  padding: clamp(8px, 1.5vw, 22px) clamp(4px, 1vw, 14px);
}

.scene-feature-copy h2 {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 500;
  line-height: 1.16;
  text-wrap: balance;
}

.scene-feature-lead {
  margin: 22px 0 0;
  color: #d1d5dc;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 17px;
  line-height: 1.85;
}

.scene-feature-facts {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.scene-feature-facts div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.scene-feature-facts dt {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.scene-feature-facts dd {
  margin: 0;
  color: #dfe2e8;
  font-size: 13px;
  line-height: 1.65;
}

.scene-feature-note {
  margin: 22px 0 0;
  padding-left: 14px;
  color: #aeb7c6;
  border-left: 2px solid var(--cyan);
  font-size: 13px;
  line-height: 1.75;
}

.new-hall-assets {
  margin-top: 68px;
}

.new-hall-assets-heading,
.new-hall-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
}

.new-hall-assets-heading h2,
.new-hall-group-heading h3 {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-weight: 500;
  text-wrap: balance;
}

.new-hall-assets-heading h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.new-hall-assets-heading > p,
.new-hall-group-heading > p {
  margin: 0;
  color: #b9c0cc;
  line-height: 1.8;
}

.new-hall-group {
  margin-top: 34px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 26, 39, 0.94), rgba(8, 12, 21, 0.96));
}

.new-hall-group-heading {
  align-items: start;
}

.new-hall-group-heading > div > p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.new-hall-group-heading h3 {
  font-size: clamp(26px, 3vw, 42px);
}

.new-hall-group-heading > p {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  font-size: 13px;
}

.new-hall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.new-hall-grid-sumer {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.new-hall-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(5, 8, 14, 0.76);
}

.new-hall-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05070c;
}

.new-hall-card > div {
  padding: 17px 18px 20px;
}

.new-hall-card span {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.new-hall-card h4 {
  margin: 7px 0 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 500;
}

.new-hall-card p {
  margin: 11px 0 0;
  color: #aeb6c4;
  font-size: 12px;
  line-height: 1.7;
}

.quality-notice p {
  margin: 5px 0 0;
  color: #c9cbd2;
  font-size: 14px;
  line-height: 1.65;
}

.quality-notice #evidenceSummary {
  color: rgba(226, 231, 227, 0.72);
  font-size: 13px;
}

.filter-panel {
  margin-top: 68px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(19, 25, 41, 0.92), rgba(11, 15, 25, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.filter-heading,
.results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.filter-heading h2,
.results-header h2 {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.text-button {
  padding: 8px 0;
  color: var(--cyan);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
}

.filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(160px, 0.75fr));
  gap: 14px;
  margin-top: 28px;
}

.filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.filters input,
.filters select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(5, 8, 14, 0.68);
}

.filters input::placeholder {
  color: #757c8d;
}

.filters input:hover,
.filters select:hover {
  border-color: rgba(217, 185, 110, 0.48);
}

.gallery-section {
  padding: 84px 0 100px;
}

.result-summary {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.archive-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.archive-card:hover,
.archive-card:focus-within {
  border-color: rgba(217, 185, 110, 0.48);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.card-open {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  border: 0;
  background: transparent;
}

.card-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(52, 78, 105, 0.62), rgba(29, 22, 49, 0.7)),
    var(--panel-strong);
}

.card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms ease;
}

.card-open:hover .card-image {
  transform: scale(1.035);
}

.archive-card.image-error .card-image {
  visibility: hidden;
}

.image-error-label {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: #d4d8e3;
  font-size: 13px;
}

.archive-card.image-error .image-error-label {
  display: grid;
}

.quality-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  overflow: hidden;
  color: #121722;
  background: rgba(241, 211, 138, 0.94);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quality-badge.low-free {
  color: #1b0c06;
  background: rgba(255, 176, 122, 0.96);
}

.card-copy {
  display: block;
  padding: 18px;
}

.card-kicker,
.card-title,
.card-source {
  display: block;
}

.card-kicker {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.card-title {
  min-height: 3em;
  margin-top: 8px;
  display: -webkit-box;
  overflow: hidden;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-source {
  margin-top: 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state-panel {
  display: grid;
  min-height: 240px;
  margin-top: 30px;
  padding: 36px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(12, 17, 28, 0.55);
}

.state-panel[hidden] {
  display: none;
}

.state-panel strong {
  color: var(--ink);
  font-size: 20px;
}

.state-panel p {
  margin: 0;
}

.state-panel-error {
  border-color: rgba(255, 176, 122, 0.34);
}

.loader {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(130, 217, 223, 0.25);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.solid-button,
.outline-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
}

.solid-button {
  color: #081016;
  border: 1px solid var(--gold);
  background: var(--gold);
}

.outline-button {
  color: var(--ink);
  border: 1px solid rgba(217, 185, 110, 0.42);
  background: rgba(217, 185, 110, 0.07);
}

.outline-button:hover {
  border-color: var(--gold);
  background: rgba(217, 185, 110, 0.14);
}

.load-more-region {
  display: grid;
  margin-top: 36px;
  place-items: center;
  gap: 12px;
}

.load-more-region[hidden] {
  display: none;
}

.load-more-region p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 46px;
  color: var(--faint);
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.detail-dialog {
  width: min(1380px, calc(100vw - 44px));
  max-width: none;
  max-height: calc(100vh - 44px);
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(217, 185, 110, 0.3);
  border-radius: 22px;
  background: #0b101b;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.64);
}

.detail-dialog::backdrop {
  background: rgba(2, 4, 8, 0.86);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  max-height: calc(100vh - 44px);
  overflow: auto;
}

.dialog-toolbar,
.dialog-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.dialog-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(11, 16, 27, 0.94);
  backdrop-filter: blur(14px);
}

.dialog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  font-size: 28px;
  line-height: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.65fr);
  min-height: 620px;
}

.detail-figure {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 480px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(54, 72, 105, 0.4), transparent 55%),
    #05080d;
}

.detail-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.image-status {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 30px;
  place-items: center;
  color: var(--muted);
  background: #0b101b;
}

.image-status[hidden] {
  display: none;
}

.detail-copy {
  padding: clamp(26px, 4vw, 52px);
  border-left: 1px solid var(--line);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-badges span {
  padding: 6px 9px;
  color: var(--cyan);
  border: 1px solid rgba(130, 217, 223, 0.24);
  border-radius: 999px;
  font-size: 10px;
}

.detail-badges .low-free {
  color: #ffd1b0;
  border-color: rgba(255, 176, 122, 0.36);
  background: rgba(255, 176, 122, 0.08);
}

.detail-english {
  margin: 38px 0 9px;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.11em;
}

.detail-copy h2 {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
}

.detail-civilization {
  margin: 16px 0 0;
  color: var(--cyan);
  font-size: 14px;
}

.detail-metadata {
  display: grid;
  gap: 0;
  margin: 38px 0 28px;
  border-top: 1px solid var(--line);
}

.detail-metadata div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.detail-metadata dt {
  color: var(--faint);
  font-size: 12px;
}

.detail-metadata dd {
  margin: 0;
  color: #cbd0db;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.source-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  color: #091015;
  background: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

.source-link[hidden] {
  display: none;
}

.detail-certificate {
  margin: 22px 0 0;
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.dialog-navigation {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.noscript-message {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 40;
  padding: 16px;
  color: #1b0c06;
  background: var(--danger);
  border-radius: 12px;
  text-align: center;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-stats {
    max-width: 680px;
  }

  .scene-feature {
    grid-template-columns: 1fr;
  }

  .scene-feature-visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .new-hall-grid-sumer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-copy {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 66px;
    padding-inline: 18px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 2px;
    font-size: 12px;
  }

  .site-nav a,
  .site-nav span {
    padding: 8px 10px;
  }

  main,
  .site-footer {
    width: min(calc(100% - 30px), var(--content-width));
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .quality-notice {
    align-items: flex-start;
  }

  .scene-feature {
    gap: 22px;
    margin-top: 22px;
    padding: 12px;
  }

  .scene-feature-visual figcaption {
    position: static;
    align-items: flex-start;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .scene-feature-copy {
    padding: 8px 6px 14px;
  }

  .scene-feature-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .new-hall-assets {
    margin-top: 48px;
  }

  .new-hall-assets-heading,
  .new-hall-group-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .new-hall-grid,
  .new-hall-grid-sumer {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    margin-top: 44px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    padding-top: 60px;
  }

  .results-header,
  .filter-heading {
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card-copy {
    padding: 14px;
  }

  .card-title {
    font-size: 16px;
  }

  .detail-dialog {
    width: 100vw;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .dialog-shell {
    max-height: 100dvh;
  }

  .detail-figure {
    min-height: 280px;
  }

  .detail-copy {
    padding: 28px 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .brand strong {
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav a {
    display: none;
  }

  .hero-stats div {
    padding: 18px 6px;
  }

  .hero-stats dt {
    font-size: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quality-badge {
    font-size: 11px;
  }

  .detail-metadata div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.telemetry-disclosure {
  color: rgba(204, 214, 210, 0.55);
  font-size: 0.68rem;
  line-height: 1.5;
}
