.card {
	background: var(--card);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow);
	margin-top: 15px;
  width:100%;
}

.card-header {
	color: var(--panel);
	background: var(--card);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow);
  display:flex;
}

.card-header div{
	width: 50%;
}

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 12px;
	margin-top: 10px;
}

.label {
	color: var(--muted);
	font-size: 12px;
}

.value {
	font-size: 14px;
	font-weight: 500;
}

.chart-labels {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: var(--muted);
	margin-top: 6px;
}

.season-item, .comp-item {
	padding: 10px;
	margin: 6px 0;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: var(--transition);
}

.season-item:hover, .comp-item:hover {
	background: rgba(59, 130, 246, 0.15);
}

.stats-table-wrapper {
	overflow-x: auto;
	width: 100%;
	max-height: 70vh;
	border-radius: 14px;
}

/*
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}*/
.stats-table {
	font-size: 13px;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 100%;
}


.stats-table th,
.stats-table td {
	padding: 8px;
	border-bottom: 1px solid #dee3ebe0;
	text-align: left;
}

.stats-table th:first-child,
.stats-table td:first-child {
	position: sticky;
	left: 0;
	background: white;
	min-width: 100px;
	width: 100px;
	z-index: 10;
	box-shadow: 4px 0 10px rgba(0, 0, 0, .08);
	overflow: visible;
}

.stats-table thead th {
	position: sticky;
	top: 0;
	background: white;
	z-index: 200;
}

.stats-table thead th:first-child {
	z-index: 300;
}

.page-intro {
  margin: 20px;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.7;
}

.opponent-cell.has-video {
	cursor: pointer;
}

.game-video-list {
	display: none;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #e5e7eb;
}

.opponent-cell.expanded .game-video-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.game-video-btn {
	border: none;
	background: var(--tab-bg);
	color: var(--text-muted);
	border-radius: 8px;
	padding: 6px 10px;
	text-align: left;
	cursor: pointer;
	font-size: 12px;
}

.game-video-btn:hover {
	background: var(--accent);
	color: white;
}

.accordion {
	margin-top: 10px;
}

.accordion .acc-item,
.acc-sub {
	margin-bottom: 10px;
}

.acc-header {
	padding: 12px;
	/*    background: #c2cddb;*/
	background: #c2cddb9c;
	border-radius: var(--radius-md);
	cursor: pointer;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.acc-sub-header {
	padding: 12px;
	background: #64768f17;
	border-radius: var(--radius-md);
	cursor: pointer;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.acc-body,
.acc-sub-body {
	display: none;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.acc-item.open>.acc-body,
.acc-sub.open>.acc-sub-body {
	display: block;
}
