:root {
  --wb-orange: #fa7d3c;
  --wb-orange-hover: #f5722d;
  --wb-bg: #f2f2f5;
  --wb-card: #ffffff;
  --wb-border: #e6e6e6;
  --wb-text: #333;
  --wb-muted: #939393;
  --wb-link: #eb7350;
  --wb-header-h: 54px;
  /* Match /video page-head row (title + action button) */
  --pc-page-head-h: 44px;
  --pc-page-head-btn-h: 36px;
  --wb-max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  font-size: 16px;
  color: var(--wb-text);
  background: var(--wb-bg);
}

a {
  color: var(--wb-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.pc-root {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.pc-header {
  height: var(--wb-header-h);
  min-height: var(--wb-header-h);
  max-height: var(--wb-header-h);
  background: var(--wb-card);
  border-bottom: 1px solid var(--wb-border);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.pc-locale-select {
  height: 36px;
  border: 1px solid var(--wb-border, #e6e6e6);
  border-radius: 6px;
  padding: 0 10px;
  font-size: 15px;
  background: #fff;
  color: var(--wb-text);
}

[dir='rtl'] .pc-header-inner {
  direction: rtl;
}

.pc-header-inner {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.pc-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.pc-logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.pc-logo:hover {
  text-decoration: none;
}

.pc-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.pc-nav-links a {
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--wb-text);
  font-size: 16px;
  text-decoration: none;
}

.pc-nav-links a:hover {
  background: #fff4ef;
  color: var(--wb-orange);
  text-decoration: none;
}

.pc-nav-links a.active {
  color: var(--wb-orange);
  font-weight: 600;
}

.pc-search {
  width: 220px;
  padding: 6px 12px;
  border: 1px solid var(--wb-border);
  border-radius: 20px;
  font-size: 15px;
  outline: none;
}

.pc-search:focus {
  border-color: var(--wb-orange);
}

.pc-user-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
}

.pc-header .pc-btn {
  height: var(--pc-page-head-btn-h);
  min-height: var(--pc-page-head-btn-h);
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.pc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--wb-border);
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.pc-btn-primary {
  background: var(--wb-orange);
  color: #fff;
}

.pc-btn-primary:hover:not(:disabled) {
  background: var(--wb-orange-hover);
}

.pc-btn-secondary {
  background: #fff;
  color: var(--wb-text);
  border: 1px solid var(--wb-border);
}

.pc-btn-secondary:hover:not(:disabled) {
  border-color: var(--wb-orange);
  color: var(--wb-orange);
}

.pc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pc-shell {
  flex: 1;
  max-width: var(--wb-max);
  margin: 0 auto;
  width: 100%;
  padding: 16px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.pc-shell--wide {
  max-width: var(--wb-max);
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1024px) {
  .pc-shell {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .pc-side-nav {
    display: none;
  }
}

@media (max-width: 860px) {
  .pc-shell {
    grid-template-columns: 1fr;
  }

  .pc-rail {
    display: none;
  }

  .pc-search {
    display: none;
  }
}

.pc-side-nav {
  position: sticky;
  top: calc(var(--wb-header-h) + 16px);
}

.pc-side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--wb-text);
  margin-bottom: 4px;
  text-decoration: none;
}

.pc-side-nav a:hover,
.pc-side-nav a.active {
  background: #fff;
  color: var(--wb-orange);
  font-weight: 600;
  text-decoration: none;
}

.pc-main {
  min-width: 0;
}

.pc-card {
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.pc-card-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wb-border);
}

.pc-rail {
  /* 与主栏同步随页面上滑，不做 sticky / 内部滚动 */
  min-width: 0;
}

.pc-sidebar-ad {
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pc-sidebar-ad-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.pc-sidebar-ad-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

.pc-sidebar-ad-fallback {
  min-height: 88px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--wb-orange);
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.pc-sidebar-ad-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 3px;
  pointer-events: none;
  user-select: none;
}

.pc-sidebar-ad-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 10px;
}

.pc-sidebar-ad-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #ddd;
  cursor: pointer;
}

.pc-sidebar-ad-dots button.active {
  background: var(--wb-orange);
}

.pc-hot-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}

.pc-hot-item:last-child {
  border-bottom: none;
}

.pc-hot-rank {
  color: var(--wb-orange);
  font-weight: 700;
  width: 18px;
  flex-shrink: 0;
}

.pc-hot-title {
  color: var(--wb-text);
  font-size: 15px;
  line-height: 1.4;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pc-hot-meta {
  font-size: 12px;
  color: var(--wb-muted);
  margin-top: 4px;
}

.pc-rail-topics .pc-card-title {
  margin-bottom: 4px;
}

.pc-rail-topic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  margin-top: 14px;
}

.pc-rail-topic:first-of-type {
  margin-top: 0;
}

.pc-rail-topic:hover .pc-rail-topic__title {
  color: var(--wb-orange);
}

.pc-rail-topic__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #f0f0f0;
  display: block;
}

.pc-rail-topic__img--empty {
  min-height: 88px;
}

.pc-rail-topic__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--wb-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pc-feed-tab {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
}

.pc-feed-tab.active {
  background: var(--wb-orange);
  color: #fff;
  border-color: var(--wb-orange);
}

.pc-post {
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.pc-post:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pc-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pc-post-name {
  font-weight: 600;
  color: var(--wb-text);
}

.pc-post-time {
  font-size: 14px;
  color: var(--wb-muted);
  margin-left: auto;
}

.pc-post-body {
  font-size: 16px;
  line-height: 1.55;
  color: #444;
  white-space: pre-wrap;
  word-break: break-word;
}

.pc-post-media {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
}

.pc-post-media img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.pc-post-foot {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--wb-muted);
}

.pc-page-nav {
  margin-bottom: 12px;
}

.pc-page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--pc-page-head-h);
  min-height: var(--pc-page-head-h);
  max-height: var(--pc-page-head-h);
  box-sizing: border-box;
}

.pc-page-head h1,
.pc-page-head__title {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: var(--pc-page-head-h);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-page-head .pc-btn,
.pc-page-head__btn,
.pc-page-head__back,
.pc-page-head__btn-slot {
  height: var(--pc-page-head-btn-h);
  min-height: var(--pc-page-head-btn-h);
  max-height: var(--pc-page-head-btn-h);
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pc-page-head__btn-slot {
  width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.pc-page-head__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: var(--pc-page-head-btn-h);
}

.pc-page-head__spacer {
  flex: 1;
  min-width: 0;
  height: var(--pc-page-head-h);
}

.pc-page-sub {
  margin: 8px 0 0;
  color: var(--wb-muted);
  font-size: 15px;
  line-height: 22px;
  min-height: 22px;
}

.pc-login-wrap {
  min-height: calc(100vh - var(--wb-header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pc-login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pc-login-card h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

.pc-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--wb-muted, #666);
  cursor: pointer;
}
.pc-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--wb-orange, #e07a3d);
}
.pc-agree a {
  color: var(--wb-link, var(--wb-orange));
}

.pc-field {
  margin-bottom: 14px;
}

.pc-field label {
  display: block;
  font-size: 14px;
  color: var(--wb-muted);
  margin-bottom: 4px;
}

.pc-field input,
.pc-field textarea,
.pc-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  font-size: 16px;
}

.pc-field input:focus,
.pc-field textarea:focus,
.pc-field select:focus {
  outline: none;
  border-color: var(--wb-orange);
}

.pc-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--wb-border);
  border-top-color: var(--wb-orange);
  border-radius: 50%;
  animation: pc-spin 0.7s linear infinite;
}

@keyframes pc-spin {
  to {
    transform: rotate(360deg);
  }
}

.pc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pc-modal {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 360px;
  width: 100%;
}

.pc-modal h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.pc-prose {
  line-height: 1.65;
  color: #444;
}

.pc-prose img {
  max-width: 100%;
  border-radius: 6px;
}

/* Discover 详情富文本（Quill） */
.discover-article-content {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  word-break: break-word;
  overflow-wrap: anywhere;
}

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

.discover-article-content > *:last-child {
  margin-bottom: 0;
}

.discover-article-content p,
.discover-article-content div {
  margin: 0 0 1em;
}

.discover-article-content h1,
.discover-article-content h2,
.discover-article-content h3,
.discover-article-content h4 {
  color: var(--wb-text);
  font-weight: 600;
  line-height: 1.35;
  margin: 1.35em 0 0.55em;
}

.discover-article-content h1 {
  font-size: 1.35rem;
}

.discover-article-content h2 {
  font-size: 1.2rem;
}

.discover-article-content h3 {
  font-size: 1.1rem;
}

.discover-article-content strong,
.discover-article-content b {
  color: var(--wb-text);
  font-weight: 600;
}

.discover-article-content a {
  color: var(--wb-link);
  text-decoration: underline;
}

.discover-article-content img,
.discover-article-content video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25em auto;
  border-radius: 10px;
  border: 1px solid var(--wb-border);
}

.discover-article-content ul,
.discover-article-content ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

.discover-article-content blockquote {
  margin: 1.25em 0;
  padding: 0.75em 1em;
  border-left: 3px solid var(--wb-orange);
  background: #fafafa;
  border-radius: 0 8px 8px 0;
  color: var(--wb-muted);
}

.discover-article-content .ql-align-center {
  text-align: center;
}

.discover-article-content .ql-align-right {
  text-align: right;
}

.discover-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 16px;
}

.discover-article-content th,
.discover-article-content td {
  border: 1px solid var(--wb-border);
  padding: 0.5em 0.65em;
}

.discover-detail-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.pc-crumbs {
  max-width: 720px;
  margin: 0 auto 12px;
  font-size: 15px;
  color: var(--wb-muted);
  line-height: 1.5;
}

.pc-crumbs a {
  color: var(--wb-muted);
  text-decoration: none;
}

.pc-crumbs a:hover {
  color: var(--wb-orange);
}

.pc-crumbs__sep {
  margin: 0 6px;
  color: var(--wb-border);
}

.pc-crumbs [aria-current='page'] {
  color: var(--wb-text);
}

.discover-detail-hero {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  margin-bottom: 16px;
  background: #f5f5f5;
}

.discover-detail-card .discover-detail-hero {
  margin-top: 4px;
  margin-bottom: 20px;
}

.discover-detail-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.discover-detail-card {
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  padding: 24px 28px;
}

.discover-detail-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wb-text);
}

.discover-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 15px;
  color: var(--wb-muted);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--wb-border);
}

.discover-detail-summary {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #fff8f4;
  border-radius: 8px;
  border-left: 3px solid var(--wb-orange);
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

.discover-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.discover-detail-tag {
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff4ef;
  color: var(--wb-orange);
}

.discover-detail-tag.muted {
  background: #f5f5f5;
  color: var(--wb-muted);
}

/* 帖子详情 */
.post-detail-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.post-detail-hero {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  margin-bottom: 16px;
  background: #f5f5f5;
}

.post-detail-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.post-detail-card {
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 16px;
}

.post-detail-content {
  font-size: 18px;
  line-height: 1.75;
  color: #444;
  white-space: pre-wrap;
  word-break: break-word;
}

.post-detail-comments-ad {
  width: 100%;
  max-height: 88px;
  margin: 0 0 12px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  background: #fff;
}
.post-detail-comments-ad__link {
  display: block;
  width: 100%;
  max-height: 88px;
  text-decoration: none;
  color: inherit;
}
.post-detail-comments-ad__img {
  display: block;
  width: 100%;
  max-height: 88px;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.post-detail-comments-ad__fallback {
  width: 100%;
  max-height: 88px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--wb-orange);
  background: linear-gradient(90deg, #fff8f1, #fff);
  box-sizing: border-box;
}

.post-detail-comments {
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  overflow: hidden;
}

.post-detail-comments-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--wb-border);
  background: #fafafa;
  font-weight: 600;
}

.post-comment-bubble {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 6px;
}

.post-detail-actions {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--wb-border);
  font-size: 16px;
}

.post-detail-actions button {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wb-muted);
  padding: 4px 8px;
  border-radius: 6px;
}

.post-detail-actions button:hover {
  background: #f5f5f5;
}

.post-detail-actions button.liked {
  color: var(--wb-orange);
}

/* China Elements */
.ce-wide {
  width: 100%;
}
.ce-wide__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ce-wide__title {
  margin: 0 0 6px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ce-wide__sub {
  margin: 0;
  color: var(--wb-muted);
  font-size: 16px;
  max-width: 52ch;
}
.ce-wide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ce-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.ce-search--inline {
  margin-bottom: 0;
}
.ce-search input {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  background: #fff;
}
.ce-dir-block {
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.ce-dir-block__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}
.ce-dir-block__title a {
  color: inherit;
  text-decoration: none;
}
.ce-dir-block__title a:hover {
  color: var(--wb-orange);
}
.ce-dir-group + .ce-dir-group {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--wb-border);
}
.ce-dir-group__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #555;
}
.ce-dir-group__title a {
  color: inherit;
  text-decoration: none;
}
.ce-dir-group__title a:hover {
  color: var(--wb-orange);
}
.ce-name-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.ce-name-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--wb-border);
  background: #fafafa;
  color: var(--wb-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.3;
  transition: border-color .15s, background .15s, color .15s;
}
.ce-name-link:hover {
  border-color: #e8b07a;
  background: #fff8f1;
  color: var(--wb-orange);
  text-decoration: none;
}
.ce-name-more {
  min-width: 42px;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wb-orange);
  background: #fff8f1;
  border-color: #e8b07a;
}

.ce-category-intro {
  margin: 28px 0 8px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 14px;
}

.ce-category-intro__title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 650;
  color: #222;
}

.ce-category-intro__body {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.ce-category-intro__body p {
  margin: 0 0 1em;
}

.ce-category-intro__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .ce-category-intro {
    padding: 16px;
    border-radius: 12px;
  }
}
.ce-mid-banner {
  margin: 0 0 14px;
  height: 118px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--wb-border);
  background: #fff;
}
.ce-mid-banner__link {
  position: relative;
  display: block;
  height: 118px;
  text-decoration: none;
  color: inherit;
}
.ce-mid-banner__img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
}
.ce-mid-banner__fallback {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--wb-orange);
  background: linear-gradient(90deg, #fff8f1, #fff);
}
.ce-mid-banner__badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}
.ce-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 14px;
  align-items: start;
}
@media (max-width: 900px) {
  .ce-detail__layout {
    grid-template-columns: 1fr;
  }
}
.ce-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--wb-muted);
  font-size: 15px;
}
.ce-detail__meta a {
  color: inherit;
}
.ce-detail__scenes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 4px;
}
.ce-section + .ce-section {
  margin-top: 18px;
}
.ce-related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ce-related-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.ce-related-item:hover {
  background: #f7f7f7;
  text-decoration: none;
}
.ce-related-item img,
.ce-related-item__fallback {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}
.ce-related-item__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #888;
}
.ce-related-item strong {
  display: block;
  font-size: 16px;
}
.ce-related-item .pc-muted {
  display: block;
  font-size: 14px;
  margin-top: 2px;
}
.ce-hero-img {
  margin: -4px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
}
.ce-hero-img img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* Baike-style element detail (single column, no aside) */
.ce-baike {
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 14px;
  padding: 22px 26px 28px;
  width: 100%;
  max-width: none;
  margin: 0;
}
.ce-baike__header {
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}
.ce-baike__title {
  margin: 0;
  font-size: clamp(30px, 3.43vw, 39px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.ce-baike__aka {
  margin: 6px 0 0;
  color: var(--wb-muted);
  font-size: 17px;
}
.ce-baike__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  color: var(--wb-muted);
  font-size: 15px;
}
.ce-baike__crumb a {
  color: inherit;
  text-decoration: none;
}
.ce-baike__crumb a:hover {
  color: var(--wb-orange);
  text-decoration: underline;
}
.ce-baike__sep { opacity: 0.5; }
.ce-baike__scenes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 4px;
}
.ce-baike__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 0;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  font-size: 15px;
}
.ce-baike__toc a {
  color: #3366cc;
  text-decoration: none;
}
.ce-baike__toc a:hover { text-decoration: underline; }
.ce-baike__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
  padding-bottom: 8px;
}
.ce-baike__summary-main { min-width: 0; }
.ce-baike__section-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  padding-left: 10px;
  border-left: 3px solid var(--wb-orange, #e8a05a);
}
.ce-baike__prose {
  margin: 0;
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.85;
  color: #333;
}
.ce-baike__figure {
  margin: 0;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
}
.ce-baike__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ce-baike__figure figcaption {
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  color: var(--wb-muted);
  background: #fafafa;
  border-top: 1px solid #eee;
}
.ce-baike__block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}
.ce-baike__block-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.ce-baike__block-head .ce-baike__section-title { margin-bottom: 14px; }
.ce-baike__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-2px);
}
.ce-baike__empty { margin: 0 0 12px; }
.ce-baike__foot-link {
  margin: 14px 0 0;
  font-size: 15px;
}
.ce-baike__foot-link a { color: #3366cc; }
.ce-baike-grid {
  display: grid;
  gap: 12px;
}
.ce-baike-grid--enterprise {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.ce-baike-grid--product,
.ce-baike-grid--scenic {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.ce-baike-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ce-baike-card:hover {
  border-color: #e8b07a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}
.ce-baike-card--product {
  flex-direction: column;
  gap: 10px;
  padding: 0;
  overflow: hidden;
}
.ce-baike-card--product .ce-baike-card__body {
  padding: 0 12px 12px;
}
.ce-baike-card__media {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}
.ce-baike-card__media--cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
}
.ce-baike-card__media--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #888;
  font-size: 20px;
}
.ce-baike-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ce-baike-card__title {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 650;
}
.ce-baike-card__meta,
.ce-baike-card__desc {
  font-size: 14px;
  color: var(--wb-muted);
  line-height: 1.45;
}
.ce-baike-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ce-baike-card__price {
  font-size: 15px;
  font-weight: 650;
  color: #c45c26;
}
@media (max-width: 800px) {
  .ce-baike { padding: 16px; }
  .ce-baike__summary {
    grid-template-columns: 1fr;
  }
  .ce-baike__figure { max-width: 320px; }
}

/* FAQ for SEO / GEO */
.ce-faq {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}
.pc-card > .ce-faq {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}
.ce-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ce-faq__item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 0;
  background: #fff;
}
.ce-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.45;
}
.ce-faq__q::-webkit-details-marker { display: none; }
.ce-faq__a {
  padding: 0 14px 14px;
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  border-top: 1px dashed #f0f0f0;
  margin-top: 0;
  padding-top: 12px;
}
.ce-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ce-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f5f5f5;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
}
.ce-chip--static {
  cursor: default;
}
.ce-chip:hover { background: #ececec; }
.ce-chip--static:hover { background: #f5f5f5; }
.ce-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ce-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.ce-form input,
.ce-form select,
.ce-form textarea {
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}
.ce-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .ce-form__row { grid-template-columns: 1fr; }
}
.ce-element-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.ce-element-picker__label { font-weight: 600; }
.ce-element-picker__toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
}
.ce-element-picker__toolbar select,
.ce-element-picker__toolbar input {
  border: 1px solid var(--wb-border);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  width: 100%;
  background: #fff;
}
.ce-element-picker__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ce-element-chip {
  border: 1px solid var(--wb-border);
  background: #f6f7f9;
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.4;
}
.ce-element-chip:hover { background: #eceff3; }
.ce-element-picker__list {
  border: 1px solid var(--wb-border);
  border-radius: 10px;
  max-height: 280px;
  overflow: auto;
  background: #fff;
}
.ce-element-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  margin: 0;
}
.ce-element-option:last-child { border-bottom: 0; }
.ce-element-option:hover { background: #fafafa; }
.ce-element-option.is-selected { background: #f3f7ff; }
.ce-element-option input { margin-top: 3px; }
.ce-element-option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ce-element-option__title { font-size: 15px; line-height: 1.35; }
.ce-element-option__meta { color: var(--wb-muted); font-size: 14px; }
.ce-element-picker__empty { margin: 0; }
@media (max-width: 720px) {
  .ce-element-picker__toolbar { grid-template-columns: 1fr; }
}
.ce-apply__notice {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wb-border);
  line-height: 1.6;
  font-size: 16px;
}
.ce-apply__notice p { margin: 0 0 8px; }
.ce-apply__notice p:last-child { margin-bottom: 0; }
.ce-apply-cta {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fff;
  border: 1px dashed var(--wb-border);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ce-apply-cta p {
  margin: 0;
  color: var(--wb-muted);
  font-size: 16px;
  max-width: 48ch;
}
.ce-apply-cta--inline {
  margin-top: 16px;
  border-style: solid;
  background: #fafafa;
}
.ce-aside-apply {
  margin: 12px 0 0;
  font-size: 15px;
}
.ce-aside-apply a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* —— Site footer —— */
.pc-footer {
  margin-top: auto;
  background: var(--wb-card);
  border-top: 1px solid var(--wb-border);
  color: var(--wb-muted);
}

.pc-footer-inner {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: 16px;
  width: 100%;
  text-align: center;
}

.pc-footer-intro {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
}

.pc-footer-brand {
  font-weight: 600;
  color: var(--wb-text);
}

.pc-footer-sep {
  margin: 0 6px;
  color: var(--wb-border);
}

.pc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-bottom: 8px;
}

.pc-footer-nav a {
  font-size: 15px;
  color: var(--wb-text);
  text-decoration: none;
}

.pc-footer-nav a:hover {
  color: var(--wb-orange);
  text-decoration: none;
}

.pc-footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--wb-muted);
}

/* Discover topic embeds + related */
.discover-topic-embeds {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--wb-border);
}
.discover-related-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 650;
  color: var(--wb-text);
}
.discover-recs {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 12px;
}
.discover-recs__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.discover-recs__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 6px 4px;
  border-radius: 8px;
}
.discover-recs__item:hover {
  background: #fafafa;
  text-decoration: none;
}
.discover-recs__item:hover .discover-recs__title {
  color: var(--wb-orange);
}
.discover-recs__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f3f3;
}
.discover-recs__icon--empty {
  display: inline-block;
  background: linear-gradient(135deg, #fff8f1, #f3f3f3);
  border: 1px solid var(--wb-border);
}
.discover-recs__title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.discover-topic-embeds__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.discover-topic-embed-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid var(--wb-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.discover-topic-embed-card:hover {
  border-color: #f0c2a8;
  text-decoration: none;
}
.discover-topic-embed-card__img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  display: block;
  background: #f3f3f3;
}
.discover-topic-embed-card__img--empty {
  background: linear-gradient(135deg, #f6f6f6, #ececec);
}
.discover-topic-embed-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px 12px 10px 0;
  min-width: 0;
}
.discover-topic-embed-card__badge {
  font-size: 12px;
  color: var(--wb-orange);
  font-weight: 600;
}
.discover-topic-embed-card__title {
  font-size: 17px;
  line-height: 1.35;
  color: var(--wb-text);
}
.discover-topic-embed-card__sub {
  font-size: 14px;
  color: var(--wb-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.discover-related {
  margin-top: 20px;
}
.discover-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.discover-related__card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 10px;
  overflow: hidden;
}
.discover-related__card:hover {
  border-color: #f0c2a8;
  text-decoration: none;
}
.discover-related__img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  background: #f3f3f3;
}
.discover-related__img--empty {
  background: linear-gradient(135deg, #f6f6f6, #ececec);
}
.discover-related__label {
  display: block;
  padding: 8px 10px 0;
  font-size: 12px;
  color: var(--wb-orange);
  font-weight: 600;
}
.discover-related__name {
  display: block;
  padding: 4px 10px 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--wb-text);
  font-weight: 600;
}
@media (max-width: 640px) {
  .discover-topic-embed-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .discover-topic-embed-card__img {
    width: 96px;
    height: 76px;
  }
  .discover-related__grid {
    grid-template-columns: 1fr;
  }
}


/* Rail news card (recommend) */
.pc-news-card {
  margin-top: 12px;
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  overflow: hidden;
}
.pc-news-card__banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #222;
}
.pc-news-card__track {
  display: flex;
  transition: transform 0.55s ease-in-out;
}
.pc-news-card__slide {
  flex-shrink: 0;
}
.pc-news-card__slide a {
  display: block;
  text-decoration: none;
}
.pc-news-card__img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  min-height: 120px;
  max-height: 160px;
}
.pc-news-card__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 2;
}
.pc-news-card__dot {
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}
.pc-news-card__dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: #fff;
}
.pc-news-card__list {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-news-card__link {
  display: block;
  color: var(--wb-text);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}
.pc-news-card__link:hover {
  color: var(--wb-orange);
  text-decoration: none;
}


/* Topics list — full width 3-col */
.pc-topics-head { margin-bottom: 18px; }
.pc-topics-head h1 { margin: 0 0 6px; font-size: 28px; }
.pc-topics-head p { margin: 0; color: var(--wb-muted); font-size: 16px; }
.pc-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pc-topic-list-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--wb-card);
  border: 1px solid var(--wb-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pc-topic-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  text-decoration: none;
}
.pc-topic-list-cover {
  position: relative;
  aspect-ratio: 16/10;
  background: #f3f4f6;
}
.pc-topic-list-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc-topic-list-cover-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b, #fa7d3c);
}
.pc-topic-list-cover-fallback--ad {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}
.pc-topic-list-body {
  padding: 12px 14px 14px;
}
.pc-topic-list-body strong {
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-topic-ad-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.55);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .pc-topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pc-topics-grid { grid-template-columns: 1fr; }
}

