html,
body {
  height: 100%;
  font-family: "Yu Gothic", "Meiryo";
}
/* Chart Board */
.chart-board {
  position: fixed;
  top: 0;
  right: 0;
  width: 15%;
  max-width: 200px;
  border-radius: 15px;
  padding: 10px;
}

.chart-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #ff5722;
  text-transform: uppercase;
}

/* Chart Items */
.chart-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  border-radius: 10px;
  padding: 5px;
}

.rank {
  font-size: 1.8rem;
  font-weight: bold;
  width: 50px;
  text-align: center;
}

.info {
  margin-left: 15px;
  flex: 1;
}

.song {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.artist {
  font-size: 0.9rem;
  margin: 0;
}

#message_area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  overflow: hidden;
}

.assets-name {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 40px;
  background-color: #000;
  color: #fff;
  padding: 10px;
}
#ranking-clear-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

#ranking-clear-button {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #f44336;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#ranking-clear-button:hover {
  background-color: #d32f2f;
}

#message_area {
  animation: fadeUpToMiddle 10s ease-out forwards infinite; /* 3秒で中央まで移動 */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.message_message {
  font-weight: bold;
}
.message_name {
  font-size: 8px;
  text-align: right;
}
@keyframes fadeUpToMiddle {
  0% {
    transform: scale(100%);
    opacity: 1;
  }
  40%,
  75% {
    transform: scale(400%);
  }
  80% {
    transform: scale(390%);
  }
  85% {
    transform: scale(390%) translateY(-1%);
    opacity: 1;
  }
  100% {
    transform: scale(390%) translateY(3%); /* 中央付近まで移動 */
    opacity: 0; /* 消える */
  }
}
