/* Removable theme layer. Original backgrounds are unchanged in index/matchday. */
#home-screen .home-content{
 --tab-scene:url('/brand/tab-backgrounds/league.webp');
 --tab-tint:#061727;
 position:relative;isolation:isolate;background:var(--tab-tint);
 min-height:calc(100svh - 46px);
}
#home-screen .home-content:has(#tab-tactics.active){--tab-scene:url('/brand/tab-backgrounds/tactics.webp');--tab-tint:#071e18}
#home-screen .home-content:has(#tab-team.active){--tab-scene:url('/brand/tab-backgrounds/squad.webp');--tab-tint:#1a102b}
#home-screen .home-content:has(#tab-store.active){--tab-scene:url('/brand/tab-backgrounds/club.webp');--tab-tint:#251a0b}
/* One static image follows the scroll viewport, without animation or blur. */
#home-screen .home-content::before{
 content:'';display:block;position:sticky;top:46px;
 height:calc(100svh - 46px);margin-bottom:calc(46px - 100svh);
 background-image:linear-gradient(#05101938,#05101918),var(--tab-scene);
 background-size:cover;background-position:center;background-repeat:no-repeat;
 pointer-events:none;z-index:-1;
}
#home-screen .tab-panel{position:relative;min-height:calc(100svh - 46px);box-sizing:border-box}
#home-screen #league-view,#home-screen #roster-view,#home-screen #club-view{
 background:rgba(7,22,27,.78);border:1px solid #a6c2ce35;border-radius:12px;padding:12px;
 box-shadow:0 4px 18px #0003;
}
#home-screen #tab-tactics>.tactics-title{color:#eef6ee;text-shadow:0 2px 4px #000}
#home-screen #tab-tactics .marking-options{background:rgba(7,22,27,.85);border:1px solid #a6c2ce35;border-radius:12px;padding:10px}
#home-screen .lg-title,#home-screen .club-section-title,#home-screen .roster-section-title{color:#e5f3e8}
#home-screen .lg-table th{color:#c5d7df}
#home-screen .lg-table td{border-top-color:#9bb8c13b}
