#full-area.rope-muscles {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #1a0d07;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #fff1d6;
}
#full-area.rope-muscles .rm-hud,
#full-area.rope-muscles .rm-hud *,
#full-area.rope-muscles .rm-splash,
#full-area.rope-muscles .rm-over,
#full-area.rope-muscles .rm-over *,
#full-area.rope-muscles .rm-banner,
#full-area.rope-muscles .rm-banner *,
#full-area.rope-muscles .rm-count,
#full-area.rope-muscles .rm-shout,
#full-area.rope-muscles .rm-message {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
}
#full-area.rope-muscles #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.rope-muscles #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #1a0d07;
}
#full-area.rope-muscles #rm-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  touch-action: none;
}
#full-area.rope-muscles .rm-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 0, 0, 0) 52%, rgba(12, 5, 2, 0.55) 100%);
}
#full-area.rope-muscles button {
  font-family: inherit;
  border: 0;
  background: none;
  color: inherit;
  outline: none;
  padding: 0;
}
#full-area.rope-muscles .rm-hud {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
#full-area.rope-muscles .rm-plate {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 340px;
  height: 78px;
  padding: 0 16px 0 8px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #7b6350 0%, #5a4535 55%, #47362a 100%);
  border: 4px solid #1c0f06;
  border-radius: 18px;
  box-shadow: 0 5px 0 #1c0f06, inset 0 3px 0 rgba(255, 236, 200, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
#full-area.rope-muscles .rm-plate-opp {
  width: auto;
  min-width: 210px;
  max-width: 300px;
  margin-right: 46px;
  padding: 0 8px 0 18px;
  text-align: right;
}
#full-area.rope-muscles .rm-flex-wrap {
  flex: 0 0 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#full-area.rope-muscles .rm-flex {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform-origin: 50% 70%;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.3));
}
#full-area.rope-muscles .rm-plate-body {
  flex: 1;
  min-width: 0;
}
#full-area.rope-muscles .rm-plate-name {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff1d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 0 #1c0f06, 2px 0 0 #1c0f06, -2px 0 0 #1c0f06, 0 -2px 0 #1c0f06, 2px 2px 0 #1c0f06, -2px 2px 0 #1c0f06, 2px -2px 0 #1c0f06, -2px -2px 0 #1c0f06;
}
#full-area.rope-muscles .rm-plate-title {
  margin-top: 1px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
  color: #f3c87a;
  white-space: nowrap;
}
#full-area.rope-muscles .rm-power {
  margin-top: 7px;
  height: 16px;
  border: 3px solid #1c0f06;
  border-radius: 10px;
  background: rgba(20, 9, 4, 0.75);
  overflow: hidden;
}
#full-area.rope-muscles .rm-power i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #ffd25a, #ff7a1a 70%, #ff3b1a);
}
#full-area.rope-muscles .rm-plate-opp .rm-power i {
  transform-origin: right center;
  background: linear-gradient(270deg, #ffd25a, #ff7a1a 70%, #ff3b1a);
}
#full-area.rope-muscles .rm-plate-opp .rm-plate-title + .rm-power {
  margin-top: 5px;
}
#full-area.rope-muscles .rm-center {
  position: absolute;
  left: 50%;
  top: 0;
  width: 380px;
  margin-left: -190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#full-area.rope-muscles .rm-stats {
  display: flex;
  gap: 12px;
}
#full-area.rope-muscles .rm-stats span {
  background: linear-gradient(180deg, #4d3a2c 0%, #33251b 100%);
  border: 4px solid #1c0f06;
  border-radius: 12px;
  box-shadow: 0 3px 0 #1c0f06, inset 0 3px 0 rgba(255, 236, 200, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
  padding: 3px 14px 5px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 241, 214, 0.75);
}
#full-area.rope-muscles .rm-stats b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0;
  color: #ffc93c;
  margin-left: 4px;
  text-shadow: 0 1.5px 0 #1c0f06, 1.5px 0 0 #1c0f06, -1.5px 0 0 #1c0f06, 0 -1.5px 0 #1c0f06, 1.5px 1.5px 0 #1c0f06, -1.5px 1.5px 0 #1c0f06, 1.5px -1.5px 0 #1c0f06, -1.5px -1.5px 0 #1c0f06;
}
#full-area.rope-muscles .rm-track {
  position: relative;
  width: 360px;
  height: 24px;
  background: #2b1b12;
  border: 4px solid #1c0f06;
  border-radius: 14px;
  box-shadow: 0 3px 0 #1c0f06, inset 0 3px 0 rgba(255, 236, 200, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
  overflow: visible;
}
#full-area.rope-muscles .rm-track-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  border-radius: 10px;
}
#full-area.rope-muscles .rm-track-me {
  left: 0;
  background: linear-gradient(90deg, rgba(87, 211, 94, 0.85), rgba(87, 211, 94, 0));
}
#full-area.rope-muscles .rm-track-opp {
  right: 0;
  background: linear-gradient(270deg, rgba(232, 71, 61, 0.85), rgba(232, 71, 61, 0));
}
#full-area.rope-muscles .rm-track-mid {
  position: absolute;
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: #ff7a1a;
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.9);
}
#full-area.rope-muscles .rm-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a7a, #c0392b 65%);
  border: 3px solid #1c0f06;
  box-sizing: border-box;
  box-shadow: 0 2px 0 #1c0f06;
}
#full-area.rope-muscles .rm-track[data-lead=me] .rm-marker {
  background: radial-gradient(circle at 35% 30%, #b6ffb0, #2fae3a 65%);
}
#full-area.rope-muscles .rm-clock {
  min-height: 30px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff1d6;
  opacity: 0;
  transition: opacity 0.2s;
  text-shadow: 0 2px 0 #1c0f06, 2px 0 0 #1c0f06, -2px 0 0 #1c0f06, 0 -2px 0 #1c0f06, 2px 2px 0 #1c0f06, -2px 2px 0 #1c0f06, 2px -2px 0 #1c0f06, -2px -2px 0 #1c0f06;
}
#full-area.rope-muscles .rm-clock[data-mode=""] {
  min-height: 0;
}
#full-area.rope-muscles .rm-clock[data-mode=count] {
  opacity: 1;
}
#full-area.rope-muscles .rm-clock[data-mode=sudden] {
  opacity: 1;
  color: #ff6a4d;
  font-size: 24px;
  animation: rm-pulse 0.6s ease-in-out infinite;
}
#full-area.rope-muscles .rm-shout {
  position: relative;
  display: flex;
  justify-content: center;
  width: 0;
  height: 0;
  pointer-events: none;
}
#full-area.rope-muscles .rm-shout b {
  flex: none;
  display: block;
  padding-top: 6px;
  font-family: "Bangers", "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 3px;
  text-align: center;
  white-space: nowrap;
  color: #fff36b;
  opacity: 0;
  transform: scale(0.3);
  transform-origin: 50% 50%;
  text-shadow: 0 3px 0 #1c0f06, 3px 0 0 #1c0f06, -3px 0 0 #1c0f06, 0 -3px 0 #1c0f06, 3px 3px 0 #1c0f06, -3px 3px 0 #1c0f06, 3px -3px 0 #1c0f06, -3px -3px 0 #1c0f06, 0 7px 0 #8e1a0c, 4px 7px 0 #1c0f06, -4px 7px 0 #1c0f06, 0 10px 0 #1c0f06;
  transition: opacity 0.15s, transform 0.25s cubic-bezier(0.2, 1.8, 0.4, 1);
}
#full-area.rope-muscles .rm-shout.is-on b {
  opacity: 1;
  transform: none;
  animation: rm-scream 0.14s steps(1) infinite, rm-scream-pump 0.5s ease-in-out infinite alternate;
}
#full-area.rope-muscles .rm-banner {
  position: absolute;
  left: 50%;
  top: 168px;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s;
}
#full-area.rope-muscles .rm-banner b {
  display: block;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 92px;
  line-height: 1;
  letter-spacing: 2px;
  color: #ffc93c;
  text-shadow: 0 5px 0 #1c0f06, 5px 0 0 #1c0f06, -5px 0 0 #1c0f06, 0 -5px 0 #1c0f06, 5px 5px 0 #1c0f06, -5px 5px 0 #1c0f06, 5px -5px 0 #1c0f06, -5px -5px 0 #1c0f06;
}
#full-area.rope-muscles .rm-banner span {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 22px 8px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: #fff1d6;
  background: linear-gradient(180deg, #4d3a2c 0%, #33251b 100%);
  border: 4px solid #1c0f06;
  border-radius: 14px;
  box-shadow: 0 4px 0 #1c0f06, inset 0 3px 0 rgba(255, 236, 200, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
#full-area.rope-muscles .rm-banner span:empty {
  display: none;
}
#full-area.rope-muscles .rm-banner[data-tone=win] b {
  color: #8dff7a;
}
#full-area.rope-muscles .rm-banner[data-tone=lose] b {
  color: #ff6a4d;
}
#full-area.rope-muscles .rm-banner.is-on {
  opacity: 1;
  animation: rm-banner-in 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
#full-area.rope-muscles .rm-count {
  position: absolute;
  left: 50%;
  top: 200px;
  transform: translateX(-50%);
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 150px;
  line-height: 1;
  color: #fff1d6;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 6px 0 #1c0f06, 6px 0 0 #1c0f06, -6px 0 0 #1c0f06, 0 -6px 0 #1c0f06, 6px 6px 0 #1c0f06, -6px 6px 0 #1c0f06, 6px -6px 0 #1c0f06, -6px -6px 0 #1c0f06;
}
#full-area.rope-muscles .rm-count.is-go {
  color: #ffc93c;
  font-size: 128px;
}
#full-area.rope-muscles .rm-count.is-on {
  animation: rm-count 0.75s ease-out both;
}
#full-area.rope-muscles .rm-message {
  position: absolute;
  left: 50%;
  top: 118px;
  transform: translateX(-50%);
  width: 640px;
  padding: 12px 20px 14px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff1d6;
  cursor: pointer;
  background: rgba(70, 20, 12, 0.92);
  border: 4px solid #1c0f06;
  border-radius: 16px;
  box-shadow: 0 5px 0 #1c0f06, inset 0 3px 0 rgba(255, 236, 200, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
  z-index: 4;
}
#full-area.rope-muscles .rm-message[hidden] {
  display: none;
}
#full-area.rope-muscles .rm-splash {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(ellipse at 50% 42%, rgba(24, 10, 3, 0.15) 0%, rgba(12, 5, 2, 0.72) 78%);
  transition: opacity 0.35s, visibility 0.35s;
}
#full-area.rope-muscles .rm-splash-logo {
  position: absolute;
  left: 50%;
  top: 145px;
  width: 680px;
  margin-left: -340px;
  transform-origin: 50% 100%;
}
#full-area.rope-muscles .rm-splash-logo img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 12px 0 rgba(0, 0, 0, 0.35));
}
#full-area.rope-muscles .rm-splash-dust {
  position: absolute;
  left: 50%;
  top: 437px;
  width: 900px;
  height: 170px;
  margin-left: -450px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(196, 150, 104, 0.85) 0%, rgba(150, 108, 70, 0.5) 40%, rgba(120, 84, 52, 0) 72%);
}
#full-area.rope-muscles .rm-splash-ring {
  position: absolute;
  left: 50%;
  top: 467px;
  width: 700px;
  height: 110px;
  margin-left: -350px;
  border-radius: 50%;
  border: 8px solid rgba(255, 214, 140, 0.9);
  opacity: 0;
}
#full-area.rope-muscles[data-state=logo] .rm-splash {
  opacity: 1;
  visibility: visible;
}
#full-area.rope-muscles[data-state=logo] .rm-splash-logo {
  animation: rm-splash-logo 2s linear both;
}
#full-area.rope-muscles[data-state=logo] .rm-splash-dust {
  animation: rm-splash-dust 2s ease-out both;
}
#full-area.rope-muscles[data-state=logo] .rm-splash-ring {
  animation: rm-splash-ring 2s ease-out both;
}
#full-area.rope-muscles .rm-over {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  background: radial-gradient(ellipse at 50% 40%, rgba(14, 6, 2, 0.25), rgba(14, 6, 2, 0.6));
}
#full-area.rope-muscles #rm-board {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 860px;
  height: 535px;
  margin-left: -430px;
  pointer-events: none;
}
#full-area.rope-muscles .rm-over-actions {
  position: absolute;
  left: 0;
  right: 0;
  top: 496px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s 0.75s, transform 0.45s 0.75s cubic-bezier(0.2, 1.5, 0.4, 1);
}
#full-area.rope-muscles .rm-bone-btn {
  position: relative;
  height: 92px;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(0 6px 0 #1c0f06);
  transition: transform 0.12s, filter 0.12s;
}
#full-area.rope-muscles .rm-bone-btn span {
  position: relative;
  display: block;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}
#full-area.rope-muscles .rm-bone-btn:hover {
  transform: translateY(-3px) rotate(-1deg);
  filter: drop-shadow(0 9px 0 #1c0f06) brightness(1.06);
}
#full-area.rope-muscles .rm-bone-btn:active {
  transform: translateY(4px);
  filter: drop-shadow(0 2px 0 #1c0f06);
}
#full-area.rope-muscles .rm-bone-btn {
  width: 330px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 92'%3E%3Cg fill='%231c0f06'%3E%3Ccircle cx='38' cy='28' r='30'/%3E%3Ccircle cx='38' cy='64' r='30'/%3E%3Ccircle cx='292' cy='28' r='30'/%3E%3Ccircle cx='292' cy='64' r='30'/%3E%3Crect x='36' y='14' width='258' height='64' rx='14'/%3E%3C/g%3E%3Cg fill='%23f4e7c4'%3E%3Ccircle cx='38' cy='28' r='24'/%3E%3Ccircle cx='38' cy='64' r='24'/%3E%3Ccircle cx='292' cy='28' r='24'/%3E%3Ccircle cx='292' cy='64' r='24'/%3E%3Crect x='38' y='20' width='254' height='52' rx='10'/%3E%3C/g%3E%3Cg fill='%23dccaa0'%3E%3Crect x='44' y='58' width='242' height='12' rx='6'/%3E%3Ccircle cx='38' cy='72' r='12'/%3E%3Ccircle cx='292' cy='72' r='12'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.7'%3E%3Crect x='56' y='26' width='150' height='7' rx='3.5'/%3E%3Ccircle cx='30' cy='20' r='6'/%3E%3C/g%3E%3C/svg%3E");
}
#full-area.rope-muscles .rm-bone-btn span {
  color: #5a3416;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}
#full-area.rope-muscles[data-state=ready] .rm-hud, #full-area.rope-muscles[data-state=pull] .rm-hud, #full-area.rope-muscles[data-state=walkin] .rm-hud, #full-area.rope-muscles[data-state=result] .rm-hud, #full-area.rope-muscles[data-state=countdown] .rm-hud, #full-area.rope-muscles[data-state=mp-lobby] .rm-hud, #full-area.rope-muscles[data-state=mp-over] .rm-hud {
  opacity: 1;
  visibility: visible;
}
#full-area.rope-muscles[data-state=over] .rm-over {
  opacity: 1;
  visibility: visible;
}
#full-area.rope-muscles[data-state=over] .rm-over-actions {
  opacity: 1;
  transform: none;
}
#full-area.rope-muscles[data-mp="1"] .rm-stats {
  display: none;
}

@keyframes rm-banner-in {
  0% {
    transform: translateX(-50%) scale(0.4);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}
@keyframes rm-count {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(1.8);
  }
  25% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  75% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.85);
  }
}
@keyframes rm-splash-logo {
  0% {
    transform: translateY(-640px) rotate(-12deg) scale(0.85);
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  20% {
    transform: translateY(0) rotate(4deg) scale(1.12, 0.8);
    animation-timing-function: ease-out;
  }
  27% {
    transform: translateY(-38px) rotate(-2deg) scale(0.93, 1.09);
    animation-timing-function: ease-in;
  }
  34% {
    transform: translateY(0) rotate(1deg) scale(1.05, 0.94);
    animation-timing-function: ease-out;
  }
  41%, 100% {
    transform: none;
  }
}
@keyframes rm-splash-dust {
  0%, 19% {
    opacity: 0;
    transform: scale(0.3, 0.3);
  }
  21% {
    opacity: 1;
    transform: scale(0.55, 0.45);
  }
  46% {
    opacity: 0.55;
    transform: scale(1.15, 0.85);
  }
  72%, 100% {
    opacity: 0;
    transform: scale(1.4, 1);
  }
}
@keyframes rm-splash-ring {
  0%, 19% {
    opacity: 0;
    transform: scale(0.2);
  }
  21% {
    opacity: 0.95;
    transform: scale(0.3);
  }
  40% {
    opacity: 0;
    transform: scale(1.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}
@keyframes rm-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes rm-scream {
  0% {
    translate: 0 0;
    rotate: -0.6deg;
  }
  25% {
    translate: 1px -1px;
    rotate: 0.4deg;
  }
  50% {
    translate: -1px 0;
    rotate: -0.3deg;
  }
  75% {
    translate: 0 1px;
    rotate: 0.6deg;
  }
}
@keyframes rm-scream-pump {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.04;
  }
}
