/* 플레이어 */
#playlist_bgm_box {
  display: none;
}
.playlist-player *::-webkit-scrollbar {
  display: none; /* Chrome에서 기본 스크롤바 제거 */
}
.playlist-player, .playlist-player * {
  font-family: var(--skin-default-font);
}
.playlist-player {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 70px;
  color: var(--skin-base-color);
  background: var(--skin-text-color);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 0.6s;
  box-shadow: 0px -14px 50px -28px var(--skin-base-color);
}

/* 기타 설정 */
.playlist-player.colored {
  background: linear-gradient(to right, var(--skin-point-color), var(--skin-point-color-r-t));
  color: var(--skin-point-color-auto);
  backdrop-filter: blur(5px);
  box-shadow: 0px 0px 3px var(--skin-point-color);
  border-top: 1px solid var(--skin-point-color-t);
}
.playlist-player.colored #p_shadow,
.playlist-player.colored #p_shadow_btn,
.playlist-player.colored #v_shadow,
.playlist-player.colored #v_shadow_btn {
 background: var(--skin-text-color);
}

.lpp .playlist-player-thumb {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: 10px;
}
.lpp:not(.compact) .playlist-player-title{
  opacity: 0;
}

.playlist-player.lpp .playlist-player-thumb {
  border-radius: 100% !important;
  overflow: visible;
}
.playlist-player.compact.lpp .playlist-player-thumb{
  overflow: visible;
}
.lpp .playlist-player-thumb-box {
  position: relative;
  animation: turntable 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  border-radius: 100% !important;
}
.lpp .playlist-player-thumb-box::before {
  content: '';
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  background: black;
  position: absolute;
  border-radius: 100% !important;
}

.lpp .playlist-player-thumb::before {
  content: '';
  position: absolute;
  background: linear-gradient(45deg, var(--skin-base-color), var(--skin-base-color-d));
  height: 50px;
  width: 4px;
  display: block;
  bottom: 5px;
  z-index: 2;
  right: -10px;
  transition-duration: 0.5s;
  border-radius: 1px;
}
.lpp .playlist-player-thumb::after {
  content: '';
  position: absolute;
  background: linear-gradient(45deg, var(--skin-base-color), var(--skin-base-color-d));
  right: -12px;
  width: 8px;
  height: 14px;
  bottom: 0px;
  z-index: 2;
  border-radius: 2px;
  transition-duration: 0.5s;
}
.active.lpp .playlist-player-thumb::before {
  rotate: -20deg;
  transition-property: rotate, height;
  transition-delay: 0s, 0.4s;
  transform-origin: bottom;
}
.active.lpp .playlist-player-thumb::after {
  rotate: -20deg;
  transform-origin: center;
}
.lpp.compact .playlist-player-thumb::before{
  height: 40px;
  right: -9px;
}
.lpp.compact .playlist-player-thumb::after{
  right: -11px;
}
.lpp.compact .playlist-player-songinfo{
  align-items: center;
  user-select: none;
  flex: 1;
}
.lpp.compact.playlist-player .playlist-player-title{
  height: 100%;
  align-items: center;
}
.lpp.compact.playlist-player .playlist-player-title #p_title {
  height: 1.5em;
  align-content: center;
}
.lpp.compact.playlist-player .playlist-player-title #p_artist{
  -webkit-line-clamp: 1;
  display: flex;
  max-height: 1.5em;
  line-height: 1.5em;
}

.playlist-player.compact.lpp {
  width: 300px;
  height: 100px;
  border-radius: 15px;
}
.playlist-player.compact.lpp .playlist-player-thumb{
  width: 100px;
  height: 100px;
  top: -20px;
  left: 0;
}

.playlist-player.compact.lpp .playlist-player-inner {
  width: 100%;
  padding: 15px;
  justify-content: space-around;
  margin-left: 80px;
}
.playlist-player.compact.lpp .playlist-player-toggle-btn.skin-btn {
right: 12px;
top: 10px;
}
.playlist-player.compact.lpp .playlist-btn.skin-btn{
border-radius: 10px;
padding: 14px 18px;
}
@keyframes turntable {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media all and (max-width: 650px) {
  .lpp .playlist-player-thumb {
    position: relative;
    width: 85px;
    height: 85px;
    bottom: 20px;
    left: -10px;
  }
}

@media all and (max-width: 540px) {
  .lpp .playlist-player-thumb {
    display: none;
  }
}

.p_square.playlist-player, 
.p_square.playlist-player.compact{
  border-radius: 0px;
}
.p_square.playlist-player * {
  border-radius: 0px;
}
.p_square.playlist-player .playlist-player-play-control .playlist-btn.skin-btn{
  border-radius: 0px;
}
.p_square.playlist-player.compact .playlist-player-thumb {
  border-radius: 0px;
}
.p_square.playlist-player .playlist-player-thumb{
  box-sizing: border-box;
  border: 1px solid;
}

.playlist-player.active.player-pulse::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--skin-text-color-t);
  animation: player-pulse 1.2s infinite ease-in;
  z-index: -1;
}
@keyframes player-pulse {
  0% {
    opacity: 1;
    width: 100%;
    height: 100%;
  }
  100% {
    opacity: 0;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }
}
/* 기타 설정 여기까지 */

.playlist-player.top-player {
  top: 0;
  bottom: unset;
}

.playlist-player.disabled {
  pointer-events: none;
  opacity: 0;
  z-index: -99;
}

.playlist-player-inner {
  display: inline-flex;
  height: 50px;
}

.playlist-player-songinfo {
  display: flex;
  align-items: center;
  user-select: none;
}

.playlist-player-thumb {
  width: 45px;
  height: 45px;
  border-radius: 20px;
  overflow: hidden;
  transition-duration: 0.4s;
  position: relative;
}

.playlist-player .playlist-player-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

.playlist-player-thumb-icon {
  width:100%;
  height:100%;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  position: absolute;
  color: white;
  transition: 0.6s;
}

.playlist-player-thumb:hover .playlist-player-thumb-icon{
  opacity: 1;
}

.playlist-player-thumb-box {
  position: relative;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}
.playlist-player-title {
  width: 130px;
  padding: 0px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.playlist-player-title #p_title {
  font-size: 13px;
  font-weight: bold;
  display: flex;
  max-height: 2em;
  overflow: hidden;
  line-height: 1em;
  align-items: center;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: calc(1em* 2);
}
.playlist-player-title #p_artist {
  display: -webkit-box;
  font-size: 11px;
  opacity: 0.8;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2em;
  line-height: 1em;
}

.playlist-player-time {
  display: flex;
}

.playlist-player-time span {
  min-width: 60px;
  margin: 0px 10px;
  text-align: center;
  font-weight: bold;
}
.playlist-player-bar {
  position: relative;
  display: flex;
  height: 20px;
}

#p_shadow {
  top: 0;
  height: 4px;
  background: var(--skin-point-color);
  width: 0%;
  position: absolute;
  margin: 8px 0px;
  border-radius: 1px;
  pointer-events: none;
}

#p_shadow_btn {
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--skin-point-color);
  position: absolute;
  margin: 2px 0px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.6s;
  transition-property: opacity;
}

.playlist-player-bar:hover #p_shadow_btn {
  opacity: 1;
}

.playlist-player-play-control {
  display: flex;
  justify-content: space-around;
}
#player-repeat-btn .fa-1 {
  display: none;
}
#player-repeat-btn.onlyone.active .fa-1 {
  display: flex;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  font-size: 12px;
  scale: 0.5;
  padding: 4px;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.playlist-player-play-control .playlist-btn.skin-btn {
  padding: 2px 21px;
  border-radius: 6px;
}

.playlist-player-play-control .playlist-btn:nth-child(3) {
  display: none;
}

.active .playlist-player-play-control .playlist-btn:nth-child(2){
  display: none;
}

.active .playlist-player-play-control .playlist-btn:nth-child(3){
  display: inline-flex;
}

.playlist-player-buttons {
  display: inline-flex;
  align-items: center;
}

.playlist-player-volume-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-player-volume {
  position: relative;
  display: flex;
  align-items: center;
  width: 63px;
  margin: 10px;
}

.playlist-volume {
  width: 100%;
}

#v_shadow {
  top: 0;
  height: 4px;
  background: var(--skin-point-color);
  width: 100%;
  position: absolute;
  border-radius: 1px;
  pointer-events: none;
}
#v_shadow_btn {
  top: -6px;
  width: 15px;
  height: 15px;
  background: var(--skin-point-color);
  position: absolute;
  margin: 0;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.6s;
  transition-property: opacity;
  left: calc(100% - 7px);
}

.playlist-player-volume-box:hover #v_shadow_btn {
  opacity: 1;
}
/* 재생 위치 바 설정 */
input[type='range'] {
  background: transparent;
}

input[type='range']:focus {
  outline: none;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  background-color: var(--skin-point-color);
  border: 1px solid var(--skin-point-color);
  border-radius: 100%;
  width: 15px;
  height: 15px;
  margin-top: -5px;
  margin-left: 0px;
  opacity: 0;
}

input[type=range]::-moz-range-thumb {
  background-color: var(--skin-point-color);
  border: 1px solid var(--skin-base-color);
  border-radius: 100%;
  width: 15px;
  height: 15px;
  opacity: 0;
}

input[type=range]::-ms-thumb {
  background-color: var(--skin-point-color);
  border: 1px solid var(--skin-base-color);
  border-radius: 100%;
  width: 15px;
  height: 15px;
  opacity: 0;
}

input[type=range]::-webkit-slider-runnable-track {
  background: var(--skin-base-color);
  height: 4px;
  border-radius: 5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  outline: none;
}

input[type=range]::-moz-range-track {
  background: var(--skin-base-color);
  height: 4px;
  border-radius: 5px;
}

input[type=range]::-ms-track {
  background: var(--skin-base-color);
  height: 4px;
  border-radius: 5px;
}

input[type=range]::-ms-fill-lower {
  background: var(--skin-base-color);
}

input[type=range]::-ms-fill-upper {
  background: var(--skin-base-color);
}
input#playlist-player-progress {
  width: 100%;
}

.playlist-player-toggle-btn {
  position: absolute;
  right: 50px;
}
#player-clear-btn {
  opacity: 1;
}
#player-setting-btn {
  opacity: 1;
}
.compact #player-clear-btn{
  opacity: 0;
  pointer-events: none;
}
.compact #player-setting-btn{
  opacity: 0;
  pointer-events: none;
}
.compact #player-top-btn{
  opacity: 0;
  pointer-events: none;
}
.playlist-player-playlist {
  display: flex;
  position: absolute;
  z-index: 2;
  padding: 15px 20px;
  border-radius: 10px;
  justify-content: center;
  color: var(--skin-base-color);
  bottom: 100%;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  translate: 0px 0px;
  transition-duration: 0.6s;
  overflow: auto;
  width: 220px;
  background: var(--skin-text-color);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid;
}
.floatdown .playlist-player-playlist {
  top: 100%;
  bottom: unset;
}

.playlist-player-playlist.active {
  opacity: 1;
  pointer-events: auto;
  translate: 0px -10px;
}

.floatdown .playlist-player-playlist.active {
  translate: 0px 10px;
}
.player-songlist {
  width: 100%;
  max-height: 500px;
}
.player-song {
  display: flex;
  padding: 5px 0px;
  align-items: center;
  border-radius: 10px;
  transition-duration: 0.4s;
  cursor: pointer;
  max-height: 60px;
}
.player-song-info {
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player-song-number {
  width: 20px;
  text-align: center;
}
.player-song-title {
  font-size: 12px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
  max-height: 1.5em;
  width: 130px;
}
.player-song:hover .player-song-title {
  color: var(--skin-point-color);
}
.player-song.active {
  background: var(--skin-base-color);
  color: var(--skin-text-color);
}

.player-song-artist {
  font-size: 11px;
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
  max-height: 1.5em;
  width: 130px;
}
.player-song:hover {
  translate: 3px 0px;
  background: var(--skin-point-color-t);
}
.player-song-thumb {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  margin: 0px 15px;
  background-size: cover;
  background-position: center;
}

.playlist-player .error_window {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  padding: 15px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--skin-text-color-auto);
  color: var(--skin-text-color);
  border: 1px solid;
  bottom: calc(100% + 10px);
  opacity: 0;
  animation: slide_up 2s;
}
.playlist-player.floatdown .error_window{
  top: calc(100% + 10px);
  bottom: unset;
  animation: slide_down 2s;
}
@keyframes slide_up {
  0% {
    translate: 0px 0px;
    opacity: 0;
  }
  70% {
    translate: 0px -30px;
    opacity: 1;
  }
  100% {
    translate: 0px -30px;
    opacity: 0;
  }
}
@keyframes slide_up_remain {
  0% {
    translate: 0px 0px;
    opacity: 0;
  }
  100% {
    translate: 0px -30px;
    opacity: 1;
  }
}
@keyframes slide_down {
  0% {
    translate: 0px 0px;
    opacity: 0;
  }
  70% {
    translate: 0px 30px;
    opacity: 1;
  }
  100% {
    translate: 0px 30px;
    opacity: 0;
  }
}

/* 플레이어 여기까지 */

/* 설정 창 */
.player-setting-window-wrapper {
  width: 0px;
  height: 0px;
  position: absolute;
  left: 100px;
}
.player-setting-window {
  position: absolute;
  width: 140px;
  border-radius: 20px;
  padding: 10px;
  box-sizing: border-box;
  flex-wrap: wrap;
  bottom: 10px;
  left: -50px;
  color: var(--skin-base-color);
  background: var(--skin-text-color);
  animation: slide_up_remain 0.4s;
  display: none;
  animation-fill-mode: forwards;
  flex-direction: column;
  align-items: center;
  align-content: center;
}
.floatdown .player-setting-window {
  top: 50px;
  bottom: unset;
  animation: slide_down 0.4s;
}
.player-setting-window .setting-btn {
  padding: 0px;
  width: 30px;
  height: 30px;
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  position: relative;
  font-size: 18px;
}
.player-setting-window .setting-btn.active {
  border: 3px double var(--skin-point-color);
}
.player-hover-text {
  display: none;
  position: absolute;
  padding: 2px 10px;
  font-size: 12px;
  word-wrap: normal;
  word-break: keep-all;
  background: var(--skin-base-color);
  color: var(--skin-text-color);
  animation: slide_up_remain 0.4s;
  animation-fill-mode: forwards;
  top: 0;
  pointer-events: none;
  white-space: nowrap;
}
.player-setting-window .skin-btn:hover .player-hover-text{
  display: block;
}
/* 설정 창 여기까지 */

/* 컴팩트 플레이어 */
.playlist-player.compact {
  position: fixed;
  width: 270px;
  border-radius: 30px;
  height: 70px;
  left: calc(50% - 135px);
  bottom: 30px;
  transition-property: width, height, color, background, background-image;
  box-shadow: 1px 2px 15px 0px rgba(0, 0, 0, 0.3);
}
.playlist-player.compact .skin-btn {
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  margin: 3px;
  padding: 0px;
}
.playlist-player.compact .playlist-player-inner {
  width: 100%;
  flex-direction: column;
  padding: 0px 10px;
  box-sizing: border-box;
  height: 100%;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}
.playlist-player.compact .playlist-player-control {
  width: 130px;
}
.playlist-player.compact .playlist-btn.skin-btn {
  width: 32px;
  border-radius: 7px;
}
.playlist-player.compact .playlist-player-thumb {
  width: 60px;
  height: 60px;
  border-radius: 25px;
  overflow: hidden;
  margin: 10px;
  position: absolute;
  left: -4px;
  top: -5px;
}

.playlist-player.compact .playlist-player-title {
  font-size: 10px;
  padding: 0;
  width: 100px;
  height: 20px;
  text-align: center;
}
.playlist-player.compact .playlist-player-title #p_title {
  font-size: 9px;
  text-overflow: ellipsis;
  word-break: keep-all;
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  align-items: center;
  min-width: 0;
  display: inline-block;
}

.playlist-player.compact .playlist-player-title #p_artist {
  display: none;
}

.playlist-player.compact .playlist-player-time span {
  font-size: 9px;
  min-width: 30px;
  margin: 0;
}

.playlist-player.compact span#playlist-player-infos1,
.playlist-player.compact span#playlist-player-infos2 {
  display:none;
}
.playlist-player.compact .playlist-player-toggle-btn.skin-btn {
  right: 14px;
  top: 18px;
}
.playlist-player.compact .playlist-player-play-control {
  margin-top: 1px;
}
.playlist-player.compact .playlist-player-buttons {
  display: none;
}

.playlist-player.compact .playlist-player-volume-box {
  display: none;
}
.playlist-player.compact .playlist-player-bar {
  margin: 2px 0px;
  height: 4px;
}
.playlist-player.compact #p_shadow {
  margin: 0;
}
.playlist-player.compact #p_shadow_btn {
  top: -3px;
  width: 10px;
  height: 10px;
  margin: 0;
}

.playlist-player.top-player.compact {
  top: 30px;
}
/* 컴팩트 버전 여기까지 */

/* 모바일 */
@media all and (max-width: 900px) {
  .playlist-player-toggle-btn{
    opacity: 0;
    pointer-events: none;
  }
  
  #player-top-btn {
    display: none;
  }
  #player-clear-btn {
    display: none;
  }
  #player-setting-btn {
    display: none;
  }
}

@media all and (max-width: 650px) {
  .playlist-player-title {
    display:none;
  }
  .playlist-player-volume-box {
    display:none;
  }
}

@media all and (max-width: 480px) {
  .playlist-player-buttons {
    display:none;
  }
}

@media all and (max-width: 350px) {
  .playlist-player-thumb {
    display: none;
  }
}

/* ==========================================================
   풍경(furin) 플레이어 — 클로버가 그려진 유리 풍경
   - 설정 창의 '풍경' 버튼으로 켜고 끕니다.
   - 사용 색: #212529 · #C4C4C4 · #f8f9fa (아래 변수에서 바꿀 수 있음)
   ========================================================== */

/* 전용 요소: 풍경 모드가 아닐 때는 보이지 않음 */
.fr-deco,
.fr-front,
.fr-knot,
.fr-title,
.fr-charm {
  display: none;
}
/* 조작부 묶음: 평소에는 없는 것처럼 동작 */
.playlist-player-body {
  display: contents;
}

.playlist-player.furin {
  /* ---- 색상 ---- */
  --fr-ink: #212529;        /* 클로버 · 줄 · 글자 · 아이콘 */
  --fr-gray: #C4C4C4;       /* 유리 테두리 · 입구 · 슬라이더 줄 · 뒷면 클로버 */
  --fr-light: #f8f9fa;      /* 유리 · 패널 · 밝은 글자 */
  --fr-glass: color-mix(in srgb, var(--fr-light) 32%, transparent);  /* 유리 종 */
  --fr-paper: color-mix(in srgb, var(--fr-light) 62%, transparent);  /* 패널 · 창 바탕 (반투명) */
  --fr-soft: color-mix(in srgb, var(--fr-gray) 38%, transparent);    /* 버튼 바탕 */
  --fr-soft-on: color-mix(in srgb, var(--fr-gray) 75%, transparent); /* 버튼 바탕 (마우스 올림) */
  --fr-shadow: color-mix(in srgb, var(--fr-ink) 18%, transparent);   /* 그림자 */
  --fr-blur: 10px;          /* 뒤 배경 흐림 정도 */
  /* ---- 움직임 ---- */
  --fr-sway: 1.2deg;        /* 종이 흔들리는 각도 */
  --fr-tag-sway: 4deg;      /* 패널이 흔들리는 각도 */
  --fr-sway-time: 5.4s;
  --fr-tag-time: 3.3s;
  --fr-ring: 7deg;          /* 추가 흔들리는 각도 */
  --fr-ring-time: 1.6s;

  width: 150px;
  height: auto;
  left: var(--furin-left, calc(100vw - 220px));
  top: var(--furin-drop, 40px);
  right: auto;
  bottom: auto;
  display: block;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--fr-ink);
  transition: opacity 0.6s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: grab;
}
/* 재생 중에는 추가 더 자주, 크게 흔들리며 울림 */
.playlist-player.furin.active {
  --fr-ring: 16deg;
  --fr-ring-time: 0.7s;
}
.playlist-player.furin.furin-dragging {
  cursor: grabbing;
}
/* '색상변경'을 함께 켜면 플레이리스트 색상을 따라감 */
.playlist-player.furin.colored {
  --fr-ink: var(--skin-text-color);
  --fr-gray: var(--skin-point-color);
  --fr-light: var(--skin-base-color);
}

/* ---- 흔들리는 몸체 ---- */
.playlist-player.furin .playlist-player-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  transform-origin: 50% calc(var(--furin-drop, 40px) * -1);
  transform: rotate(var(--furin-tilt, 0deg));
  transition: transform 1.1s cubic-bezier(0.3, 1.9, 0.5, 0.9);
  animation: fr-sway var(--fr-sway-time) ease-in-out infinite alternate;
}
.playlist-player.furin.furin-dragging .playlist-player-inner {
  transition: transform 0.18s linear;
}
/* 화면 맨 위에서 내려오는 줄 */
.playlist-player.furin .playlist-player-inner::before {
  content: '';
  position: absolute;
  left: calc(50% - 0.5px);
  bottom: calc(100% - 8px);
  width: 1px;
  height: 100vh;
  background: var(--fr-ink);
  pointer-events: none;
}

/* ---- 유리 종 ---- */
.playlist-player.furin .playlist-player-songinfo {
  position: relative;
  display: block;
  flex: none;
  width: 150px;
  height: 112px;
}
.playlist-player.furin .fr-deco,
.playlist-player.furin .fr-front {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 112px;
  overflow: visible;
  pointer-events: none;
}
/* 앞쪽 유리(클로버 · 반사광)는 썸네일 위에 */
.playlist-player.furin .fr-front {
  z-index: 2;
}
.playlist-player.furin .fr-deco svg {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 112px;
  overflow: visible;
}
/* 유리: 뒤 배경을 흐리게 */
.playlist-player.furin .fr-glass {
  position: absolute;
  inset: 0;
  -webkit-clip-path: path('M51.25,104 A50,50 0 1 1 98.75,104 Z');
  clip-path: path('M51.25,104 A50,50 0 1 1 98.75,104 Z');
  background: radial-gradient(circle at 36% 26%, color-mix(in srgb, var(--fr-light) 70%, transparent), transparent 46%), var(--fr-glass);
  -webkit-backdrop-filter: blur(calc(var(--fr-blur) * 0.5)) saturate(1.1);
  backdrop-filter: blur(calc(var(--fr-blur) * 0.5)) saturate(1.1);
}
.playlist-player.furin .fr-string {
  fill: none;
  stroke: var(--fr-ink);
  stroke-width: 1;
}
.playlist-player.furin .fr-edge {
  fill: none;
  stroke: var(--fr-gray);
  stroke-width: 1.2;
}
.playlist-player.furin .fr-edge-in {
  fill: none;
  stroke: var(--fr-light);
  stroke-width: 1;
  opacity: 0.9;
}
.playlist-player.furin .fr-shine {
  fill: none;
  stroke: var(--fr-light);
  stroke-width: 2.6;
  stroke-linecap: round;
  opacity: 0.95;
}
.playlist-player.furin .fr-shine-dot {
  fill: var(--fr-light);
}
.playlist-player.furin .fr-rim {
  fill: none;
  stroke: var(--fr-gray);
  stroke-width: 2.2;
}
.playlist-player.furin .fr-rim-back {
  fill: none;
  stroke: var(--fr-gray);
  stroke-width: 1;
  opacity: 0.7;
}
.playlist-player.furin .fr-cap {
  fill: var(--fr-gray);
}
/* 유리에 그려진 클로버 */
.playlist-player.furin .fr-clover {
  fill: var(--fr-ink);
  stroke: var(--fr-light);
  stroke-width: 0.6;
}
.playlist-player.furin .fr-clover-back {
  fill: var(--fr-gray);
  opacity: 0.85;
}
.playlist-player.furin .fr-stem {
  fill: none;
  stroke: var(--fr-ink);
  stroke-width: 1.3;
  stroke-linecap: round;
}
/* 울림 (재생 중) */
.playlist-player.furin .fr-ring {
  fill: none;
  stroke: var(--fr-gray);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0;
}
.playlist-player.furin.active .fr-ring {
  animation: fr-ring 1.4s ease-out infinite;
}
.playlist-player.furin.active .fr-ring:nth-of-type(2n) {
  animation-delay: -0.7s;
}
.playlist-player.furin.active .fr-glass {
  background: radial-gradient(circle at 36% 26%, color-mix(in srgb, var(--fr-light) 85%, transparent), transparent 50%), var(--fr-glass);
}

/* 썸네일 = 유리 종 안의 둥근 창 */
.playlist-player.furin .playlist-player-thumb {
  display: block;
  position: absolute;
  left: 50px;
  top: 33px;
  bottom: auto;
  width: 50px;
  height: 50px;
  margin: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  background: var(--fr-gray);
  box-shadow: 0 0 0 2px var(--fr-light), 0 0 0 3px var(--fr-gray);
  cursor: pointer;
}
.playlist-player.furin .playlist-player-thumb::before,
.playlist-player.furin .playlist-player-thumb::after {
  content: none;
}
.playlist-player.furin .playlist-player-thumb-box {
  z-index: 0;
  border-radius: 50%;
}
.playlist-player.furin .playlist-player-thumb-icon {
  z-index: 1;
  font-size: 16px;
  color: var(--fr-light);
  background: color-mix(in srgb, var(--fr-ink) 50%, transparent);
  transition: opacity 0.3s;
}
.playlist-player.furin .playlist-player-title {
  display: none;
}

/* ---- 종과 패널을 잇는 줄 (누르면 패널 접기) ---- */
.playlist-player.furin .fr-knot {
  display: block;
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: -6px;
  cursor: pointer;
  z-index: 3;
}
.playlist-player.furin .fr-knot::before {
  content: '';
  position: absolute;
  left: calc(50% - 0.5px);
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--fr-ink);
}
/* ---- 패널 (조작부) ---- */
.playlist-player.furin .playlist-player-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 126px;
  max-height: 260px;
  box-sizing: border-box;
  padding: 13px 12px 12px;
  color: var(--fr-ink);
  cursor: default;
  transform-origin: 50% -24px;
  animation: fr-tag-sway var(--fr-tag-time) ease-in-out -1.1s infinite alternate;
  transition: max-height 0.45s ease, padding 0.45s ease;
}
/* 반투명 유리판 */
.playlist-player.furin .playlist-player-body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  box-sizing: border-box;
  border: 1px solid var(--fr-gray);
  border-radius: 16px;
  background: var(--fr-paper);
  -webkit-backdrop-filter: blur(var(--fr-blur)) saturate(1.2);
  backdrop-filter: blur(var(--fr-blur)) saturate(1.2);
  box-shadow: 0 8px 22px -8px var(--fr-shadow), inset 0 1px 0 var(--fr-light);
  transition: opacity 0.3s;
}
.playlist-player.furin .playlist-player-body > * {
  transition: opacity 0.25s 0.2s;
}

.playlist-player.furin .fr-title {
  display: block;
  width: 100%;
  margin: 2px 0 8px;
  text-align: center;
}
.playlist-player.furin .fr-title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: bold;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.playlist-player.furin .fr-title-artist {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0.65;
}
.playlist-player.furin .fr-title-artist:empty {
  display: none;
}

.playlist-player.furin .playlist-player-control {
  width: 100%;
}
.playlist-player.furin .playlist-player-time {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.playlist-player.furin .playlist-player-bar {
  order: 0;
  width: 100%;
  height: 12px;
  margin: 0;
}
.playlist-player.furin .playlist-player-time span,
.playlist-player.furin.compact span#playlist-player-infos1,
.playlist-player.furin.compact span#playlist-player-infos2 {
  display: block;
  order: 1;
  min-width: 0;
  margin: 0;
  font-size: 9.5px;
  font-weight: normal;
  line-height: 1.2;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.playlist-player.furin #p_shadow,
.playlist-player.furin #v_shadow {
  top: 0;
  height: 3px;
  margin: 4.5px 0;
  background: var(--fr-ink);
  border-radius: 2px;
}
.playlist-player.furin #p_shadow_btn,
.playlist-player.furin #v_shadow_btn {
  top: 0;
  width: 12px;
  height: 12px;
  margin: 0 0 0 1px;
  background: var(--fr-ink);
  border: 2px solid var(--fr-light);
  box-sizing: border-box;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--fr-gray);
}
/* 음량 손잡이는 항상 보이게 */
.playlist-player.furin #v_shadow_btn {
  opacity: 1;
}
.playlist-player.furin input[type=range] {
  display: block;
  width: 100%;
  height: 12px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.playlist-player.furin input[type=range]::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--fr-gray);
  border-radius: 2px;
}
.playlist-player.furin input[type=range]::-moz-range-track {
  height: 3px;
  background: var(--fr-gray);
  border-radius: 2px;
}
.playlist-player.furin input[type=range]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4.5px;
}

/* 이전 · 재생 · 다음 */
.playlist-player.furin .playlist-player-play-control {
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.playlist-player.furin .playlist-player-play-control .playlist-btn.skin-btn {
  width: 27px;
  height: 27px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 50%;
  background: var(--fr-soft);
  color: var(--fr-ink);
  box-shadow: none;
  translate: none;
  font-size: 11.5px;
  cursor: pointer;
  transition: background 0.25s, scale 0.2s;
}
.playlist-player.furin .playlist-player-play-control .playlist-btn.skin-btn:hover {
  background: var(--fr-soft-on);
}
.playlist-player.furin .playlist-player-play-control .playlist-btn.skin-btn:active {
  scale: 0.9;
}
/* 재생 · 일시정지 */
.playlist-player.furin .playlist-player-play-control .playlist-btn.skin-btn:nth-child(2),
.playlist-player.furin .playlist-player-play-control .playlist-btn.skin-btn:nth-child(3) {
  width: 32px;
  height: 32px;
  background: var(--fr-ink);
  color: var(--fr-light);
  font-size: 13px;
}
.playlist-player.furin .playlist-player-play-control .playlist-btn.skin-btn:nth-child(2) i {
  margin-left: 2px;
}

/* 셔플 · 반복 · 음소거 */
.playlist-player.furin .playlist-player-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}
.playlist-player.furin .playlist-player-buttons .skin-btn {
  position: relative;
  width: 27px;
  height: 22px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 11px;
  rotate: none;
  background: var(--fr-soft);
  color: var(--fr-ink);
  box-shadow: none;
  translate: none;
  font-size: 10px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.playlist-player.furin .playlist-player-buttons .skin-btn i {
  rotate: none;
}
.playlist-player.furin .playlist-player-buttons .skin-btn:hover {
  background: var(--fr-soft-on);
}
.playlist-player.furin .playlist-player-buttons .skin-btn.active {
  background: var(--fr-ink);
  color: var(--fr-light);
}

/* 음량 */
.playlist-player.furin .playlist-player-volume-box {
  display: flex;
  width: 100%;
  margin-top: 8px;
}
.playlist-player.furin .playlist-player-volume {
  width: 100%;
  margin: 0;
}

/* ---- 패널 아래에 달린 클로버 장식 ---- */
.playlist-player.furin .fr-charm {
  display: block;
  position: absolute;
  left: calc(50% - 12px);
  top: 100%;
  width: 24px;
  height: 50px;
  pointer-events: none;
  transform-origin: 50% 0;
  animation: fr-tag-sway 2.7s ease-in-out -0.5s infinite alternate;
  opacity: 1 !important;
  visibility: visible !important;
}
/* 줄 */
.playlist-player.furin .fr-charm::before {
  content: '';
  position: absolute;
  left: calc(50% - 0.5px);
  top: 0;
  width: 1px;
  height: 22px;
  background: var(--fr-ink);
}
/* 네잎클로버 */
.playlist-player.furin .fr-charm::after {
  content: '';
  position: absolute;
  left: -1px;
  top: 19px;
  width: 26px;
  height: 26px;
  background: var(--fr-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cg id='l'%3E%3Cpath d='M0,-0.84%20C-4.68,-2.64%20-5.4,-8.76%20-2.52,-9.48%20C-0.9,-9.84%200,-8.76%200,-7.44%20C0,-8.76%200.9,-9.84%202.52,-9.48%20C5.4,-8.76%204.68,-2.64%200,-0.84%20Z'/%3E%3C/g%3E%3Cuse href='%23l' transform='rotate(90)'/%3E%3Cuse href='%23l' transform='rotate(180)'/%3E%3Cuse href='%23l' transform='rotate(270)'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20'%3E%3Cg id='l'%3E%3Cpath d='M0,-0.84%20C-4.68,-2.64%20-5.4,-8.76%20-2.52,-9.48%20C-0.9,-9.84%200,-8.76%200,-7.44%20C0,-8.76%200.9,-9.84%202.52,-9.48%20C5.4,-8.76%204.68,-2.64%200,-0.84%20Z'/%3E%3C/g%3E%3Cuse href='%23l' transform='rotate(90)'/%3E%3Cuse href='%23l' transform='rotate(180)'/%3E%3Cuse href='%23l' transform='rotate(270)'/%3E%3C/svg%3E") center / contain no-repeat;
  rotate: 45deg;
}
/* 재생 중에는 클로버가 천천히 돈다 */
.playlist-player.furin.active .fr-charm::after {
  animation: fr-spin 9s linear infinite;
}

/* ---- 접었을 때: 종과 추, 클로버만 남음 ---- */
.playlist-player.furin.furin-fold .playlist-player-body {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.playlist-player.furin.furin-fold .playlist-player-body > *,
.playlist-player.furin.furin-fold .playlist-player-body::before {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0s 0.15s;
}

/* ---- 닫기 · 설정 버튼 (위쪽 양옆, 마우스를 올리면 보임) ---- */
.playlist-player.furin .playlist-player-toggle-btn.skin-btn {
  top: 4px;
  width: 22px;
  height: 22px;
  margin: 0;
  font-size: 10px;
  z-index: 4;
  cursor: pointer;
  rotate: none;
  translate: none;
  border: 1px solid var(--fr-gray);
  border-radius: 50%;
  background: var(--fr-paper);
  color: var(--fr-ink);
  box-shadow: none;
  transition: opacity 0.3s, background 0.25s, color 0.25s;
}
.playlist-player.furin .playlist-player-toggle-btn.skin-btn:hover {
  background: var(--fr-ink);
  color: var(--fr-light);
}
.playlist-player.furin .playlist-player-toggle-btn.skin-btn i {
  rotate: none;
}
.playlist-player.furin #player-clear-btn {
  left: 2px !important;
  right: auto;
  opacity: 0;
}
.playlist-player.furin #player-setting-btn {
  left: auto !important;
  right: 2px;
  opacity: 0;
}
.playlist-player.furin:hover #player-clear-btn,
.playlist-player.furin:hover #player-setting-btn {
  opacity: 1;
  pointer-events: auto;
}
.playlist-player.furin #player-top-btn,
.playlist-player.furin #player-compact-btn {
  display: none;
}

/* ---- 옆으로 열리는 창들 (곡 목록 · 설정 · 알림) ---- */
.playlist-player.furin .playlist-player-playlist {
  top: 20px;
  bottom: auto;
  left: auto;
  right: calc(100% + 14px);
  translate: 12px 0;
  max-height: min(500px, calc(100vh - var(--furin-drop, 40px) - 80px));
  justify-content: flex-start;
  background: var(--fr-paper);
  color: var(--fr-ink);
  border: 1px solid var(--fr-gray);
  border-radius: 16px;
  box-shadow: 0 10px 26px -10px var(--fr-shadow);
  -webkit-backdrop-filter: blur(calc(var(--fr-blur) * 1.4));
  backdrop-filter: blur(calc(var(--fr-blur) * 1.4));
  cursor: default;
}
.playlist-player.furin .playlist-player-playlist.active {
  translate: 0 0;
}
.playlist-player.furin .player-songlist {
  max-height: none;
}
.playlist-player.furin .player-song:hover {
  background: var(--fr-soft);
}
.playlist-player.furin .player-song:hover .player-song-title {
  color: inherit;
}
.playlist-player.furin .player-song.active,
.playlist-player.furin .player-song.active:hover {
  background: var(--fr-ink);
  color: var(--fr-light);
}
.playlist-player.furin .player-song.active .player-song-title {
  color: var(--fr-light);
}

.playlist-player.furin .player-setting-window-wrapper {
  left: 0;
  top: 20px;
}
.playlist-player.furin .player-setting-window {
  top: 0;
  bottom: auto;
  left: auto;
  right: 14px;
  animation: none;
  cursor: default;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}

.playlist-player.furin .error_window {
  top: 60px;
  bottom: auto;
  left: auto;
  right: calc(100% + 14px);
  width: max-content;
  max-width: 260px;
  word-break: keep-all;
  padding: 10px 14px;
  background: var(--fr-paper);
  color: var(--fr-ink);
  border: 1px solid var(--fr-gray);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(var(--fr-blur));
  backdrop-filter: blur(var(--fr-blur));
  box-shadow: 0 8px 22px -8px var(--fr-shadow);
  font-size: 12px;
  text-align: center;
  animation: fr-note 2s;
}
/* 알림이 겹치면 가장 최근 것만 보이게 */
.playlist-player.furin .error_window:not(:last-child) {
  visibility: hidden;
}
/* 풍경이 화면 왼쪽에 있으면 창을 오른쪽으로 */
.playlist-player.furin.furin-flip .playlist-player-playlist {
  right: auto;
  left: calc(100% + 14px);
  translate: -12px 0;
}
.playlist-player.furin.furin-flip .playlist-player-playlist.active {
  translate: 0 0;
}
.playlist-player.furin.furin-flip .player-setting-window-wrapper {
  left: 100%;
}
.playlist-player.furin.furin-flip .player-setting-window {
  right: auto;
  left: 14px;
}
.playlist-player.furin.furin-flip .error_window {
  right: auto;
  left: calc(100% + 14px);
}

/* ---- 다른 설정과 함께 켰을 때 ---- */
/* 퍼지는 효과: 유리 종 둘레로 고리가 퍼짐 */
.playlist-player.furin.active.player-pulse::before {
  left: 50%;
  top: 60px;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  box-sizing: border-box;
  border: 1px solid var(--fr-gray);
  border-radius: 50%;
  pointer-events: none;
  animation: fr-pulse 2.4s ease-out infinite;
}
/* 네모네모: 썸네일을 각지게 */
.playlist-player.furin.p_square .playlist-player-thumb,
.playlist-player.furin.p_square .playlist-player-thumb-box {
  border-radius: 4px;
}
.playlist-player.furin.p_square .playlist-player-body::before {
  border-radius: 0;
}

/* ---- 마우스를 올리면 흔들림이 멈춰서 누르기 쉽게 ---- */
.playlist-player.furin:hover .playlist-player-inner,
.playlist-player.furin:hover .playlist-player-body,
.playlist-player.furin:hover .fr-charm {
  animation-play-state: paused;
}

@keyframes fr-sway {
  from { rotate: calc(var(--fr-sway) * -1); }
  to { rotate: var(--fr-sway); }
}
@keyframes fr-tag-sway {
  from { rotate: calc(var(--fr-tag-sway) * -1); }
  to { rotate: var(--fr-tag-sway); }
}
@keyframes fr-clapper {
  from { rotate: calc(var(--fr-ring) * -1); }
  to { rotate: var(--fr-ring); }
}
@keyframes fr-ring {
  0% { opacity: 0.9; translate: 0 0; }
  100% { opacity: 0; translate: 0 5px; }
}
@keyframes fr-spin {
  from { rotate: 45deg; }
  to { rotate: 405deg; }
}
@keyframes fr-pulse {
  0% { opacity: 0.8; scale: 0.95; }
  100% { opacity: 0; scale: 1.6; }
}
@keyframes fr-note {
  0% { opacity: 0; translate: 10px 0; }
  15%, 75% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 0; }
}

/* 좁은 화면에서는 조금 작게 */
@media all and (max-width: 650px) {
  .playlist-player.furin {
    left: var(--furin-left, calc(100vw - 150px));
    scale: 0.85;
    transform-origin: 50% 0;
  }
}
/* 움직임 줄이기를 켠 기기에서는 움직이지 않음 */
@media (prefers-reduced-motion: reduce) {
  .playlist-player.furin .playlist-player-inner,
  .playlist-player.furin .playlist-player-body,
  .playlist-player.furin .fr-knot::after,
  .playlist-player.furin .fr-charm,
  .playlist-player.furin.active .fr-charm::after,
  .playlist-player.furin.active .fr-ring,
  .playlist-player.furin.active.player-pulse::before {
    animation: none;
  }
}
/* 풍경 플레이어 여기까지 */
