@font-face {
  font-family: 'TTTogether';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/TTTogetherA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

#pyggList ul {
  padding: 2rem 2.8rem 2rem 2rem; 
  font-size: 1.3rem;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

#pyggList ul:not(.closed) .board {
  color: #e8ebed;
}

#pyggList li:not(.progress-desc) {
  margin-bottom: 1.6rem; 
}

#pyggList .progress-desc .count {
  width: 6.5rem; 
  padding: 4px 6px; 
  margin: 0 3px; 
  color: var(--color-grey-70); 
  background-color: #3BEAFF;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center; 
  border-radius: 3px;
}

.circle {
  width: 4px; 
  height: 4px; 
  background-color: #fff;
  border-radius: 50%;
}

.pygg-name span, 
#pyggList .board .col p:nth-child(2) {
  font-size: 1.5rem;
}

.amount p:not(:nth-child(2)),
.board .col p:first-child, 
.st {
  font-weight: 300;
}

.amount > p {
  margin: 0; 
}

.amount > p:nth-child(2) {
  font-size: 2rem;
  font-weight: 500;
}

#pyggList .amount .coin,
#pyggList .amount .pnl-rate {
  color: rgba(255, 255, 255, 0.5);
}

#pyggList .board .col p:nth-child(2),
#pyggList li:last-child {
  margin-top: -.7rem; 
}

#pyggList .amount .pnl-won {
  font-size: 2.4rem;
  color: #fff; 
}

#pyggList .smartIndicator  {
  top: -3.5rem; 
  right: 1.5rem;
  width: fit-content !important;
  min-height: 4.5rem;
  border-radius: 5px;
  padding: 6px 2rem 5px 1rem; 
  background-color: var(--color-grey-80);
  font-size: 1.2rem;
  line-height: 1.4;
  color: #fff;
  z-index: 100;
  text-align: start;
}
#pyggList .smartIndicator::before {
  position: absolute;
  bottom: -3px;
  right: 25px;
  content: ' ';
  border-radius: 2px;
  background-color: var(--color-grey-80);
  width: 8.5px;
  height: 8.5px;
  transform: rotate(135deg);
  z-index: -1; 
}
#pyggList .smartIndicator small {
  position: absolute;
  top: 3px;
  right: 3px;
}

#pyggList .btn-extra button {
  width: 100%;
  margin: 1.4rem 0 0;
  padding: 0.9rem;
  border-radius: 5px;
  color: #fff;
  font-size: 1.5rem;
}

#pyggList .btn-settings .position-absolute {
  bottom: 37px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  padding: 6px 10px;
  font-size: 1.2rem;
  color: #fff;
  background-color: var(--color-grey-80);
  border-radius: 5px;
  line-height: 1.6;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.15);
}
#pyggList .btn-settings .position-absolute span {
  color: var(--color-red-50);
  font-weight: 500;
}
#pyggList .btn-settings .position-absolute span ~ span {
  color: #1ec800;
}
#pyggList .btn-settings .position-absolute::before {
  position: absolute;
  bottom: -2px;
  left: 50%;
  content: ' ';
  border-radius: 2px;
  background-color: var(--color-grey-80);
  width: 8.5px;
  height: 8.5px;
  transform: translateX(-50%) rotate(135deg);
}

.pending {
  border-radius: 5px;
  filter: brightness(0.25);
  z-index: 99; 
}

.pending-content {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%;
  z-index: 100;
} 

.pending-badge {
  position: absolute;
  top: 1.2rem; 
  right: 1.2rem;
  padding: 4px 5px;
  font-size: 1.4rem;
  border-radius: 5px;
  color: var(--color-grey-70);
  background-color: #3BEAFF;
}

.pending-content:not(.show-in-campaign) p {
  margin-top: 8.5rem;
  text-align: center;
  font-size: 2rem;
  color: #fff;
}

div:has(.show-in-campaign:not(.hidden)) .smartIndicator {
  display: none;
}

.show-in-campaign:not(.hidden) + .plantbox {
  display: none !important;
}

#pyggList .plantbox {
  right: 1.3rem;
  bottom: 0;
  z-index: 50;
}

#pyggList .product-badge {
  padding: 5px 12px 4px;
  font-size: 1.4rem;
  border-radius: 22px;
  color: #fff;
  font-weight: 500;
}

@media screen and (max-width: 375px) {
  .pygg-name span, 
  #pyggList .yield, 
  #pyggList .cost {
    font-size: 1.4rem;
  }

  .amount p,
  #pyggList .w-50 p:first-child {
    font-size: 1.2rem;
  }

  #pyggList li:not(:nth-child(5)) {
    margin-bottom: 1.1rem;
  }

  .eventPygg li:not(:nth-child(5)) {
    margin-bottom: 3px;
  }

  #pyggList .btn-extra button {
    padding: 0.8rem;
    font-size: 1.4rem;
  }
}

#pyggList .pygg-interval {
  border-radius: 50%;
  width: 2.6rem;
  height: 2.6rem;
  text-align: center;
  animation: vibration 1.8s 2 ease-in-out;
}

@keyframes vibration {
  0%, 50%{
		transform: rotate(0deg);
	}
  5%, 15%, 25%, 35%, 45% {
    transform: rotate(15deg);
  }
  10%, 20%, 30%, 40% {
    transform: rotate(-15deg);
  }
}

/* 캠페인 콤보표시 */
#pyggList .combo,
.section-pyggs .combo {
  position: absolute;
  width: 6rem;
  height: 6rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  z-index: 0;
}
#pyggList .combo::after,
.section-pyggs .combo::after {
  position: absolute;
  top: 39%;
  right: 21%;
  content: '   ';
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 27px solid transparent;
  transform: rotate(38deg);
  z-index: -1;
}
#pyggList .combo-number,
.section-pyggs .combo-number {
  padding-top: 6px;
  font-family: 'TTTogether';
  font-size: 2.4rem;
  line-height: 1.2;
}
#pyggList .combo-number + div,
#pyggList .combo-number + span,
#pyggList .combo-number + span ~ span,
.section-pyggs .combo-number + div,
.section-pyggs .combo-number + span,
.section-pyggs .combo-number + span ~ span  {
  font-size: 1.3rem;
}

#pyggList .combo-my {
  top: -109%;
  right: 12%;
}

#pyggList .combo-my:has(.combo-number-my:empty) {
  display: none;
}
#pyggList .combo-my-withmax:has(.combo-number-my-max:empty) {
  display: none;
}

#pyggList .combo-my-withmax {
  top: -159%;
  right: 6%;
  width: 9.3rem;
  height: 7.6rem;
  padding: 7px 8px;
  border-radius: 22%;
}
#pyggList .combo-number-my-max {
  font-size: medium;
}
#pyggList .combo-my-withmax::after {
  top: 58%;
  right: 47%;
  content: ' ';
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 27px solid transparent;
  transform: rotate(24deg);
  z-index: -1;
}

#pyggList .combo-bgcolor-BTC1 {
  background-color: var(--color-combo-bg-BTC1);
}
#pyggList .combo-bgcolor-BTC1::after {
  border-top: 45px solid var(--color-combo-bg-BTC1);
}
#pyggList .combo-bgcolor-ETH1 {
  background-color: var(--color-combo-bg-ETH1);
}
#pyggList .combo-bgcolor-ETH1::after {
  border-top: 45px solid var(--color-combo-bg-ETH1);
}
#pyggList .combo-bgcolor-MIX1 {
  background-color: var(--color-combo-bg-MIX1);
}
#pyggList .combo-bgcolor-MIX1::after {
  border-top: 45px solid var(--color-combo-bg-MIX1);
}
#pyggList .combo-bgcolor-SMART_BTC1 {
  background-color: var(--color-combo-bg-SMART_BTC1);
}
#pyggList .combo-bgcolor-SMART_BTC1::after {
  border-top: 45px solid var(--color-combo-bg-SMART_BTC1);
}
#pyggList .combo-bgcolor-SMART_BTC2 {
  background-color: var(--color-combo-bg-SMART_BTC2);
}
#pyggList .combo-bgcolor-SMART_BTC2::after {
  border-top: 45px solid var(--color-combo-bg-SMART_BTC2);
}

@media screen and (max-width: 585px) {
  #pyggList .combo,
  .section-pyggs .combo {
    right: 3%
  }
}
@media screen and (max-width: 530px) {
  #pyggList .combo-my-withmax,
  #pyggList .combo-my {
    right: -8%;
  }
}