/* ===== 自定义工具类（原 @layer utilities 改为普通 CSS） ===== */
.text-underline {
  text-decoration: underline;
}
.btn-yellow {
  background-color: #F3BA2F;
  color: #000;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn-yellow:disabled {
  background-color: #665424;
  color: #aaa;
  cursor: not-allowed;
}
.card-border {
  border: 1px solid #F3BA2F40;
  border-radius: 12px;
}
.inner-card-border {
  border: 1px solid #F3BA2F;
  border-radius: 8px;
}
.table-original {
  border: 2px solid #F3BA2F;
  border-collapse: collapse;
  width: 100%;
}
.table-original th,
.table-original td {
  border: 2px solid #F3BA2F;
  padding: 12px 8px;
  text-align: center;
  color: #fff;
}
.yellow-title-block {
  background-color: #F3BA2F;
  color: #000;
  font-weight: bold;
  padding: 6px 16px;
  display: inline-block;
}

/* ===== 语言下拉 ===== */
.lang-dropdown {
  display: none;
}
.lang-dropdown.open {
  display: block;
}

/* ===== 弹窗样式（全部手写，避免与 Tailwind 冲突） ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show {
  display: flex !important;
}
.circle-progress-wrap {
  position: relative;
  width: 160px;
  height: 160px;
}
.circle-bg {
  fill: none;
  stroke: #333;
  stroke-width: 12;
}
.circle-bar {
  fill: none;
  stroke: #F3BA2F;
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center center;
  transition: stroke-dashoffset 0.25s ease-out;
}
.percent-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
}