.gp-bar {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: #1b2530;
  color: #daeeef;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  direction: rtl;
  font-family: inherit;
  width: 100%;
  max-width: 700px;
  
}

.gp-bar.active {
  display: flex;
}

.gp-info {
  display: flex;
  flex-direction: column;
  min-width: 110px;
  max-width: 220px;
  overflow: hidden;
}

.gp-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-subtitle {
  font-size: 11px;
  color: #9aa5b1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gp-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  line-height: 1;
}

.gp-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.gp-play {
  background: var(--color-teal);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
}

.gp-play:hover {
  background: var(--color-teal);
}

.gp-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9aa5b1;
  min-width: 120px;
}

.gp-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.gp-progress-fill {
  height: 100%;
  background: var(--color-teal);
  border-radius: 2px;
  width: 0%;
}

.gp-close {
  font-size: 14px;
  opacity: 0.7;
  flex-shrink: 0;
}

[data-theme="dark"] .gp-bar {
  background: var(--color-bg);
}

@media (max-width: 600px) {
  .gp-subtitle {
    display: none;
  }
  .gp-info {
    min-width: 70px;
    max-width: 110px;
  }
  .gp-bar {
    padding: 6px 10px;
    gap: 8px;
  }
}
.gp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* لو فيه padding قديم ممكن يبوظ الشكل */
}

.gp-btn svg {
  display: block;
  pointer-events: none; /* عشان لو داس على الأيقونة الزرار يشتغل عادي */
}