@keyframes sl-rise {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sl-scroll-in {
  0% {
    opacity: 0;
    transform: translateY(-70px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(8px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#full-area.sing-line {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #7fd8ef;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #2b1a10;
}
#full-area.sing-line section, #full-area.sing-line section *, #full-area.sing-line .sl-meter, #full-area.sing-line .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.sing-line #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.sing-line #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #8fe3f6;
}
#full-area.sing-line #sl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  transition: filter 0.35s ease, transform 0.35s ease;
}
#full-area.sing-line[data-state=over] #sl-canvas, #full-area.sing-line[data-state=levels] #sl-canvas {
  filter: blur(5px) saturate(0.8) brightness(0.74);
  transform: scale(1.04);
}
#full-area.sing-line button {
  border: 0;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
}
#full-area.sing-line section {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}
#full-area.sing-line[data-state=levels] .sl-levels {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#full-area.sing-line[data-state=over] .sl-over {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.15s;
}
#full-area.sing-line .sl-scroll {
  position: absolute;
  background: center/100% 100% no-repeat;
  opacity: 0;
}
#full-area.sing-line[data-state=over] .sl-over .sl-scroll {
  animation: sl-scroll-in 0.5s ease-out 0.15s both;
}
#full-area.sing-line[data-state=levels] .sl-levels .sl-scroll {
  animation: sl-scroll-in 0.5s ease-out 0.1s both;
}
#full-area.sing-line .sl-scroll-tall {
  left: 440px;
  top: 14px;
  width: 400px;
  height: 519px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 64px 0 62px;
  background-image: url("/media/games/sing-line/images/ui/scroll-tall.webp");
}
#full-area.sing-line .sl-title {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  color: #2b1a10;
}
#full-area.sing-line .sl-title b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  line-height: 1;
}
#full-area.sing-line .sl-stars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 14px 0 2px;
}
#full-area.sing-line .sl-stars svg {
  width: 56px;
  height: 56px;
  overflow: visible;
}
#full-area.sing-line .sl-stars svg:nth-child(2) {
  width: 68px;
  height: 68px;
  margin-bottom: 8px;
}
#full-area.sing-line .sl-stars path {
  fill: #e2d298;
  stroke: #2b1a10;
  stroke-width: 3.4;
  stroke-linejoin: round;
}
#full-area.sing-line .sl-stars[data-win="1"][data-stars="1"] svg:nth-child(-n+1) path, #full-area.sing-line .sl-stars[data-win="1"][data-stars="2"] svg:nth-child(-n+2) path, #full-area.sing-line .sl-stars[data-win="1"][data-stars="3"] svg path {
  fill: #ffd23a;
}
#full-area.sing-line .sl-stars[data-win="1"][data-stars="1"] svg:nth-child(1), #full-area.sing-line .sl-stars[data-win="1"][data-stars="2"] svg:nth-child(2), #full-area.sing-line .sl-stars[data-win="1"][data-stars="3"] svg:nth-child(3) {
  animation: sl-star-pop 0.34s ease-out;
}
#full-area.sing-line .sl-row {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 4px 7px;
  border-bottom: 3px solid #cdb878;
}
#full-area.sing-line .sl-label {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1;
  color: #8b6a3c;
}
#full-area.sing-line .sl-small {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  color: #2b1a10;
}
#full-area.sing-line .sl-best.is-new {
  font-size: 30px;
  color: #e2462f;
}
#full-area.sing-line .sl-over-btns {
  position: absolute;
  left: 329px;
  top: 540px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  opacity: 0;
}
#full-area.sing-line[data-state=over] .sl-over-btns {
  animation: sl-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) 0.6s both;
}
#full-area.sing-line .sl-roll {
  position: relative;
  width: 300px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 30px 0;
  background: url("/media/games/sing-line/images/ui/btn-roll.webp") center/100% 100% no-repeat;
  transition: transform 0.12s ease;
}
#full-area.sing-line .sl-roll span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1;
  color: #2b1a10;
  white-space: nowrap;
}
#full-area.sing-line .sl-roll:hover {
  transform: scale(1.04);
}
#full-area.sing-line .sl-roll:active {
  transform: scale(0.96);
}
#full-area.sing-line .sl-roll-ribbon {
  padding-left: 62px;
  background-image: url("/media/games/sing-line/images/ui/btn-roll-ribbon.webp");
}
#full-area.sing-line .sl-scroll-long {
  left: 80px;
  top: 50px;
  width: 1120px;
  height: 536px;
  background-image: url("/media/games/sing-line/images/ui/scroll-long.webp");
}
#full-area.sing-line .sl-lv-grid {
  position: absolute;
  left: 52.3%;
  top: 51%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(5, 150px);
  gap: 18px 16px;
}
#full-area.sing-line .sl-lv {
  position: relative;
  width: 150px;
  height: 140px;
  background: url("/media/games/sing-line/images/ui/level-card.webp") center/100% 100% no-repeat;
  transition: transform 0.12s ease;
}
#full-area.sing-line .sl-lv b {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  font-family: "Caveat Brush", "Segoe Print", cursive;
  font-weight: 400;
  font-size: 76px;
  line-height: 1;
  color: #4a2c14;
  opacity: 0.9;
}
#full-area.sing-line .sl-lv:hover {
  transform: translateY(-4px);
}
#full-area.sing-line .sl-lv:active {
  transform: translateY(1px);
}
#full-area.sing-line .sl-lv.is-next b {
  color: #a8321c;
}
#full-area.sing-line .sl-lv b:not(:only-child) {
  top: 38%;
}
#full-area.sing-line .sl-lv-stars {
  position: absolute;
  left: 50%;
  top: 76%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
#full-area.sing-line .sl-lv-stars svg {
  width: 26px;
  height: 26px;
  overflow: visible;
}
#full-area.sing-line .sl-lv-stars svg:nth-child(2) {
  width: 30px;
  height: 30px;
  margin-bottom: 3px;
}
#full-area.sing-line .sl-lv-stars path {
  fill: none;
  stroke: #4a2c14;
  stroke-width: 3;
  stroke-linejoin: round;
  opacity: 0.45;
}
#full-area.sing-line .sl-lv-stars[data-stars="1"] svg:nth-child(-n+1) path, #full-area.sing-line .sl-lv-stars[data-stars="2"] svg:nth-child(-n+2) path, #full-area.sing-line .sl-lv-stars[data-stars="3"] svg path {
  fill: #ffd23a;
  opacity: 1;
}
#full-area.sing-line .sl-lv-stars.is-locked {
  opacity: 0.62;
  transform: none;
}
#full-area.sing-line .sl-lv-lock {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
}
#full-area.sing-line .sl-lv-lock path, #full-area.sing-line .sl-lv-lock rect, #full-area.sing-line .sl-lv-lock circle {
  fill: none;
  stroke: #4a2c14;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#full-area.sing-line .sl-lv-lock circle {
  fill: #4a2c14;
  stroke: none;
}
#full-area.sing-line .sl-meter {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 88px;
  height: 54px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #cf8d4c;
  border: 4px solid #2b1a10;
  border-radius: 16px;
  box-shadow: inset 0 4px 0 #eab675, inset 0 -6px 0 #9a5c2c, 0 5px 0 #2b1a10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
#full-area.sing-line .sl-meter > svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: #2b1a10;
  fill: currentColor;
}
#full-area.sing-line .sl-meter .sl-meter-note {
  width: 28px;
  height: 28px;
  color: #2b1a10;
  transition: color 0.12s ease, transform 0.12s ease;
}
#full-area.sing-line .sl-meter[data-hot="1"] .sl-meter-note {
  color: #fff4dc;
  transform: scale(1.15) rotate(-8deg);
}
#full-area.sing-line[data-state=play] .sl-meter {
  opacity: 1;
  visibility: visible;
}
#full-area.sing-line .sl-meter-track {
  position: relative;
  width: 200px;
  height: 18px;
  border: 3px solid #2b1a10;
  border-radius: 9px;
  background: #6e3f1c;
  overflow: hidden;
}
#full-area.sing-line .sl-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fff4dc;
}
#full-area.sing-line .sl-meter[data-hot="1"] .sl-meter-fill {
  background: #8fd43a;
}

@keyframes sl-star-pop {
  0% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}
