:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --card: #0f1110;
  --elevated: #161a19;
  --text: #e8eeec;
  --muted: #8a9a94;
  --border: #1a1a1a;
  --ink: #ffffff;
  --primary: #19b89a;
  --primary-dark: #12987f;
  --accent: #2e9ec9;
  --amber: #f0a020;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

.top-header {
  background: rgba(10, 10, 10, .85);
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}
.logo-icon { width: 32px; height: 32px; }
.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; }
.site-nav a {
  font-size: 14px;
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, #2e4a66, #1a2d45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.top-search { display: flex; align-items: center; gap: 6px; flex: none; }
.top-search input {
  width: 180px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 17px;
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.top-search input::placeholder { color: var(--muted); }
.top-search input:focus { border-color: rgba(25, 184, 154, .5); box-shadow: 0 0 0 3px rgba(25, 184, 154, .12); }
.top-search button {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #071210; cursor: pointer; font-size: 14px;
}
.top-search button:hover { filter: brightness(1.1); }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .top-search { margin-left: auto; }
}

.main-wrap { padding-top: 0; padding-bottom: 46px; flex: 1 0 auto; width: 100%; }

.hero {
  padding: 18px 0 22px;
  color: #fff;
}
.hero-box {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%),
    url('/assets/images/hero-bg.jpg') center/cover no-repeat #0a0a0a;
  box-shadow: var(--shadow);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 56px 46px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--primary);
  border: 1px solid rgba(25, 184, 154, .4);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 18px;
  background: rgba(25, 184, 154, .08);
}
.hero-tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: .5px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, #4fd1c5, #63b3ed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { font-size: 15px; color: rgba(255,255,255,.75); margin: 0 0 28px; max-width: 520px; line-height: 1.7; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.hero-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.hero-cta::after { content: '→'; font-size: 14px; }
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 46px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: .2s;
}
.hero-dots span.active { background: var(--primary); box-shadow: 0 0 8px var(--primary); }

@media (max-width: 640px) {
  .hero-box { min-height: 340px; border-radius: 16px; }
  .hero-inner { padding: 38px 24px; }
  .hero h1 { font-size: 28px; }
  .hero-dots { left: 24px; }
}

.section { padding: 40px 0 6px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-title { font-size: 22px; font-weight: 700; margin: 0; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.section-icon { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(240, 160, 32, .35)); }
.title-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid rgba(25, 184, 154, .35);
  border-radius: 20px;
  padding: 2px 10px;
  background: rgba(25, 184, 154, .08);
}
.section-desc { margin: 8px 0 0; font-size: 13px; color: var(--muted); max-width: 760px; }
.section-more { flex: none; font-size: 13px; color: var(--primary); }
.section-more:hover { text-decoration: underline; }

.movie-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1100px) { .movie-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 640px) { .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.movie-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(25, 184, 154, .3);
}
.movie-poster {
  display: block;
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0b4a63, #1d3a4f);
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.movie-card:hover .movie-poster img { transform: scale(1.06); }
.movie-badge {
  position: absolute;
  top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 4px 9px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
/* right badge = rank/top tag */
.movie-badge:nth-of-type(1) {
  right: 10px;
  left: auto;
  background: rgba(239, 68, 68, .85);
}
/* left badge = quality label */
.movie-badge:nth-of-type(2) {
  left: 10px;
  background: rgba(25, 184, 154, .85);
}
.movie-info { padding: 15px 15px 18px; }
.movie-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.movie-meta span { display: inline-flex; align-items: center; gap: 5px; }
.movie-meta span::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  background-size: contain;
  opacity: .75;
}
.movie-meta span:first-child::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a9a94'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z'/%3E%3C/svg%3E") no-repeat center;
}
.movie-meta span:last-child::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a9a94'%3E%3Cpath d='M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C6.33 7 7 6.33 7 5.5S6.33 4 5.5 4 4 4.67 4 5.5 4.67 7 5.5 7z'/%3E%3C/svg%3E") no-repeat center;
}
.movie-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #071210;
  background: linear-gradient(135deg, #4fd1c5, #63b3ed);
  transition: filter .2s, transform .2s;
}
.movie-btn::before { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23071210'%3E%3Cpath d='M7 4.6v6.9a5 5 0 0 0 10 0V4.6M7 4.4h3.4v3.4H7zm6.6 0H17v3.4h-3.4z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.movie-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }

.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(25, 184, 154, .35);
}
.cat-icon { font-size: 28px; line-height: 1; display: block; margin-bottom: 10px; }
.cat-card b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.cat-card span { font-size: 12px; color: var(--primary); }
.cat-desc { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }

.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .res-grid { grid-template-columns: minmax(0, 1fr); } }
.res-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  display: block;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.res-card:hover { border-color: rgba(25, 184, 154, .4); box-shadow: var(--shadow); transform: translateY(-2px); }
.res-card b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.res-card span { font-size: 12px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-card i { font-style: normal; font-size: 12px; color: var(--amber); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.faq-item h3 { font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.faq-item h3 a:hover { color: var(--primary); }
.faq-item p { font-size: 13px; color: var(--muted); margin: 0; }

.board { background: var(--card); border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); padding: 6px 20px 16px; }
.board-item { padding: 14px 0; border-bottom: 1px dashed var(--border); }
.board-item:last-child { border-bottom: 0; }
.board-item b { font-size: 14px; color: var(--primary); margin-right: 8px; }
.board-item p { margin: 4px 0 0; font-size: 13px; color: var(--text); }
.board-item time { font-size: 12px; color: var(--muted); margin-left: 8px; }

.nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
}
@media (max-width: 900px) { .nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nav-grid { grid-template-columns: minmax(0, 1fr); } }
.nav-group { min-width: 0; }
.group-title { display: flex; align-items: baseline; margin: 0 0 10px; font-size: 13px; }
.group-title .gt-main { color: var(--ink); font-weight: 600; }
.group-title .gt-main::after { content: '·'; margin: 0 6px; color: var(--muted); }
.group-title .gt-sub { color: var(--muted); }
.group-title .gt-more { margin-left: auto; font-size: 12px; color: var(--muted); }
.group-title .gt-more:hover { color: var(--primary); }
.group-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.group-links li { min-width: 0; padding: 0 3px; }
.group-links a {
  display: block;
  background: var(--elevated);
  margin-bottom: 10px;
  padding: 0 8px;
  line-height: 40px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.group-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #071210;
  font-weight: 600;
}

.footer {
  background: var(--surface);
  color: var(--muted);
  padding: 34px 0 26px;
  margin-top: 40px;
  width: 100%;
  border-top: 1px solid var(--border);
}
.footer-inner { font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.footer-nav a { color: var(--text); }
.footer-nav a:hover { color: var(--primary); }
.footer p { margin: 5px 0; }
.footer .f-name { color: var(--ink); font-weight: 600; }

.articles-page { padding-top: 24px; }
.page-title { font-size: 24px; font-weight: 700; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.title-bar {
  display: inline-block;
  width: 4px; height: 22px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.articles-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
@media (max-width: 760px) { .articles-wrap { grid-template-columns: 1fr; } }

.article-nav {
  background: var(--card); border-radius: 12px; padding: 16px;
  box-shadow: var(--shadow); position: sticky; top: 78px;
  border: 1px solid var(--border);
}
.article-nav h3 { font-size: 15px; margin: 14px 0 8px; color: var(--ink); }
.article-nav h3:first-child { margin-top: 0; }
.article-nav-list { list-style: none; margin: 0; padding: 0; }
.article-nav-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.article-nav-list li:last-child { border-bottom: none; }
.article-nav-list a { color: var(--text); display: block; }
.article-nav-list a:hover { color: var(--primary); }
.article-nav .muted { color: var(--muted); font-size: 12px; }

.articles-main { min-width: 0; }
.page-intro { font-size: 13px; color: var(--muted); margin: -6px 0 14px; }

.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-card {
  background: var(--card); border-radius: 12px; padding: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); }
.article-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.article-meta { font-size: 12px; color: var(--muted); }
.meta-cat { color: var(--primary); }
.meta-cat:hover { text-decoration: underline; }
.card-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 22px; }
.pagination a, .pagination span {
  display: inline-block; min-width: 34px; padding: 6px 10px; text-align: center;
  border-radius: 6px; font-size: 14px; background: var(--card); border: 1px solid var(--border); color: var(--text);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #071210; border-color: transparent; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-style: normal; color: var(--border); }
.breadcrumb span { color: var(--text); }

.tag-link {
  display: inline-block; font-size: 12px; color: var(--text);
  background: var(--elevated); border-radius: 12px; padding: 3px 10px;
  margin: 0 6px 6px 0; transition: background .2s, color .2s;
}
.tag-link:hover { background: rgba(25, 184, 154, .15); color: var(--primary); }
.tag-cloud { display: flex; flex-wrap: wrap; margin-top: 8px; }

.article-detail {
  background: var(--card); border-radius: 12px; padding: 26px 28px;
  box-shadow: var(--shadow); min-width: 0; word-break: break-word;
  border: 1px solid var(--border);
}
.article-head { padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.article-head h1 { font-size: 24px; line-height: 1.45; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.article-detail .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.article-detail .article-meta .meta-cat { background: rgba(25, 184, 154, .12); color: var(--primary); border-radius: 4px; padding: 2px 9px; font-size: 12px; }

.article-summary {
  background: var(--elevated); border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0; padding: 12px 16px; margin: 0 0 20px;
  font-size: 14px; line-height: 1.8; color: var(--text);
}

.article-content { font-size: 15px; line-height: 1.9; color: var(--text); word-break: break-word; }
.article-content > *:first-child { margin-top: 0; }
.article-content > *:last-child { margin-bottom: 0; }
.article-content p { margin: 0 0 14px; }
.article-content h1,
.article-content h2 {
  font-size: 19px; font-weight: 600; line-height: 1.5; margin: 26px 0 12px;
  padding-left: 11px; border-left: 4px solid var(--primary); color: var(--ink);
}
.article-content h3 { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 22px 0 10px; color: var(--ink); }
.article-content h4 { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 18px 0 8px; }
.article-content ul,
.article-content ol { margin: 0 0 14px; padding-left: 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; }
.article-content li > ul,
.article-content li > ol { margin: 6px 0 0; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--accent); }
.article-content strong,
.article-content b { font-weight: 700; color: var(--ink); }
.article-content blockquote {
  margin: 0 0 14px; padding: 10px 16px;
  background: var(--elevated); border-left: 3px solid var(--border);
  border-radius: 0 6px 6px 0; color: var(--muted);
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 6px auto; }
.article-content iframe,
.article-content video { max-width: 100%; border-radius: 8px; }
.article-content hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.article-content code {
  background: var(--elevated); border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 5px; font-family: Consolas, Menlo, monospace; font-size: .92em; color: var(--amber);
}
.article-content pre {
  background: #071210; color: var(--text); border-radius: 8px; padding: 14px 16px;
  margin: 0 0 14px; font-size: 13px; line-height: 1.7; overflow-x: auto;
  border: 1px solid var(--border);
}
.article-content pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.article-content th,
.article-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.article-content th { background: var(--elevated); font-weight: 600; }

.article-tags { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.article-tags .tags-label { font-size: 13px; color: var(--muted); margin-right: 8px; }
.article-tag {
  display: inline-block; background: var(--elevated); border: 1px solid var(--border);
  color: var(--text); border-radius: 14px; padding: 2px 12px;
  font-size: 12px; margin: 0 8px 8px 0;
}
.article-foot { margin-top: 20px; }
.back-link { display: inline-block; color: var(--primary); font-size: 14px; }
.back-link:hover { text-decoration: underline; }

.related-news { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 16px; }
.related-news h2 { font-size: 16px; margin: 0 0 10px; color: var(--ink); }
.related-news ul { list-style: none; margin: 0; padding: 0; }
.related-news li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px;
}
.related-news li:last-child { border-bottom: none; }
.related-news a:hover { color: var(--primary); }
.related-news .muted { flex: none; color: var(--muted); }

.search-box { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.search-box input[type="text"] {
  flex: 1 1 240px; min-width: 0; height: 42px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 8px; font-size: 15px; outline: none; background: var(--card); color: var(--text);
}
.search-box button {
  height: 42px; padding: 0 22px; border: 0; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #071210; font-size: 15px; cursor: pointer;
}
.search-box button:hover { filter: brightness(1.08); }
.search-box input:focus { border-color: rgba(25, 184, 154, .5); box-shadow: 0 0 0 3px rgba(25, 184, 154, .12); }

.empty-tip { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-tip .back-link { display: inline-block; margin-top: 12px; }

.category-page,
.search-page { padding-top: 18px; padding-bottom: 30px; }

@media (max-width: 760px) {
  .article-detail { padding: 18px 16px; }
  .article-head h1 { font-size: 20px; }
  .article-content { font-size: 14px; line-height: 1.85; }
  .article-content h1,
  .article-content h2 { font-size: 17px; }
  .article-content h3 { font-size: 16px; }
}
