[data-component="manga_home_row"].mc-sec {
  margin: 48px 0 8px;
}

[data-component="manga_home_row"] .mc-sec__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

[data-component="manga_home_row"] .mc-sec__intro {
  flex: 1 1 auto;
  min-width: 0;
}

[data-component="manga_home_row"] .mc-sec__title {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  color: var(--c-text);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

[data-component="manga_home_row"] .mc-sec__sub {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.2;
  color: var(--c-text-muted);
}

[data-component="manga_home_row"] .mc-sec__more {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 44px;
  padding: 6px 14px;
  border: 0;
  border-radius: var(--radius-pill, 999px);
  background: var(--c-surface-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text-muted);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur, 0.2s) var(--ease, ease), background var(--dur, 0.2s) var(--ease, ease);
}

[data-component="manga_home_row"] .mc-sec__more:hover {
  color: var(--c-accent);
  background: var(--c-accent-soft);
}

[data-component="manga_home_row"] .mc-sec__more:focus-visible {
  outline: 2px solid var(--c-accent-glow);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 4px);
}

.mc-row {
  position: relative;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.mc-row__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 12px 8px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  scroll-padding-inline: 12px;
  -webkit-overflow-scrolling: touch;
}

.mc-row__viewport::-webkit-scrollbar {
  display: none;
}

.mc-row__track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.mc-row__btn {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--c-surface, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  color: var(--c-text, #333);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}

.mc-row:hover .mc-row__btn {
  opacity: 1;
}

.mc-row__btn--prev {
  left: -4px;
}

.mc-row__btn--next {
  right: -4px;
}

.mc-row__btn:hover {
  color: var(--c-accent);
}

.mc-poster {
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  color: inherit;
}

.mc-poster__cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--c-surface-2, #e7e9ec) center / cover no-repeat;
  transition: transform 0.25s ease;
}

.mc-poster:hover .mc-poster__cover {
  transform: translateY(-2px);
}

.mc-poster__tip {
  position: absolute;
  left: 6px;
  top: 6px;
  max-width: calc(100% - 12px);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-style: normal;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-poster__name {
  display: block;
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text, #1c1c1f);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-poster:hover .mc-poster__name {
  color: var(--c-accent);
}

.mc-poster__meta {
  font-size: 12px;
  font-style: normal;
  color: var(--c-text-muted, #90929b);
  line-height: 1.4;
  max-height: calc(1.4em * 2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.mc-poster__meta--hot {
  color: #ff7a22;
}

@media (max-width: 900px) {
.mc-row__btn {
    opacity: 0.9;
  }
}

@media (max-width: 768px) {
  [data-component="manga_home_row"].mc-sec {
    margin: 24px 0 4px;
  }

  [data-component="manga_home_row"] .mc-sec__head {
    align-items: flex-start;
    gap: 8px 10px;
    margin-bottom: 10px;
    padding: 0 12px;
  }

  [data-component="manga_home_row"] .mc-sec__title {
    font-size: 20px;
    font-weight: 600;
  }

  [data-component="manga_home_row"] .mc-sec__sub {
    font-size: 13px;
  }

  [data-component="manga_home_row"] .mc-sec__more {
    align-self: flex-start;
    margin-top: 2px;
    min-height: 32px;
    padding: 5px 12px;
    font-size: 12px;
  }

.mc-row {
    margin: 0;
  }

.mc-row__btn {
    display: none;
  }

.mc-row__viewport {
    padding: 4px 12px 10px;
    scroll-padding-inline: 12px;
    touch-action: pan-x;
  }

.mc-row__track {
    gap: 12px;
  }

.mc-poster {
    width: 112px;
  }

.mc-poster__cover {
    border-radius: var(--radius);
  }

.mc-poster__tip {
    left: 4px;
    top: 4px;
    max-width: calc(100% - 8px);
    padding: 2px 5px;
    font-size: 10px;
    line-height: 1.3;
  }

.mc-poster__name {
    margin-top: 6px;
    font-size: 13px;
  }

.mc-poster__meta {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
.mc-poster {
    width: 100px;
  }
}
