.mrrrcat-corner-page {
	background: #111;
	color: #f4ead8;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

/* Keep the arcade's vintage terminal type isolated from the shop system. */
.mrrrcat-corner-page,
.mrrrcat-corner-page h1,
.mrrrcat-corner-page h2,
.mrrrcat-corner-page h3,
.mrrrcat-corner-page h4,
.mrrrcat-corner-page h5,
.mrrrcat-corner-page h6,
.mrrrcat-corner-page button,
.mrrrcat-corner-page input,
.mrrrcat-corner-page select,
.mrrrcat-corner-page textarea {
	font-family: "Courier New", Courier, monospace !important;
}

.mrrrcat-corner-page h1,
.mrrrcat-corner-page h2 {
	color: #fff !important;
	font-weight: 900 !important;
	line-height: 0.92 !important;
}

.mrrrcat-corner-page,
.mrrrcat-corner-page * {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.mrrrcat-game,
.mrrrcat-game * {
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}

.mrrrcat-corner {
	margin: 0 auto;
	max-width: 920px;
	padding: 14px 14px 36px;
}

.mrrrcat-corner__brand {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 0 auto 10px;
	max-width: 780px;
}

.mrrrcat-corner__brand span,
.mrrrcat-corner__eyebrow,
.mrrrcat-game__label,
.mrrrcat-btn {
	font-family: "Courier New", Courier, monospace;
	letter-spacing: 0;
}

.mrrrcat-corner__brand > span:not(.mrrrcat-corner__token-mark) {
	font-size: 0.9rem;
	font-weight: 900;
}

.mrrrcat-corner__token-mark {
	display: block;
	font-size: 4px;
	height: 10em;
	position: relative;
	width: 10em;
}

.mrrrcat-corner__token-mark::before,
.mrrrcat-corner__token-mark::after {
	content: "";
	display: block;
	height: 1em;
	left: 0;
	position: absolute;
	top: 0;
	width: 1em;
}

.mrrrcat-corner__token-mark::before {
	background: transparent;
	box-shadow:
		2em 0 #6aa657, 3em 0 #6aa657,
		2em 1em #4f7a37, 4em 1em #6aa657,
		2em 2em #4f7a37, 5em 2em #6aa657,
		2em 3em #4f7a37, 5em 3em #4f7a37,
		1em 4em #6aa657, 2em 4em #4f7a37, 5em 4em #4f7a37, 6em 4em #6aa657,
		1em 5em #6aa657, 2em 5em #4f7a37,
		0 6em #4f7a37, 2em 6em #4f7a37,
		2em 7em #4f7a37;
}

.mrrrcat-corner__token-mark::after {
	background: transparent;
	box-shadow:
		5em 3em #6aa657, 6em 3em #4f7a37,
		5em 4em #f4ead8, 7em 4em #f4ead8,
		4em 5em #f4ead8, 6em 5em #111, 8em 5em #f4ead8,
		4em 6em #fff7e8, 6em 6em #f4ead8, 8em 6em #fff7e8,
		5em 7em #eef4e8, 6em 7em #111, 7em 7em #eef4e8,
		6em 8em #f4ead8;
}

.mrrrcat-corner__shell {
	background: #171717;
	border: 4px solid #f4ead8;
	box-shadow: 0 0 0 4px #111, 0 0 0 8px #3f4f49;
	margin: 0 auto;
	max-width: 780px;
	overflow: visible;
}

.mrrrcat-corner__intro {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 220px;
	min-height: min(70vh, 520px);
	padding: clamp(18px, 4vw, 34px);
}

.mrrrcat-corner__story {
	max-width: 500px;
}

.mrrrcat-corner__eyebrow {
	color: #a8d5c2;
	font-size: 0.8rem;
	font-weight: 900;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.mrrrcat-corner h1,
.mrrrcat-result h2 {
	color: #fff;
	font-family: "Courier New", Courier, monospace;
	font-size: clamp(2.05rem, 7vw, 4.4rem);
	font-weight: 900;
	line-height: 0.92;
	margin: 0 0 14px;
	text-transform: uppercase;
}

#mrrrcat-corner-title,
.mrrrcat-corner__title {
	color: #fff !important;
}

.mrrrcat-corner p {
	font-size: clamp(1rem, 2vw, 1.14rem);
	font-weight: 800;
	line-height: 1.42;
	margin: 0 0 12px;
}

.mrrrcat-corner__note {
	background: #111;
	border: 2px solid #a8d5c2;
	color: #f4ead8;
	display: inline-block;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.95rem;
	font-weight: 900;
	padding: 10px;
}

.mrrrcat-corner__actions,
.mrrrcat-result__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	margin-top: 4px;
}

.mrrrcat-corner__hero {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 230px;
}

.mrrrcat-corner__main-sprite {
	--p: 8px;
	filter: drop-shadow(0 0 0 #111) drop-shadow(0 12px 0 rgba(0, 0, 0, 0.25));
	transform: translateY(10px);
}

.mrrrcat-btn {
	appearance: none;
	background: #111;
	border: 3px solid #f4ead8;
	border-radius: 0;
	color: #f4ead8;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 900;
	justify-content: center;
	line-height: 1;
	min-height: 44px;
	padding: 12px 18px;
	text-decoration: none;
	touch-action: manipulation;
	text-transform: uppercase;
}

.mrrrcat-btn:hover,
.mrrrcat-btn:focus-visible {
	background: #a8d5c2;
	color: #111;
	outline: 0;
}

.mrrrcat-btn--primary {
	background: #a8d5c2;
	color: #111;
}

.mrrrcat-btn--sound {
	background: #171717;
	font-size: 0.82rem;
	min-height: 40px;
	padding: 10px 14px;
}

.mrrrcat-btn--sound.is-on {
	background: #4f7a37;
	color: #f4ead8;
}

.mrrrcat-game,
.mrrrcat-result {
	padding: clamp(10px, 2vw, 18px);
}

.mrrrcat-game__topbar {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 10px;
}

.mrrrcat-game__topbar > div {
	--mrrrcat-reward-color: #7c2f24;
	--mrrrcat-reward-progress: 0%;
	background: #111;
	border: 2px solid #f4ead8;
	min-width: 0;
	padding: 8px;
	position: relative;
}

.mrrrcat-game__label {
	color: #a8d5c2;
	display: block;
	font-size: 0.66rem;
	font-weight: 900;
	text-transform: uppercase;
}

.mrrrcat-game__topbar strong {
	color: #f4ead8;
	display: block;
	font-family: "Courier New", Courier, monospace;
	font-size: clamp(1rem, 3vw, 1.35rem);
	line-height: 1;
	margin-top: 4px;
}

.mrrrcat-game__topbar small {
	color: #d8b85a;
	font-size: 0.8rem;
}

.mrrrcat-game__topbar small.is-bad {
	color: #f0a090;
}

.mrrrcat-game__topbar > div:nth-child(4) {
	padding-bottom: 22px;
}

.mrrrcat-game__topbar > div:nth-child(4)::after {
	background: linear-gradient(90deg, var(--mrrrcat-reward-color) var(--mrrrcat-reward-progress), #2c2c2c var(--mrrrcat-reward-progress));
	border: 2px solid #f4ead8;
	bottom: 6px;
	content: "";
	height: 8px;
	left: 8px;
	position: absolute;
	right: 8px;
}

.mrrrcat-game__topbar > div:nth-child(4).has-discount {
	--mrrrcat-reward-color: #d8b85a;
}

.mrrrcat-game__topbar > div:nth-child(4).has-strong-discount {
	--mrrrcat-reward-color: #63b46d;
}

.mrrrcat-game__rules {
	background: #111;
	border: 3px solid #d8b85a;
	box-shadow: 0 0 0 3px #2c2c2c;
	color: #f4ead8;
	font-family: "Courier New", Courier, monospace;
	font-weight: 900;
	margin: 0 0 12px;
	padding: 10px 12px;
	text-align: left;
}

.mrrrcat-game__rules strong,
.mrrrcat-game__rules span {
	display: block;
}

.mrrrcat-game__rules strong {
	color: #d8b85a;
	font-size: 0.9rem;
	line-height: 1;
	text-transform: uppercase;
}

.mrrrcat-game__rules span {
	color: #fff;
	font-size: clamp(0.82rem, 2vw, 0.98rem);
	line-height: 1.35;
	margin-top: 6px;
}

.mrrrcat-room {
	background:
		linear-gradient(180deg, transparent 0 67%, #151f1d 67% 100%),
		linear-gradient(180deg, transparent 0 22%, rgba(244, 234, 216, 0.06) 22% 22.6%, transparent 22.6% 100%),
		linear-gradient(180deg, transparent 0 48%, rgba(168, 213, 194, 0.05) 48% 48.6%, transparent 48.6% 100%),
		linear-gradient(90deg, rgba(168, 213, 194, 0.08) 0 2px, transparent 2px 100%),
		linear-gradient(180deg, rgba(216, 184, 90, 0.05) 0 32%, transparent 32% 100%),
		#171717;
	background-size: auto, auto, auto, 42px 42px, auto, auto;
	border: 4px solid #f4ead8;
	box-shadow: inset 0 0 0 4px #111;
	height: min(68vh, 520px);
	min-height: 430px;
	overflow: hidden;
	position: relative;
	touch-action: manipulation;
}

.mrrrcat-room.is-watch {
	box-shadow: inset 0 0 0 4px #111, inset 0 0 26px rgba(216, 184, 90, 0.24);
}

.mrrrcat-room.is-repeat {
	box-shadow: inset 0 0 0 4px #111, inset 0 0 26px rgba(168, 213, 194, 0.24);
}

.mrrrcat-room::after {
	background:
		linear-gradient(90deg, transparent 0 18%, rgba(216, 184, 90, 0.28) 18% 20%, transparent 20% 42%, rgba(168, 213, 194, 0.24) 42% 44%, transparent 44% 100%),
		linear-gradient(180deg, #27423c 0 45%, #20302d 45% 100%);
	border: 3px solid #d8b85a;
	box-shadow:
		0 0 0 3px #111,
		inset 0 0 0 4px #151f1d,
		24px 8px 0 rgba(0, 0, 0, 0.2),
		84px 0 0 rgba(168, 213, 194, 0.08);
	content: "";
	height: 42px;
	left: 6%;
	position: absolute;
	top: 76%;
	width: 230px;
}

.mrrrcat-room__window,
.mrrrcat-room__shelf,
.mrrrcat-room__desk,
.mrrrcat-room__bed {
	display: block;
	position: absolute;
	z-index: 3;
}

.mrrrcat-room__window {
	background: #0b1118;
	border: 4px solid #f4ead8;
	box-shadow: inset 0 0 0 3px #111, 0 0 0 3px #111;
	height: 112px;
	left: 67%;
	overflow: hidden;
	top: 15%;
	width: 162px;
}

.mrrrcat-room__window::before,
.mrrrcat-room__window::after {
	content: "";
	display: block;
	height: 5px;
	position: absolute;
	width: 5px;
}

.mrrrcat-room__window::before {
	background: #f4ead8;
	box-shadow:
		22px 18px #d8b85a,
		44px 8px #f4ead8,
		74px 30px #a8d5c2,
		98px 16px #d8b85a,
		116px 48px #f4ead8;
	left: 8px;
	top: 8px;
	animation: mrrrcatTinyLights 920ms steps(2, end) infinite;
	z-index: 1;
}

.mrrrcat-room__window::after {
	background:
		linear-gradient(90deg, transparent 0 47%, #f4ead8 47% 53%, transparent 53% 100%),
		linear-gradient(180deg, transparent 0 47%, #f4ead8 47% 53%, transparent 53% 100%);
	height: 100%;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 4;
}

.mrrrcat-room__plane {
	align-items: center;
	animation: mrrrcatWindowPlane 60s linear infinite;
	background: #f4ead8;
	border: 2px solid #111;
	box-shadow: 0 0 0 2px rgba(216, 184, 90, 0.35);
	color: #111;
	display: flex;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.84rem;
	font-weight: 900;
	height: 24px;
	justify-content: flex-start;
	left: 0;
	line-height: 1;
	opacity: 0;
	padding: 2px 7px;
	position: absolute;
	text-align: left;
	top: auto;
	bottom: 10px;
	text-transform: uppercase;
	transform: translateX(245%);
	white-space: nowrap;
	width: 128px;
	z-index: 2;
}

.mrrrcat-room__plane::before,
.mrrrcat-room__plane::after {
	content: "";
	display: block;
	position: absolute;
}

.mrrrcat-room__plane::before {
	background: #d8b85a;
	box-shadow:
		8px 0 #d8b85a,
		16px 0 #f4ead8,
		24px 0 #d8b85a,
		12px -6px #9ed3ff,
		20px 6px #9ed3ff;
	height: 7px;
	left: -37px;
	top: 7px;
	width: 7px;
}

.mrrrcat-room__plane::after {
	background: #111;
	height: 2px;
	left: -6px;
	top: 11px;
	width: 8px;
}

.mrrrcat-room__shelf {
	background:
		linear-gradient(90deg, #243630 0 18%, #d8b85a 18% 20%, #243630 20% 64%, #a8d5c2 64% 66%, #243630 66% 100%);
	border: 3px solid #111;
	box-shadow: 0 6px 0 #111;
	height: 20px;
	left: 13%;
	top: 39%;
	width: 37%;
}

.mrrrcat-room__desk {
	background: #23312e;
	border: 3px solid #111;
	box-shadow:
		inset 0 0 0 3px #3f4f49,
		0 26px 0 -14px #111,
		18px 48px 0 -19px #111,
		118px 48px 0 -19px #111;
	height: 58px;
	left: 56%;
	top: 61%;
	width: 180px;
}

.mrrrcat-room__bed {
	background:
		linear-gradient(180deg, #fff7e8 0 45%, #f4ead8 45% 63%, #eef4e8 63% 100%);
	border: 3px solid #111;
	box-shadow:
		inset 0 0 0 3px #d6cab8,
		0 8px 0 #111,
		24px -18px 0 -8px #f4ead8,
		30px -18px 0 -8px #111;
	height: 58px;
	left: 6%;
	top: 74%;
	width: 200px;
}

.mrrrcat-room__message {
	background: #111;
	border: 3px solid #a8d5c2;
	color: #f4ead8;
	font-family: "Courier New", Courier, monospace;
	font-weight: 900;
	left: 50%;
	line-height: 1.1;
	padding: 10px 12px;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	top: 14px;
	transform: translateX(-50%);
	width: min(88%, 430px);
	z-index: 20;
}

.mrrrcat-room__message strong,
.mrrrcat-room__message span {
	display: block;
}

.mrrrcat-room__message span {
	color: #d8b85a;
	font-size: 0.72rem;
	margin-top: 4px;
}

.mrrrcat-room__message.is-good {
	border-color: #d8b85a;
	color: #d8b85a;
}

.mrrrcat-room__message.is-bad {
	border-color: #7c2f24;
	color: #f0a090;
}

.mrrrcat-room__message.is-watch {
	border-color: #d8b85a;
	box-shadow: 0 0 0 3px #111, 0 0 18px rgba(216, 184, 90, 0.28);
}

.mrrrcat-room__message.is-watch span {
	color: #f4ead8;
}

.mrrrcat-room__message.is-repeat {
	border-color: #a8d5c2;
	box-shadow: 0 0 0 3px #111, 0 0 18px rgba(168, 213, 194, 0.28);
}

.mrrrcat-room__message.is-repeat strong {
	color: #a8d5c2;
}

.mrrrcat-room__message.is-cue {
	animation: mrrrcatCuePulse 520ms steps(2, end) infinite;
	border-color: #d8b85a;
	box-shadow: 0 0 0 3px #111, 0 0 22px rgba(216, 184, 90, 0.42);
	padding: 12px 14px;
}

.mrrrcat-room__message.is-cue strong {
	color: #d8b85a;
	font-size: clamp(1.15rem, 4vw, 1.75rem);
}

.mrrrcat-room__message.is-cue span {
	color: #f4ead8;
	font-size: 0.76rem;
}

.mrrrcat-room__guide {
	--p: clamp(4px, 1.05vw, 6px);
	bottom: 44px;
	left: 12%;
	position: absolute;
	z-index: 9;
}

.mrrrcat-room__bubble {
	background: #111;
	border: 2px solid #f4ead8;
	color: #f4ead8;
	display: block;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.7rem;
	font-weight: 900;
	left: calc(12% + 58px);
	line-height: 1.1;
	max-width: 150px;
	opacity: 0;
	padding: 7px;
	position: absolute;
	text-transform: uppercase;
	top: calc(100% - 150px);
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 18;
}

.mrrrcat-room__bubble.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mrrrcat-room__guide.is-happy {
	animation: mrrrcatGuideBounce 520ms steps(2, end) 2;
	filter: brightness(1.12);
}

.mrrrcat-room__guide.is-worried {
	animation: mrrrcatGuideShake 260ms steps(2, end) 2;
}

.mrrrcat-room__guide.is-peeking {
	animation: mrrrcatGuidePeek 640ms steps(2, end) 1;
	filter: brightness(1.16);
}

.mrrrcat-room__guide.is-pointing {
	animation: mrrrcatGuidePoint 520ms steps(2, end) 1;
}

.mrrrcat-room__guide.is-covering {
	animation: mrrrcatGuideCover 520ms steps(2, end) 1;
	filter: brightness(0.78);
}

.mrrrcat-room__guide.is-sleepy::after {
	color: #f4ead8;
	content: "Zz";
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	font-weight: 900;
	left: 72%;
	position: absolute;
	text-shadow: 2px 2px 0 #111;
	top: -16px;
	animation: mrrrcatSleepFloat 1200ms steps(3, end) infinite;
}

.mrrrcat-room__guide.is-sleepy {
	filter: brightness(0.82);
	transform: translateY(5px);
}

.mrrrcat-room__guide.is-sleepy .hoppy-cameo__scarf,
.mrrrcat-room__guide.is-sleepy .hoppy-cameo__detail {
	animation-play-state: paused;
}

.mrrrcat-room__guide.is-sleepy .hoppy-cameo__detail::before {
	background: #111;
	box-shadow:
		4.25em 0 #111,
		2.1em 2.08em #111;
	height: 0.18em;
	top: 0.32em;
}

.mrrrcat-room__cameo {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateY(16px);
	transition: opacity 220ms ease, transform 220ms ease;
	z-index: 14;
}

.mrrrcat-room__cameo.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mrrrcat-room__cameo--hoppy {
	bottom: 96px;
	right: 18%;
}

.mrrrcat-room__cameo--hoppy .hoppy-pixel-bunny {
	--p: clamp(3.2px, 0.8vw, 4.5px);
}

.mrrrcat-room__cameo--oliver {
	bottom: 94px;
	right: 20%;
}

.mrrrcat-room__cameo--oliver .hoppy-cameo__sprite {
	--p: clamp(3.2px, 0.8vw, 4.5px);
}

.mrrrcat-room__cameo-text {
	background: #111;
	border: 2px solid #f4ead8;
	color: #f4ead8;
	display: block;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.7rem;
	font-weight: 900;
	line-height: 1.1;
	max-width: 140px;
	opacity: 0;
	padding: 7px;
	position: absolute;
	right: 13%;
	text-transform: uppercase;
	top: 52%;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 18;
}

.mrrrcat-room__cameo-text.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mrrrcat-room__objects {
	inset: 0;
	position: absolute;
	z-index: 12;
}

.mrrrcat-room__objects::before,
.mrrrcat-room__objects::after {
	content: "";
	display: none;
}

.mrrrcat-clue {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	display: block;
	height: 80px;
	padding: 0;
	position: absolute;
	touch-action: manipulation;
	width: 80px;
}

.mrrrcat-clue:focus-visible {
	outline: 3px solid #a8d5c2;
	outline-offset: 4px;
}

.mrrrcat-clue::before {
	background: transparent;
	border: 2px solid transparent;
	content: "";
	inset: 4px;
	position: absolute;
}

.mrrrcat-room.is-repeat .mrrrcat-clue:not(.is-locked)::before {
	background: rgba(244, 234, 216, 0.04);
	border-color: rgba(244, 234, 216, 0.42);
	box-shadow: 0 0 0 3px #111;
}

.mrrrcat-clue.is-sequence-lit::before,
.mrrrcat-clue.is-correct::before {
	animation: mrrrcatGlow 520ms steps(2, end) infinite;
	border-color: #d8b85a;
	box-shadow: 0 0 0 3px #111, 0 0 14px #d8b85a;
}

.mrrrcat-clue.is-sequence-lit::before {
	background: rgba(216, 184, 90, 0.14);
	border-color: #d8b85a;
	box-shadow: 0 0 0 3px #111, 0 0 18px #d8b85a, inset 0 0 12px rgba(216, 184, 90, 0.55);
}

.mrrrcat-room.is-repeat .mrrrcat-clue.is-correct::before {
	animation: mrrrcatGlow 520ms steps(2, end) infinite;
	background: rgba(216, 184, 90, 0.18);
	border-color: #d8b85a;
	box-shadow: 0 0 0 3px #111, 0 0 18px #d8b85a, inset 0 0 12px rgba(216, 184, 90, 0.55);
}

.mrrrcat-clue.is-skip-light::before {
	animation: mrrrcatDecoyGlow 520ms steps(2, end) infinite;
}

.mrrrcat-clue.is-false-light::before {
	animation: mrrrcatDecoyGlow 460ms steps(2, end) infinite;
}

.mrrrcat-clue.is-false-blue::before {
	background: rgba(95, 157, 247, 0.12);
	border-color: #5f9df7;
	box-shadow: 0 0 0 3px #111, 0 0 14px #5f9df7;
}

.mrrrcat-clue.is-false-pink::before {
	background: rgba(240, 110, 169, 0.12);
	border-color: #f06ea9;
	box-shadow: 0 0 0 3px #111, 0 0 14px #f06ea9;
}

.mrrrcat-clue.is-false-green::before {
	background: rgba(99, 180, 109, 0.12);
	border-color: #63b46d;
	box-shadow: 0 0 0 3px #111, 0 0 14px #63b46d;
}

.mrrrcat-clue.is-false-purple::before {
	background: rgba(125, 74, 199, 0.12);
	border-color: #7d4ac7;
	box-shadow: 0 0 0 3px #111, 0 0 14px #7d4ac7;
}

.mrrrcat-clue.is-locked {
	cursor: default;
	filter: brightness(0.55);
	opacity: 0.65;
	pointer-events: none;
}

.mrrrcat-clue.is-found .mrrrcat-object,
.mrrrcat-clue.is-found .hoppy-object,
.mrrrcat-clue.is-correct .mrrrcat-object,
.mrrrcat-clue.is-correct .hoppy-object {
	animation: mrrrcatFound 260ms steps(3, end) 1;
	filter: brightness(1.45);
}

.mrrrcat-clue.is-wrong .mrrrcat-object,
.mrrrcat-clue.is-wrong .hoppy-object {
	animation: mrrrcatWrong 260ms steps(2, end) 1;
	filter: grayscale(1) brightness(0.7);
}

.mrrrcat-clue--lamp {
	left: 55%;
	top: 52%;
}

.mrrrcat-clue--token {
	left: 72%;
	top: 52%;
}

.mrrrcat-clue--snowdrop {
	left: 28%;
	top: 29.5%;
}

.mrrrcat-clue--bell {
	left: 13%;
	top: 29.5%;
}

.mrrrcat-clue--moon {
	left: 75%;
	top: 18%;
}

.mrrrcat-clue .hoppy-object {
	--p: 5px;
	left: 50%;
	margin-left: -4em;
	position: absolute;
	top: 50%;
	transform-origin: 50% 50%;
}

.mrrrcat-clue--snowdrop .hoppy-object {
	transform: translate(-50%, -50%) translateY(4px) scale(0.88);
}

.mrrrcat-object {
	display: block;
	font-size: 6px;
	height: 8em;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 8em;
}

.mrrrcat-object::before,
.mrrrcat-object::after {
	content: "";
	display: block;
	height: 1em;
	left: 0;
	position: absolute;
	top: 0;
	width: 1em;
}

.mrrrcat-object--book::before {
	background: transparent;
	box-shadow:
		1em 1em #7c2f24, 2em 1em #7c2f24, 3em 1em #d8b85a, 4em 1em #d8b85a, 5em 1em #2e6b9e,
		1em 2em #7c2f24, 2em 2em #f0a090, 3em 2em #d8b85a, 4em 2em #f4ead8, 5em 2em #2e6b9e, 6em 2em #9ed3ff,
		1em 3em #7c2f24, 2em 3em #7c2f24, 3em 3em #d8b85a, 4em 3em #d8b85a, 5em 3em #2e6b9e, 6em 3em #2e6b9e,
		1em 4em #7c2f24, 2em 4em #7c2f24, 3em 4em #d8b85a, 4em 4em #d8b85a, 5em 4em #2e6b9e, 6em 4em #2e6b9e,
		0 5em #5b3f2d, 1em 5em #5b3f2d, 2em 5em #5b3f2d, 3em 5em #5b3f2d, 4em 5em #5b3f2d, 5em 5em #5b3f2d, 6em 5em #5b3f2d, 7em 5em #5b3f2d;
}

.mrrrcat-object--carrot-lamp::before {
	background: transparent;
	box-shadow:
		3em 0 #d8b85a, 4em 0 #f4ead8, 5em 0 #d8b85a,
		2em 1em #d8b85a, 3em 1em #f4ead8, 4em 1em #f4ead8, 5em 1em #f4ead8, 6em 1em #d8b85a,
		3em 2em #d8792f, 4em 2em #e88b3e, 5em 2em #d8792f,
		3em 3em #d8792f, 4em 3em #e88b3e, 5em 3em #d8792f,
		4em 4em #4f7a37,
		4em 5em #4f7a37,
		2em 6em #5b3f2d, 3em 6em #5b3f2d, 4em 6em #5b3f2d, 5em 6em #5b3f2d, 6em 6em #5b3f2d;
}

.mrrrcat-object--carrot-lamp::after {
	background: transparent;
	box-shadow:
		1em 0 #f4ead8,
		7em 0 #f4ead8,
		0 2em #d8b85a,
		8em 2em #d8b85a;
	animation: mrrrcatLampBlink 900ms steps(2, end) infinite;
}

.mrrrcat-object--arcade-token::before {
	background: transparent;
	box-shadow:
		2em 1em #d8b85a, 3em 1em #f4ead8, 4em 1em #f4ead8, 5em 1em #d8b85a,
		1em 2em #d8b85a, 2em 2em #f4ead8, 3em 2em #111, 4em 2em #111, 5em 2em #f4ead8, 6em 2em #d8b85a,
		1em 3em #f4ead8, 2em 3em #111, 3em 3em #d8b85a, 4em 3em #d8b85a, 5em 3em #111, 6em 3em #f4ead8,
		1em 4em #f4ead8, 2em 4em #111, 3em 4em #d8b85a, 4em 4em #d8b85a, 5em 4em #111, 6em 4em #f4ead8,
		1em 5em #d8b85a, 2em 5em #f4ead8, 3em 5em #111, 4em 5em #111, 5em 5em #f4ead8, 6em 5em #d8b85a,
		2em 6em #d8b85a, 3em 6em #f4ead8, 4em 6em #f4ead8, 5em 6em #d8b85a;
}

.mrrrcat-object--box::before {
	background: transparent;
	box-shadow:
		1em 1em #5b3f2d, 2em 1em #5b3f2d, 3em 1em #7c2f24, 4em 1em #7c2f24, 5em 1em #5b3f2d, 6em 1em #5b3f2d,
		1em 2em #5b3f2d, 2em 2em #d8b85a, 3em 2em #7c2f24, 4em 2em #7c2f24, 5em 2em #d8b85a, 6em 2em #5b3f2d,
		1em 3em #7c2f24, 2em 3em #7c2f24, 3em 3em #5b3f2d, 4em 3em #5b3f2d, 5em 3em #7c2f24, 6em 3em #7c2f24,
		1em 4em #7c2f24, 2em 4em #7c2f24, 3em 4em #5b3f2d, 4em 4em #5b3f2d, 5em 4em #7c2f24, 6em 4em #7c2f24,
		1em 5em #5b3f2d, 2em 5em #5b3f2d, 3em 5em #7c2f24, 4em 5em #7c2f24, 5em 5em #5b3f2d, 6em 5em #5b3f2d;
}

.mrrrcat-object--cushion::before {
	background: transparent;
	box-shadow:
		2em 1em #a8d5c2, 3em 1em #a8d5c2, 4em 1em #91c6b0, 5em 1em #91c6b0,
		1em 2em #a8d5c2, 2em 2em #f4ead8, 3em 2em #a8d5c2, 4em 2em #91c6b0, 5em 2em #f4ead8, 6em 2em #91c6b0,
		1em 3em #a8d5c2, 2em 3em #a8d5c2, 3em 3em #91c6b0, 4em 3em #91c6b0, 5em 3em #91c6b0, 6em 3em #91c6b0,
		1em 4em #91c6b0, 2em 4em #a8d5c2, 3em 4em #a8d5c2, 4em 4em #91c6b0, 5em 4em #91c6b0, 6em 4em #6fa891,
		2em 5em #6fa891, 3em 5em #91c6b0, 4em 5em #91c6b0, 5em 5em #6fa891;
}

.mrrrcat-object--bell::before {
	background: transparent;
	box-shadow:
		4em 0 #d8b85a,
		3em 1em #d8b85a, 4em 1em #f4ead8, 5em 1em #d8b85a,
		2em 2em #d8b85a, 3em 2em #f4ead8, 4em 2em #f4ead8, 5em 2em #f4ead8, 6em 2em #d8b85a,
		2em 3em #d8b85a, 3em 3em #d8b85a, 4em 3em #f4ead8, 5em 3em #d8b85a, 6em 3em #d8b85a,
		1em 4em #d8b85a, 2em 4em #d8b85a, 3em 4em #d8b85a, 4em 4em #d8b85a, 5em 4em #d8b85a, 6em 4em #d8b85a, 7em 4em #d8b85a,
		3em 5em #5b3f2d, 4em 5em #5b3f2d, 5em 5em #5b3f2d,
		4em 6em #f4ead8;
}

.mrrrcat-object--moon::before {
	background: transparent;
	box-shadow:
		4em 0 #f4ead8, 5em 0 #f4ead8,
		3em 1em #f4ead8, 4em 1em #f4ead8, 5em 1em #f4ead8,
		2em 2em #f4ead8, 3em 2em #f4ead8, 4em 2em #f4ead8,
		2em 3em #f4ead8, 3em 3em #f4ead8,
		2em 4em #f4ead8, 3em 4em #f4ead8, 4em 4em #f4ead8,
		3em 5em #f4ead8, 4em 5em #f4ead8, 5em 5em #f4ead8,
		4em 6em #f4ead8, 5em 6em #f4ead8;
}

.mrrrcat-object--moon::after {
	background: transparent;
	box-shadow:
		5em 1em #171717,
		5em 2em #171717,
		4em 3em #171717,
		5em 3em #171717,
		5em 4em #171717;
}

.mrrrcat-result {
	align-items: center;
	color: #f4ead8;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: min(70vh, 520px);
	overflow: hidden;
	position: relative;
	text-align: center;
}

.mrrrcat-result h2,
.mrrrcat-result p {
	color: #f4ead8;
	max-width: 580px;
}

.mrrrcat-result [data-mrrrcat-result-copy].is-reward-copy {
	background: #111;
	border: 3px solid #a8d5c2;
	color: #f4ead8;
	font-family: "Courier New", Courier, monospace;
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	font-weight: 900;
	padding: 12px;
	text-transform: uppercase;
}

.mrrrcat-result__reward {
	background: #111;
	border: 3px solid #f4ead8;
	color: #f4ead8;
	font-family: "Courier New", Courier, monospace;
	font-size: clamp(1rem, 3vw, 1.55rem);
	font-weight: 900;
	margin: 10px 0 18px;
	max-width: 560px;
	padding: 16px;
	width: 100%;
}

.mrrrcat-result__reward.is-winner {
	background: #a8d5c2;
	color: #111;
}

.mrrrcat-result__reward.is-jackpot {
	animation: mrrrcatRewardPulse 760ms steps(2, end) 3;
	background: #f4ead8;
	border-color: #d8b85a;
	box-shadow: 0 0 0 4px #a8d5c2, 0 0 0 8px #111;
	color: #111;
}

.mrrrcat-result__actions {
	justify-content: center;
}

.mrrrcat-result__sparkles {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.mrrrcat-result > :not(.mrrrcat-result__sparkles) {
	position: relative;
	z-index: 1;
}

.mrrrcat-sparkle {
	background: var(--c);
	display: block;
	height: 7px;
	left: var(--x);
	position: absolute;
	top: var(--y);
	width: 7px;
	animation: mrrrcatSparklePop 980ms steps(5, end) var(--delay) forwards;
	box-shadow:
		10px 0 var(--c),
		-10px 0 var(--c),
		0 10px var(--c),
		0 -10px var(--c);
}

.is-hidden {
	display: none !important;
}

@keyframes mrrrcatGlow {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.42;
	}
}

@keyframes mrrrcatDecoyGlow {
	0%,
	100% {
		opacity: 0.78;
	}

	50% {
		opacity: 0.28;
	}
}

@keyframes mrrrcatPlayablePulse {
	0%,
	100% {
		opacity: 0.72;
	}

	50% {
		opacity: 1;
	}
}

@keyframes mrrrcatCountdownPulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.08);
	}
}

@keyframes mrrrcatTinyLights {
	0%,
	100% {
		opacity: 0.25;
	}

	50% {
		opacity: 1;
	}
}

@keyframes mrrrcatWindowPlane {
	0%,
	78% {
		opacity: 0;
		transform: translateX(245%);
	}

	82% {
		opacity: 1;
	}

	94% {
		opacity: 1;
		transform: translateX(-150%);
	}

	96%,
	100% {
		opacity: 0;
		transform: translateX(-150%);
	}
}

@keyframes mrrrcatCuePulse {
	0%,
	100% {
		transform: translateX(-50%) scale(1);
	}

	50% {
		transform: translateX(-50%) scale(1.04);
	}
}

@keyframes mrrrcatRoomPulse {
	0%,
	100% {
		filter: brightness(1);
	}

	50% {
		filter: brightness(1.12);
	}
}

@keyframes mrrrcatFound {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}

	100% {
		transform: translate(-50%, -50%) scale(1.3);
	}
}

@keyframes mrrrcatWrong {
	0%,
	100% {
		transform: translate(-50%, -50%);
	}

	50% {
		transform: translate(calc(-50% + 6px), -50%);
	}
}

@keyframes mrrrcatLampBlink {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.45;
	}
}

@keyframes mrrrcatGuideBounce {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-8px);
	}
}

@keyframes mrrrcatGuideShake {
	0%,
	100% {
		transform: translateX(0);
	}

	50% {
		transform: translateX(-6px);
	}
}

@keyframes mrrrcatGuidePeek {
	0%,
	100% {
		transform: translateY(0) scaleX(1);
	}

	50% {
		transform: translateY(-5px) scaleX(0.92);
	}
}

@keyframes mrrrcatGuidePoint {
	0%,
	100% {
		transform: translateX(0) rotate(0);
	}

	50% {
		transform: translateX(7px) rotate(2deg);
	}
}

@keyframes mrrrcatGuideCover {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(4px);
	}
}

@keyframes mrrrcatSleepFloat {
	0%,
	100% {
		opacity: 0.35;
		transform: translateY(0);
	}

	50% {
		opacity: 1;
		transform: translateY(-6px);
	}
}

@keyframes mrrrcatRewardPulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.04);
	}
}

@keyframes mrrrcatSparklePop {
	0% {
		opacity: 1;
		transform: translate(0, 0) scale(1);
	}

	100% {
		opacity: 0;
		transform: translate(var(--dx), var(--dy)) scale(0.2);
	}
}

@media (max-width: 760px) {
	.mrrrcat-corner {
		padding: 10px 8px 24px;
	}

	.mrrrcat-corner__intro {
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 18px;
	}

	.mrrrcat-corner__hero {
		min-height: 160px;
		order: -1;
	}

	.mrrrcat-corner__main-sprite {
		--p: 6px;
	}

	.mrrrcat-game {
		padding: 8px;
	}

	.mrrrcat-game__topbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mrrrcat-room {
		height: min(66vh, 520px);
		min-height: 430px;
	}

	.mrrrcat-room__window {
		height: 96px;
		left: 58%;
		top: 15%;
		width: 136px;
	}

	.mrrrcat-room__shelf {
		left: 10%;
		top: 39%;
		width: 44%;
	}

	.mrrrcat-room__desk {
		left: 48%;
		top: 63%;
		width: 146px;
	}

	.mrrrcat-room__bed {
		left: 5%;
		top: 76%;
		width: 172px;
	}

	.mrrrcat-room__message {
		font-size: 0.82rem;
		top: 10px;
	}

	.mrrrcat-clue {
		height: 66px;
		width: 66px;
	}

	.mrrrcat-clue--lamp {
		left: 44%;
		top: 54%;
	}

	.mrrrcat-clue--token {
		left: 69%;
		top: 54%;
	}

	.mrrrcat-clue--snowdrop {
		left: 31%;
		top: 29.5%;
	}

	.mrrrcat-clue--bell {
		left: 9%;
		top: 29.5%;
	}

	.mrrrcat-clue--moon {
		left: 71%;
		top: 20%;
	}

	.mrrrcat-room__guide {
		--p: 4px;
		bottom: 40px;
		left: 10%;
	}

	.mrrrcat-room__bubble {
		font-size: 0.62rem;
		left: 104px;
		max-width: 128px;
		top: calc(100% - 132px);
	}

	.mrrrcat-room__cameo--hoppy {
		bottom: 102px;
		right: 22%;
	}

	.mrrrcat-room__cameo--oliver {
		bottom: 100px;
		right: 24%;
	}

	.mrrrcat-room__cameo-text {
		font-size: 0.62rem;
		max-width: 118px;
		right: 10%;
		top: 54%;
	}

	.mrrrcat-room__cameo--hoppy .hoppy-pixel-bunny,
	.mrrrcat-room__cameo--oliver .hoppy-cameo__sprite {
		--p: 3.4px;
	}
}

@media (max-width: 420px) {
	.mrrrcat-corner__shell {
		border-width: 3px;
		box-shadow: 0 0 0 3px #111, 0 0 0 6px #3f4f49;
	}

	.mrrrcat-corner h1,
	.mrrrcat-result h2 {
		font-size: 2rem;
	}

	.mrrrcat-room {
		min-height: 410px;
	}

	.mrrrcat-object {
		font-size: 5px;
	}

	.mrrrcat-clue .hoppy-object {
		--p: 4.5px;
	}
}
