:root{--bg:#f6f7fb;--card:#ffffff;--muted:#666;--accent:#2b6ef6;--chip:#f3f4f8}
body{font-family:Inter,system-ui,Arial,Helvetica,sans-serif;margin:0;background:var(--bg);color:#111}
.main{max-width:1600px;margin:20px auto;padding:16px}
/* topbar */
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:18px 20px;border-radius:12px;background:linear-gradient(180deg,#ffffff,#fbfdff);box-shadow:0 6px 20px rgba(14,20,40,0.04);border:1px solid #eef4ff}
.title-wrap{display:flex;align-items:center;gap:18px}
.title-wrap h1{margin:0;font-size:56px;color:#081123}
.subtitle{margin:6px 0 0 0;font-size:13px;color:#6b7280}

/* Brand / header styles */
.brand{display:flex;align-items:center;gap:12px}
.brand-icon{flex:0 0 auto;border-radius:14px;box-shadow:0 12px 40px rgba(14,20,40,0.12), 0 0 30px rgba(59,130,246,0.06);width:96px;height:96px}
.brand-name{font-size:56px;margin:0;font-weight:900;letter-spacing:0.6px;background:linear-gradient(90deg,#06b6d4,#3b82f6);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 1px 0 rgba(255,255,255,0.2)}
.brand-abbr{font-size:18px;font-weight:800;color:#fff;margin-left:12px;padding:6px 10px;border-radius:10px;background:linear-gradient(90deg,#3b82f6,#06b6d4);box-shadow:0 6px 18px rgba(59,130,246,0.08)}
.subtitle{margin:6px 0 0;color:#51606b;font-size:13px}

/* colorful accent bar on the left of brand */
.brand::before{content:'';display:block;width:8px;height:72px;border-radius:8px;background:linear-gradient(180deg,#06b6d4,#3b82f6);margin-right:12px;box-shadow:0 6px 18px rgba(59,130,246,0.08)}

/* subtle topbar tint */
.topbar{background:linear-gradient(180deg,#ffffff,#fbfdff);border:1px solid rgba(59,130,246,0.06)}

@media (max-width:1400px){
	.brand-name{font-size:44px}
	.brand-icon{width:88px;height:88px}
}

@media (max-width:900px){
	.title-wrap h1{font-size:28px}
	.brand-icon{width:56px;height:56px}
}

@media (max-width:420px){
	.title-wrap{gap:10px}
	.title-wrap h1{font-size:18px}
	.brand-icon{width:40px;height:40px}
	.subtitle{display:none}
}
.actions{display:flex;align-items:center;gap:10px}
.btn{background:var(--accent);color:#fff;border:none;padding:8px 12px;border-radius:8px;cursor:pointer;font-weight:600}
.btn:hover{filter:brightness(0.95)}
.last-updated{font-size:13px;color:var(--muted)}

/* grid layout */
.grid{display:grid;grid-template-columns:3fr 1fr;gap:16px}
.col-left{min-width:0}
.col-right{min-width:0}

.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.server-controls{display:flex;gap:8px;align-items:center}
.search{border:1px solid #e8eefc;padding:6px 8px;border-radius:8px;background:#fff;min-width:140px}
.sort-select{border:1px solid #e8eefc;padding:6px 8px;border-radius:8px;background:#fff;font-weight:600}
.sort-select:focus,.search:focus{outline:2px solid rgba(43,110,246,0.12)}
.btn.small{padding:6px 8px;font-size:13px;border-radius:6px}
.muted{color:var(--muted);font-weight:500;font-size:13px}

section.box{background:var(--card);border-radius:10px;padding:12px;margin-bottom:14px;box-shadow:0 4px 12px rgba(20,24,40,0.04)}
.item{padding:12px;border-bottom:1px solid #f4f6fb}
.item:last-child{border-bottom:none}
title{font-weight:600}
.item .title{font-weight:600}
.item .meta{font-size:13px;color:#666;margin-top:4px}
.players{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.player{background:var(--chip);padding:6px 10px;border-radius:999px;font-size:13px;display:flex;gap:8px;align-items:center;box-shadow:0 1px 0 rgba(0,0,0,0.02)}
.player .plap{color:#333;font-variant-numeric:tabular-nums}
/* server preview image on left */
/* constrain server list height for large screens */
.col-left .list{max-height:none;overflow:visible;padding-right:6px}
/* Grid view similar to YouTube: thumbnails on top, meta underneath */
.col-left .list.grid-view{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;padding:12px}

@media (min-width:1400px){
	.col-left .list.grid-view{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));}
	.col-left .list.grid-view .server-card .track-preview{height:200px}
}

.col-left .list.grid-view .server-card{flex-direction:column;padding:0;border-radius:10px;overflow:hidden;background:transparent}
.col-left .list.grid-view .server-card .track-preview{width:100%;height:180px;flex:0 0 auto;order:0;border-radius:8px 8px 0 0;object-fit:cover}
.col-left .list.grid-view .server-card .server-header{padding:16px 18px;background:transparent}
.col-left .list.grid-view .server-card .server-header .server-link{font-size:20px;line-height:1.2;margin-bottom:8px;display:block}
.col-left .list.grid-view .server-card .server-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;color:var(--muted);font-size:13px;margin-top:6px}
.col-left .list.grid-view .server-card .meta-row{display:flex;justify-content:space-between;align-items:center}
.col-left .list.grid-view .server-card .meta-label{color:var(--muted);margin-right:8px}
.col-left .list.grid-view .server-card .players-wrap{display:block;margin-top:14px}
.col-left .list.grid-view .server-card .player{border-radius:6px;padding:8px 10px;background:transparent;display:block}
.col-left .list.grid-view .server-card .server-stats{align-items:flex-start;min-width:0;padding:12px}

.col-left .list.grid-view .server-card .section-divider{height:1px;background:#eef2f7;margin:12px 0;border-radius:2px}
.col-left .list.grid-view .server-card .disconnected-table{width:100%;border-collapse:collapse;margin-top:8px}
.col-left .list.grid-view .server-card .disconnected-table th{background:#f4f6fb;color:var(--muted);text-align:left;padding:10px 12px;font-weight:700;font-size:13px}
.col-left .list.grid-view .server-card .disconnected-table td{padding:10px 12px;border-top:1px solid #f4f6fb;color:#222}
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(1){width:36px}
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(3),.col-left .list.grid-view .server-card .disconnected-table th:nth-child(3){text-align:right}
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(4),.col-left .list.grid-view .server-card .disconnected-table th:nth-child(4){text-align:left}

/* Connected table shares styles with disconnected table */
.col-left .list.grid-view .server-card .connected-table{width:100%;border-collapse:collapse;margin-top:6px}
.col-left .list.grid-view .server-card .connected-table th{background:#f4f6fb;color:var(--muted);text-align:left;padding:10px 12px;font-weight:700;font-size:13px}
.col-left .list.grid-view .server-card .connected-table td{padding:8px 12px;border-top:1px solid #f4f6fb;color:#222}
.col-left .list.grid-view .server-card .connected-title{font-weight:700;margin-bottom:8px}
.col-left .list.grid-view .server-card .disconnected-title{font-weight:700;margin-bottom:8px}
.col-left .list.grid-view .server-card .no-online{color:var(--muted);padding:8px 0;font-size:13px}
.col-left .list.grid-view .server-card .players-table{
	width:100%;
	border-collapse:collapse;
	margin-top:6px;
	table-layout:fixed;
}
.col-left .list.grid-view .server-card .players-table th{
	background:#f4f6fb;
	color:var(--muted);
	text-align:left;
	padding:6px 8px;
	font-weight:700;
	font-size:13px;
	white-space:nowrap;
}
.col-left .list.grid-view .server-card .players-table td{
	padding:6px 8px;
	border-top:1px solid #f4f6fb;
	color:#222;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
/* fixed column widths: idx, name, lap, car */
.col-left .list.grid-view .server-card .players-table td:nth-child(1),
.col-left .list.grid-view .server-card .players-table th:nth-child(1){ width:36px; text-align:center; }
.col-left .list.grid-view .server-card .players-table td:nth-child(2),
.col-left .list.grid-view .server-card .players-table th:nth-child(2){ width:110px; }
.col-left .list.grid-view .server-card .players-table td:nth-child(3),
.col-left .list.grid-view .server-card .players-table th:nth-child(3){ width:92px; text-align:right; }
.col-left .list.grid-view .server-card .players-table td:nth-child(4),
.col-left .list.grid-view .server-card .players-table th:nth-child(4){ width:120px; }
.col-left .list.grid-view .server-card .driver-name{vertical-align:middle;display:inline-block;max-width:calc(110px - 8px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.server-card .player .pcar{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
.col-left .list.grid-view .server-card .no-players{color:var(--muted);padding:6px 0;font-size:13px}

/* Fixed column widths for uniform cards (narrower name column) */
.col-left .list.grid-view .server-card .players-table{table-layout:fixed}
.col-left .list.grid-view .server-card .players-table th:nth-child(1),.col-left .list.grid-view .server-card .players-table td:nth-child(1){width:22px;text-align:center}
.col-left .list.grid-view .server-card .players-table th:nth-child(2),.col-left .list.grid-view .server-card .players-table td:nth-child(2){width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:4px}
.col-left .list.grid-view .server-card .players-table th:nth-child(3),.col-left .list.grid-view .server-card .players-table td:nth-child(3){width:56px;text-align:right}
.col-left .list.grid-view .server-card .players-table th:nth-child(4),.col-left .list.grid-view .server-card .players-table td:nth-child(4){width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.col-left .list.grid-view .server-card .players-table td .driver-name{display:inline-block;max-width:calc(72px - 8px);vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* small time badge overlay at bottom-right of thumbnail (placeholder) */
.col-left .list.grid-view .server-card .track-preview{position:relative}
.col-left .list.grid-view .server-card .track-preview::after{content:'';position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,0.7);color:#fff;padding:4px 6px;border-radius:6px;font-size:12px}

/* thumb wrapper and badge used by JS */
.thumb-wrap{position:relative;display:block}
.thumb-wrap .track-preview{display:block;width:100%;height:auto}
.thumb-badge{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,0.75);color:#fff;padding:4px 6px;border-radius:6px;font-size:12px}

/* lock icon near title */
.lock-icon{display:inline-block;margin-right:8px;color:var(--muted);font-size:14px;vertical-align:middle}

/* small lock badge on thumbnail (top-left) */
.thumb-lock-badge{position:absolute;left:8px;top:8px;background:rgba(0,0,0,0.75);color:#fff;padding:4px 6px;border-radius:6px;font-size:12px;z-index:5;pointer-events:none}

/* responsive: smaller columns on narrow screens */
@media (max-width:1000px){ .col-left .list.grid-view{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));} }
@media (max-width:720px){
	.col-left .list.grid-view{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));}
	.col-left .list.grid-view .server-card .track-preview{height:110px}
	.server-card .player{grid-template-columns:1fr 140px 64px;font-size:12px}
}
@media (max-width:480px){
  .col-left .list.grid-view{grid-template-columns:1fr;gap:12px;padding:8px}
  main{padding:12px}
}
.server-card{display:flex;align-items:flex-start;gap:16px;padding:14px;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(20,24,40,0.04);transition:box-shadow 180ms ease,transform 180ms ease;margin-bottom:14px}
.server-card:hover{box-shadow:0 14px 36px rgba(14,20,40,0.08);transform:translateY(-2px)}

/* Taller thumbnail on left (portrait style like screenshot) */
.server-card .track-preview{flex:0 0 140px;width:140px;height:200px;object-fit:cover;border-radius:8px;background:#f4f6fb;order:-1;box-shadow:0 6px 18px rgba(20,24,40,0.04)}

/* Ensure grid-view card thumbnails fill the card width (override general left-list rule) */
.col-left .list.grid-view .server-card .track-preview{flex:0 0 auto;width:100%;height:180px;order:0;border-radius:8px 8px 0 0;object-fit:cover}
.server-card .server-header{flex:1;display:flex;flex-direction:column;gap:8px;padding-top:2px}
.server-card .server-header-top{display:flex;align-items:center;gap:10px}
.server-card .server-link{font-size:15px;line-height:1.25;color:#0f1724;font-weight:700}
.server-card .server-link{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
.server-card .server-meta{color:var(--muted);font-size:13px}
.server-card a { color: inherit; text-decoration: none; }
.thumb-link { display: block; }
.thumb-link img { display:block; width:100%; height:auto; }
.server-meta { color: #666; font-size: 13px; margin-bottom: 8px; min-height: 48px; }
.server-meta .meta-top { display:flex; flex-wrap:wrap; gap:12px; }
.server-meta .meta-item { display:flex; flex-direction:column; min-width:0; flex: 1 1 48%; }
.server-meta .meta-label { color: #666; font-size: 12px; margin-bottom:4px; }
.server-meta .meta-map,
.server-meta .meta-layout { font-weight: 600; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server-meta .meta-map { max-width: 100%; }
.server-meta .meta-layout { max-width: 100%; }
.server-meta .meta-bottom { margin-top:6px; color:#666; font-size:13px; }
.server-card .players-wrap{margin-top:8px;display:flex;flex-direction:column;gap:8px}
.server-card .flag{width:34px;height:22px;margin-right:8px}

/* Player chips styled as vertical pills */
.server-card .players-wrap .connected-list,.server-card .players-wrap .disconnected-list{display:flex;flex-direction:column;gap:6px}
.server-card .player{background:#f7f9fc;padding:8px 12px;border-radius:8px;font-size:13px;display:grid;grid-template-columns:1fr 180px 72px;align-items:center;gap:12px;box-shadow:none}
.server-card .player.disconnected{background:transparent;padding:6px 0;border-radius:0}
.server-card .player .pname{font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.server-card .player .pcar{color:var(--muted);font-size:12px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.server-card .player .plap{color:#666;font-size:12px;text-align:right}

/* Right column actions/stats */
.server-card .server-stats{display:flex;flex-direction:column;gap:10px;align-items:flex-end;min-width:120px}
.server-card .server-stats .clients{font-weight:800;color:var(--accent);font-size:14px}

/* spacing adjustments so large list looks airy like screenshot */
.col-left .list .server-card{margin-bottom:16px}

/* Make scrollbar slimmer to match screenshot */
.col-left .list::-webkit-scrollbar{width:10px}
.col-left .list::-webkit-scrollbar-thumb{background:#e6edf9;border-radius:10px}

/* Make sure existing item rules don't conflict */
.item.server{display:block}

/* truncate long titles */
.item .title{display:flex;align-items:center;gap:10px}
.item .title span{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.server-link{color:inherit;text-decoration:none;font-weight:600}
.server-link:hover{text-decoration:underline}

/* modal */
.modal{display:none;position:fixed;inset:0;z-index:1200;align-items:center;justify-content:center}
.modal[aria-hidden="false"]{display:flex}
.modal-backdrop{position:absolute;inset:0;background:rgba(10,14,30,0.45)}
.modal-box{position:relative;background:var(--card);border-radius:10px;padding:18px;max-width:520px;width:92%;box-shadow:0 12px 30px rgba(14,20,40,0.12);z-index:2}
.modal-box h3{margin:0 0 8px 0}
.modal-box p{margin:0 0 12px 0;color:var(--muted)}
.modal-actions{display:flex;gap:8px;justify-content:flex-end}
.modal .btn{background:var(--accent);color:#fff}
.modal .btn.small{background:transparent;color:var(--accent);border:1px solid #e6eefc}

.track-info{font-size:13px;color:var(--muted);margin-top:6px;white-space:normal;word-break:break-word}
.track-info .addr{white-space:nowrap;font-family:monospace;color:var(--muted);margin-left:8px}

/* players: collapsed by default with scroll; expanded shows full list */
.players{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;max-height:120px;overflow:auto}
.players.expanded{max-height:none}
.player.small{font-size:12px;padding:4px 8px}
.show-more{display:inline-block;margin-top:8px;background:transparent;border:1px solid #e6eefc;color:var(--accent);padding:6px 8px;border-radius:6px;cursor:pointer;font-size:13px}

/* server stats column */
.server-stats{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.server-stats .clients{font-weight:700;color:var(--accent)}
.champ-link{color:inherit;text-decoration:none}
.champ-link::after{content:" ↗";font-size:12px;color:#666;margin-left:6px}

/* flag icon next to server title */
.flag{width:34px;height:22px;object-fit:cover;margin-right:8px;border-radius:4px;vertical-align:middle}
/* championship standings */
.champ-standings{margin-top:10px}
.champ-list{list-style:decimal;padding-left:20px;margin:6px 0}
.champ-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #f8f9fb}
.champ-left{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}
.champ-rank{color:#666;flex:0 0 auto;margin-right:6px}
.champ-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1 1 auto}
.champ-model{color:#888;font-weight:400;margin-left:6px;flex:0 0 auto;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.champ-points{color:var(--muted);font-size:13px;flex:0 0 56px;text-align:right}

/* table style for championship standings */
.champ-table{width:100%;border-collapse:collapse;margin-top:8px}
.champ-table th,.champ-table td{padding:6px 8px;font-size:13px;text-align:left;border-bottom:1px solid #f6f8fa}
.champ-table th:nth-child(1),.champ-table td:nth-child(1){width:30px}
.champ-table th:nth-child(3),.champ-table td:nth-child(3){width:64px;text-align:right;color:var(--muted)}
.champ-table td:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.champ-table td:nth-child(4){max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#888}

/* responsive adjustments */
@media (max-width:720px){
 	item.server{flex-direction:column}
 	item.server .preview{order:0;width:100%;height:auto;flex:0 0 auto}
 	item .title span{max-width:100%}
 	grid{grid-template-columns:1fr}
 	col-left .list{max-height:none}
 	}

/* disconnected players styling */
.players.disconnected{margin-top:10px;border-top:1px dashed #f1f4fb;padding-top:10px}
.players.disconnected .disconnected-title{font-size:13px;color:var(--muted);margin-bottom:8px}
.players.disconnected .player{background:transparent;padding:6px 0;border-radius:0;box-shadow:none}
.players.disconnected .player .pname{color:#444}

/* Override table styles to force fixed column widths and no wrapping (clip without ellipsis) */
.col-left .list.grid-view .server-card .connected-table,
.col-left .list.grid-view .server-card .disconnected-table,
.col-left .list.grid-view .server-card .players-table {
	table-layout: fixed !important;
	width: 100% !important;
	border-collapse: collapse; /* remove inter-cell gaps */
}
.col-left .list.grid-view .server-card .connected-table th,
.col-left .list.grid-view .server-card .disconnected-table th,
.col-left .list.grid-view .server-card .players-table th {
	white-space: nowrap;
	padding: 6px 8px;
}
.col-left .list.grid-view .server-card .connected-table td,
.col-left .list.grid-view .server-card .disconnected-table td,
.col-left .list.grid-view .server-card .players-table td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip; /* clip content without ellipsis */
	padding: 4px 6px; /* reduce horizontal padding globally */
}

/* ensure cells include padding in width calculations */
.col-left .list.grid-view .server-card .connected-table th,
.col-left .list.grid-view .server-card .disconnected-table th,
.col-left .list.grid-view .server-card .players-table th,
.col-left .list.grid-view .server-card .connected-table td,
.col-left .list.grid-view .server-card .disconnected-table td,
.col-left .list.grid-view .server-card .players-table td {
	box-sizing: border-box;
}

/* explicit header widths to lock column positions: index, name, lap, car */
.col-left .list.grid-view .server-card .connected-table th:nth-child(1),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(1),
.col-left .list.grid-view .server-card .players-table th:nth-child(1) { width: 24px; }
.col-left .list.grid-view .server-card .connected-table th:nth-child(2),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(2),
.col-left .list.grid-view .server-card .players-table th:nth-child(2) { width: 160px; }
.col-left .list.grid-view .server-card .connected-table th:nth-child(3),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(3),
.col-left .list.grid-view .server-card .players-table th:nth-child(3) { width: 92px; text-align: right; }
.col-left .list.grid-view .server-card .connected-table th:nth-child(4),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(4),
.col-left .list.grid-view .server-card .players-table th:nth-child(4) { width: 160px; }

/* mark todo completed */

/* tighten spacing between name (col 2) and lap (col 3) */
.col-left .list.grid-view .server-card .connected-table td:nth-child(2),
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(2),
.col-left .list.grid-view .server-card .players-table td:nth-child(2) {
	padding-right: 4px;
}
.col-left .list.grid-view .server-card .connected-table td:nth-child(3),
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(3),
.col-left .list.grid-view .server-card .players-table td:nth-child(3) {
	padding-left: 4px;
}

/* ensure header cells match tightened spacing */
.col-left .list.grid-view .server-card .connected-table th:nth-child(2),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(2),
.col-left .list.grid-view .server-card .players-table th:nth-child(2) { padding-right:4px; }
.col-left .list.grid-view .server-card .connected-table th:nth-child(3),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(3),
.col-left .list.grid-view .server-card .players-table th:nth-child(3) { padding-left:4px; }
/* explicit column widths: index, name, lap, car */
.col-left .list.grid-view .server-card .connected-table td:nth-child(1),
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(1),
.col-left .list.grid-view .server-card .players-table td:nth-child(1) { width: 1px; padding: 0 6px; text-align: center; }

/* match header cell width for index column (allow content-size) */
.col-left .list.grid-view .server-card .connected-table th:nth-child(1),
.col-left .list.grid-view .server-card .disconnected-table th:nth-child(1),
.col-left .list.grid-view .server-card .players-table th:nth-child(1) { width: 1px; padding: 6px 6px; text-align: center; }
.col-left .list.grid-view .server-card .connected-table td:nth-child(2),
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(2),
.col-left .list.grid-view .server-card .players-table td:nth-child(2) { width: 160px; }
.col-left .list.grid-view .server-card .connected-table td:nth-child(3),
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(3),
.col-left .list.grid-view .server-card .players-table td:nth-child(3) { width: 92px; text-align: right; }
.col-left .list.grid-view .server-card .connected-table td:nth-child(4),
.col-left .list.grid-view .server-card .disconnected-table td:nth-child(4),
.col-left .list.grid-view .server-card .players-table td:nth-child(4) { width: 160px; }

/* driver name clipping rule removed per user request */

/* Final overrides removed — allowing earlier rules to take effect */

/* Narrow players-table name column and clip overflow (no ellipsis) */
.col-left .list.grid-view .server-card .players-table th:nth-child(1),
.col-left .list.grid-view .server-card .players-table td:nth-child(1) {
	width: 36px;
	text-align: center;
}
.col-left .list.grid-view .server-card .players-table th:nth-child(2),
.col-left .list.grid-view .server-card .players-table td:nth-child(2) {
	width: 90px;
	max-width: 90px;
	padding-right: 4px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: clip;
}
.col-left .list.grid-view .server-card .players-table th:nth-child(3),
.col-left .list.grid-view .server-card .players-table td:nth-child(3) {
	width: 92px;
	text-align: right;
	padding-left: 4px;
}
.col-left .list.grid-view .server-card .players-table th:nth-child(4),
.col-left .list.grid-view .server-card .players-table td:nth-child(4) {
	width: 120px;
	max-width: 120px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: clip;
}
.col-left .list.grid-view .server-card .driver-name {
	display: inline-block;
	max-width: calc(90px - 8px);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: clip;
}
