#game-area {
  width: 1280px;
  height: 720px;
}

#rs-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  user-select: none;
  font-family: puzzleGamesMainFont, sans-serif;
  color: #fff;
  background: #fd9a2a;
}
#rs-root button {
  font-family: puzzleGamesMainFont, sans-serif;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
#rs-root svg {
  fill: currentColor;
}
#rs-root .rs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.rs-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.rs-bg .rs-bg-pattern {
  position: absolute;
  inset: -60px;
  background: url("/media/games/riddle-challenge/images/background.jpg") center/cover no-repeat;
  animation: rsBgDrift 24s ease-in-out infinite alternate;
}
.rs-bg .rs-bg-floaters span {
  position: absolute;
  bottom: -80px;
  font-family: puzzleGamesMainFont, sans-serif;
  color: rgba(255, 255, 255, 0.28);
  text-shadow: 3px 3px rgba(163, 58, 0, 0.18);
  animation: rsFloat 16s linear infinite;
  will-change: transform, opacity;
}
.rs-bg .rs-bg-floaters span:nth-child(1) {
  left: 4%;
  font-size: 64px;
  animation-duration: 17s;
  animation-delay: -2s;
}
.rs-bg .rs-bg-floaters span:nth-child(2) {
  left: 14%;
  font-size: 90px;
  animation-duration: 21s;
  animation-delay: -11s;
}
.rs-bg .rs-bg-floaters span:nth-child(3) {
  left: 25%;
  font-size: 52px;
  animation-duration: 15s;
  animation-delay: -6s;
}
.rs-bg .rs-bg-floaters span:nth-child(4) {
  left: 37%;
  font-size: 70px;
  animation-duration: 19s;
  animation-delay: -15s;
}
.rs-bg .rs-bg-floaters span:nth-child(5) {
  left: 48%;
  font-size: 58px;
  animation-duration: 23s;
  animation-delay: -4s;
}
.rs-bg .rs-bg-floaters span:nth-child(6) {
  left: 59%;
  font-size: 84px;
  animation-duration: 18s;
  animation-delay: -9s;
}
.rs-bg .rs-bg-floaters span:nth-child(7) {
  left: 69%;
  font-size: 56px;
  animation-duration: 16s;
  animation-delay: -13s;
}
.rs-bg .rs-bg-floaters span:nth-child(8) {
  left: 79%;
  font-size: 76px;
  animation-duration: 22s;
  animation-delay: -1s;
}
.rs-bg .rs-bg-floaters span:nth-child(9) {
  left: 88%;
  font-size: 60px;
  animation-duration: 17s;
  animation-delay: -7s;
}
.rs-bg .rs-bg-floaters span:nth-child(10) {
  left: 95%;
  font-size: 48px;
  animation-duration: 20s;
  animation-delay: -17s;
}

.rs-screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  box-sizing: border-box;
  padding: 26px 48px 84px;
}

.rs-panel {
  position: relative;
  box-sizing: border-box;
  background: #fd8c22;
  border: 4px solid #ffc93c;
  border-radius: 22px;
  box-shadow: inset -10px 12px 0 #a33a00, 0 8px 0 rgba(120, 40, 0, 0.28), 0 14px 30px rgba(120, 40, 0, 0.25);
}

.rs-pill {
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s;
}
.rs-pill:hover:not(:disabled) {
  filter: brightness(1.08);
}
.rs-pill:active:not(:disabled) {
  transform: translateY(3px) scale(0.97);
}
.rs-pill:disabled {
  cursor: default;
  opacity: 0.45;
}
.rs-pill {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 44px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 84px;
  min-width: 300px;
  padding: 0 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3ad7fb 0%, #3a5bf6 100%);
  box-shadow: inset 0 -6px 0 rgba(20, 30, 140, 0.35), inset 0 4px 0 rgba(255, 255, 255, 0.35), 0 7px 0 #a33a00;
  text-shadow: 3px 3px rgba(20, 20, 110, 0.55);
  white-space: nowrap;
}
.rs-pill svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}
.rs-pill.rs-pill-small {
  height: 58px;
  min-width: 0;
  gap: 6px;
  padding: 0 20px;
  font-size: 26px;
  box-shadow: inset 0 -5px 0 rgba(20, 30, 140, 0.35), inset 0 3px 0 rgba(255, 255, 255, 0.35), 0 5px 0 #a33a00;
}
.rs-pill.rs-pill-small svg {
  width: 22px;
  height: 22px;
}
.rs-pill.rs-pill-green {
  background: linear-gradient(180deg, #8ff04a 0%, #5fd620 55%, #3fae0b 100%);
  box-shadow: inset 0 -5px 0 rgba(20, 80, 0, 0.45), inset 0 3px 0 rgba(255, 255, 255, 0.4), 0 5px 0 #2f7d05;
  text-shadow: 3px 3px rgba(30, 90, 0, 0.55);
}

.rs-bar-row {
  position: relative;
  display: flex;
  align-items: center;
  height: 66px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #9a2dc8;
  border: 3px solid #520a73;
  box-shadow: inset 0 -6px 0 rgba(60, 0, 90, 0.45), 0 5px 0 rgba(82, 10, 115, 0.45);
  overflow: hidden;
}
.rs-bar-row .rs-bar-num {
  flex: 0 0 62px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #3a5bf6 0%, #3ad7fb 100%);
  box-shadow: 2px 0 0 #fff;
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 36px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  text-shadow: 3px 3px rgba(20, 20, 110, 0.5);
}
.rs-bar-row .rs-bar-text {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  line-height: 1.1;
  padding-right: 16px;
}

#rs-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
#rs-start .rs-start-left {
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#rs-start .rs-start-right {
  flex: 0 0 560px;
  padding: 18px 30px 30px 26px;
}

.rs-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
  animation: rsLogoWobble 2.4s ease-in-out infinite;
}
.rs-logo .rs-logo-arrows {
  position: absolute;
  top: 28px;
  left: -78px;
  right: -78px;
  display: flex;
  justify-content: space-between;
  color: #ffc93c;
}
.rs-logo .rs-logo-arrows svg {
  width: 62px;
  height: 38px;
  stroke: #520a73;
  stroke-width: 2.5px;
  stroke-linejoin: round;
  paint-order: stroke;
  filter: drop-shadow(3px 4px 0 #520a73);
}
.rs-logo .rs-logo-arrows svg:first-child {
  animation: rsNudgeLeft 1.2s ease-in-out infinite;
}
.rs-logo .rs-logo-arrows svg:last-child {
  animation: rsNudgeRight 1.2s ease-in-out infinite;
}
.rs-logo .rs-logo-top {
  position: relative;
  margin: 0;
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 104px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: transparent;
  background: linear-gradient(180deg, #7ff0ff 0%, #3ad7fb 45%, #3a5bf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 3px #2a1a8f;
}
.rs-logo .rs-logo-top::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: #520a73;
  -webkit-text-stroke: 3px #520a73;
  transform: translate(6px, 8px);
  background: none;
}
.rs-logo .rs-logo-ribbon {
  position: relative;
  margin-top: -6px;
  padding: 4px 40px 8px;
  background: #9a2dc8;
  border: 4px solid #520a73;
  border-radius: 14px;
  box-shadow: inset 0 -6px 0 rgba(60, 0, 90, 0.45), 0 6px 0 rgba(82, 10, 115, 0.5);
  transform: rotate(-3deg);
}
.rs-logo .rs-logo-ribbon span {
  position: relative;
  display: block;
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 62px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: transparent;
  background: linear-gradient(180deg, #ffe46b 0%, #ffc93c 40%, #fd8c22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 2px #8a2c00;
}
.rs-logo .rs-logo-ribbon span::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: #8a2c00;
  -webkit-text-stroke: 2px #8a2c00;
  transform: translate(4px, 5px);
}

.rs-howto {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rs-pill-play {
  min-width: 340px;
  animation: rsPulse 1.5s ease-in-out infinite;
}
.rs-pill-play:active:not(:disabled) {
  animation: none;
}

.rs-panel-title {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 34px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  margin: 4px 0 12px 6px;
  text-shadow: 3px 3px rgba(163, 58, 0, 0.75);
}

.rs-options {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.rs-options:last-child {
  margin-bottom: 0;
}
.rs-options.rs-options-diff {
  grid-template-columns: 1fr 1fr;
}
.rs-options.rs-options-mode {
  grid-template-columns: 1fr 1fr 1fr;
}

.rs-option {
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s;
}
.rs-option:hover:not(:disabled) {
  filter: brightness(1.08);
}
.rs-option:active:not(:disabled) {
  transform: translateY(3px) scale(0.97);
}
.rs-option:disabled {
  cursor: default;
  opacity: 0.45;
}
.rs-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 82px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #9a2dc8;
  border: 3px solid #520a73 !important;
  box-shadow: inset 0 -6px 0 rgba(60, 0, 90, 0.45), 0 5px 0 rgba(82, 10, 115, 0.5);
  color: #fff;
}
.rs-option .rs-option-name {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  line-height: 1;
}
.rs-option .rs-option-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rs-option svg {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  filter: drop-shadow(2px 2px 0 rgba(128, 0, 128, 0.7));
}
.rs-options-mode .rs-option {
  min-height: 128px;
}
.rs-options-mode .rs-option .rs-option-name {
  font-size: 26px;
}
.rs-options-mode .rs-option .rs-option-sub {
  font-size: 14px;
}
.rs-option.rs-selected {
  background: linear-gradient(180deg, #3ad7fb 0%, #3a5bf6 100%);
  border-color: #fff !important;
  box-shadow: inset 0 -6px 0 rgba(20, 30, 140, 0.35), 0 5px 0 #a33a00, 0 0 0 4px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.rs-option.rs-selected .rs-option-name, .rs-option.rs-selected svg {
  text-shadow: 3px 3px rgba(20, 20, 110, 0.5);
}
.rs-option.rs-selected .rs-option-sub {
  color: #fff;
}
.rs-option.rs-selected::after {
  content: "";
  position: absolute;
  top: -12px;
  right: -10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #5fd620 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.6 4.9 12l-1.8 1.8 6.4 6.4L21 8.7l-1.8-1.8z'/%3E%3C/svg%3E") center/24px no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 3px 0 #2f7d05;
}

#rs-round {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.rs-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 76px;
  flex: 0 0 auto;
  margin-bottom: 22px;
  padding-right: 56px;
}
.rs-topbar .rs-home {
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s;
}
.rs-topbar .rs-home:hover:not(:disabled) {
  filter: brightness(1.08);
}
.rs-topbar .rs-home:active:not(:disabled) {
  transform: translateY(3px) scale(0.97);
}
.rs-topbar .rs-home:disabled {
  cursor: default;
  opacity: 0.45;
}
.rs-topbar .rs-home {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #8ff04a 0%, #5fd620 55%, #3fae0b 100%);
  box-shadow: inset 0 -6px 0 rgba(20, 80, 0, 0.45), inset 0 3px 0 rgba(255, 255, 255, 0.4), 0 5px 0 #2f7d05;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rs-topbar .rs-home svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(2px 2px 0 rgba(30, 90, 0, 0.5));
}
.rs-topbar .rs-track {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 26px;
  box-sizing: border-box;
  border-radius: 18px;
  background: #9a2dc8;
  border: 3px solid #520a73;
  box-shadow: inset 0 -6px 0 rgba(60, 0, 90, 0.45), 0 5px 0 rgba(82, 10, 115, 0.45);
}
.rs-topbar .rs-track .rs-track-label,
.rs-topbar .rs-track .rs-track-title,
.rs-topbar .rs-track .rs-track-artist {
  transform: translateY(-7px);
}
.rs-topbar .rs-track .rs-track-label {
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffc93c;
}
.rs-topbar .rs-track .rs-track-label:empty {
  display: none;
}
.rs-topbar .rs-track .rs-track-title {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 34px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-topbar .rs-track .rs-track-artist {
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-topbar .rs-track .rs-track-artist:empty {
  display: none;
}
.rs-topbar .rs-chips {
  display: flex;
  gap: 10px;
}

.rs-chip {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3ad7fb 0%, #3a5bf6 100%);
  border: 3px solid #fff;
  box-shadow: 0 4px 0 #a33a00;
  text-shadow: 2px 2px rgba(20, 20, 110, 0.5);
  white-space: nowrap;
}
.rs-chip:empty {
  display: none;
}
.rs-chip.rs-chip-alt {
  background: #9a2dc8;
  border-color: #ffc93c;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
}

.rs-steps {
  flex: 1;
  min-height: 0;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.rs-step {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 18px 18px 14px;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  filter: saturate(0.85);
}
.rs-step .rs-step-head {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  margin-top: -22px;
  height: 56px;
  padding: 0 26px 0 6px;
  border-radius: 999px;
  background: #9a2dc8;
  border: 3px solid #520a73;
  box-shadow: inset 0 -5px 0 rgba(60, 0, 90, 0.45), 0 4px 0 rgba(82, 10, 115, 0.45);
}
.rs-step .rs-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3ad7fb 0%, #3a5bf6 100%);
  border: 2px solid #fff;
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 26px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  text-shadow: 2px 2px rgba(20, 20, 110, 0.5);
}
.rs-step .rs-step-title {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 28px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.rs-step .rs-step-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 8px;
}

#rs-round[data-phase=p1] #rs-step-listen, #rs-round[data-phase=listen] #rs-step-listen, #rs-round[data-phase=record] #rs-step-record, #rs-round[data-phase=reveal] #rs-step-reveal {
  filter: none;
  transform: translateY(-6px);
  border-color: #fff;
  box-shadow: inset -10px 12px 0 #a33a00, 0 8px 0 rgba(120, 40, 0, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.45), 0 18px 36px rgba(120, 40, 0, 0.35);
}
#rs-round[data-phase=p1] #rs-step-listen .rs-step-num, #rs-round[data-phase=listen] #rs-step-listen .rs-step-num, #rs-round[data-phase=record] #rs-step-record .rs-step-num, #rs-round[data-phase=reveal] #rs-step-reveal .rs-step-num {
  animation: rsPulse 1.2s ease-in-out infinite;
}

.rs-step-caption {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 26px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  text-shadow: 3px 3px rgba(163, 58, 0, 0.75);
}

.rs-step-hint {
  font-size: 19px;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px rgba(163, 58, 0, 0.6);
  padding: 0 6px;
}

.rs-round-btn {
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s;
}
.rs-round-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}
.rs-round-btn:active:not(:disabled) {
  transform: translateY(3px) scale(0.97);
}
.rs-round-btn:disabled {
  cursor: default;
  opacity: 0.45;
}
.rs-round-btn {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 5px solid #fff !important;
}
.rs-round-btn svg {
  width: 62px;
  height: 62px;
}
.rs-round-btn.rs-round-btn-play {
  background: linear-gradient(180deg, #3ad7fb 0%, #3a5bf6 100%);
  box-shadow: inset 0 -8px 0 rgba(20, 30, 140, 0.35), 0 7px 0 #a33a00;
}
.rs-round-btn.rs-round-btn-play svg {
  margin-left: 8px;
  filter: drop-shadow(3px 3px 0 rgba(20, 20, 110, 0.45));
}
.rs-round-btn.rs-round-btn-play.rs-playing {
  animation: rsPulse 0.8s ease-in-out infinite;
}
.rs-round-btn.rs-round-btn-rec {
  width: 112px;
  height: 112px;
  background: radial-gradient(circle at 50% 35%, #ff8080 0%, #ff4b4b 55%, #d91e2c 100%);
  box-shadow: inset 0 -7px 0 rgba(120, 0, 10, 0.35), 0 6px 0 #a3121f;
}
.rs-round-btn.rs-round-btn-rec svg {
  width: 54px;
  height: 54px;
  filter: drop-shadow(2px 3px 0 rgba(120, 0, 10, 0.45));
}
.rs-round-btn.rs-round-btn-rec .rs-ico-stop {
  display: none;
}
.rs-round-btn.rs-round-btn-rec.rs-recording {
  animation: rsRecPulse 1s ease-in-out infinite;
}
.rs-round-btn.rs-round-btn-rec.rs-recording .rs-ico-mic {
  display: none;
}
.rs-round-btn.rs-round-btn-rec.rs-recording .rs-ico-stop {
  display: block;
}

.rs-speed {
  display: flex;
  padding: 5px;
  gap: 5px;
  border-radius: 999px;
  background: #520a73;
}
.rs-speed .rs-speed-btn {
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s;
}
.rs-speed .rs-speed-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}
.rs-speed .rs-speed-btn:active:not(:disabled) {
  transform: translateY(3px) scale(0.97);
}
.rs-speed .rs-speed-btn:disabled {
  cursor: default;
  opacity: 0.45;
}
.rs-speed .rs-speed-btn {
  height: 40px;
  min-width: 66px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
}
.rs-speed .rs-speed-btn.rs-selected {
  color: #fff;
  background: linear-gradient(180deg, #3ad7fb 0%, #3a5bf6 100%);
  text-shadow: 2px 2px rgba(20, 20, 110, 0.5);
}

.rs-replays {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(163, 58, 0, 0.45);
  text-shadow: none;
}
.rs-replays .rs-inf {
  font-size: 30px;
  line-height: 0;
  vertical-align: -0.1em;
}

.rs-lyric-card {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 10px 24px 12px;
  border-radius: 18px;
  background: rgba(82, 10, 115, 0.55);
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 -5px 0 rgba(40, 0, 60, 0.4);
}
.rs-lyric-card .rs-lyric-label {
  flex: 0 0 auto;
  max-width: 92px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffc93c;
}
.rs-lyric-card .rs-lyric-reversed {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  flex: 1;
  min-width: 0;
  line-height: 1.22;
  text-align: center;
  color: #3ad7fb;
  text-shadow: 2px 2px rgba(20, 0, 40, 0.75);
  word-break: break-word;
}
.rs-lyric-card.rs-lyric-long .rs-lyric-reversed {
  font-size: 20px;
}
.rs-lyric-card.rs-lyric-xlong .rs-lyric-reversed {
  font-size: 17px;
  line-height: 1.2;
}

.rs-screenbox {
  width: 100%;
  height: 96px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #9a2dc8;
  border: 3px solid #520a73;
  box-shadow: inset 0 6px 0 rgba(60, 0, 90, 0.45);
  overflow: hidden;
}
.rs-screenbox .rs-waveform {
  display: block;
  width: 100%;
  height: 100%;
}

.rs-timer {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  min-width: 90px;
  text-align: center;
  text-shadow: 3px 3px rgba(163, 58, 0, 0.75);
  margin-top: -4px;
}

.rs-await .rs-await-mark {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 170px;
  line-height: 1;
  color: #fff;
  text-shadow: 6px 8px #a33a00, 0 0 30px rgba(255, 255, 255, 0.35);
  animation: rsLogoWobble 2s ease-in-out infinite;
}

.rs-score-ring {
  --rs-score: 0;
  flex: 0 0 auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 14px;
  box-sizing: border-box;
  background: conic-gradient(#ffc93c calc(var(--rs-score) * 1%), rgba(163, 58, 0, 0.55) 0);
  box-shadow: 0 6px 0 rgba(120, 40, 0, 0.3);
}
.rs-score-ring .rs-score-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #9a2dc8;
  border: 4px solid #520a73;
  box-sizing: border-box;
}
.rs-score-ring .rs-score-value {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 84px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 4px 4px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.rs-score-ring .rs-score-out {
  font-size: 22px;
  color: #ffc93c;
}
.rs-score-ring.rs-score-ring-mini {
  width: 180px;
  height: 180px;
  padding: 12px;
}
.rs-score-ring.rs-score-ring-mini .rs-score-value {
  font-size: 70px;
}
.rs-score-ring.rs-score-ring-mini .rs-score-out {
  font-size: 19px;
}

.rs-summary {
  gap: 18px !important;
}

.rs-score-status {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.1;
  text-shadow: 3px 3px rgba(163, 58, 0, 0.75);
}

.rs-modal.rs-result-modal .rs-result-card {
  width: 780px;
  padding: 30px 44px 38px;
  gap: 22px;
}
.rs-modal.rs-result-modal .rs-result-body {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.rs-modal.rs-result-modal .rs-breakdown {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rs-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 6px;
}
.rs-meter .rs-meter-label, .rs-meter .rs-meter-val {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow: 2px 2px rgba(163, 58, 0, 0.7);
}
.rs-meter .rs-meter-val {
  font-variant-numeric: tabular-nums;
}
.rs-meter .rs-meter-track {
  grid-column: 1/-1;
  height: 18px;
  border-radius: 999px;
  background: rgba(163, 58, 0, 0.6);
  box-shadow: inset 0 3px 0 rgba(90, 30, 0, 0.35);
  overflow: hidden;
}
.rs-meter .rs-meter-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #7ff0ff 0%, #3ad7fb 40%, #3a5bf6 100%);
  transition: width 0.9s cubic-bezier(0.3, 0.7, 0.3, 1);
}

.rs-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.rs-pill.rs-pill-purple {
  background: #9a2dc8;
  box-shadow: inset 0 -5px 0 rgba(60, 0, 90, 0.45), inset 0 3px 0 rgba(255, 255, 255, 0.2), 0 5px 0 #520a73;
  text-shadow: 3px 3px rgba(128, 0, 128, 0.7);
}

.rs-modal {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 84px;
  box-sizing: border-box;
  background: rgba(82, 10, 115, 0.55);
}
.rs-modal .rs-modal-card {
  width: 520px;
  padding: 34px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: rsPopIn 0.35s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.rs-modal .rs-modal-icon {
  color: #fff;
  animation: rsLogoWobble 1.6s ease-in-out infinite;
}
.rs-modal .rs-modal-icon svg {
  width: 90px;
  height: 90px;
  filter: drop-shadow(4px 5px 0 #a33a00);
}
.rs-modal .rs-modal-title {
  font-family: puzzleGamesMainFont, sans-serif;
  font-size: 48px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 4px 4px rgba(128, 0, 128, 0.7);
  letter-spacing: 0.5px;
  text-shadow: 4px 4px rgba(163, 58, 0, 0.75);
}
.rs-modal .rs-step-hint {
  font-size: 22px;
}

@keyframes rsBgDrift {
  0% {
    transform: translate(-30px, -18px) scale(1.02);
  }
  100% {
    transform: translate(30px, 18px) scale(1.08);
  }
}
@keyframes rsFloat {
  0% {
    transform: translateY(0) rotate(-12deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-440px) rotate(10deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-900px) rotate(-12deg);
    opacity: 0;
  }
}
@keyframes rsLogoWobble {
  0%, 100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(1.5deg) scale(0.97);
  }
}
@keyframes rsPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
@keyframes rsRecPulse {
  0%, 100% {
    box-shadow: inset 0 -7px 0 rgba(120, 0, 10, 0.35), 0 6px 0 #a3121f, 0 0 0 0 rgba(255, 75, 75, 0.7);
  }
  50% {
    box-shadow: inset 0 -7px 0 rgba(120, 0, 10, 0.35), 0 6px 0 #a3121f, 0 0 0 18px rgba(255, 75, 75, 0);
  }
}
@keyframes rsNudgeLeft {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-8px);
  }
}
@keyframes rsNudgeRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}
@keyframes rsPopIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .rs-screen {
    padding: 34px 36px 100px;
  }
  #rs-start {
    flex-direction: column;
    gap: 22px;
  }
  #rs-start .rs-start-left {
    display: contents;
  }
  #rs-start .rs-logo {
    order: 1;
    margin-bottom: 0;
  }
  #rs-start .rs-howto {
    order: 2;
    margin-bottom: 0;
    gap: 10px;
  }
  #rs-start .rs-start-right {
    order: 3;
    flex: 0 0 auto;
    width: 100%;
    padding: 14px 26px 26px 22px;
  }
  #rs-start #rs-start-btn {
    order: 4;
    flex: 0 0 auto;
  }
  #rs-start .rs-options {
    margin-bottom: 12px;
  }
  #rs-start .rs-options-mode .rs-option {
    min-height: 112px;
  }
  .rs-logo .rs-logo-top {
    font-size: 112px;
  }
  .rs-logo .rs-logo-ribbon span {
    font-size: 62px;
  }
  .rs-bar-row {
    flex: 0 0 60px;
    height: 60px;
  }
  .rs-bar-row .rs-bar-text {
    font-size: 24px;
  }
  #rs-round {
    padding-top: 36px;
  }
  .rs-topbar {
    height: 84px;
    padding-right: 0;
    margin-bottom: 36px;
  }
  .rs-topbar .rs-chips {
    flex-direction: column;
    gap: 6px;
  }
  .rs-topbar .rs-chip {
    height: 38px;
    font-size: 18px;
    padding: 0 14px;
  }
  .rs-steps {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
  }
  .rs-step {
    padding: 0 24px 18px 20px;
  }
  .rs-step .rs-step-body {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    gap: 12px 22px;
  }
  #rs-listen-section .rs-step-caption {
    display: none;
  }
  #rs-listen-section .rs-speed, #rs-listen-section .rs-replays {
    order: 2;
  }
  #rs-record-section .rs-screenbox, #rs-p1-section .rs-screenbox {
    flex: 1 1 360px;
    height: 110px;
  }
  #rs-record-section .rs-step-hint, #rs-p1-section .rs-step-hint {
    flex: 1 1 100%;
    font-size: 20px;
  }
  .rs-await .rs-await-mark {
    font-size: 120px;
  }
  .rs-await .rs-step-hint {
    flex: 0 1 360px;
    text-align: left;
    font-size: 24px;
  }
  .rs-summary .rs-score-ring-mini {
    width: 170px;
    height: 170px;
  }
  .rs-summary .rs-score-status {
    flex: 0 1 300px;
  }
  .rs-modal.rs-result-modal .rs-result-card {
    width: 720px;
  }
  .rs-modal.rs-result-modal .rs-result-body {
    flex-direction: column;
    gap: 24px;
  }
  .rs-modal.rs-result-modal .rs-breakdown {
    width: 100%;
  }
  .rs-modal.rs-result-modal .rs-result-actions {
    flex-wrap: wrap;
  }
  .rs-lyric-card {
    gap: 14px;
    margin-top: 20px;
  }
  .rs-lyric-card .rs-lyric-label {
    max-width: 78px;
    font-size: 12px;
  }
  .rs-lyric-card .rs-lyric-reversed {
    font-size: 20px;
  }
  .rs-lyric-card.rs-lyric-xlong .rs-lyric-reversed {
    font-size: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
