:root {
  --brand: #a16921;
  --brand-2: #2f8cff;
  --brand-3: #54b6ff;
  --light-blue: #eaf4ff;
  --page: #edf5ff;
  --ink: #18213a;
  --muted: #667085;
  --line: #e5ecf6;
  --card: #ffffff;
  --footer: #1f1f1f;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-sm: 0 8px 18px rgba(38, 83, 140, .08);
  --shadow-md: 0 16px 30px rgba(43, 105, 230, .18);
}


html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--page);
}
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,
a:focus-visible,
input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.header-inner,
.content-wrap,
.footer-inner,
.footer-copy {
  width: 1180px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.site-header {
  height: 58px;
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  box-shadow: 0 8px 18px rgba(20, 35, 60, .08);
}
.header-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon {
  position: relative;
  width: 38px;
  height: 28px;
  display: inline-block;
  border-radius: 9px;
  background: linear-gradient(135deg, #a16921, #32d4ff);
  box-shadow: inset 15px 0 0 rgba(255, 65, 153, .95), 0 8px 18px rgba(61,106,253,.18);
}
.logo-icon i {
  position: absolute;
  top: 7px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.logo-icon i:first-child { left: 7px; }
.logo-icon i:last-child { right: 7px; }
.logo-copy strong { display: block; font-size: 19px; line-height: 1; letter-spacing: .02em; }
.logo-copy small { display: block; margin-top: 4px; color: #232323; font-size: 13px; transform: scale(.86); transform-origin: left center; }
.main-nav { display: flex; gap: 38px; color: #3c4454; font-size: 15px; }
.main-nav a { height: 58px; display: inline-flex; align-items: center; border-top: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--brand); border-top-color: var(--brand); }

.page-main { min-height: 800px; }
/* .blue-strip {
  background: linear-gradient(90deg, #3d8dff, #a16921);
  border-top: 1px solid rgba(255,255,255,.35);
} */
.channel-nav {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
}
.channel-nav a { padding: 7px 18px; border-radius: 18px; }
.channel-nav a.active, .channel-nav a:hover { color: #fff; background: rgba(255,255,255,.18); }

.info-hero {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
  padding-top: 18px;
}
.info-hero h1 { margin: 0 0 12px; color: var(--brand); font-size: 22px; font-weight: 700; }
.hero-left { min-width: 0; }
.anti-fraud-card {
  height: 236px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 35%),
    linear-gradient(120deg, #3c8dff 0%, #0563f6 55%, #0247d5 100%);
  box-shadow: 0 16px 30px rgba(43, 105, 230, .22);
}
.anti-fraud-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, transparent 0 26px, rgba(255,255,255,.06) 27px 28px);
}
.guard-figure { position: absolute; left: 70px; bottom: 0; width: 160px; height: 210px; z-index: 1; }
.guard-figure .cap { position: absolute; left: 48px; top: 6px; width: 62px; height: 38px; border-radius: 32px 32px 14px 14px; background: #222f45; }
.guard-figure .face { position: absolute; left: 52px; top: 36px; width: 54px; height: 64px; border-radius: 22px; background: linear-gradient(#f0b39b, #e79078); filter: blur(.4px); }
.guard-figure .body { position: absolute; left: 30px; bottom: 0; width: 104px; height: 128px; border-radius: 34px 34px 0 0; background: linear-gradient(90deg, #d7e6f7, #66a9ee); }
.anti-copy { position: absolute; z-index: 1; right: 54px; top: 56px; color: #fff; text-align: left; text-shadow: 0 6px 16px rgba(0,0,0,.18); }
.anti-copy p { margin: 0; font-size: 57px; line-height: 1; font-weight: 900; font-style: italic; }
.anti-copy strong { display: block; margin-top: 10px; font-size: 50px; line-height: 1; font-style: italic; }

.latest-card,
.portal-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 83, 140, .08);
}
.latest-card { padding: 12px 14px 10px; margin-top: 37px; }
.search-line { height: 38px; display: flex; align-items: center; margin-bottom: 12px; border: 1px solid #b9d7ff; border-radius: 18px; background: #f7fbff; }
.search-line input { flex: 1; min-width: 0; border: 0; outline: 0; margin: 0 16px; color: #527096; font-size: 15px; background: white; }
.search-line button { width: 36px; height: 36px; border: 0; color: var(--brand); background: transparent; cursor: pointer; }
.search-line button svg { display: block; width: 22px; height: 22px; }
.card-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card-title h2 { margin: 0; font-size: 16px; font-weight: 800; }
.card-title a { color: var(--brand); font-size: 15px; }
.card-title a:hover { color: var(--brand); }
.compact-news { display: grid; gap: 11px; }
.compact-news li, .news-lines li { display: grid; grid-template-columns: minmax(0,1fr) 54px; gap: 8px; align-items: center; font-size: 15px; line-height: 1.7; }
.compact-news a, .news-lines a { overflow: hidden; color: #25314a; text-overflow: ellipsis; white-space: nowrap; }
.compact-news a::before, .news-lines a::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 6px; vertical-align: 2px; border-radius: 50%; background: var(--brand); }
.compact-news span, .news-lines span { color: #8a96a8; text-align: right; }

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

/* 综合页 - 热门推荐标签云（PRD 1.5，独立于列表页"热门标签"，两套配置互不影响） */
.composite-tags-section {
  margin-top: 18px;
  padding: 18px 0px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 83, 140, .08);
}
.composite-tags-title {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 4px;
  margin-left:20px;
}
.composite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding:0 20px;
}
.composite-tags a {
  padding: 7px 14px;
  background: #f1f3f7;
  color: #25314a;
  font-size: 14px;
  border-radius: 16px;
  transition: background .2s, color .2s;
}
.composite-tags a:hover {
  background: #fde346;
  color: #2a1100;
}
.portal-card { position: relative; overflow: hidden; padding: 16px; }
.thumb { height: 142px; position: relative; overflow: hidden; margin-bottom: 12px; border-radius: 4px; }
.thumb span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 22px; font-weight: 900; text-shadow: 0 3px 10px rgba(0,0,0,.3); }
.poster-game { background: radial-gradient(circle at 22% 35%, #ffc340 0 13%, transparent 14%), radial-gradient(circle at 70% 35%, #3bd3ff 0 16%, transparent 17%), linear-gradient(135deg, #0a477d, #151e46 55%, #27b673); }
.poster-battle { background: radial-gradient(circle at 70% 36%, rgba(255,226,67,.8), transparent 18%), linear-gradient(135deg, #3a1411, #fa4f1f 55%, #ffb300); }
.tutorial-poster { height: 142px; display: grid; place-content: center; margin-bottom: 12px; text-align: center; border-radius: 4px; background: linear-gradient(135deg, #eef5ff, #fff); border: 1px solid #dbe8fb; }
.tutorial-poster strong { display: block; font-size: 26px; line-height: 1.2; }
.tutorial-poster span { margin-top: 8px; color: #6a7690; }
.news-lines { display: grid; gap: 11px; }
.news-lines a:hover, .compact-news a:hover { color: var(--brand); }

.split-section { display: grid; grid-template-columns: 1fr 330px; gap: 18px; margin-top: 24px; }
.enterprise-card { padding: 20px; }
.feature-list { display: grid; gap: 16px; }
.feature-item { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #edf1f7; }
.feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-thumb { min-height: 84px; border-radius: 5px; background: linear-gradient(135deg, #a16921, #36c8ff); }
.mini-thumb.purple { background: linear-gradient(135deg, #7e57ff, #a16921); }
.mini-thumb.cyan { background: linear-gradient(135deg, #20d6e8, #a16921); }
.mini-thumb.green { background: linear-gradient(135deg, #20d97f, #a16921); }
.feature-item h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.35; }
.feature-item p { margin: 0 0 7px; color: #657189; font-size: 15px; line-height: 1.82; }
.feature-item em { color: var(--brand); font-size: 15px; font-style: normal; }
.hot-card { padding: 20px 18px; }
.hot-list { counter-reset: hot; display: grid; gap: 16px; }
.hot-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.hot-list span { color: var(--brand); font-weight: 900; font-size: 15px; }
.hot-list a { color: #25314a; font-size: 15px; line-height: 1.72; }
.hot-list a:hover { color: var(--brand); }

.activity-section { margin-top: 24px; padding-bottom: 70px; }
.section-heading h2 { margin: 0 0 16px; font-size: 22px; }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.activity-card { min-height: 190px; padding: 126px 16px 16px; position: relative; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 8px 18px rgba(38,83,140,.08); }
.activity-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 112px; background: linear-gradient(135deg, #eff5ff, #fff); }
.activity-card.blank::before { background: #f7f7f7; }
.activity-card.price::before { background: linear-gradient(135deg, #bfe1ff, #e8f5ff 50%, #8ed0ff); }
.activity-card.banner::before { background: linear-gradient(135deg, #7658ff, #30d3a2); }
.activity-card.table::before { background: linear-gradient(135deg, #fff7d8, #f2ffef); }
.activity-card.spring::before { background: linear-gradient(135deg, #e8fff8, #b9f0ff); }
.activity-card h3 { margin: 0 0 8px; font-size: 16px; }
.activity-card p { margin: 0 0 8px; color: #667085; font-size: 15px; line-height: 1.82; }
.activity-card time { color: #9aa4b5; font-size: 15px; }

.site-footer { background: var(--footer); color: rgba(255,255,255,.72); }
.footer-inner { display: grid; grid-template-columns: 250px 1fr; gap: 70px; padding: 36px 0 26px; }
.footer-logo .logo-icon { width: 42px; height: 36px; }
.footer-brand p { margin: 14px 0 26px; font-size: 15px; }
.footer-brand strong { display: block; margin-bottom: 12px; color: #fff; font-size: 15px; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; max-width: 150px; }
.social-row a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: #3a3a3a; font-size: 15px; }
.footer-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.footer-links dt { margin-bottom: 13px; color: #fff; font-size: 15px; font-weight: 800; }
.footer-links dd { margin-bottom: 8px; color: rgba(255,255,255,.62); font-size: 15px; }
.footer-links dd::before { content: "?"; margin-right: 6px; color: rgba(255,255,255,.35); }
.footer-links a:hover { color: #fff; }
.footer-copy { padding: 18px 0 28px 250px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.38); font-size: 15px; line-height: 2; }
.footer-copy p { margin: 0 0 4px; }

@media (max-width: 980px) {
  .site-header { height: auto; }
  .header-inner { height: auto; padding: 14px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .main-nav, .channel-nav { width: 100%; overflow-x: auto; gap: 18px; white-space: nowrap; }
  .info-hero, .split-section, .footer-inner { grid-template-columns: 1fr; }
  .latest-card { margin-top: 0; }
  .three-columns, .activity-grid { grid-template-columns: 1fr 1fr; }
  .anti-copy p { font-size: 42px; }
  .anti-copy strong { font-size: 38px; }
  .footer-copy { padding-left: 0; }
}

@media (max-width: 640px) {
  .three-columns, .activity-grid { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .anti-fraud-card { height: 210px; }
  .guard-figure { left: 20px; transform: scale(.82); transform-origin: bottom left; }
  .anti-copy { right: 18px; top: 58px; }
  .anti-copy p { font-size: 32px; }
  .anti-copy strong { font-size: 29px; }
}




/* Purple information theme and carousel sizing */
:root {
  --info-primary: #7b4dff;
  --info-dark: #4f2bd7;
  --info-soft: #f3efff;
  --info-cyan: #7bdcff;
}

/* .blue-strip {
  background: linear-gradient(90deg, #8b5cff, #6842f5 55%, #5130d8);
} */

.channel-nav a.active,
.channel-nav a:hover {
  background: rgba(255, 255, 255, .22);
}

.info-hero {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

.anti-fraud-card {
  height: 270px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.26), transparent 20%),
    linear-gradient(120deg, #8b5cff 0%, #6f4cff 48%, #4f2bd7 100%);
  box-shadow: 0 18px 34px rgba(123, 77, 255, .24);
}

.latest-card {
  margin-top: 37px;
}

.search-line {
  border-color: #d4c8ff;
  background: #fbf9ff;
}
.search-line button,
.card-title a:hover,
.news-lines a:hover,
.compact-news a:hover,
.hot-list a:hover,
.feature-item em {
  color: var(--info-primary);
}

.compact-news a::before,
.news-lines a::before {
  background: var(--info-primary);
}

.hot-list span {
  color: var(--info-primary);
}

.poster-game {
  background: radial-gradient(circle at 22% 35%, #ffd166 0 13%, transparent 14%), radial-gradient(circle at 70% 35%, #a78bfa 0 16%, transparent 17%), linear-gradient(135deg, #3b227e, #201247 55%, #7b4dff);
}

.poster-battle {
  background: radial-gradient(circle at 70% 36%, rgba(255,226,120,.86), transparent 18%), linear-gradient(135deg, #2c155f, #7b4dff 55%, #ff9f43);
}

.tutorial-poster {
  background: linear-gradient(135deg, #f5f1ff, #ffffff);
  border-color: #ded4ff;
}

.mini-thumb,
.mini-thumb.purple,
.mini-thumb.cyan,
.mini-thumb.green {
  background: linear-gradient(135deg, #7b4dff, #9f7cff);
}

.activity-card.price::before { background: linear-gradient(135deg, #d9ceff, #f8f5ff 50%, #bba7ff); }
.activity-card.banner::before { background: linear-gradient(135deg, #7b4dff, #30d3d0); }
.activity-card.table::before { background: linear-gradient(135deg, #f4edff, #fff7dc); }
.activity-card.spring::before { background: linear-gradient(135deg, #f1edff, #c9bdff); }

@media (max-width: 640px) {
  .anti-fraud-card { height: 230px; }
}

/* Restore DDY blue theme and align hero carousel with latest card */
:root {
  --info-primary: #a16921;
  --info-dark: #1648de;
  --info-soft: #eef5ff;
  --info-cyan: #36c8ff;
}

/* .blue-strip {
  background: linear-gradient(90deg, #3d8dff, #a16921);
} */

.info-hero {
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.anti-fraud-card {
  height: 288px;
  flex: 1;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.26), transparent 20%),
    linear-gradient(120deg, #3c8dff 0%, #0563f6 55%, #0247d5 100%);
  box-shadow: 0 18px 34px rgba(61, 106, 253, .22);
}

.latest-card {
  height: 288px;
  margin-top: 37px;
  display: flex;
  flex-direction: column;
}

.latest-card .compact-news {
  flex: 1;
  align-content: space-between;
}

.search-line {
  border-color: #b9d7ff;
  background: #f7fbff;
}

.search-line button,
.card-title a:hover,
.news-lines a:hover,
.compact-news a:hover,
.hot-list a:hover,
.feature-item em {
  color: var(--info-primary);
}

.compact-news a::before,
.news-lines a::before {
  background: var(--info-primary);
}

.hot-list span {
  color: var(--info-primary);
}

.poster-game {
  background: radial-gradient(circle at 22% 35%, #ffc340 0 13%, transparent 14%), radial-gradient(circle at 70% 35%, #3bd3ff 0 16%, transparent 17%), linear-gradient(135deg, #0a477d, #151e46 55%, #27b673);
}

.poster-battle {
  background: radial-gradient(circle at 70% 36%, rgba(255,226,67,.8), transparent 18%), linear-gradient(135deg, #3a1411, #fa4f1f 55%, #ffb300);
}

.tutorial-poster {
  background: linear-gradient(135deg, #eef5ff, #fff);
  border-color: #dbe8fb;
}

.mini-thumb { background: linear-gradient(135deg, #a16921, #36c8ff); }
.mini-thumb.purple { background: linear-gradient(135deg, #7e57ff, #a16921); }
.mini-thumb.cyan { background: linear-gradient(135deg, #20d6e8, #a16921); }
.mini-thumb.green { background: linear-gradient(135deg, #20d97f, #a16921); }

.activity-card.price::before { background: linear-gradient(135deg, #bfe1ff, #e8f5ff 50%, #8ed0ff); }
.activity-card.banner::before { background: linear-gradient(135deg, #7658ff, #30d3a2); }
.activity-card.table::before { background: linear-gradient(135deg, #fff7d8, #f2ffef); }
.activity-card.spring::before { background: linear-gradient(135deg, #e8fff8, #b9f0ff); }

@media (max-width: 640px) {
  .anti-fraud-card,
  .latest-card { height: auto; min-height: 230px; }
}

/* Unified media ratio based on enterprise thumbnails */
:root {
  --media-ratio: 16 / 9;
}

.thumb,
.tutorial-poster,
.mini-thumb,
.activity-card::before {
  aspect-ratio: var(--media-ratio);
}

.thumb,
.tutorial-poster {
  height: auto;
  width: 100%;
}

.mini-thumb {
  min-height: 0;
  width: 150px;
  height: auto;
}

.feature-item {
  grid-template-columns: 150px 1fr;
  align-items: start;
}

.activity-card {
  padding-top: calc((100% - 32px) * 9 / 16 + 16px);
}

.activity-card::before {
  left: 16px;
  top: 16px;
  right: 16px;
  height: auto;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .mini-thumb {
    width: 100%;
  }

  .feature-item {
    grid-template-columns: 1fr;
  }
}


/* Keep hot ranking titles on one line */
.hot-list a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* Real image rendering */
.media-card,
.thumb,
.tutorial-poster,
.mini-thumb,
.activity-card::before {
  background-size: cover;
  background-position: center;
}

.media-card img,
.thumb img,
.tutorial-poster img,
.mini-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-card::before,
.thumb::before,
.tutorial-poster::before,
.mini-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 48, .05), rgba(8, 20, 48, .35));
  z-index: 1;
  pointer-events: none;
}

.media-card > img,
.thumb > img,
.tutorial-poster > img,
.mini-thumb > img {
  position: relative;
  z-index: 0;
}

.thumb span,
.tutorial-poster > div,
.anti-copy {
  position: absolute;
  z-index: 2;
}

.tutorial-poster > div {
  inset: 0;
  display: grid;
  place-content: center;
  padding: 16px;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,.35);
}

.tutorial-poster span {
  display: block;
  color: rgba(255,255,255,.9);
}

.activity-card.blank::before { background-image: url('./assets/images/mobile-app.jpg'); }
.activity-card.price::before { background-image: url('./assets/images/dashboard.jpg'); }
.activity-card.banner::before { background-image: url('./assets/images/cloud-work.jpg'); }
.activity-card.table::before { background-image: url('./assets/images/server-chip.jpg'); }
.activity-card.spring::before { background-image: url('./assets/images/team-news.jpg'); }

/* Fix incorrect image filling and padding */
.media-card,
.thumb,
.tutorial-poster,
.mini-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 6px;
  background: #eef5ff;
}

.thumb,
.tutorial-poster,
.mini-thumb {
  aspect-ratio: 16 / 9;
}

.thumb,
.tutorial-poster {
  height: auto !important;
  margin-bottom: 12px;
}

.mini-thumb {
  width: 150px;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 150px;
}

.media-card img,
.thumb img,
.tutorial-poster img,
.mini-thumb img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.activity-card {
  padding: 232px 16px 16px !important;
}

.activity-card::before {
  left: 16px !important;
  top: 16px !important;
  right: 16px !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.activity-card.blank::before { background: url('./assets/images/mobile-app.jpg') center / cover no-repeat !important; }
.activity-card.price::before { background: url('./assets/images/dashboard.jpg') center / cover no-repeat !important; }
.activity-card.banner::before { background: url('./assets/images/cloud-work.jpg') center / cover no-repeat !important; }
.activity-card.table::before { background: url('./assets/images/server-chip.jpg') center / cover no-repeat !important; }
.activity-card.spring::before { background: url('./assets/images/team-news.jpg') center / cover no-repeat !important; }

@media (max-width: 980px) {
  .activity-card {
    padding-top: 31vw !important;
  }
}

@media (max-width: 640px) {
  .mini-thumb {
    width: 100%;
    flex-basis: auto;
  }

  .activity-card {
    padding-top: 56vw !important;
  }
}

/* Remove image overlay copy */
.media-card::before,
.thumb::before,
.tutorial-poster::before,
.mini-thumb::before {
  display: none !important;
}

.thumb span,
.tutorial-poster > div,
.anti-copy {
  display: none !important;
}

/* Sub pages */
.sub-page {
  padding-bottom: 70px;
}

.sub-hero {
  padding: 22px 0 18px;
  color: #fff;
}

.sub-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
}

.sub-hero p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 14px;
}

.sub-page .blue-strip {
  /* background: linear-gradient(180deg, #2f83ff 0%, #75b2ff 100%); */
}

.detail-layout,
.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.panel-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 83, 140, .08);
}

.article-detail {
  padding: 34px 42px;
}

.article-detail h2 {
  margin: 0;
  text-align: center;
  color: #111827;
  font-size: 24px;
  line-height: 1.45;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 12px 0 24px;
  color: #8b95a8;
  font-size: 14px;
}

.article-cover {
  width: 78%;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto 24px;
  border-radius: 4px;
  object-fit: cover;
}

.article-detail h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  line-height: 1.6;
}

.article-detail p {
  margin: 0 0 14px;
  color: #303a4f;
  font-size: 15px;
  line-height: 2;
  text-indent: 2em;
}

.inline-tags {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #edf1f7;
}

.next-article {
  margin-top: 16px;
  color: #25314a;
  font-weight: 700;
}

.detail-sidebar,
.list-sidebar {
  display: grid;
  gap: 16px;
}

.detail-sidebar .panel-card,
.list-sidebar .panel-card {
  padding: 18px;
}

.detail-sidebar h2,
.list-sidebar h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.side-link-list {
  display: grid;
  gap: 10px;
}

.side-link-list a {
  display: block;
  overflow: hidden;
  color: #31405f;
  font-size: 14px;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-link-list a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 2px;
  background: var(--brand);
}

.search-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: end;
}

.big-search {
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: #fff;
}

.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: #34405a;
  background: transparent;
}

.big-search button {
  width: 76px;
  height: 100%;
  border: 0;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
}
.big-search button svg { display: block; width: 24px; height: 24px; margin: 0 auto; }

.result-list {
  padding: 18px;
}

.search-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f7;
}

.search-item:first-child { padding-top: 0; }
.search-item:last-child { border-bottom: 0; }

.list-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #eef5ff;
}

.list-thumb img,
.mini-rank img,
.event-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.search-item h2 {
  margin: 0 0 8px;
  color: #13203a;
  font-size: 17px;
  line-height: 1.45;
}

.search-item p {
  margin: 0 0 10px;
  color: #647086;
  font-size: 14px;
  line-height: 1.8;
}

.item-meta {
  display: flex;
  gap: 10px;
  color: #8a96a8;
  font-size: 14px;
}

.item-meta span:first-child {
  color: var(--brand);
  font-weight: 700;
}

.mini-rank {
  display: grid;
  gap: 12px;
}

.mini-rank a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: center;
}

.mini-rank img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.mini-rank span {
  overflow: hidden;
  color: #25314a;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-cloud a {
  padding: 6px 11px;
  color: var(--brand);
  border-radius: 4px;
  background: rgb(230 230 230);
  font-size: 14px;
}

.activity-list-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(38, 83, 140, .08);
}

.event-card img {
  aspect-ratio: 16 / 9;
}

.event-card div {
  padding: 16px;
}

.event-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
}

.event-card time {
  color: #8b95a8;
  font-size: 14px;
}

.event-card p {
  margin: 8px 0 0;
  color: #647086;
  font-size: 15px;
  line-height: 1.75;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.pagination a {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 4px;
  background: #eef3fb;
  color: #667085;
  font-size: 14px;
}

.pagination a.active,
.pagination a:hover {
  color: #fff;
  background: var(--brand);
}

@media (max-width: 980px) {
  .detail-layout,
  .list-layout,
  .search-hero {
    grid-template-columns: 1fr;
  }

  .activity-list-page {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-cover {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .article-detail {
    padding: 24px 18px;
  }

  .search-item {
    grid-template-columns: 1fr;
  }

  .activity-list-page {
    grid-template-columns: 1fr;
  }
}

/* Subpage title and breadcrumb blue text */
.sub-hero h1,
.sub-hero p {
  color: var(--brand) !important;
}

/* Fix subpage breadcrumb layout */
.search-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 6px;
}

.search-hero h1 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.search-hero p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  line-height: 1.6;
}

.search-hero .big-search {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.sub-hero:not(.search-hero) h1,
.sub-hero:not(.search-hero) p {
  display: block;
}

@media (max-width: 980px) {
  .search-hero {
    grid-template-columns: 1fr;
  }

  .search-hero .big-search {
    grid-column: 1;
    grid-row: 3;
    margin-top: 10px;
  }
}

/* Activities page refinement */
.activities-page {
  background: linear-gradient(180deg, #eaf4ff 0%, #edf5ff 46%, #f4f8ff 100%);
}

.activities-page .sub-hero {
  padding-top: 28px;
  padding-bottom: 22px;
}

.activities-page .sub-hero h1,
.activities-page .sub-hero p {
  color: #503610 !important;
}

.activity-list-page {
  padding-bottom: 82px;
}

.event-card {
  display: block;
  min-height: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(61, 106, 253, .16);
}

.event-card img {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #dfeaff;
}

.event-card div {
  min-height: 150px;
}

.event-card h2 {
  overflow: hidden;
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.event-card p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Subpage breadcrumb/title dark text */
.sub-hero h1,
.sub-hero p,
.activities-page .sub-hero h1,
.activities-page .sub-hero p {
  color: #18213a !important;
}

/* Screenshot-style information tabs */
.blue-strip:has(.info-tabs) {
  background: #fff !important;
  border-top: 0;
}

.info-tabs {
  min-height: 86px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  padding: 18px 0;
  color: #555;
  overflow-x: auto;
}

.info-tabs a {
  min-width: 126px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid #a8a8a8;
  border-radius: 4px;
  background: #fff;
  color: #555;
  font-size: 15px;
  line-height: 1;
}

.info-tabs a.active,
.info-tabs a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

@media (max-width: 980px) {
  .info-tabs {
    justify-content: flex-start;
    gap: 14px;
    min-height: 72px;
  }

  .info-tabs a {
    min-width: 108px;
    height: 42px;
  }
}

/* Restore original blue channel bar */
.blue-strip {
  /* background: linear-gradient(90deg, #3d8dff, #a16921) !important; */
  /* border-top: 1px solid rgba(255,255,255,.35) !important; */
}

.channel-nav {
  min-height: 42px !important;
  height: 42px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 0 !important;
  color: rgba(255,255,255,.88) !important;
  overflow-x: auto;
}

.channel-nav a {
  min-width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  padding: 7px 18px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

.channel-nav a.active,
.channel-nav a:hover {
  color: #503610 !important;
  background: rgba(255,255,255,.18) !important;
}

/* Home hero carousel */
.hero-carousel {
  position: relative;
  isolation: isolate;
}

.hero-carousel::after {
  display: none;
}

.hero-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity .45s ease;
}

.hero-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel .carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

/* Larger search icon */
.search-line button,
.big-search button {
  min-width: 48px;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-line {
  height: 42px;
  border-radius: 22px;
}

.search-line button {
  width: 48px !important;
  height: 40px !important;
}

/* Search icon 30px */
.search-line button,
.big-search button {
  min-width: 58px;
  font-size: 30px !important;
}

.search-line button {
  width: 58px !important;
}

/* Align latest search with hero title */
.info-hero {
  align-items: start;
}

.latest-card {
  margin-top: 0 !important;
  transform: translateY(0);
}

.hero-left h1,
.info-hero h1 {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.latest-card .search-line {
  margin-top: 0;
  margin-bottom: 12px;
}

/* Put only search box on hero title row */
.info-hero {
  grid-template-rows: 42px auto;
}

.hero-left {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-template-rows: 42px auto;
  grid-column: 1 / -1;
  gap: 12px 18px;
}

.hero-left h1 {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  min-height: 42px;
}

.hero-search {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.hero-search .search-line {
  margin: 0;
}

.hero-carousel {
  grid-column: 1;
  grid-row: 2;
}

.info-hero > .latest-card {
  grid-column: 2;
  grid-row: 2;
  height: 288px;
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .hero-left {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-search,
  .hero-carousel {
    grid-column: 1;
  }

  .hero-search { grid-row: 2; }
  .hero-carousel { grid-row: 3; }
  .info-hero > .latest-card { grid-column: 1; grid-row: auto; }
}

/* Unify subpage search boxes with home search */
.search-hero .big-search {
  height: 42px;
  overflow: hidden;
  border: 1px solid #b9d7ff;
  border-radius: 22px;
  background: #f7fbff;
  box-shadow: none;
}

.search-hero .big-search input {
  height: 100%;
  margin: 0 16px;
  color: #527096;
  font-size: 15px;
}

.search-hero .big-search button {
  width: 58px;
  min-width: 58px;
  height: 40px;
  color: var(--brand);
  background: transparent;
  font-size: 30px !important;
  font-weight: 700;
}

/* Activity module compact 4-column layout */
.activity-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}
.activity-card {
  min-height: 0 !important;
  padding: 118px 12px 12px !important;
  border-radius: var(--radius-md) !important;
}
.activity-card::before {
  height: 104px !important;
}
.activity-card h3 {
  margin: 0 0 6px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.activity-card p {
  margin: 0 0 6px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.activity-card time {
  font-size: 13px !important;
}
@media (max-width: 980px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .activity-grid { grid-template-columns: 1fr !important; }
}

/* Hot card full height */
.split-section > .hot-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.split-section > .hot-card > .hot-list {
  display: grid !important;
  gap: 14px !important;
  flex: 1 !important;
  align-content: space-evenly !important;
}
.split-section > .hot-card > .hot-list span {
  line-height: 1.4 !important;
}
.split-section > .hot-card > .hot-list a {
  line-height: 1.55 !important;
}

/* Sidebar priority order */
.list-sidebar .tag-panel {
  order: -1 !important;
}

/* Text-only sidebar ranking */
.text-rank {
  counter-reset: side-rank;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.text-rank li {
  counter-increment: side-rank;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  list-style: none;
}
.text-rank li::before {
  content: counter(side-rank, decimal-leading-zero);
  color: var(--brand);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.55;
}
.text-rank a {
  overflow: hidden;
  color: #25314a;
  font-size: 14px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-rank a:hover { color: var(--brand); }

/* Contextual sidebar modules */
.list-sidebar .side-section {
  display: block;
}
.mobile-list-page[data-category="game"] .list-sidebar .side-games,
.mobile-list-page[data-category="guide"] .list-sidebar .side-guides {
  display: none;
}

/* Hide current category in shared news sidebars */
.mobile-list-page[data-category="game"] .list-sidebar .side-games,
.mobile-list-page[data-category="guide"] .list-sidebar .side-guides,
.mobile-list-page[data-category="tutorial"] .list-sidebar .side-tutorials,
.mobile-list-page[data-category="activity"] .list-sidebar .side-activities {
  display: none !important;
}

/* Activity module compact 5-column layout */
.activity-grid {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
}
.activity-card {
  padding: 104px 10px 10px !important;
}
.activity-card::before {
  height: 92px !important;
}
.activity-card h3 {
  font-size: 13px !important;
}
.activity-card p,
.activity-card time {
  font-size: 12px !important;
}
@media (max-width: 1180px) {
  .activity-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 980px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .activity-grid { grid-template-columns: 1fr !important; }
}

/* Activity card visual refinement */
.activity-card {
  padding: calc((100% - 40px) * 0.5625 + 16px) 14px 14px !important;
}
.activity-card::before {
  left: 14px !important;
  top: 14px !important;
  right: 14px !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: var(--radius-sm) !important;
  background-size: cover !important;
  background-position: center !important;
}
.activity-card h3 {
  margin: 0 0 8px !important;
  color: #25314a !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}
.activity-card p {
  margin: 0 0 8px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}
.activity-card time {
  color: #9aa4b5 !important;
  font-size: 13px !important;
}

/* Web design guideline final polish */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
}
.site-header {
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(10px);
}
.logo-icon {
  box-shadow: 0 6px 14px rgba(61,106,253,.18) !important;
}
.channel-nav {
  gap: var(--space-3) !important;
  height: 44px !important;
}
.channel-nav a {
  min-width: 92px;
  text-align: center;
  font-weight: 700;
}
.portal-card,
.panel-card,
.latest-card,
.activity-card,
.result-list {
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
}
.portal-card:hover,
.panel-card:hover,
.activity-card:hover {
  box-shadow: var(--shadow-md) !important;
}
.search-item:hover {
  transform: none;
  box-shadow: none !important;
}
.portal-card,
.panel-card,
.activity-card,
.search-item,
.feature-item {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card-title h2,
.section-heading h2,
.list-sidebar h2 {
  color: #18213a !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
}
.card-title h2::before,
.section-heading h2::before,
.list-sidebar h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  margin-right: 8px;
  border-radius: 4px;
  background: var(--brand);
  vertical-align: -2px;
}
.thumb img,
.feature-item img,
.search-item img,
.mini-rank img,
.event-card img {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
}
.news-lines {
  gap: 8px !important;
}
.news-lines li,
.compact-news li {
  min-height: 28px;
}
.news-lines a,
.compact-news a,
.hot-list a,
.text-rank a {
  color: #25314a !important;
}
.news-lines a:hover,
.compact-news a:hover,
.hot-list a:hover,
.text-rank a:hover,
.search-item h2:hover {
  color: var(--brand) !important;
}
.search-item {
  border-bottom-color: #edf1f7 !important;
}
.search-item h2 {
  font-size: 18px !important;
  line-height: 1.45 !important;
}
.search-item p {
  color: #667085 !important;
  line-height: 1.7 !important;
}
.tag-cloud a,
.item-meta span,
.pagination a {
  border-radius: var(--radius-sm) !important;
}
.tag-cloud a:hover,
.pagination a:hover {
  color: #503610 !important;
  background: var(--brand) !important;
}
.activity-section {
  margin-top: 32px !important;
}
.activity-card {
  min-height: 0 !important;
  border-radius: var(--radius-lg) !important;
}
.activity-card::before {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.activity-card h3 {
  min-height: 42px;
}
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 1180px) {
  .channel-nav a { min-width: auto; }
}

/* Activity card title alignment */
.activity-card {
  padding: calc((100% - 28px) * 0.5625 + 42px) 14px 16px !important;
  text-align: center !important;
}
.activity-card h3 {
  margin: 0 auto 10px !important;
  text-align: center !important;
}
.activity-card p,
.activity-card time {
  display: block;
  text-align: center !important;
}

/* Activity title compact line height */
.activity-card h3 {
  line-height: .72 !important;
  min-height: 16px !important;
}

/* Activity card text left aligned */
.activity-card,
.activity-card h3,
.activity-card p,
.activity-card time {
  text-align: left !important;
}
.activity-card h3 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Activities page reuses home activity module */
.activities-module {
  margin-top: 18px !important;
  padding-bottom: 70px !important;
}

/* Article previous and next links */
.next-article {
  display: grid !important;
  gap: 10px !important;
}
.next-article a {
  color: #25314a !important;
  font-weight: 700;
}
.next-article a:hover {
  color: var(--brand) !important;
}

/* Clickable breadcrumb links */
.breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #667085 !important;
}
.breadcrumb a {
  color: #53627a !important;
  font-weight: 600;
}
.breadcrumb a:hover {
  color: var(--brand) !important;
}
.breadcrumb span {
  color: #a8b1c1;
}
.breadcrumb em {
  color: #18213a;
  font-style: normal;
  font-weight: 600;
}

/* Article related news below prev next */
.article-related-news {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #edf1f7;
}
.article-related-news h3 {
  margin: 0 0 14px !important;
  color: #18213a;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 900;
}
.related-rank {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 12px;
}
.related-rank a {
  font-size: 15px !important;
}
@media (max-width: 640px) {
  .related-rank {
    grid-template-columns: 1fr;
  }
}

/* Related news fixed 3 rows by 2 columns */
.related-rank {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: row;
  column-gap: 28px !important;
  row-gap: 12px !important;
}
.related-rank li {
  min-width: 0;
}
@media (max-width: 640px) {
  .related-rank {
    grid-template-columns: 1fr !important;
    grid-template-rows: none;
  }
}

/* Detail prev-next horizontal and related dot list */
.article-detail .next-article {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: center;
  gap: 18px !important;
}
.article-detail .next-article a:last-child {
  text-align: right;
}
.article-related-news .related-rank {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(3, auto) !important;
  grid-auto-flow: row !important;
  column-gap: 28px !important;
  row-gap: 12px !important;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none !important;
}
.article-related-news .related-rank li {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
  list-style: none;
  counter-increment: none !important;
}
.article-related-news .related-rank li::before {
  content: "" !important;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.article-related-news .related-rank a {
  overflow: hidden;
  color: #25314a !important;
  font-size: 15px !important;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-related-news .related-rank a:hover {
  color: var(--brand) !important;
}
@media (max-width: 640px) {
  .article-detail .next-article {
    grid-template-columns: 1fr !important;
  }
  .article-detail .next-article a:last-child {
    text-align: left;
  }
  .article-related-news .related-rank {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }
}

/* Remove related news top divider */
.article-related-news {
  border-top: 0 !important;
  padding-top: 12px !important;
}

/* WEB design system polish layer */
:root {
  --web-bg: #f4f7fb;
  --web-surface: #ffffff;
  --web-surface-soft: #f8fbff;
  --web-line: #e7edf6;
  --web-line-strong: #d9e4f2;
  --web-text: #172033;
  --web-text-2: #333;
  --web-muted: #7d8ca3;
  --web-brand-soft: #eef5ff;
  --web-radius-sm: 8px;
  --web-radius-md: 12px;
  --web-radius-lg: 16px;
  --web-shadow-card: 0 10px 28px rgba(31, 76, 143, .07);
  --web-shadow-hover: 0 16px 36px rgba(31, 76, 143, .12);
}
body {
  color: var(--web-text);
  background: var(--web-bg) !important;
}
.site-header {
  border-bottom: 1px solid rgba(229, 237, 248, .85);
  box-shadow: 0 8px 24px rgba(23, 41, 77, .04) !important;
}

.channel-nav {
  height: 50px !important;
  gap: 10px !important;
}
.channel-nav a {
  min-width: 96px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--web-text-2) !important;
  font-size: 14px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.channel-nav a:hover,
.channel-nav a.active {
  color: var(--brand) !important;
  background: var(--web-brand-soft);
  box-shadow: inset 0 0 0 1px #d8e7ff;
  transform: translateY(-1px);
}
.sub-hero {
  padding-top: 24px !important;
  padding-bottom: 20px !important;
}
.sub-hero h1 {
  margin-bottom: 8px !important;
  color: var(--web-text) !important;
  font-size: 26px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}
.sub-hero p,
.breadcrumb,
.search-hero p {
  color: var(--web-muted) !important;
  font-size: 14px !important;
}
.search-hero .big-search,
.hero-search .search-line,
.search-line {
  border-color: rgb(230 230 230) !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(31, 76, 143, .05);
}
.search-hero .big-search input,
.hero-search .search-line input,
.search-line input {
  color: var(--web-text);
}
.search-hero .big-search button,
.hero-search .search-line button,
.search-line button {
  color: var(--brand) !important;
}
.portal-card,
.panel-card,
.result-list,
.latest-card,
.activity-card {
  border: none !important;
  border-radius: var(--web-radius-lg) !important;
  background: var(--web-surface) !important;
  box-shadow: var(--web-shadow-card) !important;
}
.portal-card:hover,
.panel-card:hover,
.result-list:hover,
.latest-card:hover,
.activity-card:hover {
  box-shadow: var(--web-shadow-hover) !important;
}
.search-item:hover {
  box-shadow: none !important;
}
.card-title,
.section-heading,
.list-sidebar .panel-card h2,
.detail-sidebar .panel-card h2 {
  letter-spacing: .1px;
}
.card-title h2,
.section-heading h2,
.list-sidebar h2,
.detail-sidebar h2 {
  color: var(--web-text) !important;
  font-size: 18px !important;
  line-height: 1.35;
  font-weight: 900 !important;
}
.card-title h2::before,
.section-heading h2::before,
.list-sidebar h2::before,
.detail-sidebar h2::before {
  height: 18px !important;
    background: linear-gradient(180deg, #c98a2e, #a16921) !important;
}
.card-title a,
.section-heading a {
  color: var(--brand) !important;
  font-weight: 700;
}
.card-title a:hover,
.section-heading a:hover {
  color: var(--brand) !important;
}
.result-list {
  padding: 18px 20px !important;
}
.search-item {
  gap: 18px !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid var(--web-line) !important;
}
.search-item:first-child {
  padding-top: 0 !important;
}
.search-item:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}
.search-item .list-thumb,
.search-item img {
  border-radius: var(--web-radius-md) !important;
}
.search-item img {
  transition: transform .22s ease, filter .22s ease;
}
.search-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.06);
}
.search-item h2 {
  color: var(--web-text) !important;
  font-size: 19px !important;
  line-height: 1.48 !important;
  font-weight: 900 !important;
}
.search-item p {
  margin-top: 7px !important;
  color: var(--web-text-2) !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
}
.item-meta {
  margin-top: 10px !important;
}
.item-meta span {
  padding: 7px 11px !important;
  color: #7b7470 !important;
  background: rgb(230 230 230 / 50%) !important;
  border: none !important;
  font-weight: 700;
}
.list-sidebar,
.detail-sidebar {
  gap: 14px !important;
}
.list-sidebar .panel-card,
.detail-sidebar .panel-card {
  padding: 18px 18px 16px !important;
}
.tag-cloud {
  gap: 9px !important;
    margin-top: 10px;
}
.tag-cloud a {
  padding: 7px 11px !important;
  border: none !important;
  color: #2a1100 !important;
  background: rgb(230 230 230 / 50%) !important;
  font-weight: 400;
}
.tag-cloud a:hover {
  color: #2a1100 !important;
  border-color: transparent !important;
  background: #fde346 !important;
}
.text-rank {
  gap: 11px !important;
  margin-top: 10px;
}
.text-rank li {
  grid-template-columns: 32px minmax(0, 1fr) !important;
}
.text-rank li::before {
  width: 26px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #2a1100 !important;
  background: #fde346;
  font-size: 13px !important;
  line-height: 1 !important;
}
.text-rank a {
  color: var(--web-text-2) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.text-rank a:hover {
  color: var(--brand) !important;
}
.article-detail {
  padding: 38px 46px !important;
}
.article-detail h2 {
  color: var(--web-text) !important;
  font-size: 28px !important;
  line-height: 1.42 !important;
  font-weight: 900 !important;
}
.article-meta {
  margin: 14px 0 24px !important;
  color: var(--web-muted) !important;
}
.article-cover {
  border-radius: var(--web-radius-lg) !important;
  box-shadow: 0 14px 30px rgba(31, 76, 143, .1);
}
.article-detail p {
  color: #2f3b52 !important;
  font-size: 16px !important;
  line-height: 2.05 !important;
}
.article-detail h3 {
  color: var(--web-text) !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}
.next-article a {
  padding: 12px 14px;
  border: 1px solid var(--web-line);
  border-radius: var(--web-radius-md);
  background: rgb(230 230 230 / 50%);
}
.article-related-news h3 {
  font-size: 19px !important;
}
.article-related-news .related-rank a {
  color: var(--web-text-2) !important;
}
.activity-section {
  margin-top: 34px !important;
}
.activity-grid {
  gap: 14px !important;
}
.activity-card {
  overflow: hidden;
}
.activity-card h3 {
  color: var(--web-text) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  min-height: auto !important;
}
.activity-card p {
  color: var(--web-text-2) !important;
}
.news-lines a,
.compact-news a,
.hot-list a {
  color: var(--web-text-2) !important;
}
.news-lines a:hover,
.compact-news a:hover,
.hot-list a:hover {
  color: var(--brand) !important;
}
@media (max-width: 980px) {
  .channel-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .channel-nav a {
    flex: 0 0 auto;
  }
  .article-detail {
    padding: 28px 22px !important;
  }
}

/* WEB list pagination and final naming polish */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px !important;
}
.pagination a {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--web-line-strong) !important;
  border-radius: 10px !important;
  color: var(--web-text-2) !important;
  background: #fff !important;
  font-weight: 800;
}
.pagination a:hover,
.pagination a.active {
  color: #503610 !important;
/* no border */
  background: var(--gold-light) !important;
  color: #503610 !important;
}
.big-search button,
.search-line button {
  border-radius: 50%;
  transition: background .18s ease, transform .18s ease;
}
.big-search button:hover,
.search-line button:hover {
  background: transparent !important;
  transform: translateY(-1px);
}

/* Detail page prev-next and related final layout */
.article-detail .next-article {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.article-detail .next-article a {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-detail .next-article a:last-child {
  text-align: right !important;
}
.article-related-news .related-rank {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(3, auto) !important;
  grid-auto-flow: row !important;
  column-gap: 24px !important;
  row-gap: 12px !important;
}
.article-related-news .related-rank li {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.article-related-news .related-rank li::before {
  content: "" !important;
  flex: 0 0 5px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50%;
  background: var(--brand) !important;
}
.article-related-news .related-rank a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .article-related-news .related-rank {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, auto) !important;
  }
}
@media (max-width: 640px) {
  .article-detail .next-article,
  .article-related-news .related-rank {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }
  .article-detail .next-article a:last-child {
    text-align: left !important;
  }
}

/* Detail related force 2 columns x 3 rows */
.article-detail .article-related-news ul.related-rank-3col {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(3, auto) !important;
  grid-auto-flow: row !important;
  gap: 12px 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.article-detail .article-related-news ul.related-rank-3col > li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  list-style: none !important;
}
.article-detail .article-related-news ul.related-rank-3col > li::before {
  content: "" !important;
  width: 5px !important;
  height: 5px !important;
  flex: 0 0 5px !important;
  border-radius: 50% !important;
  background: var(--brand) !important;
}
.article-detail .article-related-news ul.related-rank-3col > li > a {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.article-detail .next-article {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}

/* Home reuses detail secondary navigation style */
.index-page .detail-nav-style,
.detail-nav-style {
  height: 50px !important;
  gap: 10px !important;
}
.detail-nav-style a {
  min-width: 96px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  color: var(--web-text-2) !important;
  background: rgba(206,206,206,0.5) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
.detail-nav-style a:hover,
.detail-nav-style a.active {
  color: #2a1100 !important;
  background: #fde346 !important;
  box-shadow: none !important;
}

/* WEB list item title size adjustment */
.search-item h2 {
  font-size: 16px !important;
}
/* === PREMIUM EDITORIAL DESIGN ENHANCEMENTS === */

:root {
  /* Elevated color system */
  --gold-light: #fde346;
  --gold: #e2b82b;
  --gold-dark: #c98a2e;
  --brown: #a16921;
  --brown-deep: #7b5418;
  --warm-surface: #fffdf5;
  --warm-bg: #faf8f0;
  --warm-line: #ebe5d5;
  --warm-soft: #f5f1e4;
  
  /* Advanced spacing */
  --hero-lift: -12px;
  --card-lift: -4px;
  --stagger-base: 60ms;
}

/* --- Rich background with subtle grain --- */
body {
  background: 
    linear-gradient(145deg, #faf8f0 0%, #fdfbfa 50%, #f8f5f0 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.page-main {
  position: relative;
  z-index: 1;
  margin:120px auto 30px auto
}

/* --- Refined typography --- */
body {
  font-feature-settings: "ss01", "ss03";
}

.card-title h2,
.section-heading h2,
.list-sidebar h2,
.detail-sidebar h2 {
  letter-spacing: -0.15px !important;
  font-weight: 800 !important;
}



/* --- Elevated channel navigation --- */
.blue-strip {
  /* background: 
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(253,251,249,0.9) 100%) !important;
  border-bottom: 1px solid var(--warm-line) !important; */
  backdrop-filter: blur(6px);
}

.channel-nav {
  height: 54px !important;
}

.channel-nav a {
  position: relative;
  height: 36px;
  padding: 0 20px;
  color: #5a554d !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.3, 0, 0.2, 1);
}

.channel-nav a:hover {
  background: rgba(253, 227, 70, 0.12);
  color: var(--brown) !important;
  
}

.channel-nav a.active {
  background: var(--gold-light) !important;
  color: #503610 !important;
  box-shadow: 
    0 4px 14px rgba(253, 227, 70, 0.35),
    inset 0 0 0 1px rgba(201, 138, 46, 0.2) !important;
  
  font-weight: 800;
}

/* --- Premium card styling --- */
.portal-card,
.panel-card,
.result-list,
.latest-card,
.activity-card {
  border: none !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(6px);
  box-shadow:
    0 1px 3px rgba(100, 85, 55, 0.04),
    0 6px 24px rgba(100, 85, 55, 0.07),
    0 12px 44px rgba(100, 85, 55, 0.05) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portal-card:hover,
.panel-card:hover,
.result-list:hover,
.latest-card:hover {
  border-color: inherit;
  box-shadow:
    0 1px 4px rgba(100, 85, 55, 0.06),
    0 8px 32px rgba(100, 85, 55, 0.11),
    0 20px 60px rgba(100, 85, 55, 0.08) !important;

}

/* --- News link hover enhancement --- */
.news-lines a,
.compact-news a {
  position: relative;
  transition: all 0.2s ease;
}

.news-lines a:hover,
.compact-news a:hover {
  color: var(--brown) !important;
  padding-left: 4px;
}

.news-lines a::before,
.compact-news a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width 0.25s ease;
  transform: translateY(-50%);
}

.news-lines a:hover::before,
.compact-news a:hover::before {
  width: 12px;
  left: -16px;
}

/* --- Search field premium style --- */
.search-line,
.big-search {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.search-line:focus-within,
.big-search:focus-within {
  border-color: var(--gold) !important;
  box-shadow: 
    0 0 0 1px rgba(253, 227, 70, 0.3),
    0 10px 32px rgba(161, 105, 33, 0.12) !important;
  
}

.search-line button,
.big-search button {
  transition: all 0.2s ease !important;
}

.search-line:focus-within button,
.big-search:focus-within button {
  color: var(--brown) !important;
  transform: scale(1.1);
}

/* 浏览器选中下拉建议后 input 会进入 :-webkit-autofill 状态，
   user-agent 强制盖浅蓝背景，普通 background 压不住；
   用 1000px 内阴影覆盖成白色，5000s 过渡防止动画过程露原色 */
.search-line input:-webkit-autofill,
.search-line input:-webkit-autofill:hover,
.search-line input:-webkit-autofill:focus,
.search-line input:-webkit-autofill:active,
.big-search input:-webkit-autofill,
.big-search input:-webkit-autofill:hover,
.big-search input:-webkit-autofill:focus,
.big-search input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--web-text);
  caret-color: var(--web-text);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* --- Hero carousel polish --- */
.hero-carousel img {
  border-radius: 16px !important;
}

.carousel-dots button {
  transition: all 0.25s ease;
}

.carousel-dots button.active {
  background: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(253, 227, 70, 0.35);
}

/* --- Tag cloud & item meta enhancement --- */
.tag-cloud a,
.item-meta span {
  transition: all 0.25s cubic-bezier(0.3, 0, 0.2, 1) !important;
}

.tag-cloud a:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px rgba(161, 105, 33, 0.15);
}

/* --- Hot list styling --- */
.hot-list li::before {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #fff3c0, var(--gold-light));
  border-radius: 6px;
  text-align: center;
  line-height: 24px;
  font-weight: 900;
  font-size: 12px;
  color: var(--brown-deep);
  margin-right: 10px;
  transition: all 0.25s ease;
}

.hot-list li:hover::before {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(253, 227, 70, 0.4);
}

.hot-list li {
  padding: 6px 0 !important;
  transition: padding 0.25s ease;
}

.hot-list li:hover {
  padding-left: 4px;
}

/* --- Activity cards premium hover --- */
.activity-card {
  overflow: hidden;
  position: relative;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.activity-card:hover::before {
  opacity: 1;
}

.activity-card:hover {
  border-color: inherit !important;

}

/* --- Card title accent stripe --- */
.card-title h2::before,
.section-heading h2::before,
.list-sidebar h2::before,
.detail-sidebar h2::before {
  background: linear-gradient(180deg, var(--gold), var(--brown)) !important;
  border-radius: 3px;
}

/* --- Next article buttons polish --- */
.next-article a {
  border-color: var(--warm-line) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  transition: all 0.25s ease;
}

.next-article a:hover {
  background: var(--gold-light) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
}

/* --- Fixed: Hot list uses span numbers --- */
.hot-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #fff3c0, var(--gold-light));
  border-radius: 8px;
  font-weight: 900;
  font-size: 13px;
  color: var(--brown-deep) !important;
  transition: all 0.25s ease;
}

.hot-list li:hover span {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(253, 227, 70, 0.4);
}

.hot-list li {
  padding: 6px 0 !important;
  transition: padding 0.25s ease;
}

.hot-list li:hover {
  padding-left: 4px;
}

.hot-list a:hover {
  color: var(--brown) !important;
}

/* --- Fix text-rank number styling --- */
.text-rank li::before {
  color: var(--brown-deep) !important;
  background: var(--gold-light);
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(253, 227, 70, 0.25);
}

/* --- Fix detail nav style to match new colors --- */
.detail-nav-style a:hover,
.detail-nav-style a.active {
  border-color: transparent !important;
}

/* --- Smooth scroll behavior --- */
html {
  scroll-behavior: smooth;
}

/* --- Custom selection highlight --- */
::selection {
  background: rgba(253, 227, 70, 0.4);
  color: var(--brown-deep);
}

/* --- Feature item hover polish --- */
.feature-item {
  padding: 12px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item:hover {
  background: rgba(253, 227, 70, 0.08);
  
  
}

.feature-item img {
  border-radius: 10px !important;
  
}

.feature-item:hover img {
  
  filter: saturate(1.1);
}

.feature-item h3 {
  transition: color 0.2s ease;
}

.feature-item:hover h3 {
  color: var(--brown) !important;
}

/* --- Search results hover polish --- */
.search-item:hover h2 {
  color: var(--brown) !important;
}

/* --- More link enhancement --- */
.card-title a,
.section-heading a {
  position: relative;
  transition: all 0.2s ease;
}

.card-title a:hover,
.section-heading a:hover {
  
}


/* --- Fix header color to match warm theme --- */
.site-header {
  border-bottom: 1px solid var(--warm-line) !important;
  box-shadow: 0 6px 20px rgba(100, 85, 55, 0.05) !important;
}

/* --- Hero carousel dot positioning fix --- */
.carousel-dots {
  bottom: 16px !important;
}

.carousel-dots button {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.3s ease;
}

.carousel-dots button.active {
  width: 48px;
  background: var(--gold-light);
  box-shadow: 0 2px 8px rgba(253, 227, 70, 0.5);
}

/* --- Breadcrumb polish --- */
.breadcrumb a:hover {
  color: var(--brown) !important;
}

/* --- Pagination polish --- */
.pagination a:hover {
  border-color: var(--gold) !important;
  background: var(--gold-light) !important;
  color: var(--brown-deep) !important;
}

.pagination a.active {
  background: var(--gold-light) !important;
/* no border */
/* no shadow */
  color: #503610 !important;
}

/* --- Fix activity card backgrounds --- */
.activity-card {
  background-size: cover !important;
  background-position: center !important;
  padding: 130px 16px 16px !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 0;
}

.activity-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.98) 72%) !important;
  z-index: -1 !important;
}

.activity-card h3,
.activity-card p,
.activity-card time {
  position: relative !important;
  z-index: 1 !important;
}

/* --- Simplified hover for activity cards --- */
.activity-card:hover {
  box-shadow: 
    0 1px 4px rgba(100, 85, 55, 0.06),
    0 8px 32px rgba(100, 85, 55, 0.11) !important;
}

.activity-card:hover::before {
  opacity: 1 !important;
}

/* --- Activity card image layout fix --- */
.activity-card {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.activity-card img {
  width: 100% !important;
  height: 130px !important;
  object-fit: cover !important;
  display: block !important;
}

.activity-card::before {
  display: none !important;
}

.activity-card h3 {
  padding: 14px 14px 6px !important;
  margin: 0 !important;
  font-size: 15px !important;
}

.activity-card p {
  padding: 0 14px 8px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.activity-card time {
  padding: 0 14px 14px !important;
  margin-top: auto !important;
  font-size: 12px !important;
}

/* --- Align "����" links to the right --- */
.card-title,
.section-heading {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.card-title a,
.section-heading a {
  margin-left: auto !important;
}
/* === �߼�����Ż� - Premium Design Polish === */

/* --- �����Ű�ϵͳ --- */
body {
  letter-spacing: 0.01em;
}

/* ���⾫�»� */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

/* --- ��Ƭ������� */
.portal-card,
.panel-card,
.result-list,
.latest-card,
.activity-card {
  border: none !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease;
}
.panel-card h1{
  text-align: center;
  font-size: 28px;
}

.portal-card:hover,
.panel-card:hover,
.result-list:hover,
.latest-card:hover,
.activity-card:hover {
  border-color: inherit !important;
  box-shadow:
    0 1px 3px rgba(100, 85, 55, 0.04),
    0 8px 24px rgba(100, 85, 55, 0.1) !important;
}

/* --- ������������ͣЧ�� --- */
.channel-nav a {
  position: relative;
  transition: all 0.2s ease;
}

.channel-nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.2s ease;
}

.channel-nav a:hover::before {
  width: 20px;
}

.channel-nav a.active {
  border-radius: 12px;
}

.channel-nav a.active {
  font-weight: 800;
  box-shadow: 
    0 2px 8px rgba(253, 227, 70, 0.25) !important;
}

/* --- ͼƬ���¿�Ƭ��ͣЧ��������Ӱ�仯�� --- */
.anti-fraud-card img,
.mini-thumb img,
.latest-headline img {
  transition: filter 0.3s ease;
}

.anti-fraud-card:hover img,
.mini-thumb:hover img,
.latest-headline:hover img {
  filter: saturate(1.05);
}

/* --- �����б����»� --- */
.news-lines a,
.compact-news a,
.text-list a {
  transition: color 0.15s ease;
  position: relative;
}

.news-lines a:hover,
.compact-news a:hover,
.text-list a:hover {
  color: var(--brown) !important;
}

/* --- ��ǩ�ƾ�����ͣ�������ţ� --- */
.tag-cloud a,
.item-meta span {
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tag-cloud a:hover {
  box-shadow: 0 2px 8px rgba(253, 227, 70, 0.3);
}

/* --- �������»� --- */
.search-line,
.big-search {
  border: 1px solid var(--warm-line) !important;
  transition: all 0.25s ease;
}

.search-line:focus-within,
.big-search:focus-within {
  border-color: var(--gold) !important;
  box-shadow: 
    0 0 0 3px rgba(253, 227, 70, 0.12) !important;
}

/* --- ��ťͨ�þ��»� --- */
button {
  cursor: pointer;
}

/* --- ����������ž��»� --- */
.text-rank li::before {
  box-shadow: 0 2px 6px rgba(253, 227, 70, 0.2);
  transition: box-shadow 0.2s ease;
}

.text-rank li:hover::before {
  box-shadow: 0 3px 10px rgba(253, 227, 70, 0.35);
}

/* --- �������ǰ׺�߾��»� --- */
.card-title h2::before,
.section-heading h2::before {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(253, 227, 70, 0.3);
}

/* --- ���������»����������ԣ� --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #faf8f0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e8e0ce, #d8cfba);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d8cfba, #c9bea5);
}

/* --- �ָ��߾��»� --- */
hr,
[class*="border-"],
[class*="border--"] {
  border-color: var(--warm-line);
}

/* --- ����ҳ�澫�»� --- */
.article-detail {
  background: rgba(255, 255, 255, 0.95);
}

/* --- ��һƪ/��һƪ��ť���»� --- */
.next-article a {
  transition: all 0.25s ease;
  border: 1px solid var(--warm-line);
}

.next-article a:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--brown);
}

/* --- ����������»� --- */
.search-item {
  transition: background 0.2s ease;
}

.search-item:hover {
  background: transparent;
}

.search-item h2 {
  transition: color 0.2s ease;
}

.search-item:hover h2 {
  color: var(--brown);
}

/* --- ��ɫ���ž��»� --- */
.feature-item {
  transition: background 0.25s ease;
  border-radius: 12px;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
}

.feature-item:hover {
  background: rgba(253, 227, 70, 0.06);
}

/* === Final pagination active style === */
.pagination a.active {
  background: var(--gold-light) !important;
  color: #503610 !important;
  border: none !important;
}


/* === Pagination hover: no border, gold background, brown text === */
.pagination a:hover {
  background: var(--gold-light) !important;
  color: #503610 !important;
  border: none !important;
}


/* === WEB ��ҳ��ʽ��ȷƥ�� === */
.pagination a {
  border: none !important;
  color: #503610 !important;
  background: #fff !important;
}

.pagination a.active,
.pagination a:hover {
  background: #f7d046 !important;
  color: #503610 !important;
}


/* ============================================================
   首页底部资讯栏目 + 产品介绍（PRD 四、首页底部资讯栏目改造）
   作用域：仅 .home-news-floor，不污染首页既有楼层样式
   复用：.content-wrap / .card-title / .compact-news（见上方资讯页样式）
   ============================================================ */
.home-news-floor {
  padding: 40px 0 56px;
  background: url(../Images/bg2.png) no-repeat center top;
}
.home-news-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.home-news-col {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 83, 140, .08);
  padding: 18px 20px 16px;
}
.home-news-col .card-title {
  margin-bottom: 14px;
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 10px;
}
.home-news-col .card-title span {
  font-size: 18px;
  font-weight: 800;
  color: #18213a;
}
.home-news-col .card-title span::before,
.home-product-intro .card-title span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 2px;
  background: #a16921;
}
.home-news-col .more {
  color: #a16921;
  font-size: 14px;
}
.home-news-col .more i {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 5px solid #a16921;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  vertical-align: 1px;
}
.home-news-col .more:hover {
  opacity: .8;
}

/* 产品介绍：4 段固定文案写死（PRD 4.4），无链接无埋点 */
.home-product-intro {
  margin-top: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 83, 140, .08);
  padding: 20px 24px 24px;
}
.home-product-intro .card-title {
  margin-bottom: 14px;
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 10px;
}
.home-product-intro .card-title h2 {
  font-size: 18px;
  font-weight: 800;
  color: #18213a;
}
.home-product-intro p {
  margin: 0 0 12px;
  color: #4a5468;
  font-size: 15px;
  line-height: 1.9;
}
.home-product-intro p:last-child {
  margin-bottom: 0;
}
.home-product-intro .intro-lead {
  color: #a16921;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

/* 响应式：窄屏两列变单列 */
@media (max-width: 980px) {
  .home-news-wrap {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   搜索结果页：空状态 + 分页器禁用态（PRD 2.7 边界）
   ============================================================ */
.search-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
  text-align: center;
}
.search-empty.show {
  display: flex;
}
.search-empty .empty-icon {
  font-size: 44px;
  line-height: 1;
}
.search-empty .empty-text {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}
.search-empty .empty-text em {
  color: var(--brown, #a16921);
  font-style: normal;
  font-weight: 700;
}
.search-empty .empty-action {
  margin-top: 4px;
  padding: 8px 22px;
  border: 0;
  border-radius: 22px;
  background: var(--gold-light, #fde346);
  color: #503610;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.search-empty .empty-action:hover {
  background: var(--gold, #e2b82b);
}
/* 分页器「上一页」边界禁用态 */
.pagination a.disabled {
  pointer-events: none;
  opacity: 0.45;
}

/* --- 热门活动卡片：整卡可点击 + 副标题 2 行省略 --- */
.activity-card > a {
  display: block;
  color: inherit;
}
.activity-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 云手机资讯副标题：单行省略 --- */
.feature-item > div {
  min-width: 0;
}
.feature-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- 资讯列表项副标题：单行省略 --- */
.search-item > div {
  min-width: 0;
}
.search-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
