@keyframes sl-slap {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(1.9);
  }
  50% {
    opacity: 1;
    transform: translateY(0) scale(1.14, 0.8);
  }
  72% {
    transform: translateY(0) scale(0.95, 1.07);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes sl-wrap {
  0% {
    opacity: 1;
    transform: scaleX(0);
  }
  65% {
    transform: scaleX(1.12);
  }
  82% {
    transform: scaleX(0.96);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes sl-shake {
  0%, 100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-6px, 3px);
  }
  40% {
    transform: translate(5px, -3px);
  }
  60% {
    transform: translate(-3px, 2px);
  }
  80% {
    transform: translate(2px, -1px);
  }
}
@keyframes sl-rise {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sl-hang {
  0% {
    opacity: 0;
    transform: translateY(-120px) rotate(-7deg);
  }
  45% {
    opacity: 1;
    transform: translateY(0) rotate(4deg);
  }
  70% {
    transform: translateY(0) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
#full-area.sushi-lab {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #7fb9b8;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #2b2630;
}
#full-area.sushi-lab section, #full-area.sushi-lab section *, #full-area.sushi-lab .sl-meter, #full-area.sushi-lab .sl-meter * {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box;
}
#full-area.sushi-lab #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.sushi-lab #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #8fc5c4;
}
#full-area.sushi-lab #sl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  transition: filter 0.35s ease-out, transform 0.35s ease-out;
}
#full-area.sushi-lab[data-state=over] #sl-canvas {
  filter: blur(5px);
  transform: scale(1.03);
}
#full-area.sushi-lab button {
  border: 0;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
}
#full-area.sushi-lab section {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}
#full-area.sushi-lab .sl-meter {
  position: absolute;
  left: 22px;
  bottom: 84px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 6px;
  border-style: solid;
  border-width: 14px;
  border-image: url("/media/games/sushi-lab/images/ui/plate-white.webp") 40 fill/14px stretch;
  filter: drop-shadow(3px 5px 0 rgba(27, 42, 51, 0.28));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
#full-area.sushi-lab[data-state=play] .sl-meter {
  opacity: 1;
  pointer-events: auto;
}
#full-area.sushi-lab .sl-meter-bar {
  position: relative;
  width: 300px;
  height: 26px;
  border: 4px solid #2b2630;
  border-radius: 13px;
  background: #4a4e63;
  box-shadow: 0 3px 0 #2b2630, inset 0 4px 0 #3a3d50;
  overflow: hidden;
}
#full-area.sushi-lab .sl-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: #ffc93a;
  box-shadow: inset 0 -6px 0 #e09a12, inset 0 4px 0 #ffe28a;
}
#full-area.sushi-lab .sl-meter[data-mode=loud] .sl-meter-fill {
  background: #ff7a3d;
  box-shadow: inset 0 -6px 0 #c2471a, inset 0 4px 0 #ffb08a;
}
#full-area.sushi-lab .sl-meter-line {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 55%;
  width: 4px;
  margin-left: -2px;
  background: #2b2630;
}
#full-area.sushi-lab .sl-boost {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
#full-area.sushi-lab .sl-boost .sl-mic {
  width: 26px;
  height: 26px;
  flex: none;
}
#full-area.sushi-lab .sl-boost b {
  min-width: 44px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: #2b2630;
}
#full-area.sushi-lab .sl-sens {
  --pct: 25%;
  -webkit-appearance: none;
  appearance: none;
  width: 212px;
  height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  border: 3px solid #2b2630;
  background: linear-gradient(90deg, #ff7a3d var(--pct), #4a4e63 var(--pct));
  box-shadow: 0 3px 0 #2b2630;
  outline: none;
  cursor: pointer;
}
#full-area.sushi-lab .sl-sens::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff3e2;
  border: 4px solid #2b2630;
  box-shadow: inset 0 -5px 0 #e3d2bb, 0 3px 0 #2b2630;
  cursor: grab;
}
#full-area.sushi-lab .sl-sens::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff3e2;
  border: 4px solid #2b2630;
  box-shadow: inset 0 -5px 0 #e3d2bb, 0 3px 0 #2b2630;
  cursor: grab;
}
#full-area.sushi-lab[data-state=home] .sl-home {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#full-area.sushi-lab[data-state=over] .sl-over {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.15s;
}
#full-area.sushi-lab .sl-btn {
  position: relative;
  width: 330px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 18px;
  filter: drop-shadow(4px 6px 0 rgba(27, 42, 51, 0.28));
  transition: transform 0.12s ease;
}
#full-area.sushi-lab .sl-btn span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}
#full-area.sushi-lab .sl-btn:hover {
  transform: scale(1.04);
}
#full-area.sushi-lab .sl-btn:active {
  transform: scale(0.96);
}
#full-area.sushi-lab .sl-btn-slate {
  border-image: url("/media/games/sushi-lab/images/ui/plate-slate.webp") 40 fill/18px stretch;
}
#full-area.sushi-lab .sl-btn-slate span {
  color: #fff3e2;
  text-shadow: 0 3px 0 #1c1f30;
}
#full-area.sushi-lab .sl-btn-white {
  border-image: url("/media/games/sushi-lab/images/ui/plate-white.webp") 40 fill/18px stretch;
}
#full-area.sushi-lab .sl-btn-white span {
  color: #2b2630;
}
#full-area.sushi-lab .sl-home {
  left: 44px;
  top: 160px;
  width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#full-area.sushi-lab .sl-logo {
  position: relative;
  display: block;
  width: 530px;
  height: 246px;
}
#full-area.sushi-lab .sl-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform-origin: 50% 70%;
  filter: drop-shadow(4px 7px 0 rgba(27, 42, 51, 0.25));
}
#full-area.sushi-lab .sl-logo-band {
  clip-path: inset(57% 0 0 0);
}
#full-area.sushi-lab .sl-logo-word {
  clip-path: inset(0 0 35% 0);
}
#full-area.sushi-lab .sl-home-btns, #full-area.sushi-lab .sl-over-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#full-area.sushi-lab .sl-home-btns {
  margin-top: 22px;
  opacity: 0;
}
#full-area.sushi-lab .sl-home[data-intro~=band] .sl-logo-band {
  animation: sl-wrap 0.34s cubic-bezier(0.3, 0.8, 0.4, 1) both;
}
#full-area.sushi-lab .sl-home[data-intro~=word] .sl-logo-word {
  animation: sl-slap 0.36s ease-out both;
}
#full-area.sushi-lab .sl-home[data-intro~=word] .sl-logo {
  animation: sl-shake 0.3s linear 0.16s both;
}
#full-area.sushi-lab .sl-home[data-intro~=btns] .sl-home-btns {
  animation: sl-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
#full-area.sushi-lab .sl-home.sl-instant .sl-logo img, #full-area.sushi-lab .sl-home.sl-instant .sl-home-btns, #full-area.sushi-lab .sl-home.sl-instant .sl-logo {
  animation: none;
  opacity: 1;
  transform: none;
}
#full-area.sushi-lab .sl-over {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 70px;
  background: rgba(27, 42, 51, 0.22);
}
#full-area.sushi-lab .sl-receipt {
  position: relative;
  width: 360px;
  height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-top: 18px;
  background: url("/media/games/sushi-lab/images/ui/receipt.webp") center/100% 100% no-repeat;
  filter: drop-shadow(5px 7px 0 rgba(27, 42, 51, 0.22));
  transform-origin: 50% 0;
  opacity: 0;
}
#full-area.sushi-lab .sl-receipt::before, #full-area.sushi-lab .sl-receipt::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 26px;
  height: 300px;
  margin: -150px 0 0 -13px;
  background: url("/media/games/sushi-lab/images/scene/chopstick.webp") center/100% 100% no-repeat;
  filter: drop-shadow(-4px 3px 0 rgba(27, 42, 51, 0.25));
}
#full-area.sushi-lab .sl-receipt::before {
  transform: rotate(78deg);
}
#full-area.sushi-lab .sl-receipt::after {
  transform: rotate(-78deg);
}
#full-area.sushi-lab[data-state=over] .sl-receipt {
  animation: sl-hang 0.6s ease-out 0.2s both;
}
#full-area.sushi-lab .sl-receipt-label {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: #2b2630;
}
#full-area.sushi-lab .sl-receipt-score {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 120px;
  line-height: 1;
  color: #ff7a3d;
  text-shadow: 0 5px 0 #c2471a;
}
#full-area.sushi-lab .sl-receipt-best {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: #2b2630;
}
#full-area.sushi-lab .sl-receipt-best.is-new {
  color: #e2483d;
}
#full-area.sushi-lab .sl-over-btns {
  margin-top: 22px;
  opacity: 0;
}
#full-area.sushi-lab[data-state=over] .sl-over-btns {
  animation: sl-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) 0.55s both;
}
