/* PageReader – Floating Play Button */
#pr-play-btn {
  position: fixed;
  z-index: 999999;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}
#pr-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
#pr-play-btn:active {
  transform: scale(0.96);
}
#pr-play-btn svg {
  width: 50%;
  height: 50%;
}

/* PageReader – Menu Button */
#pr-menu-btn {
  position: fixed;
  z-index: 999999;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #444;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  outline: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#pr-menu-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
#pr-menu-btn:active {
  transform: scale(0.96);
}

/* PageReader – Menu Popup */
#pr-menu-popup {
  display: none;
  position: fixed;
  z-index: 1000000;
  min-width: 120px;
  background: #222;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  padding: 8px 0;
  font-size: 15px;
}
#pr-menu-popup.pr-menu-open {
  display: block;
}
.pr-menu-item {
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.13s;
}
.pr-menu-item:hover {
  background: #333;
}

/* Sentence highlight transition */
.pr-sentence {
  transition: background-color 0.2s ease;
  border-radius: 2px;
}
