/* Readable entry at the same URL when 3D cannot run or scripts are disabled. */
#scene-fallback {
  position: fixed;
  inset: 0;
  z-index: 35;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f8f4e9;
  color: #40352e;
  font: 16px/1.65 system-ui, "Noto Sans SC", sans-serif;
}
#scene-fallback[hidden] { display: none !important; }
#scene-fallback:target { z-index: 110; }
.fallback-wrap { width: min(100% - 32px, 1040px); margin: 0 auto; }
.fallback-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.fallback-nav a { color: #67451e; text-decoration: none; }
.fallback-nav a:first-child { font-weight: 700; letter-spacing: .05em; }
.fallback-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: center; padding: 30px 0 42px; }
.fallback-eyebrow { margin: 0 0 12px; color: #8d6636; font-size: .78rem; letter-spacing: .12em; }
.fallback-hero h1 { margin: 0 0 16px; font: 500 clamp(2rem, 3.6vw, 3rem)/1.22 Georgia, "Noto Serif SC", serif; }
.fallback-hero p { max-width: 48ch; margin: 0 0 18px; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fallback-actions a { display: inline-block; padding: 10px 17px; border: 1px solid #aa8350; border-radius: 6px; color: #60431e; background: #fffaf0; text-decoration: none; font-weight: 600; }
.fallback-actions a:first-child { background: #70472e; color: #fff8e9; border-color: #70472e; }
.fallback-hero figure, .fallback-card figure { margin: 0; }
.fallback-hero img, .fallback-card img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 28px #49361c22; }
.fallback-hero figcaption, .fallback-card figcaption { margin-top: 7px; color: #745d45; font-size: .82rem; }
#scene-fallback #error { position: static; inset: auto; z-index: auto; display: block; width: min(100% - 32px, 1040px); margin: 0 auto 28px; padding: 16px 20px; border: 1px solid #bd9161; border-radius: 8px; background: #fff8e8; color: #493522; text-align: left; }
#scene-fallback #error[hidden] { display: none !important; }
#scene-fallback #error h2 { margin: 0 0 5px; font-size: 1.1rem; }
#scene-fallback #error p { margin: 0 0 10px; }
#scene-fallback #error button { padding: 8px 15px; cursor: pointer; }
.fallback-places { padding: 8px 0 32px; }
.fallback-places h2 { margin: 0 0 16px; font: 500 1.7rem/1.3 Georgia, "Noto Serif SC", serif; }
.fallback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fallback-card { padding: 13px; border: 1px solid #e3d6bd; border-radius: 8px; background: #fffdf7; }
.fallback-card img { aspect-ratio: 16 / 8; object-fit: cover; }
.fallback-card h3 { margin: 12px 0 5px; font-size: 1.07rem; }
.fallback-card p { margin: 0; font-size: .92rem; }
.fallback-help { padding: 20px 0 44px; border-top: 1px solid #decfb5; }
.fallback-help h2 { margin: 0 0 7px; font-size: 1.3rem; }
.fallback-help p { margin: 0 0 10px; }
.fallback-help a { color: #6e4624; }
.fallback-script-note { padding: 10px 13px; background: #fff5d9; border-radius: 6px; }
@media (max-width: 720px) {
  .fallback-hero { display: block; padding: 18px 0 30px; }
  .fallback-hero figure { margin-top: 22px; }
  .fallback-grid { grid-template-columns: 1fr; }
  .fallback-nav { flex-wrap: wrap; }
}
