#phone-home-host[hidden],.phone-map-bar { display:none }
@media (max-width:760px), (max-width:1000px) and (max-height:550px) {
  #stage.phone-home-mode > .map { display:none!important }
  #stage.phone-home-mode > #phone-home-host {
    display:block; position:absolute; inset:var(--header-height) 0 0;
    overflow:hidden; color:#172e52; background:#f5f7fb;
  }
  #stage.phone-home-mode > header { gap:8px; border-bottom:1px solid #e0e5ed }
  #stage.phone-home-mode > header .brand { gap:7px; min-width:0; }
  #stage.phone-home-mode > header .brand>div { display:block }
  #stage.phone-home-mode > header .brand>div>* {display:none}
  #stage.phone-home-mode > header .brand>div:after { content:'造物岛'; font:650 15px/1.2 var(--font-ui,system-ui); color:#263b63 }
  #stage.phone-home-mode > header .search { display:none }
  #stage.phone-home-mode > header .notification-button { margin-left:auto }
  #stage .mobile-menu-heading h2 { font-weight:670 }
  #stage .mobile-work-menu [data-phone-global-search] { display:flex; align-items:stretch; gap:6px; margin:5px 0 14px }
  #stage .mobile-work-menu [data-phone-global-search] input { min-width:0; flex:1; height:44px; padding:9px 12px; font:400 16px/1.3 var(--font-ui,system-ui); background:#f3f6fb; border:1px solid #c3cfe2; border-radius:7px; color:#172e52 }
  #stage .mobile-work-menu [data-phone-global-search] button { padding:0 13px; color:white; background:#244fc5; border:1px solid #244fc5; border-radius:7px }
  #stage.phone-map-mode .map { display:flex; flex-direction:column; isolation:isolate; }
  #stage.phone-map-mode .phone-map-bar {
    display:flex; order:-2; flex:none; align-items:center; justify-content:space-between;
    gap:6px; padding:4px max(10px,env(safe-area-inset-right,0px)) 4px max(10px,env(safe-area-inset-left,0px));
    background:#2148be; color:white; border-bottom:1px solid #ffffff35;
  }
  .phone-map-bar strong { font-size:16px; white-space:nowrap }
  #stage .phone-map-bar button { height:44px; padding:0 10px; color:white; border:0; background:transparent; font:550 14px/1.4 var(--font-ui,system-ui); display:flex; gap:5px; align-items:center }
  .phone-map-bar button[aria-expanded=true] { text-decoration:underline; text-underline-offset:4px }
  #stage.phone-map-mode .map>.filters { display:none }
  #stage.phone-map-mode.phone-map-filters-open .map>.filters {
    order:-1; display:grid; position:static; width:100%; max-width:none; flex:none;
    padding:6px max(10px,env(safe-area-inset-right,0px)) 8px max(10px,env(safe-area-inset-left,0px));
    background:#2148be; margin:0
  }
  #stage.phone-map-mode .map>#scene {display:block; position:relative; inset:auto; width:100%; height:0; min-height:0; flex:1 1 0; order:0}
  #stage.phone-map-mode .map>:is(.map-title,.home-personal,.hint,.count) {display:none!important}
  #stage.phone-map-mode .map>.controls {
    order:1; position:relative; flex:0 0 auto; inset:auto; transform:none; align-self:center; max-width:calc(100% - 12px);
    margin:4px 0 max(6px,env(safe-area-inset-bottom,0px)); padding:2px 4px; z-index:1
  }
  #stage.phone-map-mode #titles .english { display:none }
}
@media (max-height:470px) and (min-width:560px) {
  #stage.phone-map-mode.phone-map-filters-open .map>.filters { grid-template-columns:repeat(5,minmax(0,1fr)); }
  #stage.phone-map-mode.phone-map-filters-open .map>.filters>*:not(svg) {grid-column:span 1}
}
