/* Mobile viewer controls, shared by the embedded and full-screen tour. */
@media (max-width: 700px) {
  .vw-topbar { padding: 16px; gap: 12px; background: linear-gradient(180deg, #071017a1, transparent); }
  .vw-scene, .tour-embed .vw-scene { max-width: calc(100% - 108px); min-width: 0; padding-top: 6px; }
  .vw-scene-tag { font-size: 12px; line-height: 1.5; letter-spacing: .1em; }
  .vw-scene-name, .tour-embed .vw-scene-name { font-size: 16px; line-height: 1.4; margin-top: 3px; text-wrap: balance; }
  .vw-tools, .tour-embed .vw-tools { display: grid; grid-template-columns: repeat(2, 44px); gap: 7px; flex: 0 0 auto; }
  .vw-btn, .tour-embed .vw-btn { width: 44px; height: 44px; background: #1e2a3480; border-color: #ffffff59; }
  .vw-btn svg { width: 19px; height: 19px; }
  .vw-hint, .tour-embed .vw-hint { width: max-content; max-width: calc(100% - 40px); bottom: 118px; font-size: 13px; line-height: 1.5; white-space: normal; padding: 10px 14px; border-radius: 18px; background: #17232acc; }
  .vw-hint svg { flex-shrink: 0; }
  .vw-strip, .tour-embed .vw-strip { padding: 16px 14px; gap: 9px; scroll-padding-inline: 14px; overscroll-behavior-x: contain; touch-action: pan-x; }
  .vw-thumb, .tour-embed .vw-thumb { min-width: 104px; width: 104px; height: 72px; border-radius: 12px; }
  .vw-thumb span { font-size: 12px; letter-spacing: .01em; padding: 14px 6px 6px; }
  .hs-ring { width: 48px; height: 48px; }
  .hs-label { font-size: 12px; }
  .vm-head { padding: 12px 16px; gap: 12px; padding-top: max(12px, env(safe-area-inset-top)); }
  .vm-title { font-size: 14px; }
  .viewer-modal #viewer { height: 100%; min-height: 0; }
  .viewer-modal .vw-strip { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .tour-nav { margin: 12px; padding: 10px 16px; border-radius: 20px; gap: 16px; }
  .tour-nav a { display: flex; align-items: center; min-height: 44px; }
  .tour-nav a:last-child { font-size: 14px; line-height: 1.5; max-width: 180px; }
  .tour-intro { margin: 44px 24px 28px; }
  .tour-intro h1 { font-size: clamp(38px, 11vw, 60px); }
  .tour-intro > p:first-child { font-size: 12px; line-height: 1.6; }
  .viewer-host { margin-inline: 12px; border-radius: 24px; }
  #viewer { height: clamp(430px, 128vw, 580px); touch-action: auto; }
  #viewer canvas { touch-action: none; }
  .tour-end { margin: 18px 24px 40px; gap: 8px 20px; }
  .tour-end a { display: flex; min-height: 44px; align-items: center; font-size: 14px; }
}
