.aero-player {
  position: absolute;
  right: 22px;
  bottom: 66px;
  width: 386px;
  z-index: 80;
  padding: 9px 13px 13px;
  border: 1px solid #e8faff;
  border-radius: 26px 28px 36px 28px;
  background: linear-gradient(
    170deg,
    #f9ffff 0,
    #bcd8f0 12%,
    #f6ffff 23%,
    #90b3d9 45%,
    #dfedf8 63%,
    #91b5df 85%,
    #668fbf 100%
  );
  box-shadow:
    inset 0 0 0 2px #e0f3ff,
    inset 0 -7px 12px #4779b66b,
    0 7px 24px #17406b66,
    0 0 0 1px #537dab;
  font-family: "Segoe UI", sans-serif;
  color: #3d6592;
}
.aero-player:before {
  content: "";
  position: absolute;
  inset: 33px 7px 8px;
  border: 2px solid #dfeeff;
  border-radius: 60px 16px 35px 70px;
  box-shadow: 0 0 0 1px #749ac4;
  pointer-events: none;
}
.player-header {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  margin: 0 3px 8px;
  font-size: 11px;
  text-shadow: 0 1px #fff;
  position: relative;
}
.player-header > .windows-logo {
  width: 17px;
  height: 17px;
  margin: 0;
  gap: 1px;
}
.player-header-title {
  font-weight: 600;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.player-header-controls {
  display: flex;
  margin-left: auto;
  gap: 5px;
}
.aero-player button {
  font: inherit;
  cursor: pointer;
}
.player-header-controls button {
  border: 0;
  background: none;
  padding: 0 3px;
  font: bold 18px Arial;
  color: #4678a4;
  text-shadow: 0 1px white;
  line-height: 20px;
}
.player-header-controls button:hover {
  color: #064276;
}
.player-body {
  position: relative;
  display: grid;
  grid-template-columns: 113px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 5px 0 7px;
}
.player-wheel {
  position: relative;
  width: 113px;
  height: 113px;
  border: 2px solid #658fbb;
  border-radius: 50%;
  background: conic-gradient(
    from -45deg,
    #e2f0ff,
    #fff 17%,
    #a7c7e7 28%,
    #6c9dcc 42%,
    #e2effc 56%,
    #fff 70%,
    #8fb7df 86%,
    #e8f3ff
  );
  box-shadow:
    inset 0 0 0 4px #dceeff,
    inset 0 0 0 6px #94b6d7,
    0 0 0 3px #f4ffff,
    0 0 0 5px #9dbbda,
    0 4px 9px #2d629a44;
}
.player-wheel button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #245b91;
  text-shadow: 0 1px #fff;
  display: grid;
  place-items: center;
  padding: 0;
}
.player-wheel .player-play {
  left: 29px;
  top: 29px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(#edf7ff, #b5d5ef 48%, #7faad5 50%, #e5f5ff);
  border: 1px solid #759dc5;
  box-shadow:
    inset 0 0 0 2px #f3ffffc9,
    0 2px 6px #3a6b9b55;
  font-size: 27px;
}
.player-wheel .player-play:hover {
  filter: brightness(1.12);
}
.player-previous {
  left: 6px;
  top: 43px;
  width: 23px;
  height: 26px;
  font-size: 21px !important;
}
.player-next {
  right: 6px;
  top: 43px;
  width: 23px;
  height: 26px;
  font-size: 21px !important;
}
.player-stop {
  left: 44px;
  bottom: 8px;
  width: 23px;
  height: 21px;
  font-size: 20px !important;
}
.player-library {
  left: 44px;
  top: 7px;
  width: 24px;
  height: 21px;
  font-size: 19px !important;
}
.player-console {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-display {
  position: relative;
  overflow: hidden;
  height: 100px;
  padding: 10px 13px 9px;
  border-radius: 14px 34px 34px 13px;
  background: linear-gradient(
    170deg,
    #7dc6ff 0,
    #276bac 28%,
    #064f99 50%,
    #137dcc 78%,
    #9edbfc
  );
  border: 2px solid #235b98;
  box-shadow:
    0 0 0 2px #f0fbff,
    0 0 0 3px #779dc7,
    inset 0 0 10px #174f98;
  color: #fff;
  text-shadow: 0 1px 4px #1e5f9b;
}
.player-display:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 43%;
  background: linear-gradient(#ffffff4d, #ffffff10);
  border-radius: 0 0 60% 0;
  pointer-events: none;
}
.player-status-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1px;
}
.player-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 11px;
}
.player-bars i {
  width: 3px;
  height: 5px;
  background: #d0f6ff;
  box-shadow: 0 0 4px #efffff;
}
.player-bars i:nth-child(2) {
  height: 10px;
}
.player-bars i:nth-child(3) {
  height: 7px;
}
.aero-player.is-playing .player-bars i {
  animation: equalize 0.7s ease-in-out infinite alternate;
}
.aero-player.is-playing .player-bars i:nth-child(2) {
  animation-delay: -0.3s;
}
.player-time {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.player-track-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.1px;
}
.player-artist {
  font-size: 8px;
  opacity: 0.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-seek-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 1px 10px 11px;
  position: relative;
}
.player-total {
  font-size: 9px;
  min-width: 28px;
  font-variant-numeric: tabular-nums;
}
.aero-player input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  min-width: 0;
  flex: 1;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #789bc0;
  background: linear-gradient(#84a7cc, #eaf6ff);
  box-shadow:
    inset 0 1px 3px #4e709844,
    0 1px #ffffffc0;
  cursor: pointer;
}
.aero-player input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 10px;
  border: 1px solid #769abd;
  border-radius: 8px;
  background: linear-gradient(#fff, #c2d9ef 50%, #9fbfdf 55%, #effbff);
  box-shadow: 0 1px 3px #4e729544;
}
.aero-player input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 10px;
  border: 1px solid #769abd;
  border-radius: 8px;
  background: linear-gradient(#fff, #aac9e7, #effbff);
}
.aero-player input[type="range"]:disabled {
  opacity: 0.5;
  cursor: default;
}
.player-volume-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 4px 0;
}
.player-volume-row input[type="range"] {
  height: 10px;
  background: linear-gradient(
    90deg,
    #72d400 0,
    #72d400 var(--volume-percent, 25%),
    #d3e6f5 var(--volume-percent, 25%),
    #d3e6f5 100%
  );
  box-shadow:
    inset 0 2px 3px #568aa35e,
    0 1px white;
}
.player-mute {
  flex-shrink: 0;
  border: 1px solid #111;
  border-radius: 12px;
  background: linear-gradient(#effaff, #9dbfdf, #e4f3ff);
  box-shadow: inset 0 0 0 2px #e7f5ff;
  padding: 2px 7px;
  font-size: 13px !important;
  color: #285787;
}
#tray-volume {
  border: 1px solid #111;
  border-radius: 4px;
  background: #dff4ff3d;
  box-shadow: inset 0 0 0 1px #ffffff70;
  padding: 2px;
}
.player-volume-value {
  font-size: 9px;
  min-width: 25px;
  text-align: right;
}
.player-playlist {
  position: relative;
  max-height: 160px;
  overflow: auto;
  margin-top: 8px;
  padding: 6px;
  background: #e9f5ffe6;
  border: 1px solid #789dc5;
  border-radius: 6px 6px 19px 19px;
  scrollbar-width: thin;
}
.player-playlist button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: 11px;
  color: #396c97;
}
.player-playlist button:hover,
.player-playlist button.current {
  background: #beddfa;
}
.player-playlist .track-number {
  font-size: 9px;
  opacity: 0.6;
}
.player-playlist .track-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-playlist .unavailable {
  opacity: 0.5;
}
.aero-player.compact {
  padding-bottom: 5px;
  border-radius: 20px;
}
.aero-player.compact:before,
.aero-player.compact .player-body,
.aero-player.compact .player-seek-row,
.aero-player.compact .player-playlist {
  display: none;
}
.aero-player.compact .player-header {
  margin-bottom: 3px;
}
@keyframes equalize {
  to {
    height: 3px;
    opacity: 0.6;
  }
}
@media (max-width: 800px) {
  .aero-player {
    width: 345px;
    right: 14px;
    bottom: 61px;
  }
  .player-body {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 13px;
  }
  .player-wheel {
    transform: scale(0.9);
    transform-origin: left center;
  }
  .player-time {
    font-size: 27px;
  }
}
@media (max-width: 540px) {
  .aero-player {
    width: 310px;
    max-width: calc(100vw - 20px);
    right: 10px;
    padding: 8px 12px 11px;
    z-index: 80;
  }
  .player-header {
    font-size: 10px;
  }
  .player-body {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }
  .player-wheel {
    transform: scale(0.76);
    transform-origin: left center;
    width: 113px;
  }
  .player-display {
    height: 90px;
    padding: 8px 10px;
  }
  .player-time {
    font-size: 25px;
  }
  .player-header-controls {
    gap: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aero-player .player-bars i {
    animation: none !important;
  }
}
.aero-player .player-seek-row {
  margin-left: 30px;
}
.aero-player .player-volume-value {
  text-align: left;
}
