.tgw-carousel-wrap {
	position: relative;
}

.tgw-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding: 4px 2px;
	scroll-padding: 2px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.tgw-carousel::-webkit-scrollbar {
	display: none;
}

.tgw-carousel-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid #334155;
	border-radius: 999px;
	background: transparent;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	color: #f9fafb;
	cursor: pointer;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-50%);
}

.tgw-carousel-arrow:hover,
.tgw-carousel-arrow:focus-visible {
	border-color: #38bdf8;
	color: #38bdf8;
	outline: none;
}

.tgw-carousel-arrow:disabled {
	cursor: default;
	opacity: 0.35;
}

.tgw-carousel-arrow-prev {
	left: -14px;
}

.tgw-carousel-arrow-next {
	right: -14px;
}

.tgw-game-card {
	display: flex;
	flex: 0 0 min(320px, 86vw);
	flex-direction: column;
	gap: 18px;
	min-height: 190px;
	padding: 18px;
	border: 1px solid #334155;
	border-radius: 8px;
	background: #1f2937;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	scroll-snap-align: start;
}

.tgw-game-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.tgw-game-status {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 5px 9px;
	border-radius: 999px;
	color: #f9fafb;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.tgw-game-date {
	color: #cbd5e1;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
}

.tgw-game-teams {
	display: grid;
	align-items: center;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
}

.tgw-team-name {
	color: #f9fafb;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: center;
}

.tgw-versus {
	color: #38bdf8;
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	min-width: 0;
	text-align: center;
	text-transform: uppercase;
}

.tgw-game-meta {
	display: grid;
	gap: 6px;
	color: #94a3b8;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.tgw-game-bet {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #334155;
	color: #f9fafb;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.tgw-game-bet a {
	color: #facc15;
	font-weight: 800;
	text-align: right;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tgw-message {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #334155;
	border-radius: 8px;
	background: #1f2937;
	color: #cbd5e1;
	font-size: 14px;
}

@media (max-width: 480px) {
	.tgw-carousel {
		gap: 12px;
	}

	.tgw-carousel-arrow {
		width: 34px;
		height: 34px;
		font-size: 26px;
	}

	.tgw-carousel-arrow-prev {
		left: -8px;
	}

	.tgw-carousel-arrow-next {
		right: -8px;
	}

	.tgw-game-card {
		flex-basis: 88vw;
		padding: 16px;
	}

	.tgw-game-teams {
		gap: 8px;
	}

	.tgw-team-name {
		font-size: 16px;
	}
}
