.game-hold-release-meter {
  --claw-navy: #071c3d;
  --claw-blue: #123f78;
  --claw-red: #e62129;
  --claw-gold: #ffd45a;
  --claw-cyan: #38d9ed;
  --claw-cream: #fff4d8;
  --claw-top: 8px;
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--claw-navy);
}

.game-hold-release-meter .game-hud {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 2px solid var(--claw-gold);
  background: #071a35f2;
}

.game-hold-release-meter .game-hud-item {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #2b84a7;
  border-radius: 13px;
  background: linear-gradient(180deg, #102e59, #061a36);
  box-shadow: inset 0 0 0 1px #ffffff0c, 0 3px 0 #020b18;
}

.game-hold-release-meter .game-hud-label {
  color: #58def2;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .09em;
}

.game-hold-release-meter .game-hud-value {
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1;
}

.game-hold-release-meter .game-stage {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  min-height: 540px;
  overflow: hidden;
  place-items: stretch center;
  border-radius: 0 0 24px 24px;
  background-image: linear-gradient(180deg, #071b3b22, #06163170), var(--meter-stage-art);
  background-position: center;
  background-size: cover;
}

.game-hold-release-meter.is-completing .game-stage { min-height: 540px; }

.game-hold-release-meter .game-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, #fff9df66, transparent 35%),
    linear-gradient(90deg, #061b3f70, transparent 18% 82%, #061b3f70);
  content: "";
  pointer-events: none;
}

.game-hold-release-meter .meter-console {
  position: absolute;
  z-index: 2;
  display: flex;
  inset: 0;
  width: min(100%, 370px);
  margin: auto;
  min-height: 0;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 8px 0;
}

.game-hold-release-meter .meter-console__status {
  position: relative;
  z-index: 8;
  min-height: 28px;
  margin: 0 0 5px;
  padding: 6px 13px 6px 30px;
  border: 2px solid #c89427;
  border-radius: 999px;
  color: #6e180f;
  background: #fff5d8ed;
  box-shadow: 0 5px 0 #7b2a18aa, 0 8px 16px #07152c38;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .02em;
  text-align: center;
}

.game-hold-release-meter .meter-console__status::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--claw-gold);
  box-shadow: 0 0 0 2px #e6212936;
  content: "";
  transform: translateY(-50%);
}

.game-hold-release-meter .claw-rig {
  position: relative;
  width: min(100%, 264px);
  height: 286px;
  border: 4px solid #dca52d;
  border-radius: 30px;
  background:
    linear-gradient(90deg, #0b2e5bdb, transparent 16% 84%, #0b2e5bdb),
    linear-gradient(180deg, #fffaf3c9, #f3d18d99);
  box-shadow: inset 0 0 0 4px #fff1b8, 0 10px 0 #08224a, 0 18px 30px #05132d59;
}

.game-hold-release-meter .claw-rig::before,
.game-hold-release-meter .claw-rig::after {
  position: absolute;
  z-index: 1;
  top: 12px;
  bottom: 12px;
  width: 13px;
  border: 2px solid #d8a936;
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, #e62129 0 9px, #fff4d8 9px 18px);
  content: "";
  opacity: .88;
}

.game-hold-release-meter .claw-rig::before { left: 9px; }
.game-hold-release-meter .claw-rig::after { right: 9px; }

.game-hold-release-meter .claw-rig__rail {
  position: absolute;
  z-index: 2;
  top: 9px;
  bottom: 9px;
  left: 50%;
  width: 17px;
  border: 3px solid #071a36;
  border-radius: 9px;
  background: repeating-linear-gradient(0deg, #233249 0 5px, #c9a45d 5px 7px);
  box-shadow: inset 0 0 0 2px #ffffff24, 0 0 0 2px #ffd45a36;
  transform: translateX(-50%);
}

.game-hold-release-meter .claw-prize-target {
  position: absolute;
  z-index: 4;
  bottom: 10px;
  left: 50%;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 5px solid var(--claw-red);
  border-radius: 50%;
  background: radial-gradient(circle, #fffdf1 0 49%, #ffd45a 50% 58%, #fff1ad 59% 64%, transparent 65%);
  box-shadow: 0 0 0 4px #ffd45a, 0 0 28px #e6212985, inset 0 0 18px #ff7e475c;
  transform: translateX(-50%);
}

.game-hold-release-meter .claw-prize-target img {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px #5c2b1747);
}

.game-hold-release-meter .claw-rig__carriage {
  position: absolute;
  z-index: 7;
  top: var(--claw-top);
  left: 50%;
  width: 118px;
  height: 118px;
  transform: translateX(-50%);
  transition: filter 80ms linear;
  will-change: top;
}

.game-hold-release-meter .claw-rig__claw {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px #06172f70);
}

.game-hold-release-meter .claw-rig__captured {
  position: absolute;
  z-index: 1;
  top: 66px;
  left: 50%;
  width: 64px;
  height: 64px;
  opacity: 0;
  object-fit: contain;
  transform: translate(-50%, -8px) scale(.55);
}

.game-hold-release-meter[data-feedback="perfect"] .claw-prize-target { animation: claw-target-win 900ms ease-out both; }
.game-hold-release-meter[data-feedback="perfect"] .claw-prize-target > img { opacity: 0; }
.game-hold-release-meter[data-feedback="perfect"] .claw-rig__captured {
  opacity: 1;
  animation: claw-captured-prize 880ms ease-out both;
}

.game-hold-release-meter[data-feedback="perfect"] .claw-rig__carriage {
  animation: claw-capture-deliver 880ms cubic-bezier(.2, .78, .28, 1) both;
  filter: drop-shadow(0 0 12px var(--claw-gold));
}

.game-hold-release-meter[data-feedback="miss"] .claw-rig__carriage { animation: claw-empty-wobble 260ms ease-out; }
.game-hold-release-meter[data-feedback="close"] .claw-prize-target { animation: claw-prize-bump 520ms ease-out; }

.game-hold-release-meter .claw-control-deck {
  display: flex;
  width: 100%;
  min-height: 112px;
  flex:0 0 122px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 10px 18px;
  overflow: hidden;
  border: 3px solid #b67a24;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, #143b6ee8, #071b3bf5 55%);
}

.game-hold-release-meter .hold-pad {
  position: relative;
  z-index: 9;
  display: flex;
  width: 156px;
  height: 88px;
  min-height: 84px;
  flex: 0 0 auto;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 5px solid #ffe29a;
  border-radius: 42px;
  color: #fff;
  background: radial-gradient(circle at 40% 25%, #ff797d, #ed2932 42%, #aa0b25 76%);
  box-shadow: 0 9px 0 #7c1026, 0 13px 0 #071a36, 0 17px 32px #e62129a8, inset 0 0 0 4px #ffffff2e;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.game-hold-release-meter .hold-pad::before,
.game-hold-release-meter .hold-pad::after {
  position: absolute;
  z-index: -1;
  inset: -13px;
  border: 3px solid #ffd45a9e;
  border-radius: 50px;
  content: "";
  animation: claw-button-pulse 1.45s ease-out infinite;
}

.game-hold-release-meter .hold-pad::after { animation-delay: .72s; }

.game-hold-release-meter .hold-pad__core {
  position: absolute;
  inset: 8px;
  border: 1px dashed #ffe1929e;
  border-radius: 32px;
}

.game-hold-release-meter .hold-pad__signal {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 18px;
  margin-bottom: 4px;
  border: 3px solid var(--claw-gold);
  border-radius: 5px 5px 12px 12px;
}

.game-hold-release-meter .hold-pad__signal::before {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 5px;
  height: 12px;
  border-radius: 999px;
  background: var(--claw-gold);
  content: "";
  transform: translateX(-50%);
}

.game-hold-release-meter .hold-pad strong {
  position: relative;
  z-index: 2;
  font-size: 19px;
  font-weight: 1000;
  letter-spacing: .05em;
  line-height: 1;
  text-shadow: 0 2px 0 #790b20;
}

.game-hold-release-meter .hold-pad small {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: #fff2b4;
  font-size: 9px;
  font-weight: 900;
}

.game-hold-release-meter .hold-pad:focus-visible { outline: 4px solid var(--claw-cyan); outline-offset: 6px; }

.game-hold-release-meter .is-holding .hold-pad {
  transform: translateY(8px) scale(.98);
  box-shadow: 0 2px 0 #7c1026, 0 6px 0 #071a36, 0 9px 24px #ffd45a8f, inset 0 0 0 4px #ffffff38;
}

.game-hold-release-meter .is-holding .hold-pad::before,
.game-hold-release-meter .is-holding .hold-pad::after { animation-duration: .62s; }
.game-hold-release-meter .is-holding .meter-console__status::before { background: var(--claw-red); }
.game-hold-release-meter .is-locked .hold-pad { opacity: .55; filter: grayscale(.4); cursor: default; }

.game-hold-release-meter .meter-feedback {
  position: absolute;
  z-index: 12;
  top: 42%;
  left: 50%;
  min-width: 112px;
  margin: 0;
  padding: 9px 16px;
  border: 3px solid #071a36;
  border-radius: 13px;
  opacity: 0;
  color: #071a36;
  background: #fff;
  box-shadow: 0 8px 0 #071a3638;
  font-size: 18px;
  font-weight: 1000;
  text-align: center;
  transform: translate(-50%, -50%) scale(.72) rotate(-2deg);
  pointer-events: none;
}

.game-hold-release-meter[data-feedback="perfect"] .meter-feedback,
.game-hold-release-meter[data-feedback="close"] .meter-feedback,
.game-hold-release-meter[data-feedback="miss"] .meter-feedback { animation: claw-feedback 420ms ease both; }
.game-hold-release-meter[data-feedback="perfect"] .meter-feedback { color: #8c1022; background: #fff0a8; }
.game-hold-release-meter[data-feedback="close"] .meter-feedback { color: #073e55; background: #c9faff; }
.game-hold-release-meter[data-feedback="miss"] .meter-feedback { color: #fff; background: #172743; }

.game-hold-release-meter .game-overlay {
  position: absolute;
  z-index: 20;
  display: grid;
  inset: 0;
  place-items: center;
  padding: 16px;
  background: #fff7e2b5;
  backdrop-filter: blur(2px);
}

.game-hold-release-meter .game-overlay.hidden { display: none; }

.game-hold-release-meter .game-overlay-panel {
  width: min(100%, 314px);
  padding: 16px 19px 19px;
  border: 3px solid #d7a12b;
  border-radius: 25px;
  color: #152039;
  background: linear-gradient(180deg, #fffdf5f7, #fff2cfef);
  box-shadow: 0 10px 0 #8e3b22a3, 0 22px 40px #071a3642;
  text-align: center;
}

.game-hold-release-meter .meter-ready-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--claw-red);
  box-shadow: 0 4px 0 #8e1025;
  font-size: 10px;
  font-weight: 950;
}

.game-hold-release-meter .claw-ready-art {
  position: relative;
  width: 220px;
  height: 155px;
  margin: 5px auto 0;
  overflow: hidden;
  border: 3px solid #dba42f;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff9e9, #f6d994);
  box-shadow: inset 0 0 0 3px #fff4bf;
}

.game-hold-release-meter .claw-ready-rail {
  position: absolute;
  top: 7px;
  bottom: 45px;
  left: 50%;
  width: 11px;
  border-radius: 999px;
  background: repeating-linear-gradient(0deg, #263244 0 4px, #ca9f4a 4px 6px);
  transform: translateX(-50%);
}

.game-hold-release-meter .claw-ready-window {
  position: absolute;
  bottom: 45px;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 4px solid var(--claw-red);
  border-radius: 50%;
  background: radial-gradient(circle, #fffdf1 0 51%, #ffd45a 52% 61%, transparent 62%);
  box-shadow: 0 0 0 3px #ffd45a, 0 0 16px #e6212970;
  transform: translateX(-50%);
}

.game-hold-release-meter .claw-ready-window img { width: 50px; height: 50px; object-fit: contain; }

.game-hold-release-meter .claw-ready-carriage {
  position: absolute;
  z-index: 3;
  top: 2px;
  left: 50%;
  width: 76px;
  height: 76px;
  transform: translateX(-50%);
  animation: claw-ready-shuttle 2.8s linear infinite;
}

.game-hold-release-meter .claw-ready-carriage img { width: 100%; height: 100%; object-fit: contain; }

.game-hold-release-meter .claw-ready-pad {
  position: absolute;
  z-index: 4;
  bottom: 7px;
  left: 50%;
  display: grid;
  width: 82px;
  height: 38px;
  place-items: center;
  border: 3px solid #ffe49a;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #ff666d, #e62129 58%, #a20c29);
  box-shadow: 0 5px 0 #781029;
  transform: translateX(-50%);
  animation: claw-ready-pad 2.8s linear infinite;
}

.game-hold-release-meter .claw-ready-pad i { position: absolute; inset: 5px; border: 1px dashed #ffd45a; border-radius: 12px; }
.game-hold-release-meter .claw-ready-pad b { position: relative; z-index: 2; font-size: 9px; font-weight: 1000; }

.game-hold-release-meter .claw-ready-release {
  position: absolute;
  z-index: 5;
  top: 72px;
  right: 8px;
  padding: 4px 7px;
  border-radius: 8px;
  opacity: 0;
  color: #fff;
  background: var(--claw-red);
  box-shadow: 0 3px 0 #8e1025;
  font-size: 8px;
  animation: claw-ready-release 2.8s linear infinite;
}

.game-hold-release-meter .meter-ready-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px auto;
  font-size: 9px;
  font-weight: 1000;
}

.game-hold-release-meter .meter-ready-guide span,
.game-hold-release-meter .meter-ready-guide strong { padding: 4px 7px; border-radius: 999px; }
.game-hold-release-meter .meter-ready-guide span { color: #fff; background: var(--claw-red); }
.game-hold-release-meter .meter-ready-guide i { color: var(--claw-blue); font-style: normal; }
.game-hold-release-meter .meter-ready-guide strong { color: #8e102b; background: #ffe9a6; }

.game-hold-release-meter .game-overlay-panel h2 { margin: 5px 0 4px; font-size: 27px; line-height: 1.02; }
.game-hold-release-meter .game-overlay-panel p { max-width: 245px; margin: 0 auto 13px; color: #5e6177; font-size: 13px; line-height: 1.35; }
.game-hold-release-meter .primary-cta { min-width: 116px; }
.game-hold-release-meter .countdown-value { color: var(--claw-red); font-size: 68px; font-weight: 1000; text-shadow: 0 5px 0 #8f1820; }
.game-hold-release-meter .game-result-processing { min-height: 76px; }
.game-hold-release-meter:not(.is-countdown):not(.is-playing):not(.is-completing):not(.is-finished) .meter-console { display: none; }

@keyframes claw-button-pulse {
  0% { opacity: .74; transform: scale(.93); }
  100% { opacity: 0; transform: scale(1.14); }
}

@keyframes claw-capture-deliver {
  0%, 24% { top: var(--claw-top); transform: translateX(-50%) scale(1); }
  32% { top: var(--claw-top); transform: translateX(-50%) scale(.94); }
  72%, 100% { top: 8px; transform: translateX(-50%) scale(.96); }
}

@keyframes claw-captured-prize {
  0% { opacity: 0; transform: translate(-50%, -8px) scale(.55); }
  16%, 68% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  88%, 100% { opacity: 0; transform: translate(-50%, 10px) scale(.72); }
}

@keyframes claw-target-win {
  0%, 100% { filter: brightness(1); transform: translateX(-50%) scale(1); }
  28%, 58% { filter: brightness(1.22) drop-shadow(0 0 18px #ffd45a); transform: translateX(-50%) scale(1.08); }
}

@keyframes claw-prize-bump {
  0%, 100% { transform: translateX(-50%) rotate(0); }
  32% { transform: translateX(-50%) rotate(-6deg); }
  68% { transform: translateX(-50%) rotate(5deg); }
}

@keyframes claw-empty-wobble {
  0%, 100% { transform: translateX(-50%) rotate(0); }
  35% { transform: translateX(-50%) rotate(-7deg); }
  70% { transform: translateX(-50%) rotate(6deg); }
}

@keyframes claw-feedback {
  0% { opacity: 0; transform: translate(-50%, -42%) scale(.72) rotate(-2deg); }
  28%, 72% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
  100% { opacity: 0; transform: translate(-50%, -62%) scale(.9) rotate(-2deg); }
}

@keyframes claw-ready-shuttle {
  0%, 100% { top: -10px; }
  50% { top: 13px; }
}

@keyframes claw-ready-pad {
  0%, 8%, 82%, 100% { transform: translateX(-50%) translateY(0); box-shadow: 0 5px 0 #781029; }
  14%, 52% { transform: translateX(-50%) translateY(4px); box-shadow: 0 1px 0 #781029; }
}

@keyframes claw-ready-release {
  0%, 46%, 75%, 100% { opacity: 0; transform: scale(.75); }
  50%, 67% { opacity: 1; transform: scale(1); }
}

@media (max-width: 420px) {
  .game-hold-release-meter .game-stage { min-height: clamp(510px, 128vw, 655px); }
  .game-hold-release-meter .meter-console { width: 94%; min-height: 0; padding-inline: 4px; }
  .game-hold-release-meter .claw-rig { width: 258px; }
  .game-hold-release-meter .claw-control-deck { padding-inline: 7px; }
  .game-hold-release-meter .hold-pad { width: 148px; }
  .game-hold-release-meter .game-overlay { padding: 10px; }
  .game-hold-release-meter .game-overlay-panel { padding: 14px 17px 17px; }
}

@media (max-width: 340px) {
  .game-hold-release-meter .claw-rig { width: 246px; }
}

@media (max-height: 620px) {
  .game-hold-release-meter .game-overlay { padding: 8px 14px; }
  .game-hold-release-meter .game-overlay-panel { padding-top: 11px; padding-bottom: 13px; }
  .game-hold-release-meter .claw-ready-art { height: 116px; }
  .game-hold-release-meter .claw-ready-carriage { top: 0; }
  .game-hold-release-meter .claw-ready-window { bottom: 40px; }
  .game-hold-release-meter .claw-ready-pad { bottom: 4px; }
  .game-hold-release-meter .meter-ready-guide { margin-top: 2px; }
}
