/* Light sage charcoal, with motion in the stadium rather than the content. */
:root{--bg:#2d3d35}
body{background-color:#2d3d35}
.ambient{filter:none;background:radial-gradient(ellipse at 50% 90%,#92b18326,transparent 72%),linear-gradient(180deg,#2b3a33,#3b4e40 58%,#2e4139)}
.ambient::before{inset:-25%;background:conic-gradient(from 150deg at 10% 5%,transparent 0deg,#d3efd84a 8deg,transparent 21deg 360deg),conic-gradient(from 185deg at 90% 5%,transparent 0deg,#bce3d03d 9deg,transparent 23deg 360deg);animation:stadium-sweeping-lights 11s ease-in-out infinite alternate!important;transform-origin:50% 0}
.ambient::after{background:linear-gradient(115deg,transparent 33%,#ddf1dd1c 47%,transparent 60%);background-size:260% 100%;mask-image:none;inset:0;animation:stadium-light-wash 9s ease-in-out infinite!important;pointer-events:none}
.ambient>.pitch-board{top:67%;filter:none;opacity:.84;border-color:#bedfc856;background:repeating-linear-gradient(90deg,#a2bd8e1a 0 105px,#1d38281a 105px 210px);box-shadow:inset 0 0 80px #102a2222,0 0 60px #b2edc31a;animation:stadium-pitch-drift 15s ease-in-out infinite alternate!important}
.ambient>.pitch-board::before{background:linear-gradient(90deg,transparent calc(50% - 1px),#d3efcf66 50%,transparent calc(50% + 1px)),radial-gradient(circle at 50% 50%,transparent 0 99px,#d3efcf55 100px 102px,transparent 103px),radial-gradient(circle at 50% 50%,#e3f5dbb0 0 3px,transparent 4px)}
.ambient>.pitch-board::after{background:linear-gradient(105deg,transparent 28%,#e5f6d63d 49%,transparent 67%);background-size:240% 100%;animation-duration:7s!important}
.ambient .penalty-box{border-color:#d3efcf4a}.ambient .goal-box{border-color:#d3efcf66}
.ambient>.stadium-rim{filter:none;border-top-color:#c1dec54d;animation-duration:5.5s!important}.ambient>.floodlight{filter:none;box-shadow:0 0 35px #d9f7db40;animation-duration:6s!important}
@keyframes stadium-sweeping-lights{from{transform:rotate(-13deg) scale(1.02);opacity:.48}to{transform:rotate(13deg) scale(1.12);opacity:.92}}
@keyframes stadium-light-wash{0%,100%{background-position:155% 0;opacity:.25}50%{background-position:-55% 0;opacity:.8}}
@keyframes stadium-pitch-drift{from{transform:translate(-52%,-51%) perspective(1050px) rotateX(59deg) rotateZ(-10deg) scale(1.02)}to{transform:translate(-48%,-47%) perspective(1050px) rotateX(54deg) rotateZ(3deg) scale(1.07)}}
/* Keep the football cursor through nested navigation labels and hover rules. */
@media(hover:hover) and (pointer:fine){
  html body,html body :is(a,button,summary,label,select,[role="button"],[role="tab"]),html body :is(a,button,summary,label,select,[role="button"],[role="tab"]) *{cursor:url('/assets/football-cursor.svg') 3 2,pointer!important}
  html body input:is([type="text"],[type="password"],[type="email"],[type="url"],[type="search"],[type="number"],[type="tel"],:not([type])),html body textarea,html body [contenteditable="true"]{cursor:text!important}
  html body input:is([type="checkbox"],[type="radio"]){cursor:url('/assets/football-cursor.svg') 3 2,pointer!important}
  html body :is(button,select,input):disabled,html body :is(button,select,input):disabled *{cursor:not-allowed!important}
}
@media(max-width:700px){.ambient>.pitch-board{top:65%;opacity:.72;animation-duration:19s!important}.ambient::before{animation-duration:15s!important}.ambient::after{opacity:.35}.ambient>.stadium-rim{opacity:.35}}
@media(prefers-reduced-motion:reduce){.ambient::before,.ambient::after,.ambient>.pitch-board,.ambient>.pitch-board::after,.ambient>.stadium-rim,.ambient>.floodlight{animation:none!important}.ambient>.pitch-board{transform:translate(-50%,-50%) perspective(1050px) rotateX(56deg) rotateZ(-4deg)}}
/* Let the real roster fill the standings-aligned panel instead of leaving a gap. */
.ranking-dock .top-players-list{display:flex;flex-direction:column;min-height:100%;box-sizing:border-box;padding:0 10px;margin:0}
.ranking-dock .top-players-list>li{display:flex;flex:1 0 68px;min-height:68px}
.ranking-dock .top-player-row{flex:1;min-width:0;min-height:68px;grid-template-columns:22px 40px minmax(0,1fr) 50px;gap:9px;padding:10px 4px;box-sizing:border-box}
.ranking-dock .top-player-avatar{width:40px;height:40px;border-radius:10px;font-size:.76rem}
.ranking-dock .top-player-copy{gap:6px}.ranking-dock .top-player-copy strong{font-size:.86rem;line-height:1.25}.ranking-dock .top-player-copy small{font-size:.69rem;line-height:1.35}
.ranking-dock .top-player-place{font-size:.72rem}.ranking-dock .top-player-overall{width:48px;height:48px}.ranking-dock .top-player-overall b{font-size:1.6rem}.ranking-dock .top-player-overall small{font-size:.42rem}
