/* 从对应 Web SCSS 同步，请运行 npm run sync:styles -w web-native。 */
.my-list {
  --my-list-muted: #888;
  --my-list-title: #000;
  --my-list-badge: #fb471f;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  padding: 12rem 16rem 24rem;
  font-family: var(--font-ui);
  color: var(--my-list-title);
}

.my-list__status {
  margin: 32rem 8rem;
  font-size: 14rem;
  font-weight: 400;
  line-height: 20rem;
  color: var(--my-list-muted);
  text-align: center;
}

.my-list__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 12rem;
  row-gap: 16rem;
}

.my-list__cell {
  min-width: 0;
}

.my-list__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.my-list__cover-wrap {
  position: relative;
  aspect-ratio: 105/140;
  width: 100%;
  overflow: hidden;
  border-radius: 8rem;
  background: #f3f3f3;
}

.my-list__cover {
  object-fit: cover;
}

.my-list__cover-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  color: var(--my-list-muted);
}

.my-list__badge {
  position: absolute;
  z-index: 1;
  left: 4rem;
  top: 4rem;
  border-radius: 4rem;
  padding: 2rem 6rem;
  background: var(--my-list-badge);
  color: #fff;
  font-size: 10rem;
  font-weight: 600;
  line-height: 16rem;
  white-space: nowrap;
}

.my-list__title {
  margin: 6rem 0 0;
  font-size: 14rem;
  font-weight: 500;
  line-height: 20rem;
  color: var(--my-list-title);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-list__chapter {
  margin: 2rem 0 0;
  font-size: 12rem;
  font-weight: 400;
  line-height: 16rem;
  color: var(--my-list-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
