/* 百人牛牛中央阶段提示 v395 */
#room.hundred-niu-mode .hn-zones {
  position: relative;
}

#room.hundred-niu-mode .hn-center {
  position: relative;
}

#room.hundred-niu-mode .hn-bet-opening {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 40;
  display: flex;
  min-width: 190px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 22px;
  border: 2px solid #ffe27b;
  border-radius: 999px;
  color: #fff6bd;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 239, 151, .38), transparent 48%),
    linear-gradient(180deg, #d76520 0%, #a82e0c 54%, #681403 100%);
  box-shadow:
    inset 0 0 0 3px rgba(104, 25, 1, .72),
    0 0 0 3px rgba(255, 185, 46, .2),
    0 7px 20px rgba(23, 5, 0, .62),
    0 0 28px rgba(255, 195, 55, .48);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: hn-bet-opening-show 1.8s ease-out both;
}

#room.hundred-niu-mode .hn-bet-opening strong {
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 3px;
  text-shadow: 0 2px 3px rgba(79, 17, 0, .86);
}

#room.hundred-niu-mode .hn-bet-opening i {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffe58a);
  box-shadow: 0 0 8px rgba(255, 219, 100, .9);
}

#room.hundred-niu-mode .hn-bet-opening i:last-child {
  background: linear-gradient(90deg, #ffe58a, transparent);
}

#room.hundred-niu-mode .hn-center-prompt {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 24;
  display: flex;
  width: 76px;
  height: 76px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 7px 5px;
  overflow: visible;
  border: 2px solid #ffe083;
  border-radius: 50%;
  color: #fff4c4;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 238, 150, .28), transparent 31%),
    linear-gradient(155deg, #0b8054 0%, #005238 50%, #003322 100%);
  box-shadow:
    inset 0 0 0 3px rgba(0, 37, 24, .68),
    inset 0 1px 9px rgba(255, 231, 137, .2),
    0 0 0 3px rgba(0, 43, 28, .76),
    0 5px 15px rgba(0, 18, 11, .58);
  transform: translate(-50%, -50%);
}

#room.hundred-niu-mode .hn-center-prompt::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 225, 126, .34);
  border-radius: inherit;
}

#room.hundred-niu-mode .hn-center-prompt span,
#room.hundred-niu-mode .hn-center-prompt strong,
#room.hundred-niu-mode .hn-center-prompt small {
  position: relative;
  z-index: 1;
}

#room.hundred-niu-mode .hn-center-prompt span {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.05;
}

#room.hundred-niu-mode .hn-center-prompt strong {
  color: #ffd94d;
  font-size: 28px;
  line-height: .95;
  text-shadow: 0 2px 3px rgba(69, 31, 0, .75);
}

#room.hundred-niu-mode .hn-center-prompt small {
  max-width: 66px;
  overflow: hidden;
  color: rgba(237, 255, 243, .84);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
}

#room.hundred-niu-mode .hn-center-prompt.is-action {
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
  animation: hn-center-prompt-pulse 1.35s ease-in-out infinite;
}

#room.hundred-niu-mode .hn-center-prompt.hn-prompt-betting {
  border-color: #ffd44d;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 245, 169, .36), transparent 32%),
    linear-gradient(155deg, #c24d20 0%, #8d260d 54%, #501204 100%);
  box-shadow:
    inset 0 0 0 3px rgba(91, 20, 2, .7),
    inset 0 1px 10px rgba(255, 231, 137, .24),
    0 0 0 3px rgba(0, 43, 28, .78),
    0 5px 16px rgba(0, 18, 11, .62);
}

#room.hundred-niu-mode .hn-center-prompt.hn-prompt-ended {
  background: linear-gradient(155deg, #8b6414, #59400a 58%, #302103);
}

#room.hundred-niu-mode .hn-account-bar {
  grid-template-columns: 84px 42px minmax(0, 1fr);
}

#room.hundred-niu-mode .hn-account-bar.has-round-result {
  grid-template-columns: 84px 42px minmax(0, 1fr) auto;
}

#room.hundred-niu-mode .hn-round-result {
  display: grid;
  min-width: 78px;
  box-sizing: border-box;
  justify-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 222, 111, .72);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(59, 94, 43, .96), rgba(17, 56, 34, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 2px 8px rgba(0, 0, 0, .34);
  animation: hn-round-result-in .38s ease-out both;
}

#room.hundred-niu-mode .hn-round-result small {
  color: rgba(255, 247, 205, .76);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

#room.hundred-niu-mode .hn-round-result strong {
  margin-top: 2px;
  color: #ffe85f;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

#room.hundred-niu-mode .hn-round-result.is-loss {
  border-color: rgba(255, 135, 112, .76);
  background: linear-gradient(180deg, rgba(119, 43, 31, .97), rgba(74, 20, 16, .98));
}

#room.hundred-niu-mode .hn-round-result.is-loss strong {
  color: #ff9a84;
}

#room.hundred-niu-mode .hn-round-result.is-tie strong {
  color: #f5e6b2;
}

@keyframes hn-round-result-in {
  0% {
    opacity: 0;
    transform: scale(.72);
  }
  70% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hn-center-prompt-pulse {
  0%, 100% {
    filter: brightness(1);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    filter: brightness(1.12);
    transform: translate(-50%, -50%) scale(1.055);
  }
}

@keyframes hn-bet-opening-show {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.62);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@media (max-width: 560px) {
  #room.hundred-niu-mode .hn-bet-opening {
    min-width: 168px;
    gap: 9px;
    padding: 9px 16px;
  }

  #room.hundred-niu-mode .hn-bet-opening strong {
    font-size: 22px;
  }

  #room.hundred-niu-mode .hn-bet-opening i {
    width: 25px;
  }

  #room.hundred-niu-mode .hn-center-prompt {
    width: 66px;
    height: 66px;
    padding: 6px 4px;
  }

  #room.hundred-niu-mode .hn-center-prompt span {
    font-size: 12px;
  }

  #room.hundred-niu-mode .hn-center-prompt strong {
    font-size: 24px;
  }

  #room.hundred-niu-mode .hn-center-prompt small {
    max-width: 58px;
    font-size: 8px;
  }

  #room.hundred-niu-mode .hn-account-bar {
    grid-template-columns: 72px 38px minmax(0, 1fr);
  }

  #room.hundred-niu-mode .hn-account-bar.has-round-result {
    grid-template-columns: 72px 38px minmax(0, 1fr) auto;
  }

  #room.hundred-niu-mode .hn-round-result {
    min-width: 68px;
    padding: 4px 7px;
  }

  #room.hundred-niu-mode .hn-round-result strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #room.hundred-niu-mode .hn-center-prompt.is-action {
    animation: none;
  }

  #room.hundred-niu-mode .hn-bet-opening {
    animation: none;
  }

  #room.hundred-niu-mode .hn-round-result {
    animation: none;
  }
}
