body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
}

input, button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px;
  margin: 5px;
}

button:hover {
  background-color: #555;
}

#feedback {
  color: #e91e63;
}

#guessList {
  list-style-type: none;
  padding: 0;
}

#guessList li {
  background-color: #222;
  color: #fff;
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
}

/* 进度条样式 */
#progressBarContainer {
  width: 80%; /* 进度条宽度与界面一致 */
  height: 20px;
  background-color: #333;
  border-radius: 10px;
  margin: 20px auto; /* 居中显示 */
  overflow: hidden;
}

#progressBar {
  width: 20%; /* 默认显示第一段 */
  height: 100%;
  background-color: #31c27c;
  transition: width 0.3s ease;
}

/* 播放按钮样式 */
.play-btn {
  background-color: #31c27c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 10px auto;
  transition: transform 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}

.play-icon {
  font-size: 20px;
  font-weight: bold;
}

.bollywood-progress-wrap {
  position: relative;
  width: 100%;
  padding-top: 42px;
}

.bollywood-progress-indicator {
  position: absolute;
  top: 0;
  left: 6.6667%;
  display: grid;
  justify-items: center;
  gap: 5px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.bollywood-progress-label {
  color: #f3f3f3;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.bollywood-progress-arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid #f3f3f3;
}

.bollywood-progress-track {
  position: relative;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #373a3d;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.bollywood-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #31c27c, #75dfad);
  box-shadow: 0 0 14px rgba(49, 194, 124, .28);
}

/* Override the legacy TikTok progress bar IDs used by the reused engine. */
#progressBarContainer.bollywood-progress-track {
  width: 100%;
  height: 12px;
  margin: 0;
  border-radius: 6px;
}

#progressBar.bollywood-progress-fill {
  width: 0;
  height: 100%;
  transition: none;
}

#feedback:empty {
  display: none;
  min-height: 0 !important;
  margin-bottom: 0 !important;
}

#feedback[hidden] {
  display: none !important;
}
