/* Title art and controls share one frame. Let the whole home page scroll. */
#ui.scr-title{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;align-items:initial!important;justify-content:initial!important;padding:0!important;scroll-padding-block:16px;touch-action:pan-y pinch-zoom}
#ui.scr-title .home{display:flex;flex-direction:column;width:min(1600px,100%);height:auto;max-height:none;min-height:100%;margin:0 auto;padding:12px clamp(10px,2vw,28px) 32px;overflow:visible;gap:0}
#ui.scr-title .home-top,#ui.scr-title .home-roster,#ui.scr-title .home-foot{flex:0 0 auto;min-width:0}
#ui.scr-title .ensemble-hero{position:relative;display:block;flex:0 0 auto;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;margin:0;isolation:isolate;overflow:hidden;border:1px solid #6e9ba6;border-radius:10px;background:#071725}
#ui.scr-title .ensemble-picture{position:absolute;inset:0;display:block;flex:none;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto}
#ui.scr-title .ensemble-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#ui.scr-title .ensemble-hero .home-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:24px 12px;margin:0;text-align:center;background:linear-gradient(0deg,transparent 7%,#03132222 20%,#031322b5 43%,#031322a6 59%,#03132222 80%,transparent);z-index:2}
#ui.scr-title .ensemble-hero .home-logo{width:100%;align-items:center;gap:5px;line-height:1.25;filter:drop-shadow(0 3px 2px #000) drop-shadow(0 0 9px #04111e)}
#ui.scr-title .ensemble-hero .home-logo small{font-size:clamp(11px,1.5vw,20px);letter-spacing:.32em;line-height:1.5;margin:0}
#ui.scr-title .ensemble-hero .home-logo>span{font-size:clamp(27px,4.5vw,64px);line-height:1.35;letter-spacing:0;white-space:normal;overflow-wrap:normal}
#ui.scr-title .ensemble-hero .home-logo>b{font-size:clamp(25px,4vw,56px);line-height:1.4;letter-spacing:0;white-space:normal;-webkit-text-stroke:.6px #fbc34b}
#ui.scr-title .ensemble-hero .home-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 18px;width:100%;margin:18px 0 0}
#ui.scr-title .ensemble-hero .home-start,#ui.scr-title .ensemble-hero .home-how{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;font-size:clamp(16px,1.8vw,22px);line-height:1.6;white-space:normal;padding:10px 22px;border-radius:12px}
#ui.scr-title .ensemble-hero .home-start{gap:24px;box-shadow:0 4px 0 #04111e}
#ui.scr-title .ensemble-hero .home-how{background:#071c30d9;border:1px solid #96bfce;color:#fff;text-shadow:none}
#ui.scr-title .home-roster{margin-top:14px;padding-top:14px}
#ui.scr-title .home-roster-head{height:auto;min-height:0;line-height:1.7;flex-wrap:wrap;gap:4px 12px}
#ui.scr-title .home-fighters{align-items:stretch;padding:4px 3px 12px}
#ui.scr-title .home-fighter{height:auto;flex:0 0 88px;padding-bottom:8px}
#ui.scr-title .home-fighter>.fighter-name,#ui.scr-title .home-fighter>span{height:auto;min-height:30px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.65;font-size:10px;padding:4px 2px}
#ui.scr-title .home-foot{display:flex;flex-wrap:wrap;align-items:flex-start;line-height:1.9;font-size:13px;gap:10px 18px;margin-top:14px;padding-bottom:12px;letter-spacing:0;overflow:visible}
#ui.scr-title .home-foot>span{flex:1 1 260px;min-width:0}
#ui.scr-title .home-foot a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0}
@media(orientation:portrait) and (max-width:680px){
 #ui.scr-title .ensemble-hero{aspect-ratio:9/16;height:clamp(480px,calc(var(--app-height,100svh) - var(--screen-top) - var(--screen-bottom) - 130px),1000px)}
 #ui.scr-title .ensemble-hero .home-logo>span{font-size:clamp(27px,7vw,52px)}
 #ui.scr-title .ensemble-hero .home-logo>b{font-size:clamp(25px,6.5vw,48px)}
}
@media(max-width:680px){
 #ui.scr-title .home{padding:8px 10px 32px}
 #ui.scr-title .home-top{gap:8px;padding:0 0 10px}
 #ui.scr-title .home-brand{display:none}
 #ui.scr-title .home-account{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
 #ui.scr-title .home-top .chip{font-size:12px;padding:8px 10px;min-height:44px}
 #ui.scr-title .language-picker select{max-width:150px;font-size:16px;min-height:44px}
 #ui.scr-title .home-logo small{font-size:12px}
 #ui.scr-title .ensemble-hero .home-copy{padding:20px 10px}
 #ui.scr-title .ensemble-hero .home-actions{gap:10px;margin-top:16px}
 #ui.scr-title .ensemble-hero .home-start,#ui.scr-title .ensemble-hero .home-how{font-size:16px;padding:10px 16px}
 #ui.scr-title .home-fighter{flex-basis:80px}
}
@media(orientation:landscape) and (max-height:560px){
 #ui.scr-title .ensemble-hero{width:100%;height:auto;aspect-ratio:16/9;max-height:none;min-height:0}
 #ui.scr-title .ensemble-hero .home-copy{padding:14px}
 #ui.scr-title .ensemble-hero .home-logo>span{font-size:30px}
 #ui.scr-title .ensemble-hero .home-logo>b{font-size:27px}
 #ui.scr-title .ensemble-hero .home-actions{margin-top:10px}
}
