.cq-jardim {
	--cq-ink: #492d26;
	--cq-brown: #74443a;
	--cq-cream: #fff8ed;
	--cq-pink: #f2899f;
	--cq-gold: #efad37;
	--cq-green: #4c8b52;
	box-sizing: border-box;
	color: var(--cq-ink);
	font-family: inherit;
	line-height: 1.45;
	margin: 1.5rem auto;
	max-width: 100%;
}

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

.cq-jardim [hidden] {
	display: none !important;
}

.cq-jardim__frame {
	background:
		radial-gradient(ellipse at 8% 0%, rgba(255, 224, 169, .36), transparent 34%),
		var(--cq-cream);
	border: 1px solid rgba(119, 71, 49, .14);
	border-radius: 28px;
	box-shadow: 0 20px 58px rgba(92, 57, 32, .12);
	margin: 0 auto;
	max-width: 1000px;
	overflow: hidden;
	position: relative;
}

.cq-jardim__intro {
	margin: 0 auto;
	max-width: 960px;
	padding: clamp(18px, 3vw, 32px) clamp(14px, 4vw, 40px) 24px;
	text-align: center;
}

.cq-jardim__eyebrow {
	color: #ad674a;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.cq-jardim__eyebrow span {
	color: #e98963;
	font-size: 1.1rem;
	margin-right: 4px;
}

.cq-jardim__intro h2 {
	color: var(--cq-ink);
	font-family: inherit;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 850;
	letter-spacing: -.055em;
	line-height: 1.02;
	margin: 0;
}

.cq-jardim__lead {
	color: #76594c;
	font-size: clamp(.98rem, 2vw, 1.12rem);
	line-height: 1.55;
	margin: 15px auto 0;
	max-width: 540px;
}

.cq-jardim__character-picker {
	align-items: stretch;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto 20px;
	max-width: 920px;
	width: 100%;
}

.cq-jardim__character {
	align-items: center;
	background: #fff;
	border: 3px solid #efdfcb;
	border-radius: 24px;
	color: var(--cq-ink);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	gap: 10px;
	min-height: 210px;
	min-width: 0;
	padding: 16px 12px 18px;
	position: relative;
	box-shadow: 0 8px 20px rgba(92, 57, 32, .08);
	transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.cq-jardim__character[data-character="croqui"] {
	background: #fff8d7;
	border-color: #f1dc91;
}

.cq-jardim__character[data-character="berry"] {
	background: #fff1f5;
	border-color: #f5c4d1;
}

.cq-jardim__character[data-character="choco"] {
	background: #fff3e8;
	border-color: #e5c2a4;
}

.cq-jardim__character:hover:not(.is-selected) {
	box-shadow: 0 12px 24px rgba(92, 57, 32, .12);
	transform: translateY(-2px);
}

.cq-jardim__character:active {
	transform: scale(.98);
}

.cq-jardim__character:focus-visible,
.cq-jardim__button:focus-visible,
.cq-jardim__canvas:focus-visible {
	box-shadow: 0 0 0 4px rgba(241, 171, 69, .35);
	outline: 3px solid #b2613e;
	outline-offset: 3px;
}

.cq-jardim__character.is-selected {
	box-shadow: 0 14px 28px rgba(92, 57, 32, .16);
	transform: translateY(-4px);
}

.cq-jardim__character.is-selected::after {
	align-items: center;
	background: #4c8b52;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 7px rgba(38, 79, 43, .2);
	color: #fff;
	content: "✓";
	display: flex;
	font-size: .9rem;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 28px;
}

.cq-jardim__mini-mascot {
	align-items: center;
	background: rgba(255, 255, 255, .78);
	border-radius: 50%;
	display: flex;
	height: 136px;
	justify-content: center;
	padding: 5px;
	position: relative;
	width: 136px;
}

.cq-jardim__mini-mascot img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.cq-jardim__character-name {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.cq-jardim__how-to {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: center;
	margin: 0 auto 21px;
}

.cq-jardim__how-item {
	align-items: center;
	color: #76594c;
	display: flex;
	font-size: .84rem;
	gap: 7px;
}

.cq-jardim__how-icon {
	align-items: center;
	border-radius: 99px;
	display: inline-flex;
	font-size: .9rem;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.cq-jardim__how-icon--good {
	background: #e9f3dc;
	color: #55814b;
}

.cq-jardim__how-icon--bad {
	background: #f9e6d8;
	color: #b46d48;
}

.cq-jardim__button {
	align-items: center;
	background: #5e8c4e;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 7px 0 #426d3d, 0 12px 22px rgba(54, 105, 53, .17);
	color: white;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	gap: 12px;
	justify-content: center;
	min-height: 51px;
	padding: 12px 25px;
	transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.cq-jardim__button:hover {
	background: #4f7e43;
	box-shadow: 0 4px 0 #426d3d, 0 8px 18px rgba(54, 105, 53, .18);
	transform: translateY(3px);
}

.cq-jardim__button span {
	font-size: 1.25rem;
	line-height: 1;
}

.cq-jardim__controls-note {
	color: #96796a;
	font-size: .78rem;
	margin: 17px 0 0;
}

.cq-jardim__play {
	padding: 15px clamp(12px, 3vw, 30px) 22px;
}

.cq-jardim__stage {
	background: rgba(111, 190, 189, .16);
	border-radius: 999px;
	color: #317885;
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .04em;
	margin: 0 auto 9px;
	padding: 5px 13px;
	text-align: center;
	width: fit-content;
}

.cq-jardim__hud {
	align-items: center;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin: 0 auto 12px;
	max-width: 880px;
}

.cq-jardim__stat {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.cq-jardim__stat:nth-child(2) {
	align-items: center;
}

.cq-jardim__stat:last-child {
	align-items: flex-end;
}

.cq-jardim__stat-label {
	color: #8d6e5a;
	font-size: .69rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.cq-jardim__stat strong {
	color: var(--cq-ink);
	font-size: 1.24rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.cq-jardim__stat--time strong {
	font-size: 1.55rem;
}

.cq-jardim__stat--time small {
	font-size: .8rem;
	margin-left: 2px;
}

.cq-jardim__stat:last-child strong {
	color: #e87576;
	font-size: .95rem;
	letter-spacing: .05em;
}

.cq-jardim__canvas-wrap {
	border: 3px solid rgba(255, 255, 255, .88);
	border-radius: 22px;
	box-shadow: inset 0 0 0 1px rgba(91, 66, 40, .08), 0 10px 26px rgba(104, 74, 43, .11);
	overflow: hidden;
	position: relative;
}

.cq-jardim__canvas {
	background: #d8eeeb;
	cursor: crosshair;
	display: block;
	height: clamp(310px, 56vw, 520px);
	max-height: 66vh;
	min-height: 300px;
	touch-action: none;
	width: 100%;
}

.cq-jardim__play-note {
	color: #8d6e5a;
	font-size: .79rem;
	margin: 12px 2px 0;
	text-align: center;
}

.cq-jardim__result {
	align-items: center;
	background: rgba(47, 65, 41, .36);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: absolute;
}

.cq-jardim__result-card {
	background: #fffaf1;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 24px;
	box-shadow: 0 18px 48px rgba(51, 42, 28, .22);
	max-width: 390px;
	padding: 25px 28px 30px;
	text-align: center;
	width: 100%;
}

.cq-jardim__result-flower {
	color: #e18a70;
	display: block;
	font-size: 2.4rem;
	line-height: 1;
	margin-bottom: 8px;
}

.cq-jardim__result-card h3 {
	color: var(--cq-ink);
	font-family: inherit;
	font-size: clamp(1.6rem, 4vw, 2.15rem);
	font-weight: 850;
	letter-spacing: -.04em;
	line-height: 1.08;
	margin: 0;
}

.cq-jardim__result-score {
	color: #76594c;
	font-size: 1rem;
	margin: 10px 0 4px;
}

.cq-jardim__result-score strong {
	color: #548348;
	font-size: 1.32rem;
}

.cq-jardim__best {
	color: #b16c3d;
	font-size: .83rem;
	font-weight: 800;
	margin: 0 0 16px;
}

.cq-jardim__best[hidden] {
	display: none !important;
}

.cq-jardim__live {
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@media (max-width: 520px) {
	.cq-jardim {
		margin: .75rem auto;
	}

	.cq-jardim__frame {
		border-radius: 20px;
	}

	.cq-jardim__intro {
		padding: 12px 10px 18px;
	}

	.cq-jardim__character-picker {
		gap: 8px;
		margin: 0 auto 14px;
	}

	.cq-jardim__character {
		border-radius: 18px;
		border-width: 2px;
		gap: 7px;
		min-height: 132px;
		padding: 9px 3px 10px;
	}

	.cq-jardim__mini-mascot {
		height: 86px;
		padding: 3px;
		width: 86px;
	}

	.cq-jardim__character-name {
		font-size: .88rem;
	}

	.cq-jardim__character.is-selected::after {
		height: 22px;
		right: 5px;
		top: 5px;
		width: 22px;
		font-size: .72rem;
	}

	.cq-jardim__how-to {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		max-width: 280px;
		width: 100%;
	}

	.cq-jardim__how-item {
		font-size: .8rem;
	}

	.cq-jardim__canvas {
		height: min(54vh, 420px);
		height: min(54dvh, 420px);
		max-height: none;
		min-height: 250px;
	}

	.cq-jardim__play {
		padding-left: 9px;
		padding-right: 9px;
	}

	.cq-jardim__result-card {
		padding: 21px 18px 25px;
	}
}

@media (max-width: 370px) {
	.cq-jardim__mini-mascot {
		height: 64px;
		width: 60px;
	}

	.cq-jardim__character-name {
		font-size: .7rem;
	}

	.cq-jardim__stat-label {
		font-size: .6rem;
	}

	.cq-jardim__canvas {
		min-height: 235px;
	}
}

@media (max-width: 760px) and (orientation: landscape) {
	.cq-jardim__canvas {
		height: 62vh;
		height: 62dvh;
		max-height: none;
		min-height: 210px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cq-jardim *,
	.cq-jardim *::before,
	.cq-jardim *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
