/* P3 #29/#31: homepage game & video discovery only.
 * Keep the source markup intact; this stylesheet replaces the horizontal rail
 * with a bounded grid on the home route. */
body .games-section .game-strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .55rem;
	overflow: visible;
	scroll-snap-type: none;
	padding-bottom: 0;
}

body .games-section .game-chip {
	width: auto;
	min-width: 0;
	min-height: 76px;
	flex: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: .55rem;
	padding: .62rem .68rem;
	border-radius: 12px;
	text-align: left;
	scroll-snap-align: none;
}

body .games-section .game-chip__emoji {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	font-size: 1.55rem;
}

body .games-section .game-chip__title {
	min-width: 0;
	font-size: .78rem;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Home is a discovery surface, not the full catalogue: 4 games + oracle + video. */
body .games-section .game-chip:nth-child(n+5) {
	display: none;
}
body .games-section .game-chip[href="/oracle/"],
body .games-section .game-chip[href="/oracle/#douwa-video"] {
	display: flex;
}

@media (min-width: 600px) {
	body .games-section .game-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 360px) {
	body .games-section .game-chip {
		gap: .42rem;
		padding: .56rem .58rem;
	}
	body .games-section .game-chip__emoji {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
		font-size: 1.38rem;
	}
	body .games-section .game-chip__title {
		font-size: .72rem;
	}
}
