@font-face {
  font-family: rrShout;
  src: url("/media/fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-display: block;
}
#full-area.spinny-mouse {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #5f9a35;
  user-select: none;
  font-family: fontFamilyBold, "Segoe UI", system-ui, sans-serif;
  color: #17150b;
}
#full-area.spinny-mouse .rr-hud, #full-area.spinny-mouse .rr-hud *, #full-area.spinny-mouse .rr-tip, #full-area.spinny-mouse .rr-tip *, #full-area.spinny-mouse .rr-meter, #full-area.spinny-mouse .rr-meter *, #full-area.spinny-mouse section, #full-area.spinny-mouse section * {
  font-family: fontFamilyBold, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}
#full-area.spinny-mouse #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.spinny-mouse #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #5f9a35;
}
#full-area.spinny-mouse #rr-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
#full-area.spinny-mouse .rr-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
#full-area.spinny-mouse button {
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  border: 0;
  background: none;
  color: inherit;
  outline: none;
  padding: 0;
  margin: 0;
}
#full-area.spinny-mouse .rr-nail {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #c9c3b8;
  border: 3px solid #17150b;
  box-sizing: border-box;
  pointer-events: none;
}
#full-area.spinny-mouse .rr-nail-left {
  left: 9px;
}
#full-area.spinny-mouse .rr-nail-right {
  right: 9px;
}
#full-area.spinny-mouse .rr-hud {
  position: absolute;
  left: 22px;
  top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#full-area.spinny-mouse .rr-score {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 34px 7px 10px;
  background: #a8693a;
  border: 4px solid #17150b;
  border-radius: 16px;
  box-shadow: inset 0 3px 0 rgba(255, 214, 160, 0.32), inset 0 -5px 0 rgba(79, 43, 18, 0.4), 0 6px 0 #17150b;
}
#full-area.spinny-mouse .rr-score img {
  width: 52px;
  height: 52px;
  display: block;
}
#full-area.spinny-mouse .rr-score b {
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 3px 0 0 #17150b, -3px 0 0 #17150b, 0 3px 0 #17150b, 0 -3px 0 #17150b, 3px 3px 0 #17150b, -3px 3px 0 #17150b, 3px -3px 0 #17150b, -3px -3px 0 #17150b, 0 4px 0 #17150b;
  min-width: 30px;
  display: inline-block;
}
#full-area.spinny-mouse .rr-score.is-bump b {
  animation: rrBump 0.32s ease-out;
}
@keyframes rrBump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}
#full-area.spinny-mouse .rr-best {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-left: 10px;
  padding: 3px 14px 5px;
  background: #fff4d6;
  border: 3px solid #17150b;
  border-radius: 10px;
  box-shadow: inset 0 -4px 0 rgba(122, 69, 32, 0.18), 0 4px 0 #17150b;
}
#full-area.spinny-mouse .rr-best span {
  font-size: 14px;
  color: #4f2b12;
}
#full-area.spinny-mouse .rr-best b {
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: #17150b;
}
#full-area.spinny-mouse .rr-best.is-empty {
  opacity: 0;
}
#full-area.spinny-mouse .rr-tip {
  position: absolute;
  left: 50%;
  top: 14px;
  width: max-content;
  min-width: 420px;
  max-width: 860px;
  box-sizing: border-box;
  padding: 10px 34px 12px 30px;
  background: #a8693a;
  border: 4px solid #17150b;
  border-radius: 16px;
  box-shadow: inset 0 3px 0 rgba(255, 214, 160, 0.32), inset 0 -5px 0 rgba(79, 43, 18, 0.4), 0 6px 0 #17150b;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translate(-50%, -150%);
  transition: transform 0.35s ease-in, opacity 0.2s ease 0.15s;
  pointer-events: none;
}
#full-area.spinny-mouse .rr-tip.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
  transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.15s ease;
}
#full-area.spinny-mouse .rr-tip-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff4d6;
  border: 4px solid #17150b;
  border-radius: 50%;
  box-sizing: border-box;
}
#full-area.spinny-mouse .rr-tip-icon svg, #full-area.spinny-mouse .rr-tip-icon img {
  display: none;
  width: 40px;
  height: 40px;
}
#full-area.spinny-mouse .rr-tip[data-icon=shout] .rr-icon-shout,
#full-area.spinny-mouse .rr-tip[data-icon=trap] .rr-icon-trap,
#full-area.spinny-mouse .rr-tip[data-icon=paw] .rr-icon-paw,
#full-area.spinny-mouse .rr-tip[data-icon=cheese] .rr-icon-cheese {
  display: block;
}
#full-area.spinny-mouse .rr-tip-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#full-area.spinny-mouse .rr-tip-copy b {
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 26px;
  color: #fff4d6;
  text-shadow: 3px 0 0 #17150b, -3px 0 0 #17150b, 0 3px 0 #17150b, 0 -3px 0 #17150b, 3px 3px 0 #17150b, -3px 3px 0 #17150b, 3px -3px 0 #17150b, -3px -3px 0 #17150b, 0 4px 0 #17150b;
}
#full-area.spinny-mouse .rr-tip-copy span {
  display: none;
  font-size: 16px;
  color: #ffe7c2;
}
#full-area.spinny-mouse .rr-tip.has-sub .rr-tip-copy span {
  display: block;
}
#full-area.spinny-mouse .rr-shout {
  position: absolute;
  left: 50%;
  top: 12px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translate(-50%, -18px) rotate(-2deg);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}
#full-area.spinny-mouse .rr-shout, #full-area.spinny-mouse .rr-shout * {
  font-family: rrShout, fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 1px;
  line-height: 1;
}
#full-area.spinny-mouse .rr-shout-word {
  display: inline-block;
  font-size: 46px;
  color: #fff4d6;
  transform-origin: 50% 80%;
  text-shadow: 3px 0 0 #17150b, -3px 0 0 #17150b, 0 3px 0 #17150b, 0 -3px 0 #17150b, 3px 3px 0 #17150b, -3px 3px 0 #17150b, 3px -3px 0 #17150b, -3px -3px 0 #17150b, 0 5px 0 #17150b;
  animation: rrShoutPulse 0.85s ease-in-out infinite alternate;
}
#full-area.spinny-mouse .rr-shout-cheese {
  display: inline-flex;
}
#full-area.spinny-mouse .rr-shout-cheese span {
  display: inline-block;
  font-size: 52px;
  color: #ffd23f;
  text-shadow: 3px 0 0 #17150b, -3px 0 0 #17150b, 0 3px 0 #17150b, 0 -3px 0 #17150b, 3px 3px 0 #17150b, -3px 3px 0 #17150b, 3px -3px 0 #17150b, -3px -3px 0 #17150b, 0 5px 0 #17150b;
  animation: rrShoutWave 0.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.11s);
  transform-origin: 50% 100%;
  transition: color 0.15s ease;
}
#full-area.spinny-mouse:not([data-mp="1"]) .rr-shout-mp {
  display: none;
}
#full-area.spinny-mouse:not([data-mp="1"]) .rr-shout-say {
  animation: none;
  transform-origin: 50% 100%;
}
#full-area.spinny-mouse:not([data-mp="1"]) .rr-shout-cheese {
  transform-origin: 0% 80%;
}
#full-area.spinny-mouse:not([data-mp="1"]) .rr-shout-cheese span {
  animation: none;
}
#full-area.spinny-mouse:not([data-mp="1"]) .rr-shout.is-loud .rr-shout-cheese span {
  color: #ff8a1f;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-say,
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span {
  animation: rrSayIn 0.45s ease-out both;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-say {
  animation-delay: 0.1s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(1) {
  animation-delay: 0.22s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(2) {
  animation-delay: 0.28s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(3) {
  animation-delay: 0.34s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(4) {
  animation-delay: 0.4s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(5) {
  animation-delay: 0.46s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(6) {
  animation-delay: 0.52s;
}
#full-area.spinny-mouse:not([data-mp="1"])[data-state=play] .rr-shout .rr-shout-cheese span:nth-child(7) {
  animation-delay: 0.58s;
}
#full-area.spinny-mouse[data-mp="1"] .rr-shout-say {
  display: none;
}
@keyframes rrSayIn {
  0% {
    scale: 1 0;
    opacity: 0;
  }
  55% {
    scale: 1.08 1.18;
    opacity: 1;
  }
  78% {
    scale: 1.04 0.92;
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
@keyframes rrShoutPulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.09);
  }
}
@keyframes rrShoutWave {
  from {
    transform: translateY(2px);
  }
  to {
    transform: translateY(-5px);
  }
}
#full-area.spinny-mouse[data-state=play] .rr-shout {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-2deg);
}
#full-area.spinny-mouse[data-state=play] .rr-tip.is-on ~ .rr-shout {
  opacity: 0;
  transform: translate(-50%, -18px) rotate(-2deg);
}
#full-area.spinny-mouse .rr-meter {
  position: absolute;
  left: 22px;
  bottom: 88px;
  width: 292px;
  box-sizing: border-box;
  padding: 9px 28px 8px;
  background: #a8693a;
  border: 4px solid #17150b;
  border-radius: 14px;
  box-shadow: inset 0 3px 0 rgba(255, 214, 160, 0.32), inset 0 -5px 0 rgba(79, 43, 18, 0.4), 0 6px 0 #17150b;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#full-area.spinny-mouse .rr-meter.is-nudge {
  animation: rrNudge 0.9s ease-in-out infinite;
}
@keyframes rrNudge {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.05);
  }
}
#full-area.spinny-mouse .rr-meter-bar {
  position: relative;
  display: flex;
  gap: 3px;
  height: 34px;
  padding: 4px 6px;
  border: 3px solid #17150b;
  border-radius: 9px;
  background: #4f2b12;
  box-sizing: border-box;
}
#full-area.spinny-mouse .rr-meter-bar i {
  --fill: #6e3d1b;
  --hole: #5d3317;
  flex: 1;
  display: block;
  transition: transform 0.08s ease;
}
#full-area.spinny-mouse .rr-meter-bar i svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(1) {
  --lit: #fff09a;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(2) {
  --lit: #ffe878;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(3) {
  --lit: #ffdf5c;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(4) {
  --lit: #ffd23f;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(5) {
  --lit: #ffc533;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(6) {
  --lit: #ffb52a;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(7) {
  --lit: #ffa324;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(8) {
  --lit: #ff8f1f;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(9) {
  --lit: #f8731d;
}
#full-area.spinny-mouse .rr-meter-bar i:nth-child(10) {
  --lit: #ef561b;
}
#full-area.spinny-mouse .rr-meter-bar i.is-lit {
  --fill: var(--lit);
  --hole: #d98a12;
  transform: translateY(-2px);
}
#full-area.spinny-mouse .rr-meter-bar .rr-meter-mark {
  position: absolute;
  left: calc(6px + (100% - 12px) * 0.4 - 2px);
  top: -8px;
  bottom: -8px;
  width: 4px;
  border-radius: 2px;
  background: #fff4d6;
  box-shadow: 0 0 0 2px #17150b;
}
#full-area.spinny-mouse .rr-boost {
  display: flex;
  align-items: center;
  gap: 9px;
}
#full-area.spinny-mouse .rr-boost .rr-mic {
  flex: 0 0 auto;
  width: 17px;
  height: 22px;
  display: block;
}
#full-area.spinny-mouse .rr-boost b {
  min-width: 38px;
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff4d6;
  text-align: right;
  text-shadow: 1.5px 0 0 #17150b, -1.5px 0 0 #17150b, 0 1.5px 0 #17150b, 0 -1.5px 0 #17150b, 1.5px 1.5px 0 #17150b, -1.5px 1.5px 0 #17150b, 1.5px -1.5px 0 #17150b, -1.5px -1.5px 0 #17150b, 0 2px 0 #17150b;
}
#full-area.spinny-mouse .rr-sens {
  --pct: 25%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 12px;
  margin: 0;
  padding: 0;
  border-radius: 8px;
  border: 3px solid #17150b;
  background: linear-gradient(90deg, #ffd23f var(--pct), #4f2b12 var(--pct));
  outline: none;
}
#full-area.spinny-mouse .rr-sens::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff4d6;
  border: 3px solid #17150b;
}
#full-area.spinny-mouse .rr-sens::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff4d6;
  border: 3px solid #17150b;
}
#full-area.spinny-mouse .rr-intro {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
#full-area.spinny-mouse .rr-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 6, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#full-area.spinny-mouse .rr-intro > * {
  position: absolute;
  left: 50%;
  top: 48%;
}
#full-area.spinny-mouse .rr-intro.is-on {
  visibility: visible;
}
#full-area.spinny-mouse .rr-intro.is-hit::before {
  opacity: 1;
}
#full-area.spinny-mouse .rr-intro.is-out::before {
  opacity: 0;
  transition: opacity 0.45s ease 0.1s;
}
#full-area.spinny-mouse .rr-intro-star {
  width: 760px;
  height: 760px;
  margin: -380px 0 0 -380px;
  opacity: 0;
}
#full-area.spinny-mouse .rr-intro.is-hit .rr-intro-star {
  animation: rrStar 820ms cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
#full-area.spinny-mouse .rr-intro-logo {
  width: 860px;
  height: auto;
  display: block;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  will-change: transform;
}
#full-area.spinny-mouse .rr-intro-logo picture {
  display: block;
}
#full-area.spinny-mouse .rr-intro-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
#full-area.spinny-mouse .rr-intro.is-hit .rr-intro-logo {
  animation: rrLogoThrow 660ms cubic-bezier(0.2, 1.5, 0.4, 1) 60ms both, rrLogoBob 1.5s ease-in-out 720ms infinite;
}
#full-area.spinny-mouse .rr-intro.is-hit.is-out .rr-intro-logo {
  animation: rrLogoDash 520ms cubic-bezier(0.55, 0, 0.9, 0.45) both;
}
#full-area.spinny-mouse .rr-intro-mouse {
  position: absolute;
  left: 648px;
  top: -14px;
  width: 148px;
  height: 175px;
  transform-origin: 50% 100%;
  isolation: isolate;
}
#full-area.spinny-mouse .rr-intro-spinner {
  position: absolute;
  inset: 0;
  background: url("/media/games/spinny-mouse/images/logo-parts/mouse-spin.webp?v=1") 0 0/400% 100% no-repeat;
}
#full-area.spinny-mouse .rr-intro-swirl {
  position: absolute;
  left: -38px;
  top: 92px;
  width: 224px;
  height: 70px;
  overflow: visible;
}
#full-area.spinny-mouse .rr-intro-swirl ellipse {
  fill: none;
  stroke: #17150b;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 120 90 60 120;
}
#full-area.spinny-mouse .rr-intro-swirl.is-back {
  z-index: -1;
}
#full-area.spinny-mouse .rr-intro-swirl.is-back ellipse {
  opacity: 0.55;
}
#full-area.spinny-mouse .rr-intro.is-on .rr-intro-spinner {
  animation: rrSpin 480ms steps(1, end) infinite;
}
#full-area.spinny-mouse .rr-intro.is-on .rr-intro-swirl ellipse {
  animation: rrSwirl 480ms linear infinite;
}
#full-area.spinny-mouse .rr-intro.is-hit .rr-intro-mouse {
  animation: rrHop 460ms cubic-bezier(0.3, 0, 0.5, 1) 1040ms;
}
#full-area.spinny-mouse .rr-intro > .rr-intro-paw {
  left: 1040px;
  top: 182px;
  width: 350px;
  height: auto;
  max-width: none;
  transform: translateX(420px);
  transform-origin: 100% 50%;
}
#full-area.spinny-mouse .rr-intro.is-hit > .rr-intro-paw {
  animation: rrPaw 1600ms linear both;
}
@media (prefers-reduced-motion: reduce) {
  #full-area.spinny-mouse .rr-intro-mouse,
  #full-area.spinny-mouse .rr-intro > .rr-intro-paw {
    display: none;
  }
}
#full-area.spinny-mouse .rr-intro-streaks {
  width: 0;
  height: 0;
}
#full-area.spinny-mouse .rr-intro-streaks span {
  position: absolute;
  left: 0;
  top: var(--y);
  width: var(--w);
  height: 12px;
  margin-left: -200px;
  border-radius: 6px;
  background: #fff4d6;
  opacity: 0;
}
#full-area.spinny-mouse .rr-intro.is-out .rr-intro-streaks span {
  animation: rrStreak 460ms ease-out var(--dl) both;
}
@keyframes rrStar {
  0% {
    transform: scale(0.1) rotate(-25deg);
    opacity: 1;
  }
  55% {
    transform: scale(1) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.08) rotate(9deg);
    opacity: 0;
  }
}
@keyframes rrLogoThrow {
  0% {
    transform: translate(-50%, -50%) scale(0.2) rotate(-9deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.14) rotate(3deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}
@keyframes rrLogoBob {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, calc(-50% - 7px)) scale(1.02);
  }
}
@keyframes rrLogoDash {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  24% {
    transform: translate(calc(-50% - 60px), -50%) scale(0.9, 1.08);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + 1500px), -50%) scale(1.6, 0.8);
    opacity: 1;
  }
}
@keyframes rrStreak {
  0% {
    transform: translateX(420px) scaleX(0.3);
    opacity: 0;
  }
  30% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(-760px) scaleX(1.3);
    opacity: 0;
  }
}
@keyframes rrSpin {
  0% {
    background-position-x: 0%;
    transform: scaleX(1);
  }
  16.66% {
    background-position-x: 33.333%;
    transform: scaleX(1);
  }
  33.33% {
    background-position-x: 66.667%;
    transform: scaleX(1);
  }
  50% {
    background-position-x: 100%;
    transform: scaleX(1);
  }
  66.66% {
    background-position-x: 66.667%;
    transform: scaleX(-1);
  }
  83.33% {
    background-position-x: 33.333%;
    transform: scaleX(-1);
  }
  100% {
    background-position-x: 0%;
    transform: scaleX(1);
  }
}
@keyframes rrSwirl {
  to {
    stroke-dashoffset: -390;
  }
}
@keyframes rrHop {
  0% {
    transform: translateY(0) scale(1);
  }
  6% {
    transform: translateY(0) scale(1.08, 0.88);
  }
  14% {
    transform: translateY(0) scale(0.92, 1.1);
  }
  50% {
    transform: translateY(-42px) scale(1);
  }
  86% {
    transform: translateY(0) scale(1);
  }
  93% {
    transform: translateY(0) scale(1.12, 0.86);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@keyframes rrPaw {
  0%, 43% {
    transform: translateX(420px) rotate(0deg) scaleX(1);
    animation-timing-function: cubic-bezier(0.15, 0.8, 0.3, 1);
  }
  62% {
    transform: translateX(0) rotate(0deg) scaleX(1);
    animation-timing-function: ease-in-out;
  }
  66% {
    transform: translateX(-8px) rotate(-4deg) scaleX(1);
  }
  70% {
    transform: translateX(4px) rotate(3deg) scaleX(1);
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.4);
  }
  78% {
    transform: translateX(-84px) rotate(10deg) scaleX(1.1);
    animation-timing-function: cubic-bezier(0.2, 0.6, 0.4, 1);
  }
  100% {
    transform: translateX(440px) rotate(0deg) scaleX(1);
  }
}
#full-area.spinny-mouse .rr-over {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 300px;
  box-sizing: border-box;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}
#full-area.spinny-mouse .rr-board {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 46px 14px;
  background: #a8693a;
  border: 4px solid #17150b;
  border-radius: 16px;
  box-shadow: inset 0 3px 0 rgba(255, 214, 160, 0.32), inset 0 -5px 0 rgba(79, 43, 18, 0.4), 0 6px 0 #17150b;
}
#full-area.spinny-mouse .rr-board-cell {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 18px;
}
#full-area.spinny-mouse .rr-board-cell span {
  color: #fff4d6;
  text-shadow: 2px 0 0 #17150b, -2px 0 0 #17150b, 0 2px 0 #17150b, 0 -2px 0 #17150b, 2px 2px 0 #17150b, -2px 2px 0 #17150b, 2px -2px 0 #17150b, -2px -2px 0 #17150b, 0 2px 0 #17150b;
}
#full-area.spinny-mouse .rr-board-cell b {
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}
#full-area.spinny-mouse .rr-board-score span,
#full-area.spinny-mouse .rr-board-best span {
  font-size: 22px;
}
#full-area.spinny-mouse .rr-board-score b,
#full-area.spinny-mouse .rr-board-best b {
  font-size: 60px;
  text-shadow: 4px 0 0 #17150b, -4px 0 0 #17150b, 0 4px 0 #17150b, 0 -4px 0 #17150b, 4px 4px 0 #17150b, -4px 4px 0 #17150b, 4px -4px 0 #17150b, -4px -4px 0 #17150b, 0 6px 0 #17150b;
}
#full-area.spinny-mouse .rr-board-best b {
  color: #ffd23f;
}
#full-area.spinny-mouse .rr-stamp {
  position: absolute;
  right: -54px;
  top: -24px;
  padding: 6px 12px 5px;
  border: 4px solid #e8382f;
  border-radius: 10px;
  font-family: fontFamilyUltra, "Arial Black", Impact, sans-serif;
  font-size: 20px;
  color: #e8382f;
  background: #fff4d6;
  transform: rotate(10deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.2s ease 0.5s, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1) 0.5s;
}
#full-area.spinny-mouse .rr-over[data-best="1"] .rr-stamp {
  opacity: 1;
  transform: rotate(10deg) scale(1);
}
#full-area.spinny-mouse .rr-over-actions {
  display: flex;
  gap: 26px;
}
#full-area.spinny-mouse .rr-plank {
  position: relative;
  height: 66px;
  min-width: 236px;
  padding: 0 40px;
  border: 4px solid #17150b;
  border-radius: 12px;
  font-size: 24px;
  line-height: 1;
  color: #17150b;
  box-shadow: inset 0 -6px 0 rgba(79, 43, 18, 0.28), 0 6px 0 #17150b;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
#full-area.spinny-mouse .rr-plank::before, #full-area.spinny-mouse .rr-plank::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #c9c3b8;
  border: 3px solid #17150b;
  box-sizing: border-box;
}
#full-area.spinny-mouse .rr-plank::before {
  left: 11px;
}
#full-area.spinny-mouse .rr-plank::after {
  right: 11px;
}
#full-area.spinny-mouse .rr-plank:active {
  transform: translateY(5px);
  box-shadow: inset 0 -6px 0 rgba(79, 43, 18, 0.28), 0 1px 0 #17150b;
}
#full-area.spinny-mouse .rr-plank-yellow {
  background: #ffd23f;
}
#full-area.spinny-mouse .rr-plank-cream {
  background: #fff4d6;
}
#full-area.spinny-mouse[data-state=loading] .rr-hud, #full-area.spinny-mouse[data-state=intro] .rr-hud, #full-area.spinny-mouse[data-state=over] .rr-hud {
  opacity: 0;
}
#full-area.spinny-mouse[data-state=loading] .rr-meter, #full-area.spinny-mouse[data-state=intro] .rr-meter, #full-area.spinny-mouse[data-state=over] .rr-meter {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
#full-area.spinny-mouse[data-state=over] .rr-over {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s, visibility 0s linear 0.3s;
}

#SOG-mode-pick[data-game=spinny-mouse] {
  --pick-display: fontFamilyUltra, Arial Black, Impact, sans-serif;
  --pick-font: fontFamilyUltra, Arial Black, Impact, sans-serif;
  --pick-ink: #17150b;
  --pick-solo-bg: linear-gradient(180deg, #ffe88a, #ffd23f 58%, #e0a91f);
  --pick-solo-text: #17150b;
  --pick-friends-bg: linear-gradient(180deg, #ff7a70, #e8382f 58%, #b5221b);
  --pick-friends-text: #ffffff;
  --pick-or-bg: #fff4d6;
  --pick-or-text: #17150b;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-world, #SOG-mode-pick[data-game=spinny-mouse] .smp-yard, #SOG-mode-pick[data-game=spinny-mouse] .smp-tree, #SOG-mode-pick[data-game=spinny-mouse] .smp-cheese, #SOG-mode-pick[data-game=spinny-mouse] .smp-cheese i, #SOG-mode-pick[data-game=spinny-mouse] .smp-mouse, #SOG-mode-pick[data-game=spinny-mouse] .smp-spin, #SOG-mode-pick[data-game=spinny-mouse] .smp-art {
  position: absolute;
  display: block;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-world {
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  scale: 1.05;
  animation: smpDrift 14s ease-in-out infinite alternate;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-yard {
  inset: 0;
  background: url("/media/games/spinny-mouse/images/mode-pick/yard.jpg") 0 0/100% 100% no-repeat;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-tree {
  left: calc(var(--x) - 120px);
  top: calc(var(--y) - 125px);
  width: 239px;
  height: 250px;
  background: 0 0/100% 100% no-repeat;
  animation: smpSway var(--sway) ease-in-out var(--lag) infinite alternate;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-tree.is-flipped {
  transform: scaleX(-1);
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-cheese {
  left: calc(var(--x) - 80px);
  top: calc(var(--y) - 80px);
  width: 160px;
  height: 165px;
  rotate: var(--tilt);
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-cheese i {
  inset: 0;
  background: 0 0/100% 100% no-repeat;
  animation: smpPulse 1.57s ease-in-out var(--lag) infinite alternate;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-mouse {
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-spin {
  left: calc(-92px * var(--f));
  top: calc(-131px * var(--f));
  width: calc(184px * var(--f));
  height: calc(300px * var(--f));
  transform-origin: 50% 43.66%;
  animation: smpTurn var(--turn) linear var(--phase) infinite;
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-spin.is-shadow {
  translate: 8px 12px;
  opacity: var(--shade);
}
#SOG-mode-pick[data-game=spinny-mouse] .smp-art {
  inset: 0;
  background-position: 0 0;
  background-size: calc(184px * var(--f) * 18) 100%;
  background-repeat: no-repeat;
  animation: smpFrames 1.29s steps(18) infinite;
}
#SOG-mode-pick[data-game=spinny-mouse][data-phase=in] .smp-mouse[data-enter=left] {
  animation: smpEnterLeft 0.85s cubic-bezier(0.18, 0.8, 0.3, 1) var(--delay) both;
}
#SOG-mode-pick[data-game=spinny-mouse][data-phase=in] .smp-mouse[data-enter=right] {
  animation: smpEnterRight 0.85s cubic-bezier(0.18, 0.8, 0.3, 1) var(--delay) both;
}
#SOG-mode-pick[data-game=spinny-mouse][data-phase=in] .smp-cheese {
  animation: smpPop 0.55s cubic-bezier(0.3, 1.3, 0.5, 1) var(--delay) both;
}
#SOG-mode-pick[data-game=spinny-mouse][data-phase=idle] .mode-pick-side:hover .smp-mouse, #SOG-mode-pick[data-game=spinny-mouse][data-phase=idle] .mode-pick-side:focus-visible .smp-mouse {
  animation: smpHop 0.5s ease-out var(--leave) both;
}
#SOG-mode-pick[data-game=spinny-mouse][data-phase=go-solo] .is-solo .smp-mouse {
  animation: smpDash 0.6s cubic-bezier(0.5, 0, 0.9, 0.5) var(--leave) both;
}
#SOG-mode-pick[data-game=spinny-mouse][data-phase=go-friends] .is-friends .smp-mouse {
  animation: smpHop 0.5s ease-out var(--leave) both;
}

@keyframes smpDrift {
  from {
    translate: -15px 6px;
  }
  to {
    translate: 15px -6px;
  }
}
@keyframes smpSway {
  from {
    rotate: -2.5deg;
    scale: 1;
  }
  to {
    rotate: 2.5deg;
    scale: 1.03;
  }
}
@keyframes smpPulse {
  from {
    scale: 0.97;
  }
  to {
    scale: 1.04;
  }
}
@keyframes smpTurn {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}
@keyframes smpFrames {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: calc(-184px * var(--f) * 18);
  }
}
@keyframes smpEnterLeft {
  from {
    translate: -640px 0;
  }
  to {
    translate: 0 0;
  }
}
@keyframes smpEnterRight {
  from {
    translate: 640px 0;
  }
  to {
    translate: 0 0;
  }
}
@keyframes smpPop {
  0% {
    scale: 0.4;
    opacity: 0;
  }
  60% {
    scale: 1.1;
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
@keyframes smpHop {
  0% {
    scale: 1;
  }
  35% {
    scale: 1.12;
  }
  100% {
    scale: 1;
  }
}
@keyframes smpDash {
  from {
    translate: 0 0;
  }
  to {
    translate: 820px 0;
  }
}
