:root {
  --page-width: 1400px;
  --container-width: 1280px;
  --accent: #e60012;
  --text: #303030;
  --muted: #8e8e8e;
  --line: #dedede;
  --soft-bg: #f6f6f6;
  --footer-bg: #f2f5f7;
  --serif: "Songti SC", "STSong", "Noto Serif CJK TC", "PMingLiU", serif;
  --sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-width: var(--container-width);
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-container {
  width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 16px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: #111;
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.section-title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: #2f2f2f;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.section-title::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 4px;
  background: var(--accent);
  content: "";
}

.headline-list li {
  position: relative;
  min-width: 0;
  padding-left: 17px;
}

.headline-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cfcfcf;
  content: "";
}

.headline-list a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-heading-row > a,
.more-link {
  color: #9b9b9b;
  font-size: 14px;
}

/* Shared header */
.culture-banner {
  height: 100px;
  background: url("../images/design/culture-banner.png") center top / 1400px 100px no-repeat;
}

.header-main {
  display: grid;
  grid-template-columns: 220px 413px 1fr;
  align-items: center;
  height: 61px;
}

.site-logo {
  display: inline-flex;
  width: 109px;
  height: 30px;
  align-items: center;
}

.site-search {
  display: flex;
  overflow: hidden;
  width: 413px;
  height: 34px;
  border-radius: 18px;
  background: #f0f0f0;
}

.site-search input {
  min-width: 0;
  flex: 1;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #444;
}

.site-search button {
  display: grid;
  width: 45px;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.site-search button img {
  width: 17px;
  height: 17px;
}

.quick-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 31px;
  font-size: 14px;
}

.quick-action {
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.user-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-link[hidden] {
  display: none;
}

.user-link img {
  width: 36px;
  height: 36px;
}

.channel-nav {
  position: relative;
  z-index: 40;
  height: 49px;
  background: #f5f5f5;
}

.channel-nav > .site-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 49px;
}

.channel-nav .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.channel-nav .nav-link,
.channel-nav .nav-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 49px;
  padding: 0;
  background: transparent;
  color: #292929;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 49px;
  white-space: nowrap;
  cursor: pointer;
}

.channel-nav .nav-toggle::after {
  width: 6px;
  height: 6px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transition: transform 0.2s ease;
}

.channel-nav .nav-item:hover > .nav-link,
.channel-nav .nav-item:hover > .nav-toggle,
.channel-nav .nav-item:focus-within > .nav-link,
.channel-nav .nav-item:focus-within > .nav-toggle,
.channel-nav .nav-item.is-open > .nav-toggle {
  color: var(--accent);
}

.channel-nav .nav-item:hover > .nav-toggle::after,
.channel-nav .nav-item:focus-within > .nav-toggle::after,
.channel-nav .nav-item.is-open > .nav-toggle::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: 49px;
  left: 50%;
  display: grid;
  visibility: hidden;
  min-width: 152px;
  padding: 8px 0;
  transform: translate(-50%, 8px);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 5px 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.14);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown a,
.nav-dropdown-action {
  display: block;
  width: 100%;
  padding: 8px 18px;
  border: 0;
  background: transparent;
  color: #444;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown-action:hover,
.nav-dropdown-action:focus-visible {
  background: #fff4f5;
  color: var(--accent);
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  visibility: visible;
  transform: translate(-50%, 0);
  opacity: 1;
}

.breaking-news {
  height: 67px;
  background: #fff4f5;
}

.breaking-news-inner {
  display: grid;
  grid-template-columns: 48px 1px 1fr;
  align-items: center;
  gap: 24px;
  height: 67px;
}

.breaking-news-inner > img {
  width: 48px;
  height: 23px;
}

.breaking-divider {
  width: 1px;
  height: 28px;
  background: var(--accent);
}

.breaking-track {
  display: grid;
  grid-template-columns: 1fr 1.23fr 1.15fr;
  gap: 36px;
  font-size: 17px;
}

.breaking-track a {
  position: relative;
  overflow: hidden;
  padding-left: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breaking-track a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* Shared inner-page content */
.page-main {
  min-height: 820px;
  padding-bottom: 84px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  border-bottom: 1px solid #eee;
  color: #9a9a9a;
  font-size: 14px;
}

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

.breadcrumb span[aria-current="page"] {
  overflow: hidden;
  max-width: 640px;
  color: #5d5d5d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-shell {
  width: 1000px;
  margin: 0 auto;
}

.article-header {
  padding: 28px 0 22px;
}

.article-kicker {
  margin: 0 0 4px;
  color: #777;
  font-size: 14px;
}

.article-title {
  margin: 0;
  color: #282828;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 16px;
  color: #a0a0a0;
  font-size: 13px;
}

.article-meta .source {
  color: var(--accent);
}

.article-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.article-actions button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f4f4f4;
  color: #888;
  cursor: pointer;
}

.article-actions button:hover {
  background: #ffecee;
  color: var(--accent);
}

.article-body {
  color: #454545;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
}

.article-body p {
  margin: 0 0 22px;
  text-align: justify;
}

.article-body img {
  margin: 28px auto;
  border-radius: 6px;
}

.article-lead {
  padding: 20px 24px;
  border-radius: 4px;
  background: #f7f7f7;
  color: #666;
  font-size: 16px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  color: #888;
  font-size: 14px;
}

.article-tags a {
  color: var(--accent);
}

.related-section,
.comment-section {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid #ececec;
}

.related-section h2,
.comment-section h2 {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-size: 20px;
}

.related-swiper {
  position: relative;
  padding: 0 26px 8px;
}

.related-carousel {
  position: relative;
  padding: 0 26px 8px;
}

.related-carousel .related-swiper {
  padding: 0;
}

.related-card {
  display: block;
  padding-bottom: 12px;
  border: 1px solid #ededed;
  border-radius: 5px;
  background: #fff;
}

.related-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.related-card span {
  display: block;
  padding: 10px 10px 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-swiper .swiper-button-prev,
.related-swiper .swiper-button-next,
.related-carousel > .swiper-button-prev,
.related-carousel > .swiper-button-next {
  width: 28px;
  height: 42px;
  margin-top: -21px;
  border-radius: 3px;
  background: rgba(35, 35, 35, 0.58);
  background-image: none;
  color: #fff;
}

.related-swiper .swiper-button-prev,
.related-carousel > .swiper-button-prev {
  left: 0;
}

.related-swiper .swiper-button-next,
.related-carousel > .swiper-button-next {
  right: 0;
}

.related-swiper .swiper-button-prev::after,
.related-swiper .swiper-button-next::after,
.related-carousel > .swiper-button-prev::after,
.related-carousel > .swiper-button-next::after {
  display: block;
  color: #fff;
  font: 24px/42px Arial, sans-serif;
  text-align: center;
}

.related-swiper .swiper-button-prev::after,
.related-carousel > .swiper-button-prev::after {
  content: "‹";
}

.related-swiper .swiper-button-next::after,
.related-carousel > .swiper-button-next::after {
  content: "›";
}

.related-swiper .swiper-button-disabled,
.related-carousel > .swiper-button-disabled {
  opacity: 1;
  pointer-events: none;
}

.related-swiper.is-static > .swiper-button-prev,
.related-swiper.is-static > .swiper-button-next,
.related-carousel.is-static > .swiper-button-prev,
.related-carousel.is-static > .swiper-button-next {
  display: none;
}

.comment-list {
  display: grid;
  gap: 24px;
}

.comment-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 16px;
}

.comment-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff8790, #a767ff);
}

.comment-content {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.comment-author {
  color: var(--accent);
  font-size: 14px;
}

.comment-time {
  margin-left: 12px;
  color: #aaa;
  font-size: 12px;
}

.comment-content p {
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 46px;
  color: #999;
  font-size: 14px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 3px;
}

.pagination .is-current {
  background: var(--accent);
  color: #fff;
}

/* Founder CMS appends ul.pages at the end of articlelistpage. */
ul.pages {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin: 46px 0 0;
  padding: 0;
  color: #999;
  font-size: 14px;
  list-style: none;
}

ul.pages li,
ul.pages a,
ul.pages span {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 3px;
}

ul.pages a {
  padding: 0 6px;
  color: inherit;
}

ul.pages li.page-active,
ul.pages li.page-active a,
ul.pages li.page-active span {
  background: var(--accent);
  color: #fff;
}

ul.pages li:not(.page-active) a:hover {
  color: var(--accent);
}

/* Shared footer */
.site-footer {
  background: var(--footer-bg);
  color: #454545;
}

.friend-links {
  min-height: 207px;
  padding-top: 40px;
}

.friend-links h2 {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 400;
}

.friend-links nav {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px 24px;
  font-size: 14px;
}

.footer-meta {
  min-height: 233px;
  padding-top: 46px;
  border-top: 1px solid #dfe3e5;
  color: #969696;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.footer-meta p {
  margin: 3px 0;
}

.toast-message {
  position: fixed;
  z-index: 100;
  right: 32px;
  bottom: 84px;
  padding: 10px 18px;
  border-radius: 4px;
  background: rgba(24, 24, 24, 0.9);
  color: #fff;
  font-size: 14px;
}

/* Shared account dialogs */
body.has-account-modal {
  overflow: hidden;
}

.account-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(25, 25, 28, 0.82);
}

.account-modal[hidden],
.account-card[hidden] {
  display: none;
}

.account-card {
  position: relative;
  width: 360px;
  min-height: 390px;
  padding: 42px 48px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
}

.account-card h2 {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  text-align: center;
}

.account-card label {
  display: block;
  margin: 14px 0 6px;
  color: #555;
  font-size: 13px;
}

.account-card input[type="text"],
.account-card input[type="password"] {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dedede;
  outline: 0;
}

.account-card input[type="text"]:focus,
.account-card input[type="password"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.1);
}

.account-close {
  position: absolute;
  top: 12px;
  right: 15px;
  padding: 2px 6px;
  background: transparent;
  color: #888;
  font-size: 20px;
  cursor: pointer;
}

.account-forgot {
  display: block;
  margin: 10px 0 0 auto;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
}

.account-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 12px;
}

.avatar-preview {
  width: 118px;
  height: 118px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 50%;
  background: #e9ecf1;
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-note {
  min-height: 44px;
  margin: 0;
  color: #999;
  font-size: 12px;
  text-align: center;
}

.avatar-note.is-error {
  color: var(--accent);
}

.account-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.account-actions button,
.account-card .upload-label {
  display: grid;
  flex: 1;
  height: 38px;
  margin: 0;
  place-items: center;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.account-actions .secondary {
  background: #b5b5b5;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Lanhu-aligned shared inner pages */
.page-main > .breadcrumb,
.detail-shell,
.content-width {
  width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.page-main > .breadcrumb {
  min-height: 60px;
  color: #333;
  font-size: 16px;
}

.detail-shell {
  width: 1000px;
}

.article-header {
  padding: 38px 0 22px;
  border-bottom: 1px solid #dedede;
}

.article-kicker {
  margin-bottom: 4px;
  color: #555;
  font-size: 18px;
}

.article-title {
  font-family: var(--sans);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.45;
}

.article-subtitle {
  margin: 4px 0 0;
  color: #555;
  font-size: 17px;
}

.article-meta {
  min-height: 34px;
  margin-top: 14px;
  font-size: 16px;
}

.article-meta .source {
  font-weight: 600;
}

.article-actions {
  gap: 13px;
}

.article-actions button {
  width: auto;
  min-width: 27px;
  padding: 0 3px;
  background: transparent;
  font-size: 20px;
}

/* Shared article controls: the five detail-page actions use one visual system. */
.article-actions {
  position: relative;
  gap: 12px;
}

.article-actions .article-action-button {
  display: grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #8d8d8d;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease;
}

.article-actions .article-action-button:hover,
.article-actions .article-action-button:focus-visible {
  background: transparent;
  color: var(--accent);
}

.article-action-icon {
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-action-image {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  transition: filter .18s ease;
}

.article-action-image-weibo,
.article-action-image-wechat {
  width: 24px;
  height: 21px;
}

.article-action-image-copy {
  width: 24px;
  height: 24px;
}

.article-action-button:hover .article-action-image,
.article-action-button:focus-visible .article-action-image {
  filter: brightness(0) saturate(100%) invert(12%) sepia(96%) saturate(7424%) hue-rotate(350deg) brightness(91%) contrast(112%);
}

.wechat-share-popover {
  position: absolute;
  z-index: 30;
  top: 40px;
  right: 27px;
  display: block;
  width: 202px;
  padding: 15px 15px 13px;
  border: 1px solid #e3e3e3;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
  color: #555;
  text-align: center;
}

.wechat-share-popover[hidden] { display: none; }
.wechat-share-popover::before,
.wechat-share-popover::after {
  position: absolute;
  right: 18px;
  bottom: 100%;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  content: "";
}
.wechat-share-popover::before { border-bottom-color: #ddd; }
.wechat-share-popover::after { margin-bottom: -1px; border-bottom-color: #fff; }
.wechat-share-qrcode { display: block; width: 160px; height: 160px; margin: 0 auto; }
.wechat-share-qrcode canvas,
.wechat-share-qrcode img { display: block; width: 160px !important; height: 160px !important; }
.wechat-share-tip { display: block; margin-top: 8px; color: #777; font-size: 13px; line-height: 1.4; white-space: nowrap; }

.article-body {
  color: #363636;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.95;
}

.article-body p {
  margin-bottom: 24px;
}

.detail-shell .article-body video,
.detail-shell .video-frame > video,
.detail-shell .live-stage > video {
  max-width: 100%;
  object-fit: contain;
  background: #111;
}

.detail-shell video.detail-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: var(--detail-video-max-width, 100%);
  margin: 0 auto;
  text-indent: 0;
}

.detail-shell .video-frame.is-adaptive,
.detail-shell .live-stage.is-adaptive {
  max-width: 100%;
  height: auto;
  background: transparent;
}

.detail-shell .video-frame > video.detail-video,
.detail-shell .live-stage > video.detail-video {
  border-radius: inherit;
}

.detail-shell video.detail-video:fullscreen { width: 100%; height: 100%; max-width: none; border-radius: 0; }
.detail-shell video.detail-video:-webkit-full-screen { width: 100%; height: 100%; max-width: none; border-radius: 0; }
.detail-shell video.detail-video:-ms-fullscreen { width: 100%; height: 100%; max-width: none; border-radius: 0; }

.article-lead {
  margin: 38px 0;
  padding: 20px;
  border-radius: 0;
  background: #f8f8f8;
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.article-tags {
  display: block;
  margin-top: 34px;
  color: #777;
  font-size: 16px;
  line-height: 2.5;
}

.article-tags .tag-row,
.article-tags .credit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.article-tags .tag-chip {
  padding: 0 10px;
  background: #f8f8f8;
  color: #777;
}

.article-tags .tag-chip.is-alert,
.article-tags a {
  color: #d7252d;
}

.article-credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 4px 48px;
  margin-top: 22px;
  color: #888;
  font-size: 16px;
}

.related-news-list {
  margin-top: 48px;
  padding: 24px 60px 28px;
  background: #fafafa;
}

.related-news-list h2 {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3e3e3;
  font-size: 24px;
}

.related-news-list h2::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 98px;
  height: 3px;
  background: var(--accent);
  content: "";
}

.related-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 54px;
}

.related-news-grid a {
  overflow: hidden;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid #ececec;
  color: #595959;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-news-grid a::before {
  float: left;
  margin-left: -17px;
  color: #c8c8c8;
  content: "•";
}

.media-related {
  margin-top: 58px;
  padding: 26px 22px 30px;
  border-top: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.media-related::before,
.comment-section::before {
  display: block;
  width: 85px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--accent);
  content: "";
}

.media-related h2,
.comment-section h2 {
  margin-bottom: 20px;
  padding-left: 0;
  border-left: 0;
  font-size: 22px;
}

.media-related .related-card {
  overflow: hidden;
  padding-bottom: 0;
  border: 0;
  border-radius: 7px;
}

.media-related .related-card img {
  height: 130px;
  border-radius: 7px;
}

.media-related .related-card span {
  min-height: 58px;
  padding: 10px 5px 0;
  white-space: normal;
}

.comment-section {
  margin-top: 70px;
  padding: 26px 28px 0;
  border-top: 0;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comment-list {
  gap: 0;
}

.comment-item {
  grid-template-columns: 48px 1fr;
  padding: 22px 0;
  border-top: 1px solid #ececec;
}

.comment-content {
  padding-bottom: 0;
  border-bottom: 0;
}

.comment-author {
  color: #333;
  font-size: 17px;
}

.comment-content p {
  font-size: 15px;
}

/* The account overlay mirrors the two Lanhu states, shown one at a time. */
.account-modal {
  background: rgba(35, 36, 39, 0.86);
}

.account-card {
  width: 440px;
  min-height: 500px;
  padding: 72px 60px 40px;
  border-radius: 7px;
}

.login-card {
  width: 400px;
  padding-right: 50px;
  padding-left: 50px;
}

.account-card h2 {
  margin-bottom: 72px;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 500;
}

.account-card .form-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.account-card .form-row label {
  margin: 0;
  font-size: 14px;
}

.account-card .code-row {
  grid-template-columns: 62px 126px 1fr;
  gap: 12px;
}

.account-card input[type="text"] {
  height: 40px;
  background: #f6f7f9;
}

.account-code {
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
}

.account-card .account-actions {
  justify-content: center;
  margin-top: 82px;
}

.account-card .account-actions button {
  max-width: 220px;
}

.profile-card {
  padding-top: 38px;
}

.profile-card h2 {
  display: none;
}

.profile-card .avatar-preview {
  width: 150px;
  height: 150px;
  margin-bottom: 12px;
}

.profile-card .upload-label {
  height: auto;
  margin: 0 auto 8px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
}

.profile-card .avatar-note {
  margin-bottom: 38px;
  font-size: 14px;
}

.profile-card .account-actions {
  margin-top: 69px;
}

.profile-card .account-actions button {
  max-width: 96px;
}
