#sama-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1c2b1c;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  box-shadow: 0 -3px 16px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-sizing: border-box;
  border-top: 1px solid #3a5e3a;
}
#sama-player.sp-visible {
  transform: translateY(0);
}
#sama-player .sp-thumb {
  width: 38px; height: 38px;
  border-radius: 6px;
  background: #2e4a2e;
  border: 1px solid #3a5e3a;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#sama-player .sp-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
#sama-player .sp-title {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #e8f5e8;
}
#sama-player .sp-singer {
  font-size: 11px;
  color: #7ab87a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
#sama-player .sp-controls {
  display: flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}
#sama-player .sp-controls button {
  background: none;
  border: none;
  color: #b8d8b8;
  cursor: pointer;
  padding: 7px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
#sama-player .sp-controls button:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
#sama-player .sp-controls button svg {
  display: block;
  width: 18px; height: 18px;
  fill: currentColor;
}
#sama-player .sp-play-btn {
  background: #3a8a3a !important;
  border: none !important;
  width: 38px; height: 38px;
  border-radius: 50% !important;
}
#sama-player .sp-play-btn svg { width: 20px; height: 20px; }
#sama-player .sp-play-btn:hover { background: #4da04d !important; color: #fff; }
#sama-player .sp-progress-wrap {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 80px;
}
#sama-player .sp-time {
  font-size: 11px;
  color: #7ab87a;
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  flex-shrink: 0;
}
#sama-player .sp-progress {
  flex: 1;
  height: 4px;
  background: #2e4a2e;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
#sama-player .sp-progress-fill {
  height: 100%;
  background: #5aba5a;
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
}
#sama-player .sp-close {
  background: none;
  border: none;
  color: #5a8a5a;
  cursor: pointer;
  padding: 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
#sama-player .sp-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
#sama-player .sp-close svg { display: block; width: 16px; height: 16px; fill: currentColor; }

/* Highlight active song link */
a.sp-active-link { color: #3a8a3a !important; font-weight: 600; }

/* Push page content up when player is visible */
body.sp-player-open { padding-bottom: 62px; }

@media (max-width: 600px) {
  #sama-player { padding: 8px 10px; gap: 8px; }
  #sama-player .sp-progress-wrap { min-width: 60px; }
  #sama-player .sp-time { display: none; }
}
