.bg-primary {
	padding: 15px;
}

.card-title item-name {
	//text-align:center;
	font-weight: bold;
}

.skin-image {
	margin: 0 auto;
	display: block;
	text-align: center;
	width: 50%;
	//border-bottom: solid 1px #eee;
}

.skin-rarity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.35rem;
	padding: 0.18rem 0.55rem;
	border: 1px solid var(--rarity-color);
	border-radius: 999px;
	background: color-mix(in srgb, var(--rarity-color) 18%, transparent);
	color: var(--rarity-color);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.skin-loadout-shell {
	width: min(1500px, calc(100% - 24px));
	margin: 16px auto 0;
}

.skin-category-tabs {
	gap: 8px;
	margin-bottom: 16px;
	padding: 10px;
	border: 1px solid rgba(13, 110, 253, 0.25);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(13, 110, 253, 0.14), rgba(220, 53, 69, 0.08)),
		rgba(255, 255, 255, 0.04);
}

.skin-category-tabs .nav-link {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	color: var(--bs-body-color);
	font-weight: 800;
}

.skin-category-tabs .nav-link:hover,
.skin-category-tabs .nav-link.active {
	border-color: rgba(13, 110, 253, 0.8);
	background: linear-gradient(135deg, #0d6efd, #6610f2);
	color: #fff;
}

.skin-category-content {
	padding-bottom: 8px;
}

.skin-category-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	padding: 0 2px;
}

.skin-category-heading h3 {
	margin: 0;
	font-weight: 900;
}

.skin-category-heading p {
	margin: 0;
	color: var(--bs-secondary-color);
}

.skin-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
	align-items: stretch;
}

.skin-card-col {
	min-width: 0;
}

.skin-card-col .card {
	height: 100%;
	border-color: rgba(255, 255, 255, 0.12);
}

.skin-card-col .card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 205px;
}

.skin-card-col .card-header {
	min-height: 78px;
}

.skin-card-col .card-title {
	overflow-wrap: anywhere;
}

.skin-card-col .skin-image {
	width: min(62%, 180px);
	max-height: 115px;
	object-fit: contain;
}

@media (max-width: 760px) {
	.skin-loadout-shell {
		width: min(100% - 16px, 1500px);
	}

	.skin-category-heading {
		display: block;
	}

	.skin-card-grid {
		grid-template-columns: 1fr;
	}
}






.skin-loadout-header {
	display: grid;
	gap: 8px;
	text-align: center;
}

.skin-loadout-header h2 {
	margin: 0;
}

.skin-sync-reminder-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 8px;
	background: linear-gradient(135deg, #dc3545, #9f1239);
	box-shadow: 0 0 0 rgba(220, 53, 69, 0.38), 0 10px 28px rgba(159, 18, 57, 0.22);
	color: #fff;
	font-size: 1rem;
	font-weight: 900;
	animation: skin-sync-red-pulse 1.8s ease-in-out infinite;
}

.skin-sync-reminder-inline code {
	margin: 0 4px;
	padding: 2px 7px;
	border-radius: 6px;
	background: linear-gradient(135deg, #7c3aed, #a855f7);
	color: #fff;
	font-weight: 950;
}


@keyframes skin-sync-red-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 rgba(220, 53, 69, 0.35), 0 10px 28px rgba(159, 18, 57, 0.22);
	}
	50% {
		transform: scale(1.03);
		box-shadow: 0 0 24px rgba(255, 99, 132, 0.55), 0 14px 36px rgba(159, 18, 57, 0.34);
	}
}

@media (prefers-reduced-motion: reduce) {
	.skin-sync-reminder-inline {
		animation: none;
	}
}
