:root {
  --primary: #2557c7;
  --primary-dark: #1f3368;
  --primary-soft: #e9f0ff;
  --accent: #00a6a6;
  --accent-soft: #e7fbfb;
  --warn: #e04b32;
  --bg: #f4f7fb;
  --bg-white: #ffffff;
  --text: #1f2937;
  --text-light: #667085;
  --text-lighter: #98a2b3;
  --border: #d8e0ed;
  --border-light: #eef2f7;
  --nav-bg: #29324f;
  --footer-bg: #252b44;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 8px 22px rgba(32, 49, 92, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
a:hover { color: var(--primary); }
button, input, textarea, select { font: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar {
  height: 34px;
  overflow: hidden;
  background: #222941;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  gap: 18px;
}

.top-bar-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.top-date { flex-shrink: 0; color: #b8c2d8; }
.news-ticker { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.ticker-label { flex-shrink: 0; padding: 1px 8px; border-radius: 3px; color: #fff; background: var(--warn); font-weight: 700; }
.ticker-wrap { position: relative; min-width: 0; flex: 1; overflow: hidden; }
.ticker-content { display: flex; width: max-content; white-space: nowrap; animation: ticker 36s linear infinite; }
.ticker-content a { margin-right: 42px; color: #d7ddec; }
.ticker-content a:hover { color: #fff; }
.top-bar-right a { color: #c8d0e1; }
.top-bar-right a:hover { color: #fff; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: 0 2px 10px rgba(24, 31, 53, 0.2);
}

.site-header.scrolled { box-shadow: 0 8px 20px rgba(24, 31, 53, 0.24); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  color: #fff;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2b63dd, #00a6a6);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-text { color: #fff; font-size: 18px; font-weight: 800; white-space: nowrap; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 4px;
  color: #e4e9f6;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active { background: rgba(255, 255, 255, 0.12); color: #fff; }

.header-search { flex-shrink: 0; }
.search-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.search-form:focus-within { border-color: rgba(255, 255, 255, 0.46); }
.search-form input {
  width: 168px;
  padding: 7px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}
.search-form input::placeholder { color: #b9c2d7; }
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #d7ddec;
  cursor: pointer;
}
.search-form button:hover { color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Showcase */
.hero-showcase {
  padding: 18px 0 20px;
  background: linear-gradient(180deg, #dbe7ff 0%, #f7f9fd 100%);
}

.hero-showcase-inner {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(31, 51, 104, 0.16);
}

.hero-showcase-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 26, 52, 0.84), rgba(16, 26, 52, 0.44) 44%, rgba(16, 26, 52, 0.06));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 42px 48px;
  color: #fff;
}

.hero-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #bdf6ff;
  font-size: 12px;
  font-weight: 800;
}

.hero-copy h1 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.24;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.72;
}

/* Portal Home */
.portal-board {
  position: relative;
  padding: 10px 0 22px;
  background:
    linear-gradient(90deg, rgba(219, 231, 255, 0.62), transparent 22%, transparent 78%, rgba(219, 231, 255, 0.62)),
    #fff;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.portal-heading {
  position: relative;
  margin-bottom: 12px;
  min-height: 44px;
}

.portal-heading span {
  display: block;
  color: #d9e0ef;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.portal-heading h2 {
  margin-top: 2px;
  color: #111827;
  font-size: 16px;
  line-height: 1.25;
}

.portal-heading.light span { color: rgba(255, 255, 255, 0.22); }
.portal-heading.light h2 { color: #fff; }

.feature-card,
.team-card,
.profile-card,
.article-card-row,
.article-card-featured,
.article-card-mini,
.sidebar-widget,
.article-detail,
.about-card {
  border-radius: var(--radius);
}

.feature-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dbe7ff; }
.feature-body { padding: 14px 15px 16px; }
.feature-body span { color: var(--accent); font-size: 12px; font-weight: 800; }
.feature-body h3 {
  margin: 6px 0 8px;
  font-size: 17px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.feature-body p {
  color: var(--text-light);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-list,
.news-block {
  min-width: 0;
  padding: 0;
}

.headline-list { list-style: none; }
.headline-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.headline-list li::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.headline-list a {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-left: 14px;
  color: #253046;
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.headline-list a:hover { color: var(--primary); }
.headline-list time { color: var(--text-lighter); font-size: 12px; white-space: nowrap; }
.headline-list.tight li { padding: 7px 0; }

.portal-side {
  min-width: 0;
  padding: 0 0 8px;
  background: linear-gradient(180deg, rgba(233, 240, 255, 0.78), rgba(255, 255, 255, 0));
}

.team-stack { display: grid; gap: 12px; margin-bottom: 16px; }
.team-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow);
}
.team-card img {
  width: 72px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.team-card span {
  color: #253046;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.showcase-stack { display: grid; gap: 10px; }
.side-showcase {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 86px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.side-showcase img {
  grid-row: span 2;
  width: 86px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.side-showcase span {
  align-self: end;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}
.side-showcase strong {
  align-self: start;
  color: #253046;
  font-size: 13px;
  line-height: 1.35;
}

.portal-columns {
  padding: 18px 0 10px;
  background: #fff;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 42px;
}

.profile-band {
  padding: 28px 0 34px;
  background:
    linear-gradient(90deg, rgba(0, 166, 166, 0.22), transparent 35%, rgba(224, 75, 50, 0.12)),
    #3656d6;
}

.band-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #fff;
}
.band-heading span { color: rgba(255, 255, 255, 0.28); font-size: 18px; font-weight: 900; line-height: 1; }
.band-heading h2 { margin-top: 2px; font-size: 18px; }
.band-heading a { color: rgba(255, 255, 255, 0.82); font-size: 12px; }
.band-heading a:hover { color: #fff; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 35, 91, 0.24);
}
.profile-card a { display: block; color: inherit; }
.profile-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dbe7ff; }
.profile-card div { padding: 12px; }
.profile-card h3 {
  min-height: 42px;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile-card time { display: block; margin-top: 10px; color: var(--text-lighter); font-size: 12px; text-align: right; }

.forum-live {
  padding: 18px 0 12px;
  background: #fff;
}
.forum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}
.feature-strip-section {
  padding: 18px 0;
  background: #fff;
}
.feature-strip {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #f8fbff;
  box-shadow: var(--shadow);
}
.feature-strip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-strip img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.feature-strip div { padding: 18px 24px 18px 0; }
.feature-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}
.feature-strip h2 {
  margin-bottom: 8px;
  color: #111827;
  font-size: 21px;
  line-height: 1.35;
}
.feature-strip p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.72;
}
.feature-strip.compact { background: #f9fbff; }

.brand-display-section {
  padding: 18px 0;
  background: #fff;
}

.brand-display {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 34px rgba(31, 51, 104, 0.14);
}

.brand-display::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 28, 56, 0.84), rgba(18, 28, 56, 0.46) 48%, rgba(18, 28, 56, 0.08));
}

.brand-display div {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 34px 40px;
  color: #fff;
}

.brand-display span {
  display: block;
  margin-bottom: 8px;
  color: #bdf6ff;
  font-size: 12px;
  font-weight: 900;
}

.brand-display h2 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.32;
}

.brand-display p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.75;
}

.topic-strip-section {
  padding: 14px 0 22px;
  background: #fff;
}
.topic-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.topic-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7fbff, #e9f0ff);
  color: #253046;
}
.topic-pill:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.topic-pill strong {
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
}

.periodical-band {
  padding: 34px 0 38px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 55%),
    #3156d8;
}

.periodical-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.periodical-cover {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: #fff;
}
.periodical-cover img {
  width: 84px;
  height: 116px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}
.periodical-cover span { font-size: 13px; line-height: 1.5; }

.association-panel {
  padding: 18px 20px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 37, 91, 0.16);
}

.association-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.association-links span {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #253046;
  text-align: center;
  font-size: 13px;
}

/* Category Bar */
.categories-bar {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.cat-list { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; }
.cat-item {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 18px;
  background: var(--border-light);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
}
.cat-item:hover, .cat-item.active { background: var(--primary); color: #fff; }

/* Shared Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 48px;
}
.content-left { min-width: 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title {
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.section-count, .section-desc { color: var(--text-light); font-size: 13px; }
.section-more { color: var(--primary); font-size: 13px; font-weight: 700; }

/* Article Cards */
.article-list { display: grid; gap: 18px; }
.article-card-featured,
.article-card-row,
.article-card-mini {
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow);
}
.article-card-featured:hover,
.article-card-row:hover,
.article-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.article-card-featured a,
.article-card-row a,
.article-card-mini a {
  display: block;
  color: inherit;
}

.card-cover-lg,
.card-cover-sm,
.card-cover-mini,
.related-cover {
  background: linear-gradient(135deg, #dce8ff, #d9fbfb);
  background-size: cover;
  background-position: center;
}
.card-cover-lg { height: 240px; }
.card-cover-sm { width: 190px; min-height: 132px; flex-shrink: 0; }
.card-cover-mini { height: 116px; }
.placeholder-bg { display: none; }

.article-card-row a { display: flex; }
.card-info-lg { padding: 18px 22px; }
.card-info { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; padding: 14px 18px; }
.card-info-mini { padding: 12px; }
.card-cat { color: var(--accent); font-size: 12px; font-weight: 800; }
.card-info-lg h3,
.card-info h3,
.card-info-mini h4 {
  margin: 6px 0 8px;
  color: #182033;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.card-info-lg h3 { font-size: 18px; }
.card-info h3 { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-info-mini h4 { font-size: 14px; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-summary {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-lighter);
  font-size: 12px;
}
.card-views { display: inline-flex; align-items: center; gap: 4px; }

/* Sidebar */
.sidebar { display: grid; align-content: start; gap: 22px; }
.sidebar-widget {
  padding: 18px;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow);
}
.widget-title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  color: #111827;
  font-size: 16px;
}
.hot-list { display: grid; }
.hot-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.hot-item:last-child { border-bottom: 0; }
.hot-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #edf2fb;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 800;
}
.hot-rank.top { background: var(--warn); color: #fff; }
.hot-info { min-width: 0; }
.hot-title {
  display: -webkit-box;
  color: #253046;
  font-size: 13px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-views { display: block; margin-top: 4px; color: var(--text-lighter); font-size: 11px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  padding: 4px 11px;
  border-radius: 14px;
  background: var(--border-light);
  color: var(--text-light);
  font-size: 12px;
}
.tag-item:hover, .tag-item.active { background: var(--primary-soft); color: var(--primary); }
.widget-qrcode { text-align: center; }
.qrcode-info p { margin-bottom: 4px; color: var(--text-light); font-size: 13px; }
.qrcode-name { color: var(--text) !important; font-size: 15px !important; font-weight: 800; }
.qrcode-desc { color: var(--text-lighter) !important; font-size: 12px !important; }

/* Category Sections */
.category-sections {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.cat-section { margin-bottom: 32px; }
.cat-section:last-child { margin-bottom: 0; }
.cat-article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}
.page-btn, .page-num {
  min-width: 36px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.page-btn:hover, .page-num:hover { border-color: var(--primary); color: var(--primary); }
.page-num.active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* Breadcrumb */
.breadcrumb {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  color: var(--text-light);
  font-size: 13px;
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; min-width: 0; }
.breadcrumb .current { min-width: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb .sep { color: var(--text-lighter); }

/* Article Detail */
.article-page { padding-bottom: 48px; }
.article-detail {
  padding: 30px;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow);
}
.article-header { margin-bottom: 22px; }
.article-cat {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.article-header h1 {
  margin-bottom: 12px;
  color: #111827;
  font-size: 26px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-light);
  font-size: 13px;
}
.meta-sep { color: var(--border); }
.meta-views, .meta-tags { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.meta-tag {
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--border-light);
  color: var(--text-light);
  font-size: 12px;
}
.article-cover { margin-bottom: 22px; overflow: hidden; border-radius: var(--radius); }
.article-cover img { width: 100%; height: auto; }
.article-content {
  color: #344054;
  font-size: 16px;
  line-height: 1.85;
}
.article-content h2, .article-content h3 { margin: 28px 0 14px; color: #111827; }
.article-content h2 { font-size: 22px; }
.article-content h3 { font-size: 18px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 12px 0 12px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content img { max-width: 100%; margin: 16px 0; border-radius: var(--radius); }
.article-content blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--border-light);
}
.article-content pre {
  margin: 16px 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: #20263a;
  color: #edf2ff;
}
.article-content code { padding: 2px 6px; border-radius: 4px; background: var(--border-light); font-size: 14px; }
.article-content pre code { padding: 0; background: none; }
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.share-label { color: var(--text-light); font-size: 14px; }
.share-btn {
  padding: 6px 13px;
  border-radius: 16px;
  background: var(--border-light);
  color: var(--text-light);
  font-size: 12px;
}
.share-btn:hover, .share-btn.copied { background: var(--primary-soft); color: var(--primary); }
.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.nav-prev, .nav-next {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.nav-next { text-align: right; }
.nav-prev:hover, .nav-next:hover { border-color: var(--primary); background: var(--primary-soft); }
.nav-label { display: block; margin-bottom: 4px; color: var(--text-lighter); font-size: 12px; }
.nav-title {
  display: -webkit-box;
  color: #253046;
  font-size: 14px;
  font-weight: 700;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nav-prev.disabled, .nav-next.disabled { opacity: 0.48; pointer-events: none; }
.related-section { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.related-section h3 { margin-bottom: 14px; color: #111827; font-size: 18px; }
.related-grid { display: grid; gap: 12px; }
.related-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.related-item:hover { border-color: var(--primary); background: var(--primary-soft); }
.related-cover { width: 84px; height: 60px; border-radius: var(--radius-sm); }
.related-info { min-width: 0; }
.related-title {
  display: -webkit-box;
  color: #253046;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-info time { display: block; margin-top: 4px; color: var(--text-lighter); font-size: 12px; }

/* Search and About */
.search-header { margin-bottom: 22px; }
.search-header h1 { margin-bottom: 6px; color: #111827; font-size: 22px; }
.search-keyword { color: var(--primary); }
.search-count, .empty-hint { color: var(--text-light); font-size: 14px; }
.empty-state { padding: 56px 20px; color: var(--text-light); text-align: center; font-size: 16px; }
.error-page { padding: 80px 20px; text-align: center; }
.about-page { padding: 38px 0 58px; }
.about-hero { margin-bottom: 34px; text-align: center; }
.about-hero h1 { margin-bottom: 8px; color: #111827; font-size: 32px; }
.about-subtitle { color: var(--text-light); font-size: 17px; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-section { margin-bottom: 34px; }
.about-section h2 {
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
  color: var(--primary);
  font-size: 20px;
}
.about-section p { margin-bottom: 8px; color: var(--text-light); font-size: 15px; line-height: 1.8; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.about-card {
  padding: 22px;
  border: 1px solid var(--border);
  background: #fff;
}
.about-card:hover { box-shadow: var(--shadow-md); }
.about-card h3 { margin-bottom: 8px; color: #111827; font-size: 16px; }
.about-card p { margin-bottom: 0; font-size: 13px; }

/* Registration */
.register-page {
  padding: 42px 0 60px;
  background:
    linear-gradient(135deg, rgba(233, 240, 255, 0.92), rgba(231, 251, 251, 0.78)),
    #f7f9fd;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.register-intro {
  padding: 32px;
  border-radius: var(--radius);
  background: #253046;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.register-intro > span,
.live-copy span {
  display: block;
  margin-bottom: 10px;
  color: #9ee8ff;
  font-size: 12px;
  font-weight: 900;
}

.register-intro h1,
.live-copy h1 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.25;
}

.register-intro p,
.live-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.8;
}

.register-points {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.register-points strong { display: block; margin-bottom: 10px; font-size: 14px; }
.register-points ul { margin-left: 18px; color: rgba(255, 255, 255, 0.76); }
.register-points li { margin-bottom: 8px; }

.register-card {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.register-header {
  margin-bottom: 20px;
}

.register-header h2 {
  margin-bottom: 4px;
  color: #111827;
  font-size: 22px;
}

.register-header p {
  color: var(--text-light);
  font-size: 13px;
}

.portal-form {
  display: grid;
  gap: 16px;
}

.portal-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.portal-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  outline: 0;
}

.portal-form input,
.portal-form select {
  height: 42px;
  padding: 0 12px;
}

.portal-form textarea {
  padding: 10px 12px;
  resize: vertical;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 87, 199, 0.12);
}

.portal-submit,
.primary-link,
.live-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.portal-submit:hover,
.primary-link:hover,
.live-register:hover {
  background: var(--primary-dark);
  color: #fff;
}

.form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.form-alert.success {
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
}

.form-alert.error {
  border: 1px solid #fecdca;
  background: #fef3f2;
  color: #b42318;
}

/* Live */
.live-page {
  padding: 38px 0 58px;
  background: #f7f9fd;
}

.live-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 166, 166, 0.22), transparent 42%),
    #253046;
  color: #fff;
}

.live-copy { max-width: 680px; }
.live-player-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  margin-bottom: 32px;
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.live-player {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #101a34;
}

.live-player iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.live-placeholder {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.live-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 52, 0.1), rgba(16, 26, 52, 0.82));
}

.live-placeholder div {
  position: relative;
  z-index: 1;
  padding: 28px;
  color: #fff;
}

.live-placeholder span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #bdf6ff;
  font-size: 12px;
  font-weight: 900;
}

.live-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.35;
}

.live-placeholder p { color: rgba(255, 255, 255, 0.78); }
.live-info { padding: 10px 8px; }
.live-info h2 {
  margin: 12px 0 10px;
  color: #111827;
  font-size: 24px;
  line-height: 1.35;
}
.live-info p {
  color: var(--text-light);
  line-height: 1.75;
}
.live-info dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.live-info dl div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
}
.live-info dt { color: var(--text-lighter); font-size: 13px; }
.live-info dd { color: #253046; font-weight: 700; }

.live-status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}
.live-status.live { background: #fef3f2; color: #b42318; }
.live-status.upcoming { background: #fff7e6; color: #b54708; }
.live-status.replay { background: #ecfdf3; color: #067647; }

.live-replay-section { margin-top: 12px; }
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.live-card {
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.live-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.live-card div { padding: 14px; }
.live-card h3 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 16px;
  line-height: 1.42;
}
.live-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.live-card time {
  display: block;
  margin-top: 12px;
  color: var(--text-lighter);
  font-size: 12px;
}

/* Footer */
.site-footer {
  padding: 44px 0 22px;
  background: var(--footer-bg);
  color: #aeb8cf;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 34px;
  margin-bottom: 30px;
}
.footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-logo .logo-text { font-size: 16px; }
.footer-desc { font-size: 13px; line-height: 1.75; }
.footer-links h4, .footer-contact h4 { margin-bottom: 12px; color: #fff; font-size: 14px; }
.footer-links a { display: block; margin-bottom: 8px; color: #aeb8cf; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin-bottom: 6px; font-size: 13px; }
.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9aa5bd;
  text-align: center;
}
.footer-bottom p { margin-bottom: 4px; font-size: 12px; }
.footer-slogan { color: #7e8aa6; }
.icp-placeholder { margin-left: 8px; color: #c3cad9; }

@media (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .main-nav a { padding: 6px 8px; font-size: 12px; }
  .search-form input { width: 136px; }
  .portal-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .portal-side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .showcase-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .top-bar { display: none; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 58px; }
  .main-nav,
  .header-search {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 58px;
    padding: 12px 20px;
    background: var(--nav-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .header-search.open { display: block; top: auto; }
  .search-form input { width: 100%; }
  .portal-grid,
  .column-grid,
  .forum-grid,
  .periodical-layout,
  .register-layout,
  .live-player-card,
  .content-layout {
    grid-template-columns: 1fr;
  }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .association-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .logo-text { font-size: 16px; }
  .main-nav.open { grid-template-columns: 1fr; }
  .hero-showcase-inner { min-height: 220px; }
  .hero-copy { padding: 30px 26px; }
  .hero-copy h1 { font-size: 24px; }
  .portal-board { padding-top: 0; }
  .portal-grid { gap: 18px; }
  .portal-side { grid-template-columns: 1fr; }
  .showcase-stack { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip img { height: 150px; }
  .feature-strip div { padding: 16px; }
  .brand-display { min-height: 190px; }
  .brand-display div { padding: 26px; }
  .brand-display h2 { font-size: 22px; }
  .register-card,
  .register-intro,
  .live-hero { padding: 22px; }
  .portal-form .form-row,
  .live-grid { grid-template-columns: 1fr; }
  .live-hero { align-items: flex-start; flex-direction: column; }
  .live-player,
  .live-placeholder,
  .live-player iframe { min-height: 260px; }
  .headline-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .headline-list time { padding-left: 14px; }
  .headline-list a { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .profile-grid,
  .topic-strip-grid,
  .association-links,
  .cat-article-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .periodical-cover { grid-template-columns: 74px minmax(0, 1fr); }
  .periodical-cover img { width: 74px; height: 102px; }
  .content-layout { gap: 20px; padding-top: 22px; }
  .article-card-row a { flex-direction: column; }
  .card-cover-sm { width: 100%; min-height: 168px; }
  .article-detail { padding: 20px; }
  .article-header h1 { font-size: 21px; }
  .article-nav { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }
  .footer-grid { gap: 22px; }
}
