/* Figma 4。6-瓜条中心详情页 (290:27278) — Web */
.home-page.article-page {
  --article-inner: var(--home-inner, 1072px);
  --article-accent: var(--home-accent, #03c75a);
  --article-panel: #363535;
  --article-muted: rgba(255, 255, 255, 0.5);
  --article-border: rgba(255, 255, 255, 0.3);
  --article-paywall: #ff494c;
  --article-unlock: #fd5469;
}

.home-page.article-page .article-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-page.article-page .article-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 24px 60px;
  border-radius: 12px;
  background: #151515;
}

/* 顶栏：面包屑（Figma 290:27278 无最新/最热 Tab） */
.home-page.article-page .article-topbar {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.home-page.article-page .article-subnav {
  display: none;
}

.home-page.article-page .article-subnav-tab {
  position: relative;
  padding: 14px 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
}

.home-page.article-page .article-subnav-tab.is-active {
  color: #fff;
  font-weight: 500;
}

.home-page.article-page .article-subnav-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24px;
  height: 6px;
  margin-left: -12px;
  border-radius: 4px;
  background: #fff;
}

.home-page.article-page .article-subnav-tab:hover {
  color: var(--article-accent);
}

.home-page.article-page .article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  color: #a1a1a1;
  font-size: 16px;
  line-height: normal;
}

.home-page.article-page .article-breadcrumb a {
  padding: 14px 10px;
  color: #a1a1a1;
}

.home-page.article-page .article-breadcrumb a:hover {
  color: var(--article-accent);
}

.home-page.article-page .article-breadcrumb-sep {
  display: block;
  width: 11px;
  height: 9px;
  flex-shrink: 0;
}

.home-page.article-page .article-breadcrumb-current {
  padding: 11px 10px;
  color: var(--article-accent);
  font-size: 20px;
}

/* 标题区 */
.home-page.article-page .article-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-page.article-page .article-hero-copy {
  display: contents;
}

.home-page.article-page .article-hero h1 {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-page.article-page .article-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
}

.home-page.article-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--article-muted);
  font-size: 16px;
  line-height: 24px;
}

.home-page.article-page .article-meta-sep {
  color: rgba(255, 255, 255, 0.3);
}

.home-page.article-page .article-share-wrap {
  position: relative;
  flex: 0 0 auto;
  padding-top: 0;
}

.home-page.article-page .article-share {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
}

.home-page.article-page .article-share-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("/assets/icons/article/share.svg") center / contain no-repeat;
}

.home-page.article-page .article-share:hover {
  color: #fff;
}

.home-page.article-page .article-share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  width: 200px;
  padding: 12px;
  border: 1px solid var(--article-border);
  border-radius: 12px;
  background: var(--home-panel-bg, #151515);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.home-page.article-page .article-share-menu button {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--article-accent);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.home-page.article-page .article-share-menu p {
  margin: 8px 0 0;
  color: var(--article-muted);
  font-size: 12px;
  word-break: break-all;
}

/* 官方地址卡 */
.home-page.article-page .article-official-links {
  margin: 0;
}

.home-page.article-page .article-official-card {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: transparent;
}

.home-page.article-page .article-official-card h2 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.home-page.article-page .article-official-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page.article-page .article-official-card li + li {
  margin-top: 3px;
}

.home-page.article-page .article-official-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 16px;
  line-height: 28px;
  text-decoration: none;
}

.home-page.article-page .article-official-label {
  color: #fff;
}

.home-page.article-page .article-official-value {
  color: var(--article-accent);
}

.home-page.article-page .article-official-link:hover .article-official-label {
  color: #fff;
}

.home-page.article-page .article-official-link:hover .article-official-value {
  color: var(--article-accent);
}

/* 正文 */
.home-page.article-page .article-content {
  min-width: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.home-page.article-page .article-content > *:first-child {
  margin-top: 0;
}

.home-page.article-page .article-content p {
  margin: 0 0 16px;
}

.home-page.article-page .article-content h2 {
  margin: 28px 0 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.home-page.article-page .article-content h3 {
  color: #fff;
}

.home-page.article-page .article-content a {
  color: var(--article-accent);
}

.home-page.article-page .article-content img,
.home-page.article-page .article-content video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border-radius: 12px;
  background: var(--home-placeholder, #333);
}

.home-page.article-page .article-content figure {
  margin: 16px 0;
}

.home-page.article-page .article-content figure img,
.home-page.article-page .article-content figure video {
  margin: 0;
}

.home-page.article-page .article-content blockquote {
  margin: 20px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--article-accent);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

/* 自定义视频播放器 */
.home-page.article-page .article-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.home-page.article-page .article-video video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  vertical-align: top;
}

.home-page.article-page .article-video:fullscreen,
.home-page.article-page .article-video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.home-page.article-page .article-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: auto;
}

.home-page.article-page .article-video-progress {
  position: relative;
  z-index: 1;
  height: 12px;
  margin-bottom: 8px;
  padding: 4px 0;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

.home-page.article-page .article-video-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.home-page.article-page .article-video-progress-fill {
  position: absolute;
  left: 0;
  top: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--article-accent);
  width: 0;
}

.home-page.article-page .article-video-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-page.article-page .article-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: center / contain no-repeat;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
}

.home-page.article-page .article-video-btn[data-action="play"] {
  background-image: url("/assets/icons/player/play.svg");
  background-size: 18px 16px;
  transform: rotate(90deg);
  transform-origin: center;
}

.home-page.article-page .article-video-btn[data-action="pause"] {
  background-image: url("/assets/icons/player/pause.svg");
  background-size: 18px 18px;
}

.home-page.article-page .article-video-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.home-page.article-page .article-video-volume-track {
  position: relative;
  width: 72px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  touch-action: none;
}

.home-page.article-page .article-video-volume-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  background: #fff;
  width: 100%;
  pointer-events: none;
}

.home-page.article-page .article-video-btn[data-action="volume"] {
  background-image: url("/assets/icons/player/volume.svg");
  background-size: 16px 16px;
}

.home-page.article-page .article-video-btn[data-action="volume"].is-muted {
  background-image: url("/assets/icons/player/mute.svg");
  background-size: 16px 16px;
}

.home-page.article-page .article-video-toolbar-end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.home-page.article-page .article-video-settings-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.home-page.article-page .article-video-btn[data-action="settings"] {
  background-image: url("/assets/icons/player/settings.svg");
  background-size: 18px 18px;
}

.home-page.article-page .article-video-settings-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 88px;
  padding: 8px;
  border: 1px solid var(--article-border);
  border-radius: 8px;
  background: rgba(21, 21, 21, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.home-page.article-page .article-video-settings-menu[hidden] {
  display: none !important;
}

.home-page.article-page .article-video-settings-menu button {
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
}

.home-page.article-page .article-video-settings-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-page.article-page .article-video-settings-menu button.is-active {
  color: var(--article-accent);
  background: rgba(3, 199, 90, 0.12);
}

.home-page.article-page .article-video-btn[data-action="fullscreen"] {
  background-image: url("/assets/icons/player/fullscreen.svg");
  background-size: 18px 18px;
}

.home-page.article-page .article-video-time {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

/* 付费墙 */
.home-page.article-page .article-paywall {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-page.article-page .article-paywall-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0;
}

.home-page.article-page .article-paywall-line {
  flex: 1 1 0;
  min-width: 0;
  height: 2px;
  background: url("/assets/icons/article/paywall-divider.svg") center / 100% 2px no-repeat;
}

.home-page.article-page .article-paywall-label {
  margin: 0;
  color: var(--article-paywall);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 9.2px;
  white-space: nowrap;
}

.home-page.article-page .article-paywall-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 604px;
  overflow: hidden;
  border-radius: 12px;
}

.home-page.article-page .article-paywall-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.home-page.article-page .article-paywall-lock {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  background: url("/assets/icons/article/paywall-lock.png") center / contain no-repeat;
}

.home-page.article-page .article-paywall-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 0;
  border-radius: 100px;
  background: var(--article-unlock);
  color: #fff;
  font-size: 16px;
  line-height: normal;
  cursor: pointer;
}

.home-page.article-page .article-paywall-btn:hover {
  filter: brightness(1.05);
}

/* 关键词 */
.home-page.article-page .article-keywords {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 28px;
}

.home-page.article-page .article-keywords-label {
  color: var(--article-accent);
}

.home-page.article-page .article-keyword-links {
  display: inline;
}

.home-page.article-page .article-keyword-link {
  color: var(--article-accent);
  font-size: 20px;
  line-height: 28px;
}

.home-page.article-page .article-keyword-link:hover {
  text-decoration: underline;
}

/* 版权声明 */
.home-page.article-page .article-legal {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 28px;
}

.home-page.article-page .article-legal p {
  margin: 0 0 10px;
}

.home-page.article-page .article-legal p:last-child {
  margin-bottom: 0;
}

.home-page.article-page .article-legal a {
  color: var(--article-accent);
}

/* 标签 */
.home-page.article-page .article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.home-page.article-page .article-tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

.home-page.article-page .article-tag-chip:hover {
  background: rgba(3, 199, 90, 0.2);
  color: var(--article-accent);
}

/* 上下篇 */
.home-page.article-page .article-neighbors {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
}

.home-page.article-page .article-neighbor-slot {
  flex: 1;
  min-width: 0;
  max-width: 524px;
  margin: 0;
}

.home-page.article-page .article-neighbor-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  min-height: 100px;
  padding: 10px 20px;
  border: 1px solid var(--article-border);
  border-radius: 12px;
  background: var(--article-panel);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.home-page.article-page .article-neighbor-card.is-next {
  align-items: flex-end;
  text-align: right;
}

.home-page.article-page .article-neighbor-direction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.home-page.article-page .article-neighbor-chevron {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: center / 12.5px 6.25px no-repeat;
  filter: brightness(0) invert(1);
}

.home-page.article-page .article-neighbor-card.is-prev .article-neighbor-chevron {
  background-image: url("/assets/icons/article/chevron-left.svg");
  transform: rotate(-90deg);
}

.home-page.article-page .article-neighbor-card.is-next .article-neighbor-chevron {
  background-image: url("/assets/icons/article/chevron-left.svg");
  transform: rotate(90deg);
}

.home-page.article-page .article-neighbor-card strong {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page.article-page .article-neighbor-card > span:last-child,
.home-page.article-page .article-neighbor-card .article-neighbor-meta {
  color: var(--article-muted);
  font-size: 12px;
  line-height: 18px;
  margin-top: auto;
}

.home-page.article-page .article-neighbor-card.is-empty {
  cursor: default;
  pointer-events: none;
}

.home-page.article-page .article-neighbor-card.is-empty:hover {
  border-color: var(--article-border);
}

.home-page.article-page .article-neighbor-card.is-empty .article-neighbor-empty {
  color: var(--article-muted);
  font-weight: 400;
}

.home-page.article-page .article-neighbor-card.is-empty .article-neighbor-meta.is-placeholder {
  visibility: hidden;
  min-height: 18px;
}

.home-page.article-page .article-neighbor-card:hover {
  border-color: var(--article-accent);
}

/* 相关推荐 */
.home-page.article-page .article-related {
  position: relative;
  margin: 0;
}

.home-page.article-page .related-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.home-page.article-page .related-title::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: url("/assets/img/related-melon-icon.png") center / 46px 46px no-repeat;
}

.home-page.article-page .related-grid {
  display: flex;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.home-page.article-page .related-grid::-webkit-scrollbar {
  display: none;
}

.home-page.article-page .related-card {
  flex: 0 0 418px;
  width: 418px;
  height: 536px;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  background: var(--home-card-bg, #201f1f);
  text-decoration: none;
  transform: scale(0.88);
  transform-origin: center center;
  transition: transform 0.25s ease;
}

.home-page.article-page .related-card.is-center {
  transform: scale(1);
}

.home-page.article-page .related-cover {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  background: var(--home-placeholder, #333);
}

.home-page.article-page .related-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  background: var(--home-card-bg, #201f1f);
}

.home-page.article-page .related-card-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-page.article-page .related-date {
  margin-top: 4px;
  color: var(--article-muted);
  font-size: 16px;
  line-height: 30px;
}

.home-page.article-page .related-nav {
  position: absolute;
  z-index: 2;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: url("/assets/icons/article/carousel-circle.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.home-page.article-page .related-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 9px;
  background: center / contain no-repeat;
  filter: brightness(0) invert(1);
}

.home-page.article-page .related-nav.prev::after {
  background-image: url("/assets/icons/article/carousel-chevron-left.svg");
  transform: rotate(-90deg);
}

.home-page.article-page .related-nav.next::after {
  background-image: url("/assets/icons/article/carousel-chevron-left.svg");
  transform: rotate(90deg);
}

.home-page.article-page .related-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.home-page.article-page .related-nav.prev {
  left: -8px;
}

.home-page.article-page .related-nav.next {
  right: -8px;
}

/* 合作方 */
.home-page.article-page .article-partner-links {
  margin: 0;
}

.home-page.article-page .article-partner-group + .article-partner-group {
  margin-top: 24px;
}

.home-page.article-page .article-partner-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 209px;
  padding: 20px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.home-page.article-page .article-partner-group h2 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.home-page.article-page .article-partner-divider {
  width: min(517px, 100%);
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 199, 90, 0) 0%,
    rgba(3, 199, 90, 0.6) 50%,
    rgba(3, 199, 90, 0) 100%
  );
}

.home-page.article-page .article-partner-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-page.article-page .article-partner-grid::-webkit-scrollbar {
  display: none;
}

.home-page.article-page .article-partner-link,
.home-page.article-page .article-partner-item {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}

.home-page.article-page .article-partner-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #616161;
}

.home-page.article-page .article-partner-label {
  width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page.article-page a.article-partner-link:hover {
  color: var(--article-accent);
}

/* 评论 */
.home-page.article-page .article-comments {
  margin: 0;
}

.home-page.article-page .article-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.home-page.article-page .article-comments-header h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
}

.home-page.article-page .article-comments-header > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  height: auto;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--article-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

.home-page.article-page .article-comment-publish-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 16px;
  background: url("/assets/icons/article/comment-send.svg") center / 100% 100% no-repeat;
}

.home-page.article-page .article-comment-form {
  margin-bottom: 24px;
}

.home-page.article-page .article-comment-form textarea {
  display: block;
  width: 100%;
  min-height: 168px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--article-panel);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: normal;
  resize: vertical;
  outline: 0;
}

.home-page.article-page .article-comment-form textarea::placeholder {
  color: var(--article-muted);
}

.home-page.article-page .article-comment-form textarea:focus {
  border-color: var(--article-accent);
}

.home-page.article-page .article-comment-form > div {
  margin-top: 16px;
}

.home-page.article-page .article-comment-form input[name="nickname"] {
  display: block;
  width: min(316px, 100%);
  min-height: 66px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--article-panel);
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: normal;
  outline: 0;
}

.home-page.article-page .article-comment-form input[name="nickname"]::placeholder {
  color: var(--article-muted);
}

.home-page.article-page .article-comment-count {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.home-page.article-page .article-comment-notice,
.home-page.article-page .article-comment-status {
  margin: 8px 0 0;
  color: var(--article-muted);
  font-size: 12px;
  line-height: 18px;
}

.home-page.article-page .article-comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-page.article-page .article-comment {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
}

.home-page.article-page .article-comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--home-placeholder, #333) center / cover no-repeat;
  color: transparent;
  font-size: 0;
}

.home-page.article-page .article-comment-avatar.is-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  background: var(--home-placeholder, #333);
}

.home-page.article-page .article-comment header,
.home-page.article-page .article-comment-reply header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.home-page.article-page .article-comment-byline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-page.article-page .article-comment strong,
.home-page.article-page .article-comment-reply strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.home-page.article-page .article-comment time,
.home-page.article-page .article-comment-reply time {
  color: var(--article-muted);
  font-size: 14px;
  line-height: 18px;
}

.home-page.article-page .article-comment-reply-action {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--article-accent);
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

.home-page.article-page .article-comment p,
.home-page.article-page .article-comment-reply p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 24px;
}

.home-page.article-page .article-expand-replies {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--article-accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  cursor: pointer;
}

.home-page.article-page .article-expand-replies::before {
  content: "";
  width: 19.677px;
  height: 0.984px;
  border-radius: 0.492px;
  background: var(--article-accent);
}

.home-page.article-page .article-expand-replies::after {
  content: "";
  width: 12px;
  height: 7px;
  background: url("/assets/icons/article/chevron-down-bold.svg") center / contain no-repeat;
}

.home-page.article-page .article-comment-replies {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.home-page.article-page .article-comment-reply {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
}

.home-page.article-page .article-comment-reply .article-comment-avatar {
  width: 60px;
  height: 60px;
}

.home-page.article-page .article-load-comments {
  display: block;
  width: 160px;
  height: 44px;
  margin: 24px auto 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--article-accent);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.home-page.article-page .article-load-comments:hover {
  filter: brightness(1.05);
}

.home-page.article-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
