
@media (max-width: 700px) {
  .rg-box, .hm-tour-btn, #hm-room, #hm-fresh, #hm-road,
  #featured-sites .hm-city, #featured-sites .hm-city + .hm-note { display: none !important; }

  #main { display: flex; flex-direction: column; }
  #main > #featured-sites { order: 1; }
  #main > #hm-like { order: 2; }
  #main > #hm-near { order: 3; }
  #main > #replays { order: 4; }
  #main > #student-sites { order: 5; }
  #main > .hp-end { order: 6; }

  #vtList > .vt-item:nth-of-type(n+3) { display: none !important; }
  #hm-like .hm-row > a:nth-of-type(n+3), #hm-near .hm-row > a:nth-of-type(n+3) { display: none !important; }

  #replays .rp-head .nv-lines, #replays .replay-more .rp-cta2 { display: none !important; }

  a#waFloat.wa-float, #chatLauncher { display: none !important; }

  .hl-arrive.hp-unknown { display: none !important; }

  .hero-grid > .hp-top { order: -5; width: 100%; padding: 20px 4px 4px; text-align: center; }
  .hp-top h2 { margin: 0 0 16px; font: 800 28px/1.18 Manrope, Inter, system-ui, sans-serif; color: #fff; letter-spacing: -.01em; }
  .hp-top h2 b { color: #ffd60a; font-weight: 800; }
  .hp-top h2 span { display: block; margin-top: 8px; font: 500 16px/1.4 Inter, system-ui, sans-serif; color: #cfe0ff; letter-spacing: 0; }
  .hp-go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 18px; background: linear-gradient(#ffd60a, #ffb300); color: #0a1430 !important; font: 800 18px Manrope, Inter, system-ui, sans-serif; text-decoration: none !important; }
  .hp-go svg { width: 20px; height: 20px; flex: none; }
  .hp-all { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin: 4px 16px 0; padding: 0 16px; border: 1px solid rgba(47,134,255,.7); background: #0d2a6e; color: #fff !important; font: 800 16px Manrope, Inter, system-ui, sans-serif; text-align: center; text-decoration: none !important; }
  .hp-all svg { width: 18px; height: 18px; flex: none; }
  .hp-end { padding: 6px 16px 44px; text-align: center; }
  .hp-end h2 { margin: 0 0 14px; font: 800 26px/1.2 Manrope, Inter, system-ui, sans-serif; color: #fff; }

  #vtList > .vt-item { grid-template-columns: minmax(0, 1fr); }
  #vtList .vt-card, #vtList .vt-text { min-width: 0; max-width: 100%; }
  #vtList .vt-btns { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  #vtList .vt-btns > a { white-space: normal; text-align: center; margin: 0; }
  #vtList .vt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #vtList .vt-stats b { overflow-wrap: anywhere; }
  #vtList .vt-url { font-size: 10px; letter-spacing: 0; }
  #vtList .vt-text h3 { overflow-wrap: anywhere; }
  
  #replays .rc-wrap { width: 100%; left: 0; transform: none; }
  #replays #replayGrid { perspective: none; grid-auto-columns: 84%; scroll-snap-type: x proximity; }
  #replays #replayGrid .replay-card { rotate: none !important; scroll-snap-align: center; }
  
  #hm-like .ss-title, #hm-near .ss-title, #student-sites .ss-title { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; }
  #hm-like .ss-byt, #hm-near .ss-byt, #student-sites .ss-byt, #student-sites .ss-more { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; }
  #student-sites .ss-more { min-height: 34px; height: auto; padding-top: 6px; padding-bottom: 6px; line-height: 1.25; }
  #student-sites small { font-size: 11px !important; }
  
  .hero .hero-map .map-panel, .hero .hero-map .map-phonebar { display: none !important; }
  
  #vtList .vt-bar > :not(.vt-url):not(.vt-live):not(.vt-new) { display: none; }
  #vtList .vt-url { flex: 1 1 auto; min-width: 0; }
  .hero .wow-replay { min-height: 36px; height: auto; white-space: normal; padding-top: 6px; padding-bottom: 6px; }
  .hero .wow-replay span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  #student-sites .ss-grid > li { flex: 0 0 76% !important; width: 76% !important; max-width: 300px; }
  #featured-sites { padding-top: 8px; }
  #hm-like, #hm-near { padding-top: 26px; }
  
  @media (max-width: 360px) {
    .hp-top h2 { font-size: 24px; }
    .hp-end h2 { font-size: 22px; }
    #vtList { padding-left: 40px; }
    #vtList .vt-text { padding: 18px 14px; }
    #hm-like .hm-chip, #hm-near .hm-btn { font-size: 13px; }
  }

  #vtList .vt-text > .vt-tags, #vtList .vt-text > .vt-since, #vtList .vt-text > .vt-seen, #vtList .vt-text > .vt-by,
  #vtList .vt-btns > .vt-make { display: none !important; }
  #vtList .vt-text { padding: 16px 16px 18px; }
  #vtList .vt-text h3 { font-size: 22px; margin: 0 0 6px; }
  #vtList .vt-line { font-size: 14px; line-height: 1.45; margin: 0 0 14px; }
  #vtList .vt-btns { margin: 0; }
  #vtList .vt-btns > .vt-go { min-height: 40px; padding: 9px 14px; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  #vtList > .vt-item { gap: 12px; margin-bottom: 30px; }
  #vtList > .vt-item:nth-of-type(2) { margin-bottom: 14px; }
  
  #hm-near { display: none !important; }
  
  #hm-like .hm-like-go { background: transparent !important; border: 1px solid rgba(47,134,255,.7) !important; color: #fff !important; box-shadow: none !important; }
  #hm-like .hm-chip.on { background: #1d4ed8 !important; border-color: #3b82f6 !important; color: #fff !important; }
  
  .hero.hero-top { padding-bottom: 14px; }
  #featured-sites { padding-top: 22px; padding-bottom: 22px; }
  #featured-sites .section-head .nv-lines { display: none !important; }
  #featured-sites .section-head { margin-bottom: 22px; }
  .hp-all { margin-top: 0; }
  #hm-like { padding-top: 22px; padding-bottom: 22px; }
  #replays { padding-top: 26px; padding-bottom: 26px; }
  #student-sites { padding-top: 26px; padding-bottom: 26px; }
  
  #replays #replayGrid { grid-template-rows: auto !important; }
  
  .hw-sky, .hm-sky { display: none !important; }
  body { background-image: none !important; }
}
