/* GAME AISTRUM: leave room for the shared back link ("← 一覧" / "← Games") at the top left. */
#appHeader{padding-left:calc(104px + env(safe-area-inset-left,0px))!important}
/* Phone widths: the header is full (logo, language menu, three buttons), so the back link shows only its arrow.
   Its aria-label / title still say "back to the game list". The logo gives way with "…" only if it still does not fit. */
@media (max-width:520px){
 .portal-back-float{font-size:0!important;padding:0!important;width:44px}
 .portal-back-float::before{content:"←";font-size:20px;line-height:1}
 #appHeader{padding-left:calc(60px + env(safe-area-inset-left,0px))!important}
 #appHeader .brand{min-width:0;flex:1 1 auto;overflow:hidden}
 #appHeader .brand-type{min-width:0;overflow:hidden}
 #appHeader .brand-type>*{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media (max-width:359px){#appHeader .brand-mark{display:none}}
@media (max-width:520px){html[lang^="en"] #appHeader .brand-mark{display:none}}
