/* Existing EVOS tokens and components retained. */
html,body{overflow-x:clip}
#legacy-moment{display:block;width:100%;height:auto;max-height:640px;object-fit:cover;margin-top:24px}
#legacy-copy{max-width:70ch;padding:24px 0;font-family:var(--font-body);line-height:1.6}
.team-layout:has([data-free-fire-feature]){grid-template-columns:repeat(2,minmax(0,1fr))}
.team-layout:has([data-free-fire-feature]) .division-list{grid-column:1/-1}
.hero-match{padding:16px 20px;border:1px solid var(--color-rule);margin-bottom:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:center}
.hero-match h2{font-family:var(--font-body);font-size:22px;line-height:1.2;display:flex;gap:12px;align-items:center}
.hero-match img{width:36px;height:36px;object-fit:contain}
.hero-match p{font-size:14px;margin:6px 0}
.hero-match-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-match a,.hero-match button{min-height:44px;padding:10px 14px;border:1px solid var(--color-rule);font:inherit;color:inherit;background:transparent;white-space:nowrap}
.hero-match-countdown{font-variant-numeric:tabular-nums;font-size:13px}
.fan-id-access{display:flex;align-items:center;gap:6px;flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid var(--fan-rule);color:var(--fan-cyan);font-size:13px;font-weight:700;white-space:nowrap}
@media(max-width:640px){.fan-id-access{font-size:12px;padding:8px}.fan-header:has(.fan-id-access) .academy-nav-feature{padding:8px;font-size:12px}.fan-header:has(.fan-id-access){gap:8px}.fan-header:has(.fan-id-access) .fan-actions{gap:6px}}
.brand-hero:has(.hero-match) .brand-poster{padding-top:0}
.brand-hero:has(.hero-match) .brand-mantra .headline-line{font-size:clamp(40px,7vw,108px)}
.brand-hero:has(.hero-match) .hero-emblem{max-height:300px}
@media(max-width:640px){.hero-match{grid-template-columns:minmax(0,1fr);padding:12px}.hero-match h2{font-size:20px}.hero-match-actions{gap:8px}.brand-hero:has(.hero-match) .brand-origin{display:none}.brand-hero:has(.hero-match) .brand-poster{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand-hero:has(.hero-match) .hero-emblem{min-height:160px}.brand-hero:has(.hero-match) .hero-emblem img{width:160px;height:160px}.brand-hero:has(.hero-match) .brand-mantra .headline-line{font-size:36px}.hero-match a,.hero-match button{font-size:13px}}
:root .inactive-status{display:block;margin-top:8px;line-height:1.5;font-size:11px;letter-spacing:.06em}
.match-opponent-logo{display:inline-block;vertical-align:middle;object-fit:contain;margin-left:8px;width:32px;height:32px}
/* Ponsel: kotak emblem & bayangan mengikuti ukuran logo (sebelumnya kotak 296px meluap ke kanan, logo 160px di pojok) */
@media(max-width:640px){.brand-hero:has(.hero-match) .brand-poster{align-items:center}.brand-hero:has(.hero-match) .hero-emblem,.brand-hero:has(.hero-match) .emblem-control{width:160px!important;height:160px!important;min-height:0!important;max-width:100%;aspect-ratio:1;justify-self:center;align-self:center}.brand-hero:has(.hero-match) .emblem-shadow{inset:0;transform:scale(1.18)}.brand-hero:has(.hero-match) .hero-emblem img{width:160px;height:160px;max-height:none}}
/* Ponsel: nama pemain di kartu beranda tidak pecah ("ALBER/TTT"), kartu EVOSGOODS ketiga tidak sendirian setengah lebar */
@media(max-width:640px){.player-bottom h3{font-size:clamp(26px,8.5vw,40px);overflow-wrap:normal;word-break:keep-all}.goods-grid>:last-child:nth-child(odd){grid-column:1/-1}}
/* Judul "Nonaktif" (disuntik fan-brief.js) mengikuti gaya judul bagian */
h3:has(+.tigers[data-inactive-roster]){font-family:var(--f-display,var(--fan-display));font-weight:400;font-size:22px;letter-spacing:.02em;text-transform:uppercase;margin:24px 0 12px;color:var(--snow-dim,#c9d3df)}
/* Ponsel: foto pemain di kartu beranda mengisi kartu (sebelumnya contain → foto kecil "melayang" di tengah) */
@media(max-width:640px){.player-card{min-height:0}.player-card img{height:300px;object-fit:cover;object-position:top center;transform:scale(1.28);transform-origin:top center;margin-top:-8px}@media not all and (pointer:coarse){.player-card:hover img{transform:scale(1.28)}}.player-top{padding:16px 16px 8px;gap:6px;font-size:9px;line-height:1.3}.player-top span{font-size:10.5px!important;letter-spacing:.06em}.player-back{font-size:clamp(84px,26vw,120px);top:40px;left:12px}}
