/* josiah.games: shared tokens and components.
   Starts from the josiah.tools system (2px ink outlines, flat pastels) and adds
   sticker shadows and a chunkier type voice. */

:root {
	--bg: #e6e3ee;
	--bg-dot: #cfcadd;
	--surface: #fff;
	--ink: #000;
	--muted: #57536a;
	--line: #000;

	--yellow: #ffe066;
	--mint: #55efc4;
	--mint-strong: #00b894;
	--peach: #fab1a0;
	--coral: #ff7a59;
	--cyan: #81ecec;
	--pink: #ffb3d1;
	--lilac: #c7b8ff;

	--btn: #fff;
	--btn-hover: #f3f1f8;

	--radius-card: 18px;
	--radius-control: 8px;
	--border: 2px solid var(--line);
	--shadow: 4px 4px 0 var(--ink);
	--shadow-lg: 6px 6px 0 var(--ink);

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

	--font: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;

	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

::selection {
	background: var(--ink);
	color: #fff;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background-color: var(--bg);
	background-image: radial-gradient(var(--bg-dot) 1.2px, transparent 1.4px);
	background-size: 22px 22px;
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.5;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-stretch: 85%;
}

h1 {
	font-size: clamp(42px, 8vw, 76px);
	letter-spacing: -0.035em;
}

h2 {
	font-size: clamp(26px, 4vw, 34px);
}

h3 {
	font-size: 21px;
}

p {
	margin: 0;
}

a {
	color: inherit;
}

img,
svg {
	display: block;
	max-width: 100%;
}

:focus-visible {
	outline: 3px solid var(--mint-strong);
	outline-offset: 3px;
}

.wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

main {
	flex: 1;
	overflow-x: clip;
	padding: 36px 0 72px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Nav ---------- */

.site-nav {
	border-bottom: var(--border);
	background: var(--surface);
}

.site-nav .wrap {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.wordmark-dots {
	display: grid;
	grid-template-columns: 11px 11px;
	gap: 3px;
	transition: transform 0.4s var(--ease-spring);
}

.wordmark-dots span {
	width: 11px;
	height: 11px;
	border: 2px solid var(--ink);
	border-radius: 50%;
}

.wordmark-dots span:nth-child(1) { background: var(--pink); }
.wordmark-dots span:nth-child(2) { background: var(--yellow); }
.wordmark-dots span:nth-child(3) { background: var(--mint); }
.wordmark-dots span:nth-child(4) { background: var(--lilac); }

.wordmark:hover .wordmark-dots {
	transform: rotate(90deg);
}

.nav-links {
	display: flex;
	gap: 6px;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.nav-links a {
	display: block;
	white-space: nowrap;
	padding: 5px 14px;
	border: 2px solid transparent;
	border-radius: 50px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
}

.nav-links a:hover {
	border-color: var(--ink);
}

.nav-links a[aria-current="page"] {
	border-color: var(--ink);
	background: var(--link-color, var(--yellow));
}

/* ---------- Buttons ---------- */

.btn {
	--btn-bg: var(--btn);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border: var(--border);
	border-radius: var(--radius-control);
	background: var(--btn-bg);
	box-shadow: var(--shadow);
	color: var(--ink);
	font: inherit;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.12s var(--ease-out),
		box-shadow 0.12s var(--ease-out),
		background-color 0.15s;
}

.btn:hover {
	transform: translate(-1px, -1px);
	box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
	transform: translate(4px, 4px);
	box-shadow: 0 0 0 var(--ink);
}

.btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: var(--shadow);
}

.btn.big {
	padding: 14px 28px;
	font-size: 21px;
	border-radius: 12px;
}

.btn.primary { --btn-bg: var(--mint); }
.btn.yellow { --btn-bg: var(--yellow); }
.btn.pink { --btn-bg: var(--pink); }

.btn.ghost {
	box-shadow: none;
	border-color: transparent;
	background: transparent;
}

.btn.ghost:hover {
	border-color: var(--ink);
	transform: none;
}

.btn svg {
	width: 20px;
	height: 20px;
}

/* ---------- Cards ---------- */

.card {
	border: var(--border);
	border-radius: var(--radius-card);
	background: var(--surface);
	padding: 22px;
}

.card.sticker {
	box-shadow: var(--shadow-lg);
}

/* ---------- Checkbox (round-robin style) ---------- */

.check {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}

.check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.check-box {
	flex: none;
	position: relative;
	width: 22px;
	height: 22px;
	border: var(--border);
	border-radius: 5px;
	background: var(--surface);
	transition: background-color 0.15s, transform 0.2s var(--ease-spring);
}

.check:hover .check-box {
	background: #0000000d;
}

.check input:checked + .check-box {
	background: var(--check-color, var(--mint-strong));
}

.check input:checked + .check-box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 6px;
	height: 12px;
	border: solid var(--ink);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.check input:indeterminate + .check-box {
	background: var(--check-color, var(--mint-strong));
}

.check input:indeterminate + .check-box::after {
	content: "";
	position: absolute;
	left: 3px;
	right: 3px;
	top: 8px;
	height: 2.5px;
	background: var(--ink);
}

.check input:active + .check-box {
	transform: scale(0.85);
}

.check input:focus-visible + .check-box {
	outline: 3px solid var(--mint-strong);
	outline-offset: 2px;
}

/* ---------- Ticket (Movie Quiz's mark, also on its home tile) ---------- */

/* The two halves each have a notch cut from their outer edge. The ink
   outline is drawn with drop-shadows on the wrapper so it follows the cuts. */
.ticket {
	--notch: 0.16em;
	display: inline-flex;
	align-items: stretch;
	filter: drop-shadow(2px 0 0 var(--ink)) drop-shadow(-2px 0 0 var(--ink)) drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -2px 0 var(--ink)) drop-shadow(5px 5px 0 var(--ink));
}

.ticket-main,
.ticket-stub {
	-webkit-mask: radial-gradient(circle at var(--nx) 50%, #0000 var(--notch), #000 calc(var(--notch) + 0.5px));
	mask: radial-gradient(circle at var(--nx) 50%, #0000 var(--notch), #000 calc(var(--notch) + 0.5px));
}

.ticket-main {
	--nx: 0;
	padding: 0.06em 0.28em 0.12em 0.36em;
	border-radius: 0.08em 0 0 0.08em;
	background: var(--yellow);
}

.ticket-stub {
	--nx: 100%;
	--notch: 0.95em; /* about the same size as the main half's, at this smaller font size */
	display: grid;
	place-items: center;
	padding: 0 1.35em 0 0.6em;
	border-left: 4px dashed var(--ink);
	border-radius: 0 0.08em 0.08em 0;
	background: var(--coral);
	font-size: 0.16em;
	font-weight: 700;
	letter-spacing: 0.02em;
	writing-mode: vertical-rl;
}

/* ---------- Banknote (Budget Math's mark, also on its home tile) ---------- */

/* A bill: an inset ink frame, a round seal with the dollar sign, and a word. */
.banknote {
	display: inline-flex;
	align-items: center;
	gap: 0.18em;
	padding: 0.1em 0.32em 0.16em 0.16em;
	border: 0.035em solid var(--ink);
	border-radius: 0.1em;
	background:
		repeating-linear-gradient(-45deg, #0000 0 0.06em, #00000010 0.06em 0.075em),
		var(--mint);
	box-shadow:
		inset 0 0 0 0.05em var(--mint),
		inset 0 0 0 0.07em var(--ink),
		0.06em 0.06em 0 var(--ink);
}

.banknote-seal {
	display: grid;
	place-items: center;
	width: 0.9em;
	height: 0.9em;
	border: 0.03em solid var(--ink);
	border-radius: 50%;
	background: var(--surface);
	font-size: 0.62em;
	line-height: 1;
	padding-bottom: 0.06em;
}

/* ---------- Game screens (setup, play, summary) ---------- */

.screen {
	display: none;
}

@keyframes screen-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

.load-error {
	padding: 18px 22px;
	border: var(--border);
	border-radius: var(--radius-card);
	background: var(--peach);
	font-weight: 600;
}

.btn.small {
	padding: 4px 12px;
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Segmented control ---------- */

.seg {
	display: inline-flex;
	border: var(--border);
	border-radius: 50px;
	background: var(--surface);
	overflow: hidden;
}

.seg label {
	position: relative;
	cursor: pointer;
}

.seg input {
	position: absolute;
	opacity: 0;
}

.seg span {
	display: block;
	padding: 4px 16px;
	font-weight: 600;
	font-size: 15px;
	transition: background-color 0.15s;
}

.seg label + label span {
	border-left: var(--border);
}

.seg label:hover span {
	background: var(--btn-hover);
}

.seg input:checked + span {
	background: var(--ink);
	color: #fff;
}

.seg input:focus-visible + span {
	outline: 3px solid var(--mint-strong);
	outline-offset: -5px;
}

/* ---------- Play bar: progress pips and score ---------- */

.play-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.pips {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pip {
	width: 22px;
	height: 22px;
	border: var(--border);
	border-radius: 50%;
	background: var(--surface);
	transition: background-color 0.3s, transform 0.3s var(--ease-spring);
}

.pip.current {
	background: var(--ink);
	transform: scale(1.2);
	animation: pip-pop 0.5s var(--ease-spring);
}

.pip.done {
	background: var(--pip);
}

@keyframes pip-pop {
	0% { transform: scale(0.4); }
}

.round-score {
	padding: 4px 16px;
	border: var(--border);
	border-radius: 50px;
	background: var(--surface);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.round-score strong {
	font-weight: 800;
	font-size: 20px;
}

/* ---------- Confetti ---------- */

.confetti-layer {
	position: fixed;
	inset: 0;
	z-index: 40;
	pointer-events: none;
}

.confetti-layer span {
	position: absolute;
	border: 1.5px solid var(--ink);
}

/* ---------- Toast ---------- */

.toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 50;
	padding: 10px 18px;
	border-radius: 50px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	transform: translate(-50%, calc(100% + 40px));
	visibility: hidden;
	transition: transform 0.3s var(--ease-spring), visibility 0s 0.3s;
	pointer-events: none;
}

.toast.show {
	transform: translate(-50%, 0);
	visibility: visible;
	transition: transform 0.3s var(--ease-spring);
}

/* ---------- TMDB credit (Movie Quiz, Budget Math) ---------- */

/* TMDB's required credit: small and quiet, pinned to the bottom corner. */
.tmdb-credit {
	position: fixed;
	right: 10px;
	bottom: 8px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: calc(100% - 20px);
	color: var(--muted);
	font-size: 10px;
	line-height: 1.3;
	opacity: 0.45;
	transition: opacity 0.2s;
}

.tmdb-credit:hover,
.tmdb-credit:focus-within {
	opacity: 1;
}

.tmdb-credit img {
	flex: none;
	width: 46px;
	height: auto;
	filter: grayscale(1);
}

.tmdb-credit:hover img,
.tmdb-credit:focus-within img {
	filter: none;
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 22px 0;
	border-top: var(--border);
	background: var(--surface);
	color: var(--muted);
	font-size: 15px;
}

/* ---------- Home ---------- */

.home-hero {
	max-width: 760px;
	margin-bottom: 26px;
}

.home-hero p {
	margin-top: 14px;
	max-width: 52ch;
	color: var(--muted);
	font-size: 20px;
}

/* Join any game's live room by its code. The fields come from live.css. */
.home-join {
	max-width: 760px;
	margin-bottom: 48px;
	padding: 20px 22px 22px;
}

.home-join h2 {
	margin-bottom: 14px;
	font-size: 26px;
}

.home-join-fields {
	display: grid;
	grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) auto;
	gap: 14px;
	align-items: end;
}

.home-join .field .code-input {
	min-height: 54px;
	padding-block: 4px;
	font-size: 28px;
}

.home-join .field input:not(.code-input) {
	min-height: 54px;
}

.home-join .btn.big {
	min-height: 54px;
}

.home-join-error {
	margin-top: 12px;
	font-weight: 600;
}

.home-join-error[hidden] {
	display: none;
}

.home-start {
	margin-bottom: 18px;
	font-size: 26px;
}

@media (max-width: 600px) {
	.home-join-fields {
		grid-template-columns: minmax(0, 1fr);
	}
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
}

/* Tile: the game's art above a white label */
.game-tile {
	display: flex;
	flex-direction: column;
	border: var(--border);
	border-radius: var(--radius-card);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}

.game-tile:hover {
	transform: translate(-3px, -3px) rotate(-1deg);
	box-shadow: 9px 9px 0 var(--ink);
}

.game-tile:active {
	transform: translate(3px, 3px);
	box-shadow: 0 0 0 var(--ink);
}

/* Each tile's art is a small stage for that game's own mark
   (_includes/tile-art/<slug>.njk). */
.tile-art {
	position: relative;
	display: grid;
	place-items: center;
	height: 190px;
	border-bottom: var(--border);
	overflow: hidden;
}

/* Color Guesser: the letter tiles from its logo */
.tile-art-colors {
	background: #ffe3ee radial-gradient(#ffb3d1 1.2px, transparent 1.4px) 0 0 / 16px 16px;
}

.art-tiles {
	display: flex;
	gap: 5px;
	font-weight: 800;
	font-size: 46px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.art-tiles span {
	--tilt: 0deg;
	display: grid;
	place-items: center;
	width: 1em;
	height: 1.12em;
	padding-bottom: 0.06em;
	border: 2.5px solid var(--ink);
	border-radius: 0.16em;
	background: var(--tile-bg);
	box-shadow: 3px 3px 0 var(--ink);
	transform: rotate(var(--tilt));
	transition: transform 0.3s var(--ease-spring);
	transition-delay: calc(var(--i) * 45ms);
}

.art-tiles span:nth-child(1) { --tile-bg: var(--pink); --tilt: -6deg; }
.art-tiles span:nth-child(2) { --tile-bg: var(--yellow); --tilt: 4deg; }
.art-tiles span:nth-child(3) { --tile-bg: var(--mint); --tilt: -3deg; }
.art-tiles span:nth-child(4) { --tile-bg: var(--cyan); --tilt: 5deg; }
.art-tiles span:nth-child(5) { --tile-bg: var(--lilac); --tilt: -4deg; }

/* A ripple of hops, left to right */
.game-tile:hover .art-tiles span {
	transform: translateY(-10px) rotate(calc(var(--tilt) * -1));
}

/* Movie Quiz: its ticket under a strip of marquee bulbs */
.tile-art-movies {
	background:
		radial-gradient(ellipse 60% 70% at 50% 110%, #ffffff1f, transparent 70%),
		#3a2f6b;
}

.art-bulbs {
	position: absolute;
	top: 14px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-evenly;
}

.art-bulbs span {
	width: 11px;
	height: 11px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: #8a7a3a;
	transition: background-color 0.2s, box-shadow 0.2s;
	transition-delay: calc(var(--i) * 40ms);
}

.art-bulbs span:nth-child(odd) {
	background: var(--yellow);
	box-shadow: 0 0 10px #ffe066aa;
}

.game-tile:hover .art-bulbs span {
	background: var(--yellow);
	box-shadow: 0 0 12px #ffe066;
}

.art-ticket {
	margin-top: 14px;
	font-weight: 800;
	font-size: 60px;
	line-height: 1;
	letter-spacing: -0.035em;
	font-stretch: 85%;
	transform: rotate(-5deg);
	transition: transform 0.35s var(--ease-spring);
}

.game-tile:hover .art-ticket {
	transform: rotate(3deg) scale(1.05);
}

/* Budget Math: one big bill equals a few small ones, on ledger paper */
.tile-art-budget {
	background:
		linear-gradient(#55efc433 1px, transparent 1px) 0 0 / 18px 18px,
		linear-gradient(90deg, #55efc433 1px, transparent 1px) 0 0 / 18px 18px,
		#eafcf4;
}

.art-eq {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	font-stretch: 85%;
}

.art-eq .art-big {
	font-size: 44px;
	transform: rotate(-5deg);
	transition: transform 0.35s var(--ease-spring);
}

.art-sign {
	font-size: 46px;
}

.art-small {
	display: grid;
	gap: 5px;
	font-size: 22px;
}

.art-small .banknote {
	width: 2.6em;
	transform: rotate(var(--tilt));
	transition: transform 0.3s var(--ease-spring);
	transition-delay: calc(var(--i) * 50ms);
}

.art-small .banknote:nth-child(1) { --tilt: 4deg; }
.art-small .banknote:nth-child(2) { --tilt: -3deg; }
.art-small .banknote:nth-child(3) { --tilt: 5deg; }

.game-tile:hover .art-big {
	transform: rotate(2deg) scale(1.05);
}

.game-tile:hover .art-small .banknote {
	transform: translateX(6px) rotate(calc(var(--tilt) * -1));
}

/* Connections: a grid with one group found and four words picked */
.tile-art-connections {
	background: #eef1fb radial-gradient(#b0c4ef 1.2px, transparent 1.4px) 0 0 / 16px 16px;
}

.art-conn {
	display: grid;
	grid-template-columns: repeat(4, 34px);
	gap: 5px;
	transform: rotate(-3deg);
	transition: transform 0.35s var(--ease-spring);
}

.art-conn-bar {
	grid-column: 1 / -1;
	height: 26px;
	border: 2px solid var(--ink);
	border-radius: 6px;
	background: #f9df6d;
	box-shadow: 3px 3px 0 var(--ink);
}

.art-conn-tile {
	height: 26px;
	border: 2px solid var(--ink);
	border-radius: 6px;
	background: var(--surface);
	transition: background-color 0.2s, transform 0.3s var(--ease-spring);
	transition-delay: calc(var(--i) * 30ms);
}

.art-conn-tile.is-picked {
	background: var(--ink);
}

.game-tile:hover .art-conn {
	transform: rotate(2deg) scale(1.04);
}

.game-tile:hover .art-conn-tile.is-picked {
	background: #ba81c5;
	transform: translateY(-4px);
}

/* Bingo: a little card, daubed down the diagonal */
.tile-art-bingo {
	background: #fff0eb radial-gradient(#fab1a0 1.2px, transparent 1.4px) 0 0 / 16px 16px;
}

.art-bingo {
	width: 128px;
	border: 2.5px solid var(--ink);
	border-radius: 10px;
	background: var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
	overflow: hidden;
	transform: rotate(4deg);
	transition: transform 0.35s var(--ease-spring);
}

.art-bingo-head {
	display: block;
	height: 20px;
	border-bottom: 2.5px solid var(--ink);
	background: var(--coral);
}

.art-bingo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
}

.art-bingo-sq {
	position: relative;
	aspect-ratio: 1;
	background: var(--surface);
}

.art-bingo-sq.is-daubed::after {
	content: "";
	position: absolute;
	inset: 12%;
	border-radius: 50%;
	background: #ff6fa8;
	mix-blend-mode: multiply;
	transition: transform 0.3s var(--ease-spring);
	transition-delay: calc(var(--i) * 25ms);
}

.game-tile:hover .art-bingo {
	transform: rotate(-2deg) scale(1.05);
}

.game-tile:hover .art-bingo-sq.is-daubed::after {
	transform: scale(1.18);
}

.tile-label {
	padding: 16px 18px 18px;
}

.tile-label h2 {
	font-size: 28px;
}

.tile-label p {
	margin-top: 6px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.4;
}

.game-tile.soon {
	box-shadow: none;
	border-style: dashed;
	background: transparent;
	pointer-events: none;
}

.game-tile.soon .tile-art {
	border-bottom-style: dashed;
	background: repeating-linear-gradient(-45deg, transparent 0 10px, #0000000f 10px 20px);
}

/* Too narrow for the links: just the wordmark, which goes to the home page's list of games. */
@media (max-width: 820px) {
	.nav-links {
		display: none;
	}
}

@media (max-width: 520px) {
	.site-nav .wrap {
		min-height: 56px;
		padding: 0 16px;
	}

	.wordmark {
		gap: 7px;
		font-size: 17px;
	}

	.wordmark-dots {
		grid-template-columns: 9px 9px;
		gap: 2px;
	}

	.wordmark-dots span {
		width: 9px;
		height: 9px;
	}

	.wrap {
		padding: 0 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

.tile-art-photoclash {
	background: #e9fbfb radial-gradient(#81ecec 1.2px, transparent 1.4px) 0 0 / 16px 16px;
}

.art-clash {
	position: relative;
	display: flex;
	align-items: center;
}

/* Two instant prints, squaring off. */
.art-print {
	width: 74px;
	height: 86px;
	padding: 6px 6px 18px;
	border: 2.5px solid var(--ink);
	border-radius: 3px;
	background: var(--surface);
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 0.35s var(--ease-spring);
}

.art-print::before {
	content: "";
	display: block;
	height: 100%;
	border: 2px solid var(--ink);
}

.art-print-a {
	transform: rotate(-8deg);
}

.art-print-a::before {
	background: linear-gradient(160deg, var(--yellow) 0 45%, var(--pink) 45%);
}

.art-print-b {
	transform: rotate(7deg);
}

.art-print-b::before {
	background: linear-gradient(200deg, var(--lilac) 0 50%, var(--mint) 50%);
}

.art-vs {
	z-index: 1;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0 -14px;
	border: 2.5px solid var(--ink);
	border-radius: 50%;
	background: var(--yellow);
	font-weight: 800;
	font-size: 17px;
	transform: rotate(-8deg);
	transition: transform 0.35s var(--ease-spring);
}

.game-tile:hover .art-print-a {
	transform: rotate(-14deg) translateX(-8px);
}

.game-tile:hover .art-print-b {
	transform: rotate(13deg) translateX(8px);
}

.game-tile:hover .art-vs {
	transform: rotate(8deg) scale(1.2);
}
