  .mp3-player * { box-sizing: border-box; }
  .mp3-player {
    background: #1a1a1a; color: #e5e5e5;
    border-radius: 10px; padding: 22px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%; margin: 0 auto;
  }
  .mp3-now { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
  .mp3-art {
    width: 110px; height: 110px; background: #2a2a2a; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    position: relative; overflow: hidden;
  }
  .mp3-art svg { width: 50px; height: 50px; fill: #b0b0b0; }
  /* Loading overlay on art */
  .mp3-art-loading {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.75);
    display: none; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px;
    color: #5e91ff; font-size: 12px; font-weight: 600;
  }
  .mp3-art-loading.show { display: flex; }
  .mp3-art-loading .spinner {
    width: 24px; height: 24px; border: 3px solid rgba(94,145,255,0.25);
    border-top-color: #5e91ff; border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  .mp3-art-loading .pct { color: #e5e5e5; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .mp3-play-btn {
    width: 72px; height: 72px; border-radius: 50%;
    background: #5e91ff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform 0.15s, background 0.15s;
  }
  .mp3-play-btn:hover { background: #7ea8ff; transform: scale(1.05); }
  .mp3-play-btn:active { transform: scale(0.97); }
  .mp3-play-btn svg { width: 30px; height: 30px; fill: #fff; }
  .mp3-title {
    font-size: 20px; font-weight: 600; color: #f0f0f0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex: 1; min-width: 0;
  }
  .mp3-progress-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .mp3-progress-wrap {
    flex: 1; height: 6px; background: #3a3a3a; border-radius: 3px;
    position: relative; cursor: pointer; user-select: none;
  }
  .mp3-progress-fill {
    position: absolute; top: 0; left: 0; height: 100%; width: 0%;
    background: #5e91ff; border-radius: 3px; pointer-events: none;
  }
  .mp3-progress-handle {
    position: absolute; top: 50%; left: 0%;
    width: 14px; height: 14px; background: #5e91ff;
    border: 2px solid #fff; border-radius: 50%;
    transform: translate(-50%, -50%); pointer-events: none;
    opacity: 0; transition: opacity 0.15s;
  }
  .mp3-progress-wrap:hover .mp3-progress-handle { opacity: 1; }
  .mp3-time {
    color: #b0b0b0; font-size: 13px;
    font-variant-numeric: tabular-nums; min-width: 90px; text-align: right;
  }
  .mp3-controls {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 18px;
  }
  .mp3-btn {
    background: #2a2a2a; color: #e5e5e5; border: none;
    border-radius: 4px; padding: 10px 12px; cursor: pointer;
    font-size: 13px; font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    gap: 4px; transition: background 0.15s; min-height: 40px;
  }
  .mp3-btn:hover { background: #3a3a3a; }
  .mp3-btn.active { background: #5e91ff; color: #fff; }
  .mp3-btn svg { width: 16px; height: 16px; fill: currentColor; }

  .mp3-volume {
    display: flex; align-items: center; gap: 6px;
    background: #2a2a2a; border-radius: 4px;
    padding: 4px 10px; height: 40px;
  }
  .mp3-volume input[type="range"] {
    width: 70px; -webkit-appearance: none; appearance: none;
    background: transparent; cursor: pointer;
  }
  .mp3-volume input[type="range"]::-webkit-slider-runnable-track {
    height: 4px; background: #4a4a4a; border-radius: 2px;
  }
  .mp3-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 12px; height: 12px; background: #5e91ff;
    border-radius: 50%; margin-top: -4px;
  }
  .mp3-volume input[type="range"]::-moz-range-track {
    height: 4px; background: #4a4a4a; border-radius: 2px;
  }
  .mp3-volume input[type="range"]::-moz-range-thumb {
    width: 12px; height: 12px; background: #5e91ff;
    border-radius: 50%; border: none;
  }
  .mp3-volume button {
    background: none; border: none; color: #e5e5e5;
    cursor: pointer; padding: 0; display: flex;
  }
  .mp3-volume button svg { width: 18px; height: 18px; fill: currentColor; }

  .mp3-speed {
    display: flex; align-items: center; background: #2a2a2a;
    border-radius: 4px; height: 40px; overflow: hidden;
  }
  .mp3-speed button {
    background: none; border: none; color: #e5e5e5;
    cursor: pointer; width: 28px; height: 100%; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
  }
  .mp3-speed button:hover { background: #3a3a3a; }
  .mp3-speed span {
    padding: 0 8px; font-size: 13px; font-weight: 500;
    min-width: 42px; text-align: center;
    border-left: 1px solid #3a3a3a; border-right: 1px solid #3a3a3a;
    line-height: 40px; user-select: none;
  }
  .mp3-playlist-toggle { margin-left: auto; }

  .mp3-playlist {
    border-top: 1px solid #2a2a2a; max-height: 320px;
    overflow-y: auto; transition: max-height 0.25s ease;
  }
  .mp3-playlist.collapsed { max-height: 0; overflow: hidden; border-top: none; }
  .mp3-playlist::-webkit-scrollbar { width: 6px; }
  .mp3-playlist::-webkit-scrollbar-track { background: #1a1a1a; }
  .mp3-playlist::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 3px; }

  .mp3-item {
    display: flex; align-items: center; padding: 12px 14px;
    cursor: pointer; border-bottom: 1px solid #222;
    transition: background 0.15s; gap: 12px;
  }
  .mp3-item:last-child { border-bottom: none; }
  .mp3-item:hover { background: #252525; }
  .mp3-item.active { background: #5e91ff; color: #fff; }
  .mp3-item.active .mp3-item-num { color: #fff; }
  .mp3-item-num {
    color: #888; font-size: 13px; min-width: 24px;
    display: flex; align-items: center;
  }
  .mp3-item-num svg { width: 14px; height: 14px; fill: currentColor; }
  .mp3-item-title {
    flex: 1; font-size: 14px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }

  @media (max-width: 640px) {
    .mp3-art { width: 70px; height: 70px; }
    .mp3-art svg { width: 32px; height: 32px; }
    .mp3-play-btn { width: 56px; height: 56px; }
    .mp3-play-btn svg { width: 24px; height: 24px; }
    .mp3-title { font-size: 16px; }
    .mp3-volume input[type="range"] { width: 50px; }
    .mp3-controls { gap: 6px; }
    .mp3-btn { padding: 8px 10px; font-size: 12px; min-height: 36px; }
    .mp3-time { min-width: 80px; font-size: 12px; }
  }
