@charset "utf-8";

/* 主題 */
.theme {
  box-sizing: border-box;
  padding-right: 210px;
  padding-bottom: 24px;
  background: url(../images/theme_BG.png) no-repeat right center / auto min(100%, 360px);
}

/* 最新消息、活動公告 */
.home-updates {
  margin: clamp(56px, 5vw, 64px) 0 42px;
  padding: 0 clamp(14px, 2.5vw, 30px) 20px;
}

.home-updates-list {
  margin: 10px 0 14px;
}

.home-updates-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  text-align: start;
}

.home-updates-list time {
  color: #555;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1025px) {
  .home-news {
    /* Offset the transparent space at the left of the original artwork. */
    background: #e9e9e9 url(../images/member_BG.png) no-repeat left -365px bottom / 600px auto;
  }

  .home-news .home-updates-list {
    margin-inline-start: 210px;
  }

  .home-activity {
    background: #e9e9e9 url(../images/censor_BG.png) no-repeat right 14px bottom / 210px auto;
  }

  .home-activity .home-updates-list {
    margin-inline-end: 210px;
  }
}

.home-more-row {
  display: flex;
  justify-content: center;
}

.home-ratings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-ratings-header h2 {
  position: static;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #222;
  font-size: 1.375rem;
  line-height: 1.35;
  text-align: start;
}

@media (max-width: 1024px) {
  .theme {
    padding: 0;
    background-image: none;
  }
}

@media (max-width: 490px) {
  .home-updates-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
