#full-area.rainbow-adventure {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #54cbf2;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #1d2140;
}
#full-area.rainbow-adventure .rba-meter, #full-area.rainbow-adventure .rba-meter *, #full-area.rainbow-adventure section, #full-area.rainbow-adventure section * {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box;
  color: #1d2140;
}
#full-area.rainbow-adventure #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.rainbow-adventure #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #54cbf2;
}
#full-area.rainbow-adventure #rba-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
#full-area.rainbow-adventure button {
  border: 0;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
}
#full-area.rainbow-adventure .rba-meter, #full-area.rainbow-adventure section {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#full-area.rainbow-adventure[data-state=play] .rba-meter {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#full-area.rainbow-adventure[data-state=over] .rba-over {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0.7s;
}
#full-area.rainbow-adventure .rba-meter {
  left: 26px;
  bottom: 88px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px 16px 12px;
  border: 4px solid #1d2140;
  border-radius: 20px;
  background: #fff7e6;
  box-shadow: 0 5px 0 #1d2140;
}
#full-area.rainbow-adventure .rba-cells {
  display: flex;
  gap: 5px;
  padding: 5px;
  border-radius: 12px;
  background: #caeefc;
  border: 3px solid #1d2140;
}
#full-area.rainbow-adventure .rba-cell {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #a4e0f6;
  box-shadow: inset 0 -4px 0 rgba(17, 173, 224, 0.35);
  transition: background 0.08s linear, transform 0.08s linear;
}
#full-area.rainbow-adventure .rba-cell:nth-child(1).is-on {
  background: #e2412f;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(2).is-on {
  background: #ff6600;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(3).is-on {
  background: #ff9d00;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(4).is-on {
  background: #ffe101;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(5).is-on {
  background: #c4e017;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(6).is-on {
  background: #96d419;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(7).is-on {
  background: #5ad66f;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(8).is-on {
  background: #31d78e;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(9).is-on {
  background: #e07aa6;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell:nth-child(10).is-on {
  background: #d35f8d;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22);
}
#full-area.rainbow-adventure .rba-cell.is-mark::after {
  content: "";
  position: absolute;
  left: -5px;
  top: -9px;
  bottom: -9px;
  width: 4px;
  border-radius: 2px;
  background: #1d2140;
}
#full-area.rainbow-adventure .rba-boost {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
#full-area.rainbow-adventure .rba-boost b {
  min-width: 48px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: #1d2140;
  text-align: right;
}
#full-area.rainbow-adventure .rba-mic {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
#full-area.rainbow-adventure .rba-sens {
  flex: 1;
  min-width: 200px;
  height: 14px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #d35f8d var(--pct, 25%), #a4e0f6 var(--pct, 25%));
  border: 3px solid #1d2140;
  border-radius: 10px;
  outline: none;
}
#full-area.rainbow-adventure .rba-sens::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffe101;
  border: 4px solid #1d2140;
  box-shadow: inset 0 -4px 0 #ff9d00;
}
#full-area.rainbow-adventure .rba-sens::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffe101;
  border: 4px solid #1d2140;
}
#full-area.rainbow-adventure .rba-over {
  left: 50%;
  bottom: 92px;
  display: flex;
  gap: 34px;
  transform: translate(-50%, 24px);
}
#full-area.rainbow-adventure[data-state=over] .rba-btn {
  animation: rba-btn-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both;
}
#full-area.rainbow-adventure[data-state=over] .rba-btn-blue {
  animation-delay: 0.82s;
}
#full-area.rainbow-adventure .rba-btn {
  position: relative;
  width: 252px;
  height: 82px;
  padding: 0 0 6px;
  border: 4px solid #1d2140;
  border-radius: 41px;
  background: linear-gradient(180deg, var(--rba-top) 0%, var(--rba-mid) 55%, var(--rba-low) 100%);
  box-shadow: inset 0 -9px 0 var(--rba-base), 0 0 0 6px #ffffff, 0 7px 0 6px #c9d4ec, 0 14px 22px 6px rgba(29, 33, 64, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}
#full-area.rainbow-adventure .rba-btn::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 6px;
  height: 17px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.15));
  pointer-events: none;
}
#full-area.rainbow-adventure .rba-btn::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
}
#full-area.rainbow-adventure .rba-btn span {
  position: relative;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 2.5px 0 0 #1d2140, -2.5px 0 0 #1d2140, 0 2.5px 0 #1d2140, 0 -2.5px 0 #1d2140, 1.8px 1.8px 0 #1d2140, -1.8px 1.8px 0 #1d2140, 1.8px -1.8px 0 #1d2140, -1.8px -1.8px 0 #1d2140, 0 5px 0 #1d2140;
}
#full-area.rainbow-adventure .rba-btn:hover {
  transform: scale(1.06) rotate(-1.5deg);
}
#full-area.rainbow-adventure .rba-btn:active {
  transform: scale(0.95);
}
#full-area.rainbow-adventure .rba-btn-green {
  --rba-top: #ff9be0;
  --rba-mid: #ff4fb4;
  --rba-low: #d92a92;
  --rba-base: #a3196b;
}
#full-area.rainbow-adventure .rba-btn-blue {
  --rba-top: #8af0ff;
  --rba-mid: #2fc3f5;
  --rba-low: #1b8de0;
  --rba-base: #1460aa;
}

@keyframes rba-btn-pop {
  0% {
    scale: 0.4;
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
