.sleep-home-player {
  position: fixed;
  z-index: 1200;
  right: 10px;
  bottom: calc(165px + env(safe-area-inset-bottom));
  color: #233645;
}
.sleep-home-player .sleep-home-disc {
  display: block;
  position: relative;
  width: 52px;
  height: 52px;
  padding: 6px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #77848d;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #253039 0px, #253039 2px, #404b53 3px, #28333b 4px);
  box-shadow: 0 2px 7px #122b4138;
}
.sleep-home-disc .sleep-home-art {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: sleep-home-turn 9s linear infinite;
  animation-play-state: paused;
}
.sleep-home-disc.is-playing .sleep-home-art { animation-play-state: running; }
.sleep-home-disc .sleep-home-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border: 2px solid #c5cbd0;
  border-radius: 50%;
  background: #354553;
}
@keyframes sleep-home-turn { to { transform: rotate(360deg); } }
.sleep-home-panel {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 218px;
  max-width: calc(100vw - 90px);
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #d7dfe3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px #122b4120;
}
.sleep-home-title {
  display: block;
  padding: 0 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
}
.sleep-home-actions { display: flex; margin-top: 4px; }
.sleep-home-actions button {
  flex: 1;
  padding: 0;
  margin: 0;
  min-width: 0;
  height: 36px;
  line-height: 36px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font-size: 13px;
}
.sleep-home-actions .sleep-home-toggle { background: #eff3f5; }
.sleep-home-player[hidden], .sleep-home-panel[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sleep-home-disc .sleep-home-art { animation: none; } }
