/* player-records.css */
.loading-progress {
	background-color: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	padding: 1.5rem 2rem;
	margin-bottom: 2rem;
}

.loading-progress-bar-container {
	width: 100%;
	height: 8px;
	background-color: var(--bg-tertiary);
	border-radius: 4px;
	overflow: hidden;
}

.loading-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--accent-color, #ff8300), #ff6b00);
	border-radius: 4px;
	transition: width 0.5s ease;
	width: 0%;
}

.loading-progress-text {
	display: flex;
	justify-content: space-between;
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.loading-progress-hint {
	margin-top: 0.5rem;
	font-size: 0.8rem;
	color: var(--text-secondary);
	opacity: 0.7;
	text-align: center;
}

/* Tabs - Centered */
.stats-tabs-container {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	border-bottom: 2px solid var(--border-color);
	padding-bottom: 0;
	flex-wrap: wrap;
}

.stats-tab {
	padding: 0.75rem 1.5rem;
	border: none;
	background: transparent;
	color: var(--text-secondary);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-speed, 0.3s);
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
}

.stats-tab:hover {
	color: var(--text-primary);
}

.stats-tab.active {
	color: var(--accent-color, #ff8300);
	border-bottom-color: var(--accent-color, #ff8300);
}

.stats-tab i {
	margin-right: 0.5rem;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
	animation: fadeIn 0.3s ease-out;
}

/* Global Statistics */
.global-stats-section {
	margin-bottom: 2.5rem;
}

.global-stats-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.global-stats-header h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
}

.global-stats-subtitle {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

/* Row 1: 3 columns */
.global-stats-grid-row1 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1.5rem;
}

/* Row 2: 4 columns */
.global-stats-grid-row2 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.global-stat-card {
	background-color: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	padding: 1.25rem;
	text-align: center;
	position: relative;
}

.global-stat-card:hover {
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.global-stat-icon {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: var(--accent-color, #ff8300);
}

.global-stat-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-primary);
}

.global-stat-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	flex-wrap: wrap;
}

.global-stat-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	cursor: pointer;
	font-size: 0.7rem;
	transition: color 0.2s ease;
	width: 18px;
	height: 18px;
}

.global-stat-info:hover {
	color: var(--accent-color, #ff8300);
}

.global-stat-info i {
	font-size: 0.8rem;
}

/* Global Charts */
.global-charts-section {
	margin-bottom: 2.5rem;
}

.global-charts-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.global-charts-header h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
}

.charts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.chart-container {
	background-color: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	padding: 1.25rem;
}

.chart-container h4 {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	text-align: center;
}

.chart-container canvas {
	width: 100% !important;
	height: auto !important;
	max-height: 200px;
}

/* Global Records Tables */
.global-records-tables {
	margin-top: 2rem;
}

.record-category-section {
	background-color: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	padding: 1.25rem;
	margin-bottom: 1.5rem;
}

.record-category-section h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.table-wrapper {
	overflow-x: auto;
}

.records-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.records-table thead {
	background-color: var(--bg-tertiary);
}

.records-table th {
	padding: 0.75rem 1rem;
	text-align: left;
	font-weight: 600;
	color: var(--text-secondary);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid var(--border-color);
}

.records-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-primary);
}

.records-table tbody tr:last-child td {
	border-bottom: none;
}

.records-table tbody tr:hover {
	background-color: var(--bg-tertiary);
}

.records-table .rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	border-radius: 50%;
	font-weight: 700;
	font-size: 0.8rem;
}

.rank-1 {
	background-color: #ffd700;
	color: #1a1a2e;
}

.rank-2 {
	background-color: #c0c0c0;
	color: #1a1a2e;
}

.rank-3 {
	background-color: #cd7f32;
	color: #1a1a2e;
}

.rank-other {
	background-color: var(--bg-tertiary);
	color: var(--text-secondary);
}

/* Action Buttons */
.action-buttons {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	align-items: center;
}

.action-btn {
	padding: 0.5rem 0.9rem;
	border: none;
	border-radius: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-speed, 0.3s);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	text-decoration: none;
	color: #fff;
	min-width: 36px;
	min-height: 36px;
	line-height: 1;
}

.action-btn i {
	font-size: 0.95rem;
}

.action-btn-proof {
	background-color: #3498db;
}

.action-btn-proof:hover {
	background-color: #2980b9;
}

.action-btn-profile {
	background-color: #6c5ce7;
}

.action-btn-profile:hover {
	background-color: #5a4bd1;
}

.action-btn-leaderboard {
	background-color: var(--accent-color, #ff8300);
}

.action-btn-leaderboard:hover {
	background-color: #e67a00;
}

.action-btn-full-leaderboard {
	background-color: #8e44ad;
}

.action-btn-full-leaderboard:hover {
	background-color: #7d3c98;
}

/* Mode Stats Header */
.mode-stats-header {
	text-align: center;
	margin-bottom: 2rem;
}

.mode-stats-header h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
}

.mode-stats-header h2 i {
	color: var(--accent-color, #ff8300);
}

.mode-stats-subtitle {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

/* Mode Content Grid */
.mode-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.mode-stat-card {
	background-color: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	overflow: hidden;
}

.mode-stat-card-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	background-color: var(--bg-tertiary);
	border-bottom: 1px solid var(--border-color);
}

.mode-stat-card-header i {
	color: var(--accent-color, #ff8300);
	font-size: 1.1rem;
	width: 1.5rem;
	text-align: center;
}

.mode-stat-card-header h3 {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-primary);
}

.mode-stat-card-body {
	padding: 1.25rem;
}

.mode-stat-card-body .records-table {
	font-size: 0.85rem;
}

.mode-stat-card-body .records-table th,
.mode-stat-card-body .records-table td {
	padding: 0.5rem 0.75rem;
}

.mode-stat-card-body .view-full-btn-container {
	text-align: center;
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border-color);
}

.view-full-btn {
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: 0.5rem;
	background: var(--accent-color, #ff8300);
	color: #fff;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all var(--transition-speed, 0.3s);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.view-full-btn:hover {
	box-shadow: 0 4px 15px rgba(255, 131, 0, 0.3);
}

/* PvE Toggle Button */
.pve-toggle-btn {
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: 0.5rem;
	color: #fff;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all var(--transition-speed, 0.3s);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.pve-toggle-btn:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Proof Modal */
.proof-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(8px);
	animation: fadeIn 0.3s ease-out;
}

.proof-modal-content {
	background: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	max-width: 90vw;
	max-height: 90vh;
	padding: 1.5rem;
	position: relative;
	animation: scaleIn 0.3s ease-out;
}

.proof-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: rgba(0, 0, 0, 0.5);
	border: none;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 1;
}

.proof-modal-close:hover {
	background: rgba(255, 0, 0, 0.6);
	transform: scale(1.1);
}

.proof-modal-image {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 0.5rem;
	display: block;
}

.proof-modal-info {
	padding: 0.75rem 0 0 0;
	color: var(--text-secondary);
	font-size: 0.85rem;
	text-align: center;
}

.proof-modal-info strong {
	color: var(--text-primary);
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* No Data */
.no-data {
	text-align: center;
	color: var(--text-secondary);
	padding: 2rem !important;
}

/* Loading State */
.loading-state {
	text-align: center;
	padding: 3rem 2rem;
	color: var(--text-secondary);
}

.spinner {
	display: inline-block;
	width: 48px;
	height: 48px;
	border: 3px solid var(--border-color);
	border-top-color: var(--accent-color, #ff8300);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-bottom: 1rem;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Toast container styles */
#toastContainer {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
	max-width: 90%;
}

#toastContainer .toast {
	pointer-events: auto;
}

/* Responsive */
@media (max-width: 1200px) {
	.global-stats-grid-row1 {
		grid-template-columns: repeat(3, 1fr);
	}
	.global-stats-grid-row2 {
		grid-template-columns: repeat(4, 1fr);
	}
	.mode-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 992px) {
	.charts-grid {
		grid-template-columns: 1fr;
	}
	.global-stats-grid-row1 {
		grid-template-columns: repeat(3, 1fr);
	}
	.global-stats-grid-row2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.mode-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.stats-tabs-container {
		justify-content: center;
		flex-wrap: wrap;
	}

	.stats-tab {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}

	.global-stats-grid-row1 {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
	.global-stats-grid-row2 {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.global-stat-value {
		font-size: 1.25rem;
	}

	.records-table {
		font-size: 0.8rem;
	}

	.records-table th,
	.records-table td {
		padding: 0.5rem 0.75rem;
	}

	.action-buttons {
		flex-direction: column;
		gap: 0.25rem;
	}

	.action-btn {
		font-size: 0.7rem;
		padding: 0.2rem 0.5rem;
	}

	.mode-content {
		grid-template-columns: 1fr;
	}

	.proof-modal-content {
		padding: 1rem;
		max-width: 95vw;
	}
}

@media (max-width: 480px) {
	.global-stats-grid-row1 {
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
	.global-stats-grid-row2 {
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}

	.global-stat-card {
		padding: 0.75rem;
	}

	.global-stat-value {
		font-size: 1rem;
	}

	.global-stat-icon {
		font-size: 1.25rem;
	}

	.stats-tab {
		font-size: 0.75rem;
		padding: 0.4rem 0.75rem;
	}

	.stats-tab i {
		margin-right: 0.25rem;
	}

	.records-table {
		font-size: 0.7rem;
	}

	.records-table th,
	.records-table td {
		padding: 0.3rem 0.5rem;
	}

	.proof-modal-content {
		padding: 0.75rem;
	}
}

/* Guidelines Modal */
.guidelines-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	animation: fadeIn 0.3s ease-out;
	padding: 1rem;
}

.guidelines-modal-content {
	background: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	max-width: 750px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 2rem;
	position: relative;
	animation: scaleIn 0.3s ease-out;
}

.guidelines-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: var(--bg-tertiary);
	border: none;
	color: var(--text-secondary);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.guidelines-modal-close:hover {
	background: rgba(255, 0, 0, 0.2);
	color: #e74c3c;
}

.guidelines-modal-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.guidelines-modal-content h2 i {
	color: var(--accent-color, #ff8300);
}

.guidelines-modal-content .guidelines-subtitle {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.guidelines-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.guidelines-list li {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: var(--text-primary);
	font-size: 0.95rem;
	line-height: 1.5;
}

.guidelines-list li:last-child {
	border-bottom: none;
}

.guidelines-list li i {
	color: var(--accent-color, #ff8300);
	font-size: 1.1rem;
	margin-top: 0.2rem;
	flex-shrink: 0;
	width: 1.25rem;
	text-align: center;
}

.guidelines-list li .highlight {
	color: var(--accent-color, #ff8300);
	font-weight: 600;
}

.guidelines-list li .discord-highlight {
	color: #5865F2;
	font-weight: 600;
}

.guidelines-footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color);
	text-align: center;
	color: var(--text-secondary);
	font-size: 0.85rem;
}

.guidelines-footer a {
	color: var(--accent-color, #ff8300);
	text-decoration: none;
}

.guidelines-footer a:hover {
	text-decoration: underline;
}

.profile-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(8px);
	animation: fadeIn 0.3s ease-out;
	padding: 1rem;
}

.profile-modal-content {
	background: var(--card-bg);
	border-radius: 1rem;
	border: 1px solid var(--border-color);
	max-width: 900px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 2rem;
	position: relative;
	animation: scaleIn 0.3s ease-out;
}

.profile-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: var(--bg-tertiary);
	border: none;
	color: var(--text-secondary);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 1;
}

.profile-modal-close:hover {
	background: rgba(255, 0, 0, 0.2);
	color: #e74c3c;
}

.profile-header {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 1.5rem;
}

.profile-avatar {
	font-size: 4rem;
	color: var(--accent-color, #ff8300);
	flex-shrink: 0;
}

.profile-avatar i {
	display: block;
}

.profile-info h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
}

.profile-info p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin: 0.25rem 0 0 0;
}

.profile-info p i {
	margin-right: 0.5rem;
	color: var(--accent-color, #ff8300);
}

.profile-records h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.profile-records-table {
	font-size: 0.85rem;
}

.profile-records-table th,
.profile-records-table td {
	padding: 0.5rem 0.75rem;
}

.profile-records-table .rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 28px;
	border-radius: 0.35rem;
	font-weight: 700;
	font-size: 0.8rem;
	padding: 0 0.5rem;
}

.profile-footer {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color);
	text-align: center;
}

.profile-close-btn {
	padding: 0.5rem 2rem;
	border: none;
	border-radius: 0.5rem;
	background: var(--accent-color, #ff8300);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.profile-close-btn:hover {
	box-shadow: 0 4px 15px rgba(255, 131, 0, 0.3);
}

/* Action button for profile */
.action-btn-profile {
	background-color: #6c5ce7;
}

.action-btn-profile:hover {
	background-color: #5a4bd1;
}

/* Match Type Badges */
.match-type-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.match-type-pvp {
	background: rgba(231, 76, 60, 0.2);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.3);
}

.match-type-pve {
	background: rgba(46, 204, 113, 0.2);
	color: #2ecc71;
	border: 1px solid rgba(46, 204, 113, 0.3);
}

/* Last Updated */
.last-updated-text {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-top: 0.5rem;
	opacity: 0.8;
}

.last-updated-text i {
	margin-right: 0.4rem;
}

.global-last-updated {
	margin-top: 0.5rem;
}

@keyframes toastSlideIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mode-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.7rem;
	font-weight: 600;
	background: var(--bg-tertiary);
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.player-name-clickable {
	cursor: pointer;
	transition: color 0.2s ease;
}

.player-name-clickable:hover {
	color: #ff6b00 !important;
	text-decoration: underline;
}

.match-type-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.match-type-pvp {
	background: rgba(231, 76, 60, 0.2);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.3);
}

.match-type-pve {
	background: rgba(46, 204, 113, 0.2);
	color: #2ecc71;
	border: 1px solid rgba(46, 204, 113, 0.3);
}

.last-updated-text {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-top: 0.5rem;
	opacity: 0.8;
}

.last-updated-text i {
	margin-right: 0.4rem;
}

.global-last-updated {
	margin-top: 0.5rem;
}

/* PvE Toggle Button */
.pve-toggle-btn {
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: 0.5rem;
	color: #fff;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all var(--transition-speed, 0.3s);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.pve-toggle-btn:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Player name in stat cards */
.global-stat-player {
	font-size: 0.9rem;
	color: var(--accent-color, #ff8300);
	margin-top: 0.25rem;
	font-weight: 700;
	opacity: 0.85;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Responsive profile modal */
@media (max-width: 768px) {
	.profile-modal-content {
		padding: 1.25rem;
	}

	.profile-header {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}

	.profile-avatar {
		font-size: 3rem;
	}

	.profile-info h2 {
		font-size: 1.25rem;
	}

	.profile-records-table {
		font-size: 0.75rem;
	}

	.profile-records-table th,
	.profile-records-table td {
		padding: 0.3rem 0.5rem;
	}
}

@media (max-width: 480px) {
	.profile-modal-content {
		padding: 0.75rem;
	}

	.profile-records-table {
		font-size: 0.7rem;
	}

	.profile-records-table th,
	.profile-records-table td {
		padding: 0.2rem 0.3rem;
	}

	.profile-records-table .rank-badge {
		min-width: 30px;
		height: 22px;
		font-size: 0.65rem;
		padding: 0 0.3rem;
	}
}