#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 .rba-whee {
  position: absolute;
  right: 46px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  rotate: -5deg;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-say {
  margin: 0 0 -4px 10px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  color: #d35f8d;
  -webkit-text-stroke: 9px #1d2140;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #1d2140;
  transform-origin: 50% 100%;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word {
  display: flex;
  align-items: baseline;
  transform-origin: 50% 100%;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word i {
  display: block;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
  -webkit-text-stroke: 12px #1d2140;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #1d2140;
  transform-origin: 50% 100%;
  transition: color 0.15s ease;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word i:nth-child(1) {
  font-size: 56px;
  rotate: -4deg;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word i:nth-child(2) {
  font-size: 60px;
  rotate: 2deg;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word i:nth-child(3) {
  font-size: 64px;
  rotate: -3deg;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word i:nth-child(4) {
  font-size: 68px;
  rotate: 3deg;
}
#full-area.rainbow-adventure .rba-whee .rba-whee-word i:nth-child(5) {
  font-size: 72px;
  rotate: 7deg;
  margin-left: 2px;
}
#full-area.rainbow-adventure .rba-whee.is-loud .rba-whee-word i {
  color: #ffe101;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee {
  opacity: 1;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-say,
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-word i {
  animation: rba-whee-in 0.45s ease-out both;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-say {
  animation-delay: 0.1s;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-word i:nth-child(1) {
  animation-delay: 0.22s;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-word i:nth-child(2) {
  animation-delay: 0.28s;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-word i:nth-child(3) {
  animation-delay: 0.34s;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-word i:nth-child(4) {
  animation-delay: 0.4s;
}
#full-area.rainbow-adventure[data-state=play] .rba-whee .rba-whee-word i:nth-child(5) {
  animation-delay: 0.46s;
}
#full-area.rainbow-adventure[data-mp="1"] .rba-whee {
  display: none;
}
@keyframes rba-whee-in {
  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;
  }
}
#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: 72px;
  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-board {
  animation-delay: 0.82s;
}
#full-area.rainbow-adventure .rba-btn {
  position: relative;
  width: 330px;
  height: 108px;
  padding: 12px 0 0;
  border: 0;
  background: url("/media/games/rainbow-adventure/images/btn-cloud.webp") center/100% 100% no-repeat;
  filter: drop-shadow(0 6px 0 rgba(29, 33, 64, 0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
#full-area.rainbow-adventure .rba-btn span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #1d2140;
  white-space: nowrap;
}
#full-area.rainbow-adventure .rba-btn:hover {
  transform: translateY(-6px);
}
#full-area.rainbow-adventure .rba-btn:active {
  transform: translateY(2px) scale(0.97);
}

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