/* v366 — clear hierarchy with open sport tabs and quiet league chips. */
html body #root .ba-sports-home .ba-sports-home-header{margin-bottom:12px}
html body #root .ba-sports-home .ba-sports-home-header p{display:none}
html body #root .ba-sports-home .ba-sports-home-symbol{width:30px;height:30px;border:0;background:transparent;border-radius:0}
html body #root .ba-sports-home .ba-sports-home-symbol .ba-sport-glyph{width:28px;height:28px}
html body #root .ba-sports-home .ba-sports-home-header>div{gap:8px}
html body #root .ba-sports-home .ba-sports-home-all{border:0;background:transparent;box-shadow:none;border-radius:0;padding:4px 0;font-size:11px!important;gap:4px}
html body #root .ba-sports-home .ba-sports-home-filters{display:flex;flex-direction:column;align-items:stretch;gap:0;margin-bottom:12px}
html body #root .ba-sports-home .ba-sports-home-filters nav::before,html body #root .ba-sports-home .ba-sports-home-leagues::before{content:none!important;display:none!important}
html body #root .ba-sports-home .ba-sports-home-filters nav{display:flex;flex:none;width:100%;max-width:100%;gap:22px;padding:0 1px;margin:0;border-bottom:1px solid #e9c6d780;align-items:stretch}
html body #root .ba-sports-home .ba-sports-home-filters nav>button{position:relative;min-height:43px;padding:7px 2px 12px;gap:7px;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;opacity:.58;font-size:12px;font-weight:700}
html body #root .ba-sports-home .ba-sports-home-filters nav>button .ba-sport-glyph{width:21px;height:21px}
html body #root .ba-sports-home .ba-sports-home-filters nav>button[aria-pressed=true]{background:transparent;border:0;color:#cf006b;box-shadow:none;opacity:1}
html body #root .ba-sports-home .ba-sports-home-filters nav>button[aria-pressed=true]::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;border-radius:3px;background:#e60078}
html body #root .ba-sports-home .ba-sports-home-filters nav>button:hover{opacity:1}
html body #root .ba-sports-home .ba-sports-home-leagues{display:flex;flex:none;width:100%;gap:6px;align-items:center;padding:9px 0 1px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html body #root .ba-sports-home .ba-sports-home-leagues>button{min-height:32px;padding:6px 9px;gap:6px;background:transparent;border:0;border-radius:8px;box-shadow:none;color:inherit;font-size:10px;font-weight:650;opacity:.63}
html body #root .ba-sports-home .ba-sports-home-leagues>button[aria-pressed=true]{background:#e600780d;border:0;box-shadow:none;color:#b90960;font-weight:800;opacity:1}
html body #root .ba-sports-home .ba-sports-home-leagues>button:hover{opacity:1}
html body #root .ba-sports-home .ba-sports-home-leagues .ba-league-badge{width:18px;height:18px;flex-basis:18px;padding:1px;background:transparent;border-radius:4px}
html body #root .ba-sports-home .ba-sports-home-leagues small{padding:1px 4px;background:#9b5f7a09;color:inherit;font-size:9px;border-radius:4px}
html body #root .ba-sports-home .ba-sports-home-leagues>button[aria-pressed=true] small{background:#fff8}
html body #root .ba-sports-home .ba-sports-feature>header{background:transparent}
html body #root .ba-sports-home .ba-sports-feature{border-color:#e9c8da}
@media(max-width:600px){html body #root .ba-sports-home .ba-sports-home-filters nav{gap:18px}html body #root .ba-sports-home .ba-sports-home-filters nav>button{font-size:11px;gap:6px}html body #root .ba-sports-home .ba-sports-home-leagues{gap:4px;padding-top:8px}html body #root .ba-sports-home .ba-sports-home-all{font-size:10px!important}}

/* v366 — align all cards in each row, including Riverpay's balance detail. */
html body #root .gv-owned-grid{align-items:stretch}
html body #root .gv-owned-grid>.gv-owned-card{display:flex;flex-direction:column;height:100%;min-width:0}
html body #root .gv-owned-card>.gv-card-message{flex:1}
html body #root .gv-owned-card>.ba-river-balances{border:0!important;border-radius:0!important;padding:0!important;margin:0 0 9px!important;font-size:10px!important;line-height:1.4;color:inherit;opacity:.72}
html body #root .gv-owned-card>.ba-river-balances>div{display:block!important}
html body #root .gv-owned-card>.ba-river-balances>div>span:first-child,html body #root .gv-owned-card>.ba-river-balances>p{display:none}
@supports(grid-template-rows:subgrid){
 html body #root .gv-owned-grid{row-gap:0}
 html body #root .gv-owned-grid>.gv-owned-card{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;height:auto;margin-bottom:18px}
 html body #root .gv-owned-card>.gv-card-top{grid-row:1;grid-column:1}
 html body #root .gv-owned-card>.gv-card-balance{grid-row:2;grid-column:1;align-self:start}
 html body #root .gv-owned-card:has(>.ba-river-balances)>.gv-card-balance{padding-bottom:32px}
 html body #root .gv-owned-card>.ba-river-balances{grid-row:2;grid-column:1;align-self:end}
 html body #root .gv-owned-card>.gv-manual-redeem-rule{grid-row:3;grid-column:1}
 html body #root .gv-owned-card>.gv-card-credentials{grid-row:4;grid-column:1;align-self:stretch}
 html body #root .gv-owned-card>.gv-card-message{grid-row:5;grid-column:1}
 html body #root .gv-owned-card>.gv-card-transfers{grid-row:6;grid-column:1;align-self:end}
 html body #root .gv-owned-card>.gv-card-play{grid-row:7;grid-column:1;align-self:end}
}
html body #root .bg-platform-wallet .ba-river-balances{border:0!important;border-radius:0!important;padding:0!important;margin:12px 0!important}
html body #root .bg-platform-wallet .ba-river-balances>div{gap:10px!important;flex-wrap:wrap}
html body #root .bg-platform-wallet .ba-river-balances p{font-size:11px!important;margin-top:4px!important}
