.heng99-headtail {
  background: #0a1631;
  border-radius: 24px;
  padding: 40px 0;
  position: relative;
  border: 1px solid #294584;
}

.heng99-headtail-head {
  padding-top: 80px;
}

.heng99-headtail-head__logo {
  position: absolute;
  top: -80px;
  width: 100%;
}

.heng99-headtail-guild__label {
  color: #fc3;
  font-size: 1.3rem;
  text-align: center;
}

.heng99-headtail-guild-next {
  position: relative;
  width: max-content;
  margin: auto;
  margin-top: 15px;
}

#content div.heng99-headtail-guild-next {
  width: max-content !important;
}

.heng99-headtail-guild-next__result {
  width: 120px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: auto;
}

#content div.heng99-headtail-guild-next__result {
  width: 120px !important;
}

.heng99-headtail-guild-next__result.is-loading {
  background-image: url(../img/spin-coin.gif);
}

.heng99-headtail-guild-next__result.is-head {
  background-image: url(../img/head.png);
}

.heng99-headtail-guild-next__result.is-tail {
  background-image: url(../img/tail.png);
}

.heng99-headtail-guild-next-countdown {
  position: absolute;
  background: #091125;
  box-shadow: inset 1px 1px 7px 2px #152a59, 0 0 2px 0 #56575b;
  padding: 0.5rem;
  width: max-content;
  border-radius: 5px;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
}

#content div.heng99-headtail-guild-next-countdown {
  width: max-content !important;
}

.heng99-headtail-guild-next-countdown__prefix {
  font-size: 0.7rem;
  color: #ffffff;
}

.heng99-headtail-guild-next-countdown__time {
  text-align: center;
  color: #ff233e;
  text-shadow: 0 -1px 3px rgb(0 0 0 / 50%);
  font-size: 1.5rem;
}

.heng99-headtail-guild-result {
  margin-top: 15px;
}

.heng99-headtail-guild-result__value {
  color: #ffffff;
  font-weight: bold;
  margin: auto;
  border: 1px solid #ffffff;
  background: #0f2557;
  font-size: 1.3rem;
  width: 80px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

#content div.heng99-headtail-guild-result__value {
  width: 80px !important;
}

.heng99-headtail-total {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: max-content;
  margin: auto;
  margin-top: 15px;
  background: #091125;
  box-shadow: inset 1px 1px 7px 2px #152a59, 0 0 2px 0 #56575b;
  padding: 0.5rem;
  width: max-content;
  border-radius: 5px;
}

#content div.heng99-headtail-total {
  width: max-content !important;
}

.heng99-headtail-total-item {
  display: flex;
  gap: 5px;
  align-items: center;
  width: max-content;
}

#content div.heng99-headtail-total-item {
  width: max-content !important;
}

.heng99-headtail-total-item__img > img {
  width: 24px;
  height: 24px;
}

#content .heng99-headtail-total-item__img > img {
  margin: 0;
}

.heng99-headtail-total-item__value {
  color: #ffffff;
  font-weight: bold;
  text-align: center;
}

.heng99-headtail-total-item__suffix {
  color: #fc3;
  font-weight: bold;
}

.heng99-headtail-table-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  width: 440px;
  height: 440px;
  margin: auto;
  overflow: hidden;
}

.heng99-headtail-table-item {
  flex-basis: calc(100% / 6);
  background-color: #fff;
  border: 1px solid #dee2e6;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.heng99-headtail-table-item img {
  width: 58px;
  height: 58px;
  margin: 0;
  z-index: 1;
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.5s;
}

.heng99-headtail-table {
  margin-top: 15px;
}

.heng99-headtail-table-item:nth-child(-n + 6),
.heng99-headtail-table-item:nth-child(6n + 1),
.heng99-headtail-table-item:nth-child(7n + 1) {
  background-color: #01b8ac;
}

.heng99-headtail-table-item:first-child {
  background-color: #fff;
}

.heng99-headtail-desc {
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}
