:root {
  --ro-bg:        #0a0a14;
  --ro-glass:     rgba(18, 18, 32, 0.72);
  --ro-accent:    #ff9e00;
  --ro-accent-glow: rgba(255, 158, 0, 0.28);
  --ro-text:      #fff8e8;
  --ro-text-dim:  #ffcc99;
  --ro-border:    rgba(255, 158, 0, 0.20);
  --ro-shadow:    0 10px 40px rgba(0,0,0,0.65);
}

#ro-player-container {
  width: 100%;
  max-width: 640px;
  margin: 1.8rem auto;
  font-family: inherit;
  direction: rtl;
  user-select: none;
}

.ro-player {
  background: var(--ro-glass);
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  border: 1px solid var(--ro-border);
  border-radius: 22px;
  box-shadow: var(--ro-shadow);
  padding: 32px 28px 40px 28px;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.ro-player:hover {
  transform: translateY(-2px);
}

.ro-clock-left {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 0.84rem;
  color: var(--ro-text-dim);
  font-weight: 500;
  letter-spacing: 0.4px;
  opacity: 0.92;
}

.ro-date-right {
  position: absolute;
  top: 12px;
  right: 18px;
  text-align: right;
  font-size: 0.76rem;           /* کوچکتر طبق درخواست */
  color: var(--ro-text-dim);
  line-height: 1.3;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

#ro-jdate {
  font-weight: 500;
  margin-bottom: 3px;
}

#ro-gdate {
  font-size: 0.72rem;           /* میلادی حتی کوچک‌تر */
  opacity: 0.82;
}

.ro-play-btn {
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ro-accent), #e68a00);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--ro-accent-glow);
  transition: all .28s ease;
  align-self: center;
  margin: 0 auto;
}

.ro-play-btn:hover {
  transform: scale(1.09);
  box-shadow: 0 12px 32px var(--ro-accent-glow);
}

.ro-play-btn:active {
  transform: scale(0.96);
}

.ro-play-icon,
.ro-pause-icon {
  width: 32px;
  height: 32px;
}

.ro-info {
  text-align: center;
  margin-top: 8px;
}

.ro-track-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ro-text);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.ro-slides-wrapper {
  height: 2.2em;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.ro-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--ro-text-dim);
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
  padding: 0 12px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

.ro-slide-item.active {
  opacity: 1;
  transform: translateY(0);
}

.ro-progress-container {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.45);
}

.ro-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--ro-accent);
  border-radius: 4px;
  transition: width 0.45s linear;
  box-shadow: 0 0 14px var(--ro-accent-glow);
}