.mobile-scene-slot { display: none; }
@media (max-width: 900px), (max-width: 1000px) and (pointer: coarse) {
  html { scroll-padding-top: 84px; }
  body { -webkit-text-size-adjust: 100%; }
  header { padding: calc(14px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 14px max(22px, env(safe-area-inset-left)); }
  .chapter { height: auto; min-height: 0; padding: 64px 22px; overflow: visible; }
  .chapter.hero { padding-top: 116px; padding-bottom: 48px; }
  .mobile-scene-slot { display: block; width: 100%; height: clamp(280px, 83vw, 380px); margin: 24px 0; pointer-events: none; }
  #scene, #stage { pointer-events: none; }
  .chapter p { font-size: 15px; line-height: 1.65; }
  .chapter-nav, .progress-nav, .vertical-note, .side-note, .corner-label { display: none; }
  dialog { max-width: calc(100vw - 32px); max-height: calc(100dvh - 40px); overflow-y: auto; }
  input, textarea, select { font-size: 16px; }
  button, a, input { touch-action: manipulation; }
}

@media (max-width: 900px), (max-width: 1000px) and (pointer: coarse) {
  header { height: auto; min-height: 76px; background: #eae9e2; }
  .header-note { display: none; }
  .hero h1 { font-size: clamp(78px, 24vw, 165px); margin: 28px 0 0; line-height: .85; transform: none; }
  .hero h1 em { font-size: .74em; }
  .eyebrow { font-size: 10px; }
  .hero-bottom { position: static; margin-top: 20px; display: flex; gap: 16px; }
  .hero-bottom p { max-width: 27ch; font-size: 14px; }
  .hero-bottom .micro { display: none; }
  .round-link { margin-left: auto; flex-shrink: 0; }
  .velocity-lines { display: none; }
  .section-copy { width: 100%; max-width: none; margin: 0; }
  .section-copy h2, .ride-heading h2, .config-intro h2 { font-size: clamp(54px, 14.6vw, 96px); line-height: .98; }
  .section-copy p { max-width: 34ch; font-size: 15px; }
  .model-label { position: static; display: block; font-size: 11px; transform: none; }
  .ride-heading { position: static; transform: none; }
  .ride-copy { position: static; margin-top: 24px; font-size: 15px; }
  .ride-copy p { font-size: 15px; }
  .spec-strip { position: static; margin-top: 28px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .spec-strip strong { font-size: 38px; }
  .spec-strip span { font-size: 9px; line-height: 1.5; }
  .configure { display: block; }
  .config-intro { position: static; width: 100%; max-width: none; }
  .config-intro p { font-size: 15px; }
  .config-panel { position: static; width: 100%; max-width: none; margin: 26px 0 0; padding: 20px; }
  .views { display: flex; flex-wrap: wrap; }
  .views button { min-height: 44px; font-size: 12px; }
  .range-tool input[type=range] { min-height: 44px; }
  footer { padding: 44px 22px calc(28px + env(safe-area-inset-bottom)); flex-wrap: wrap; gap: 24px; }
  footer p { font-size: 28px; }
  footer > span { width: 100%; font-size: 12px; line-height: 1.6; }
  footer > a:last-child { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 900px), (max-width: 1000px) and (pointer: coarse) {
  .mobile-scene-slot { position: relative; }
  .mobile-scene-slot .fallback, .mobile-scene-slot .fallback-bike, .mobile-scene-slot .fallback-disc { position: absolute; inset: 0; transform: none; margin: auto; max-width: 90%; max-height: 90%; }
  .mobile-scene-slot .fallback-bike { font-size: 28vw; padding-top: 35px; text-align: center; }
  .mobile-scene-slot .fallback-disc { height: 80%; }
  .no-webgl .chapter:not(.hero) .mobile-scene-slot { display: none; }
}

@media (max-width: 900px), (max-width: 1000px) and (pointer: coarse) {
  .chapter, .closing, footer, .hero, .system, .lab, .brief {
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }
}

@media (max-width: 900px) and (max-height: 500px), (max-width: 1000px) and (pointer: coarse) and (max-height: 500px) {
  .mobile-scene-slot { height: min(280px, calc(100svh - 100px)); }
}
