/* PR108: Formal Home artwork and a Compact shared-header lockup. */
.tenmei-brand-logo{display:block;flex:none;width:100%;height:auto;pointer-events:none;user-select:none}
body .topbar.shared-header .brand{flex:0 0 auto;width:160px;max-width:160px;min-width:160px;padding:0 3px;overflow:visible}
/* Fit the horizontal title and Dice inside the existing bar; never grow the Battle header. */
body .topbar.shared-header .brand .tenmei-brand-logo{width:154px;height:var(--shared-bar);max-height:100%;object-fit:contain;object-position:left center}
body .title-app>.topbar.shared-header .brand{width:180px;max-width:180px;min-width:180px}
body .title-app>.topbar.shared-header .brand .tenmei-brand-logo{width:174px;height:50px}
body .shared-header .brand:hover{background:linear-gradient(90deg,transparent,#d4ba7d12,transparent)}
body .shared-header .brand:active{background:#d4ba7d18}
body .shared-header .brand:focus-visible{outline:2px solid #ffe59a;outline-offset:-2px;border-radius:3px}
body .home-title{z-index:20!important;display:block!important;padding:0;margin:0;isolation:isolate;opacity:1!important;visibility:visible!important;pointer-events:none}
body .home-title::before,body .home-title::after{content:none}
body .home-title #titleScreenHeading{position:relative;z-index:1;display:block;width:min(47vw,640px);margin:0;overflow:visible!important;line-height:1;font-size:0;opacity:1!important;visibility:visible!important;pointer-events:none}
body .home-title .tenmei-brand-logo-chat{position:relative;z-index:1;display:block!important;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;opacity:1!important;visibility:visible!important;mix-blend-mode:normal;filter:drop-shadow(0 2px 4px #0009);pointer-events:none}
@media(max-width:1180px) and (max-height:600px) and (orientation:landscape){
 body .title-app>.topbar.shared-header .brand{width:164px;max-width:164px;min-width:164px;padding-inline:2px}
 body .title-app>.topbar.shared-header .brand .tenmei-brand-logo{width:160px;height:50px}
 body .home-title #titleScreenHeading{width:min(38vw,320px)}
}
@media(orientation:portrait) and (max-width:760px){
 body .home-title #titleScreenHeading{width:min(100%,560px);margin-inline:auto}
}
