/* =========================
   本地引入 LongCang 字体
========================= */
@font-face {
  font-family: 'LongCang';
  src: url('../fonts/LongCang.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 全局字体 */
body, h1, h2, p, div, input, button, select, textarea {
  font-family: 'LongCang', "Noto Serif SC", serif;
  margin: 0;
  padding: 0;
}

#bgmToggleBtn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;   /* 圆形 */
  border: none;
  background: linear-gradient(135deg, #ffd700, #ff9900);
  color: #1a1a1a;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 180, 0, 0.5);
  transition: all 0.3s ease;
}

#bgmToggleBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 180, 0.7);
}

/* 手机适配 */
@media (max-width: 480px) {
  #bgmToggleBtn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
