/* matrix globe hero — mobile cleanup v7 20261123g (immutable; only <820px)
   v6(citizens): #cardGridB question overlay sits over the lower half of the globe -> compact it to a thin bottom strip.
   Also: the suggest toast is removed on phones (it covered cards), and hero height uses html body #mhGlobeHero to beat per-site inline !important. */
@media (max-width:820px){
  html body #mhGlobeHero,html body .mg-hero{height:calc(100vh - 62px) !important;min-height:560px !important}
  .mg-dm{display:none !important}
  .mg-mount{top:0 !important;left:0 !important;right:0 !important;bottom:0 !important}
  .mg-top{top:4px !important;left:8px !important;right:8px !important;justify-content:flex-end !important;flex-wrap:nowrap !important}
  .mg-brand{display:none !important}
  .mg-btns{gap:5px}
  .mg-btns button,.mg-tbtn{padding:5px 9px !important;font-size:10.5px !important;height:auto !important}
  .mg-btns .lang-trigger{height:26px !important;font-size:10.5px !important;padding:0 8px !important}
  .mg-tagline{top:34px !important;left:6px !important;right:6px !important;width:auto !important;max-width:none !important;transform:none !important;text-align:center;padding:0}
  .mg-tagline .mg-title{font-size:15px !important;line-height:1.2 !important}
  .mg-tagline .mg-sub{font-size:10.5px !important;margin-top:2px !important}
  .mg-hint{font-size:9.5px !important;margin-top:2px !important;line-height:1.3 !important}
  /* below the globe band */
  .mg-search{bottom:178px !important}
  .mg-search input{width:132px !important;padding:6px 9px !important;font-size:11.5px !important}
  .mg-search button{padding:6px 10px !important;font-size:11.5px !important}
  .mg-ask{bottom:178px !important}
  .mg-ask input{padding:7px 10px !important;font-size:12px !important}
  .mg-ask button{padding:7px 11px !important;font-size:11.5px !important}
  .mg-card{left:8px !important;right:8px !important;bottom:230px !important;width:auto !important;max-width:none !important;padding:9px 11px !important}
  .mg-card .mc-head{font-size:13px !important}
  .mg-card .mc-metric,.mg-card .mc-body{font-size:11px !important}
  .mg-card .mc-scene,.mg-card button{font-size:11px !important;padding:6px 9px !important}
  /* bottom stack: acts row + scrollable carousel + legend, all under the globe */
  .mg-bottom{bottom:2px !important;padding:5px 8px !important;gap:4px !important}
  .mg-acts{gap:6px !important;flex-wrap:nowrap !important}
  .mg-acts button.mg-enter{padding:9px 16px !important;font-size:13.5px !important}
  .mg-acts button{padding:6px 10px !important;font-size:11px !important}
  #mgDanmakuToggle{display:none !important}
  .mg-starmap{margin-top:2px !important}
  .ms-title{font-size:9px !important;margin-bottom:4px !important}
  .ms-grid{justify-content:flex-start !important;gap:6px !important}
  .ms-card{flex:0 0 auto !important;min-width:98px !important;padding:6px 8px !important}
  .ms-card b{font-size:11.5px !important}
  .ms-card p{display:none !important}
  .ms-cn{font-size:8.5px !important}
  .ms-url{font-size:8.5px !important}
  .ms-note{display:none !important}
  .mg-legend{font-size:9.5px !important;line-height:1.3 !important}
  .mg-chips a,.mg-switch a{font-size:10px !important;padding:4px 8px !important}
  /* citizens question-card overlay: compact thin strip pinned to the bottom, off the globe */
  html body #cardGridB{top:auto !important;bottom:2px !important;height:auto !important}
  #cardGridB .gc-inner{width:auto !important;max-width:none !important}
  #cardGridB .gc-cta{margin-bottom:5px !important}
  #cardGridB .gc-card{min-height:0 !important;padding:6px 8px !important}
  #cardGridB .gc-card p,#cardGridB .gc-desc{display:none !important}
  #cardGridB .gc-inner{padding:0 !important}
  #cardGridB .gc-cta{gap:6px !important;margin-bottom:4px !important}
  #cardGridB .gc-grid{gap:5px !important}
  #cardGridB button,#cardGridB .gc-card{padding:3px 7px !important;font-size:10px !important}
  #cardGridB .gc-cta{flex-wrap:nowrap !important}
  #cardGridB .gc-cta button,#cardGridB .mg-learn,#cardGridB .twOpenBtn{padding:3px 7px !important;font-size:10px !important;line-height:1.25 !important}
  #cardGridB .gc-inner{max-height:150px !important;overflow:hidden !important}
  #cardGridB .gc-card span,#cardGridB .gc-card small{display:none !important}
  /* suggest toast covered cards on phones */
  html body #dcSuggestReminder,html body .dcSugChip{display:none !important}
  html body .mmAuthChip{bottom:215px !important;left:8px !important}
  html body .mg-bottom{padding-right:78px !important}
  /* phones: the nav bar already offers 工作室/成品模板/价格 etc, and the cluster carousel already lists the matrix -> drop the duplicated rows */
  html body .mg-chips,html body .mg-switch{display:none !important}
  /* bottom actions become plain text buttons, not big filled blocks */
  .mg-acts button.mg-enter{background:transparent !important;border:1px solid rgba(255,255,255,.34) !important;color:#ffd166 !important;box-shadow:none !important;padding:7px 12px !important;font-size:12.5px !important}
  .mg-acts button{background:transparent !important;border:none !important;color:#cfe3ff !important;font-size:12px !important;padding:7px 8px !important;text-decoration:underline !important;text-underline-offset:3px}
  html body .museGirlWrap{transform:scale(.84) !important;transform-origin:bottom right !important}
  .mk-table-wrap{max-height:420px;overflow-y:auto}
}
