/* Typing Racer standings (racer-standings.php, js/racer/standings.js): dark in every theme, like My Garage and the Race Pass. */

/* the page: dark under the site menu, and the menu and footer take its colours (as body#myGarage in my-garage.php) */
body#racerStandingsPage{min-width:0; background:#0b0d12; --bg-mainMenu:#0d1016; --sto-logo:url(/images/STO_logo_wText_dark.svg?3); --text-topNav:#d9e6ee; --boxShadow-navMenu:0 2px 18px rgba(0,0,0,.8);
	--bg-menu:#171b24; --text-menu:#d9e6ee; --bg-footer:#0b0d12; --text-footer:#8f9bb0;
	--bg-profileMenu:#171b24; --border-menuUL:1px solid #2c3242; --border-hrMenu:1px solid #2c3242;
	--nm-bg:#171b24; --nm-ink:#d9e6ee; --nm-line:#2f5266; --nm-hover:rgba(63,208,255,.12); --nm-current:rgba(63,208,255,.16);
	--nm-tile:rgba(255,255,255,.05); --nm-muted:#8f9bb0; --nm-shadow:0 24px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(63,208,255,.12);}
body#racerStandingsPage #main-header{border-bottom:1px solid #000; box-shadow:0 1px 0 rgba(63,208,255,.35), 0 6px 22px rgba(0,0,0,.75);}
body#racerStandingsPage footer, body#racerStandingsPage footer.microFooter{background:#0b0d12; border-top:1px solid #1f2430; color:#8f9bb0;}
body#racerStandingsPage footer a, body#racerStandingsPage footer a:visited{color:#9fb3c8;}
body#racerStandingsPage #settings-button .hamburger-line{background-color:#d9e6ee;}
body#racerStandingsPage #main-header .um-go, body#racerStandingsPage #main-header .um-go .material-icons{color:#d9e6ee;}

#racerStandings{
	--st-card:#171c28; --st-card2:#1f2534; --st-line:#2c3446; --st-text:#e8ecf5; --st-mute:#97a1b8; --st-gold:#ffd866; --st-cyan:#7fe0ff;
	max-width:1100px; margin:62px auto 30px; padding:16px 20px 20px; box-sizing:border-box; border-radius:14px;
	background:radial-gradient(120% 70% at 10% 0%, #1f2840 0%, #11141b 55%); color:var(--st-text); font-family:'Open Sans', sans-serif; text-align:left;
}
#racerStandings *{box-sizing:border-box;}
#racerStandings a{color:var(--st-cyan);}
#racerStandings h2{margin:0 0 10px; padding:0; border:0; background:none; text-align:left; text-decoration:none; text-shadow:none;
	font:400 19px/1.2 'Russo One', 'Open Sans', sans-serif; color:#fff; letter-spacing:.01em;}
#racerStandings section{margin:16px 0 0;}

/* ---- the head ---- */
.stHead{display:flex; align-items:center; gap:14px 22px; flex-wrap:wrap;}
.stTitle h1{margin:0; padding:0; border:0; background:none; text-shadow:none; font:400 30px/1.1 'Russo One', 'Open Sans', sans-serif; color:#fff; text-align:left;}
.stTitle h1 .fa{color:var(--st-gold); margin-right:4px;}
.stKick{display:flex; gap:12px; margin:0 0 3px; font-size:13px; font-weight:700; color:var(--st-mute); text-transform:uppercase; letter-spacing:.06em;}
.stKick span:first-child{color:var(--st-gold);}
.stActs{display:flex; gap:8px; flex-wrap:wrap; margin-left:auto;}
.stBtn{display:inline-flex; align-items:center; gap:7px; height:38px; margin:0; padding:0 15px; border-radius:30px; border:1px solid #3fd0ff66; background:rgba(12,13,18,.82);
	font:400 14px/1 'Russo One', 'Open Sans', sans-serif; white-space:nowrap; text-decoration:none;}
#racerStandings a.stBtn{color:var(--st-cyan);}
.stBtn:hover{filter:brightness(1.18); text-decoration:none;}
/* the Race Pass pill: gold, as in the garage (my-garage.php .gxPassBtn; owner, 2026-11-25) */
.stBtn.stPass{border-color:#ffc83d88; box-shadow:0 0 14px rgba(255,200,61,.14);}
#racerStandings a.stBtn.stPass, #racerStandings a.stBtn.stPass:visited{color:#ffd866;}
#racerStandings a.stBtn.stPass:hover{background:#ffc83d; color:#3a2a00; filter:none;}
.stBtn:focus-visible, .stPick select:focus-visible{outline:3px solid #fff; outline-offset:2px;}
/* the Music and Effects switches (js/racer/audio.js), round, as the lobby's: lit when on */
/* (the one Sound button: css/racer-sound.css, the same on every racer page) */
#racerStandings a.stGo{background:linear-gradient(#3fd0ff, #079fd4); border-color:#3fd0ff; color:#022c3d; box-shadow:0 3px 0 #04607f;}

.stNote{margin:0; padding:12px 16px; border-radius:10px; background:#10202a; border:1px solid #2f6075; color:#bfe6f5; font-size:14px; text-align:left;}
.stConsent{margin:0 0 8px; background:#2a230c; border-color:#a8861f; color:#ffe7a6;}
#racerStandings .stConsent a{color:#ffd866; font-weight:700; white-space:nowrap;}
.stWarn{margin-top:14px; background:#2a1a0c; border-color:#a8641f; color:#ffd9a8;}

/* ---- your season ---- */
.stTiles{display:grid; grid-template-columns:repeat(auto-fit, minmax(128px, 1fr)); gap:8px;}
.stTile{display:flex; flex-direction:column; gap:4px; margin:0; padding:11px 14px; border-radius:10px; background:var(--st-card); border:1px solid var(--st-line);}
.stTile b{display:flex; align-items:center; gap:6px; font:400 22px/1.1 'Russo One', 'Open Sans', sans-serif; color:#fff; white-space:nowrap;}
.stTile b img{width:20px; height:20px; margin:0;}
.stTile span{font-size:12px; font-weight:700; color:var(--st-mute); text-transform:uppercase; letter-spacing:.05em;}
.stTile.stRank{border-color:#ffd86688; background:linear-gradient(160deg, #3a2a00, #1c1a12);}
.stTile.stRank b{color:var(--st-gold);}
.stTile.stPay b{color:#ffe7a6;}
.stTile.stRP b{color:#d3d9ff;}			/* Race Points: the race page's blue (css/_u_trg.css #userRpBank) */
.stCoin{width:16px; height:16px; margin:0 4px 0 0 !important; vertical-align:-3px;}
.stTile .stCoin{width:20px; height:20px;}

/* ---- season news ---- */
.stNews{padding:12px 16px; border-radius:10px; background:linear-gradient(90deg, #2a1f4a, #1b1d2e); border:1px solid #6b4fd166;}
.stNews.stSoon{background:linear-gradient(90deg, #0f2a33, #161d28); border-color:#3fd0ff55;}
#racerStandings .stNews h2{font-size:16px;}
.stNews h2 small{font:700 12px 'Open Sans', sans-serif; color:var(--st-mute); text-transform:uppercase; letter-spacing:.05em; margin-left:6px;}
.stNews ul{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px 18px; margin:0 0 8px; padding:0; list-style:none;}
.stNews li{margin:0; font-size:13.5px; color:#d6d9ea;}
.stNews li i{width:18px; color:var(--st-gold);}
.stNews li b{color:#fff; margin-right:4px;}
.stNews p{margin:0; font-size:13px; color:var(--st-mute);}

/* ---- the division board (css/racer-division.css) sits in the page's width */
#racerStandings .dvBoard{max-width:none; margin:16px 0 0; background:#171c28; border:1px solid var(--st-line);}

/* ---- the Hall of Speed ---- */
.stHallHead{display:flex; align-items:center; justify-content:space-between; gap:10px 16px; flex-wrap:wrap; margin:0 0 4px;}
#racerStandings .stHallHead h2{margin:0;}
.stPick{display:flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:700; color:var(--st-mute); text-transform:uppercase; letter-spacing:.05em;}
.stPick select{height:34px; margin:0; padding:0 10px; border-radius:8px; border:1px solid var(--st-line); background:var(--st-card2); color:#fff; font:600 14px 'Open Sans', sans-serif; text-transform:none; letter-spacing:0; cursor:pointer;}
.stHallNote{margin:0 0 10px; font-size:13px; color:var(--st-mute);}
.stTableWrap{overflow-x:auto; border-radius:10px; border:1px solid var(--st-line);}
.stTable{width:100%; margin:0; border-collapse:collapse; font-size:14px; background:var(--st-card);}
.stTable th{position:sticky; top:0; margin:0; padding:9px 12px; background:#202738; color:var(--st-mute); font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; text-align:left; white-space:nowrap; border:0;}
.stTable td{margin:0; padding:6px 12px; border:0; border-top:1px solid #232a3a; color:#d9dfeb; text-align:left; white-space:nowrap; vertical-align:middle; background:none;}
.stTable tbody tr:nth-child(even) td{background:rgba(255,255,255,.018);}
.stTable tbody tr:hover td{background:rgba(63,208,255,.06);}
.stTable small{color:var(--st-mute);}
.stN{width:46px; text-align:center !important;}
.stN span{display:inline-flex; align-items:center; justify-content:center; min-width:28px; height:28px; padding:0 4px; border-radius:8px; background:#252c3d; font-weight:800; color:#fff;}
.stTable tr.top1 .stN span{background:linear-gradient(#ffe48a, #e3a412); color:#3a2500;}
.stTable tr.top2 .stN span{background:linear-gradient(#f1f4f8, #a7b1bf); color:#1f2630;}
.stTable tr.top3 .stN span{background:linear-gradient(#f3b98a, #b86a2c); color:#2e1503;}
.stWho a{display:inline-flex; align-items:center; gap:9px; max-width:230px; color:#fff !important; font-weight:700; text-decoration:none;}
.stWho a:hover span{text-decoration:underline;}
.stWho a span{overflow:hidden; text-overflow:ellipsis;}
.stPic{flex:none; width:28px; height:28px; margin:0; border-radius:50%; object-fit:cover; background:#252c3d;}
.stCar img{display:block; width:auto; height:24px; max-width:72px; margin:0; object-fit:contain;}
.stPts{font-weight:800; color:#d3d9ff !important; white-space:nowrap;}
.stRew{color:#ffe7a6 !important;}
.stAgo{color:var(--st-mute) !important;}
.stTable tr.isMe td{background:rgba(255,200,61,.12) !important;}
.stTable tr.isMe .stWho a{color:var(--st-gold) !important;}

/* ---- points and coins ---- */
.stHow{padding:12px 16px; border-radius:10px; background:#151924; border:1px solid var(--st-line);}
#racerStandings .stHow h2{font-size:16px;}
.stHowGrid{display:grid; grid-template-columns:1fr 1fr; gap:10px 22px;}
.stHowGrid div{display:flex; gap:10px; align-items:flex-start; margin:0;}
.stHowGrid img{flex:none; width:26px; height:26px; margin:2px 0 0;}
.stHowGrid p{margin:0; font-size:13.5px; line-height:1.5; color:#c3cadb; text-align:left;}
.stHowGrid b{color:#fff;}

@media (max-width: 760px){
	#racerStandings{margin:56px 6px 20px; padding:12px 10px 14px;}
	.stActs{margin-left:0;}
	.stNews ul, .stHowGrid{grid-template-columns:1fr;}
	.stTable th, .stTable td{padding:6px 8px;}
}
