#global-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 10px 20px;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  font-family: "Segoe UI", sans-serif;
}

#global-player.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.gp-info {
  text-align: center;
  margin-bottom: 4px;
}

.gp-title {
  font-size: 15px;
  font-weight: bold;
}

.gp-artist {
  font-size: 13px;
  color: #ccc;
}

.gp-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 90%;
  max-width: 600px;
}

.gp-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  top: -0px;      /* ← あなたの調整はそのまま残してOK */
  width: 28px;    /* ← ★ボタン幅を固定 */
  height: 28px;   /* ← ★高さも固定 */
  line-height: 28px; /* ← 中央に揃える */
  text-align: center;
}


#gp-seek {
  flex: 1;
  height: 4px;
  accent-color: #00bcd4;
  cursor: pointer;
}

#gp-volume {
  width: 80px;
  accent-color: #ccc;
  cursor: pointer;
}

#gp-close {
  position: absolute;
  right: 15px;
  top: 8px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.8;
}



.play-btn.elegant {
  background: #ffffff;
  color: #00497A;
  border: 1px solid #d0d8e4;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;              /* ← 中央配置の基本 */
  align-items: center;        /* ← 縦中央 */
  justify-content: center;    /* ← 横中央 */
  line-height: 1;             /* ← 行の高さのズレを打ち消す */
  padding-top: 3px;           /* ← 微調整（上に寄る場合 -1px に） */
  padding-right: 4px;
}
.play-btn.elegant:hover {
  background: #00497A;
  color: #fff;
  transform: scale(1.1) translateY(1px); /* ← 少し下へ動かす */
} 
/* ⏸再生中の位置調整 */
.play-btn.elegant.playing {
  padding-bottom: 3px;   /* ← 上下位置を微調整（少し下げる） */
  padding-left: 4px;  /* ← 左右も調整可能 */
}