/* 个人博客 H5/PC - 清新简洁 */
:root {
  --primary: #0D9488;
  --primary-bg: #F0FDFA;
  --text: #1E293B;
  --text-secondary: #64748B;
  --border: #E2E8F0;
  --card-bg: #FFFFFF;
  --max-width: 720px;
  --pc-nav-teal-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  --pc-nav-teal-glass: linear-gradient(135deg, rgba(13, 148, 136, 0.48), rgba(15, 118, 110, 0.44));
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: #F8FAFC; min-height: 100vh; }
.layout { max-width: var(--max-width); margin: 0 auto; padding: 24px 16px 48px; }
.carousel { position: relative; width: 100%; margin-bottom: 24px; border-radius: 12px; overflow: hidden; background: #F1F5F9; aspect-ratio: 2/1; max-height: 280px; }
.carousel-inner { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease; }
.carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; display: block; text-decoration: none; color: inherit; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,0.5)); color: #fff; font-size: 1rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; z-index: 2; }
.carousel-dot { display: inline-block; width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; }
.carousel-dot.active { background: #fff; }
.header { background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%); color: #fff; padding: 32px 16px 40px; text-align: center; margin-bottom: 24px; }
.header h1 { margin: 0; font-size: 1.5rem; font-weight: 600; }
.header p { margin: 8px 0 0; opacity: 0.9; font-size: 0.9rem; }
.header a { color: #fff; text-decoration: none; }
.nav { margin-bottom: 24px; }
.nav a { display: inline-block; margin-right: 16px; color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--primary); }

/* PC 内页顶栏（非首页）：青绿横条 + 品牌 / 导航 / 搜索 */
body.pc-inner { min-width: 0; }
.pc-inner-header { background: var(--pc-nav-teal-gradient); color: #fff; margin-bottom: 24px; box-shadow: 0 4px 22px rgba(13, 118, 110, 0.35); }
.pc-inner-header-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.pc-inner-brand { flex: 0 1 auto; min-width: 140px; }
.pc-inner-title { display: block; font-size: 26px; font-weight: 800; color: #fff; text-decoration: none; line-height: 1.15; letter-spacing: 0.5px; }
.pc-inner-title:hover { color: #fff; opacity: 0.95; }
.pc-inner-tagline { margin: 6px 0 0; font-size: 12px; font-weight: 400; opacity: 0.92; letter-spacing: 0.2px; line-height: 1.4; }
.pc-inner-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 26px; flex: 1 1 280px; }
.pc-inner-nav a { color: rgba(255,255,255,0.98); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color 0.15s ease, opacity 0.15s ease; white-space: nowrap; }
.pc-inner-nav a:hover { opacity: 0.92; border-bottom-color: rgba(255,255,255,0.45); }
.pc-inner-nav a.active { font-weight: 700; border-bottom-color: #fff; }
.pc-inner-search { display: flex; align-items: center; flex: 0 1 320px; min-width: 200px; max-width: 100%; background: rgba(255,255,255,0.38); border-radius: 999px; padding: 4px 5px 4px 16px; border: 1px solid rgba(255,255,255,0.28); }
.pc-inner-search-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: #fff; font-size: 14px; padding: 9px 6px 9px 0; }
.pc-inner-search-input::placeholder { color: rgba(255,255,255,0.78); }
.pc-inner-search-btn { flex: 0 0 auto; width: 38px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,0.95); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background 0.15s ease, transform 0.1s ease; }
.pc-inner-search-btn:hover { background: #fff; transform: scale(1.03); }
.pc-inner-search-btn svg { width: 18px; height: 18px; fill: #2563eb; }
@media (max-width: 900px) {
  .pc-inner-header-inner { flex-direction: column; align-items: stretch; }
  .pc-inner-nav { justify-content: flex-start; }
  .pc-inner-search { flex: 1 1 100%; max-width: none; }
}

.card { background: var(--card-bg); border-radius: 12px; box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06); overflow: hidden; margin-bottom: 16px; text-decoration: none; color: inherit; display: block; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 4px 20px rgba(13, 148, 136, 0.12); }
.article-card .cover { width: 100%; height: 180px; object-fit: cover; background: #F1F5F9; }
.article-card .body { padding: 20px; }
.article-card .title { font-size: 1.15rem; font-weight: 600; color: var(--text); margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-card .summary { font-size: 0.9rem; color: var(--text-secondary); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.article-card .meta { font-size: 0.8rem; color: var(--text-secondary); }
.article-card .meta .category { color: var(--primary); margin-right: 12px; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { margin-bottom: 12px; }
.category-list a { display: flex; align-items: center; justify-content: space-between; padding: 20px; background: var(--card-bg); border-radius: 12px; color: var(--text); text-decoration: none; box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06); transition: box-shadow 0.2s; }
.category-list a:hover { box-shadow: 0 4px 20px rgba(13, 148, 136, 0.12); }
.category-list .arrow { color: #94A3B8; font-size: 1.2rem; }
.article-header { margin-bottom: 24px; }
.article-header .title { font-size: 1.6rem; font-weight: 600; margin: 0 0 12px; line-height: 1.35; }
.article-header .meta { font-size: 0.9rem; color: var(--text-secondary); }
.article-header .meta span { margin-right: 16px; }
.article-header .meta .category { color: var(--primary); }
.article-detail .cover { width: 100%; border-radius: 12px; margin-bottom: 24px; background: #F1F5F9; }
.article-body { font-size: 1rem; line-height: 1.8; color: #334155; }
.article-body p { margin-bottom: 1em; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.article-body h1, .article-body h2, .article-body h3 { margin: 1.5em 0 0.5em; font-weight: 600; color: var(--text); }
.article-body pre, .article-body code { background: #F1F5F9; padding: 4px 8px; border-radius: 6px; font-size: 0.9em; }
.article-body blockquote { border-left: 4px solid var(--primary); padding-left: 16px; color: var(--text-secondary); margin: 1em 0; }
.about-card { text-align: center; padding: 48px 24px; background: var(--card-bg); border-radius: 12px; box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06); margin-bottom: 24px; }
.about-card .logo { display: inline-block; width: 80px; height: 80px; line-height: 80px; border-radius: 16px; background: linear-gradient(135deg, #0D9488 0%, #2DD4BF 100%); color: #fff; font-size: 1.4rem; font-weight: 600; margin-bottom: 16px; }
.about-card .site-name { display: block; font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.about-card .site-desc { color: var(--text-secondary); font-size: 0.95rem; }
.notice { padding: 24px; background: var(--card-bg); border-radius: 12px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.notice-title { font-size: 1rem; font-weight: 600; color: var(--text); margin: 0 0 12px 0; }
.notice-text { margin: 0; white-space: pre-wrap; }
.home-announcement { padding: 20px; margin-bottom: 20px; background: var(--primary-bg); border-radius: 12px; border-left: 4px solid var(--primary); }
.home-announcement-title { margin: 0 0 8px 0; font-size: 1rem; font-weight: 600; color: var(--text); }
.home-announcement-content { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; white-space: pre-wrap; }
.home-nav-items { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.home-nav-item { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--card-bg); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-decoration: none; color: var(--text); font-size: 0.95rem; }
.home-nav-item:hover { background: var(--primary-bg); color: var(--primary); }
.home-nav-icon { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.loading, .empty { text-align: center; padding: 48px; color: var(--text-secondary); }
.btn-more { display: block; text-align: center; padding: 14px; margin-top: 16px; background: var(--primary-bg); color: var(--primary); border-radius: 10px; text-decoration: none; font-size: 0.95rem; border: none; cursor: pointer; width: 100%; font-family: inherit; }
.btn-more:hover { background: #CCFBF1; }
@media (min-width: 768px) { :root { --max-width: 900px; } .header { padding: 48px 24px 56px; } .header h1 { font-size: 1.75rem; } }

/* ========== PC 首页风格（.pc-home 包裹时生效） ========== */
.pc-home { min-width: 1200px; background: #f8fafc; color: #334155; }
.pc-home .container { width: 1200px; margin: 0 auto; padding: 0 20px; }
.pc-home .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 120; background: transparent; box-shadow: none; border: none; padding: 0; pointer-events: none; }
.pc-home .portal-main { display: flex; align-items: center; justify-content: center; }
.pc-home .portal-nav-box { pointer-events: auto; position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 150;
  width: min(1120px, calc(100vw - 80px));
  display: flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: 0 0 52px 52px;
  background: var(--pc-nav-teal-glass);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.pc-home .portal-top-inner { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0; }
/* 顶部胶囊条只展示导航（按参考图） */
.pc-home .portal-top-search,
.pc-home .portal-top-search-btn { display: none !important; }
.pc-home .portal-nav { display: flex; gap: 64px; align-items: center; justify-content: center; padding: 0 24px; }
.pc-home .portal-nav .nav-item { color: rgba(255,255,255,0.96); background: transparent; font-size: 16px; font-weight: 800; padding: 10px 22px; border-radius: 10px; text-decoration: none; text-shadow: 0 2px 10px rgba(0,0,0,0.30); transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; white-space: nowrap; display: inline-block; transform-origin: center; }
.pc-home .portal-nav .nav-item:hover { background: rgba(255,255,255,0.18); color: #fff; transform: scale(1.08); }
.pc-home .portal-nav .nav-item.active { background: rgba(24, 116, 140, 0.55); color: #fff; }

.pc-home .portal-search { pointer-events: auto; position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); z-index: 140;
  width: min(980px, calc(100vw - 120px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
}
.pc-home .portal-site-title { flex: 0 0 100%; display: block; color: rgba(255,255,255,0.96);
  font-size: 44px; font-weight: 900; line-height: 1.15;
  text-shadow: 0 6px 22px rgba(0,0,0,0.38);
  letter-spacing: 1px; margin: 0 0 18px; text-align: center; white-space: nowrap;
}
.pc-home .portal-search-input { flex: 1 1 560px; min-width: 420px; height: 50px;
  border-radius: 10px; border: none; outline: none; padding: 0 16px;
  background: rgba(255,255,255,0.90); color: #0f172a; font-size: 15px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.pc-home .portal-search-btn { flex: 0 0 auto; height: 50px; padding: 0 28px; border-radius: 10px;
  border: none; cursor: pointer; background: rgba(15,118,110,0.86); color: #fff; font-weight: 800;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18); margin-left: 12px;
}
.pc-home .portal-search-btn:hover { background: rgba(15,118,110,0.95); }
.pc-home .portal-assistant-btn { flex: 0 0 auto; height: 50px; padding: 0 18px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  background: rgba(30,64,175,0.82); color: #fff; font-weight: 800;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18); margin-left: 12px;
}
.pc-home .portal-assistant-btn:hover { background: rgba(30,64,175,0.92); }

/* ===== 最终覆盖：确保幻灯片中间搜索可见（不动顶部导航） ===== */
.pc-home .portal-search {
  display: flex !important;
  pointer-events: auto !important;
  position: absolute !important;
  left: 50% !important;
  top: 56vh !important;
  transform: translate(-50%, -50%) !important;
  z-index: 160 !important;
  width: min(980px, calc(100vw - 120px)) !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}
.pc-home .portal-site-title {
  display: block !important;
  flex: 0 0 100% !important;
  margin: 0 0 18px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* 搜索条样式对齐参考图（去掉智能助理） */
.pc-home .portal-assistant-btn { display: none !important; }
.pc-home .portal-search-input {
  flex: 0 0 auto !important;
  width: 720px !important;
  height: 56px !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,0.88) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,0.18) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 14px !important;
  border-bottom-left-radius: 14px !important;
  background: rgba(255,255,255,0.82) !important;
  font-size: 24px !important;
  padding: 0 22px !important;
  color: #0f172a !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  border-right: none !important;
}
.pc-home .portal-search-btn {
  flex: 0 0 auto !important;
  height: 56px !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,0.18) !important;
  margin-left: 0 !important;
  padding: 0 34px !important;
  min-width: 140px !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: linear-gradient(135deg, rgba(15,118,110,0.95), rgba(59,130,246,0.70)) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
}

.pc-home .portal-search {
  flex-wrap: nowrap !important;
  gap: 0 !important;
}

.pc-home .portal-search-input::placeholder {
  color: rgba(15, 23, 42, 0.42);
}

.pc-home .portal-search-input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}
.pc-home .header-main { display: flex; justify-content: space-between; align-items: center; }
.pc-home .logo { font-size: 26px; font-weight: 700; color: #14B8A6; text-decoration: none; letter-spacing: 0.5px; }
.pc-home .main-nav { display: flex; gap: 14px; align-items: center; }
.pc-home .nav-item { color: #0f172a; text-decoration: none; font-size: 16px; font-weight: 700; padding: 10px 18px; border-radius: 8px; background: transparent; transition: background 0.15s ease, color 0.15s ease; }
.pc-home .nav-item::after { display:none; }
.pc-home .nav-item:hover { background: #ecfeff; color: #0f766e; }
.pc-home .nav-item.active { background: #0f766e; color: #fff; }
.pc-home .search-container { width: 320px; position: relative; }
.pc-home .search-input { width: 100%; padding: 10px 15px 10px 40px; border: 1px solid #e2e8f0; border-radius: 8px; outline: none; font-size: 15px; transition: all 0.2s ease; }
.pc-home .search-input:focus { border-color: #14B8A6; box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1); }
.pc-home .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; width: 18px; height: 18px; pointer-events: none; }
.pc-home { --hero-h: 100vh; }
.pc-home .hero { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 0; }
.pc-home .hero-carousel { height: var(--hero-h); overflow: hidden; position: relative; background: #0b1220; }
.pc-home .hero-inner { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease; }
.pc-home .hero-slide { flex: 0 0 100%; width: 100%; height: 100%; display: block; position: relative; text-decoration: none; color: inherit; }
.pc-home .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-home .hero-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.pc-home .hero-video { object-fit: cover; background: #0b1220; }
.pc-home .hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.58), rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.10)); }
.pc-home .hero-mask { position: absolute; left: 50%; transform: translateX(-600px); bottom: 54px; width: 1200px; padding: 0 20px; color: #fff; z-index: 2; }
.pc-home .hero-title { font-size: 34px; font-weight: 800; line-height: 1.2; margin: 0 0 10px; max-width: 820px; }
.pc-home .hero-desc { font-size: 16px; opacity: 0.95; line-height: 1.7; max-width: 820px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-home .hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; z-index: 3; }
.pc-home .hero-dot { display: inline-block; width: 10px; height: 10px; margin: 0 6px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.pc-home .hero-dot.active { background: #fff; transform: scale(1.05); }
.pc-home .content-wrapper { display: flex; gap: 40px; margin-bottom: 50px; margin-top: 26px; }
.pc-home .banner { height: 400px; margin: 30px 0; border-radius: 12px; overflow: hidden; position: relative; background: #f1f5f9; }
.pc-home .banner-img { width: 100%; height: 100%; object-fit: cover; }
.pc-home .banner-mask { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; }
.pc-home .banner-title { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.pc-home .banner-desc { font-size: 15px; opacity: 0.9; }
.pc-home .content-wrapper { display: flex; gap: 40px; margin-bottom: 50px; }
.pc-home .main-content { width: 100%; }
.pc-home .module-title { font-size: 22px; font-weight: 600; color: #1e293b; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 2px solid #ecfdf5; display: flex; justify-content: space-between; align-items: center; }
.pc-home .more-link { font-size: 14px; color: #14B8A6; text-decoration: none; font-weight: 500; }
.pc-home .more-link:hover { text-decoration: underline; }
.pc-home .module-title.module-title-badge{
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f1f5f9;
  gap: 14px;
}
.pc-home .module-title.module-title-badge .module-badge{
  flex: 0 0 auto;
  width: 84px;
  height: 56px;
  border-radius: 28px 10px 10px 28px;
  background: linear-gradient(135deg, rgba(16,185,129,0.92) 0%, rgba(15,118,110,0.95) 100%);
  color: rgba(255,255,255,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(2,132,199,0.08), 0 8px 22px rgba(0,0,0,0.10);
}
.pc-home .module-title.module-title-badge .module-badge span{ font-size: 16px; letter-spacing: 1px; }
.pc-home .module-title.module-title-badge .module-title-text{
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-home .module-title.module-title-badge .more-link{ flex: 0 0 auto; white-space: nowrap; }
.pc-home .module-title.module-title-badge + .news-tabs{ margin: 0 0 14px; }
.pc-home .news-tabs { display: flex; gap: 18px; align-items: center; padding: 0 0 10px; border-bottom: 1px solid #e2e8f0; margin: 0 0 14px; overflow: hidden; }
.pc-home .news-tab { appearance: none; border: none; background: transparent; padding: 10px 2px; font-size: 16px; color: #475569; cursor: pointer; font-weight: 600; position: relative; }
.pc-home .news-tab:hover { color: #0f766e; }
.pc-home .news-tab.active { color: #0f766e; }
.pc-home .news-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; background: #0f766e; border-radius: 999px; }
.pc-home .news-panel { display: none; }
.pc-home .news-panel.active { display: block; }
.pc-home .news-grid { display: flex; gap: 22px; }
.pc-home .news-left { width: 520px; flex: 0 0 520px; }
.pc-home { --news-h: 320px; }
.pc-home .news-right { flex: 1; min-width: 0; height: var(--news-h); overflow: hidden; display: flex; }
.pc-home .news-carousel { height: var(--news-h); border-radius: 10px; overflow: hidden; position: relative; background: #f1f5f9; }
.pc-home .news-carousel-inner { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease; }
.pc-home .news-feature-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; display: block; text-decoration: none; color: inherit; }
.pc-home .news-feature-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-home .news-feature { display: block; height: var(--news-h); border-radius: 10px; overflow: hidden; position: relative; text-decoration: none; color: inherit; background: #f1f5f9; }
.pc-home .news-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-home .news-feature-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%); }
.pc-home .news-feature-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px 10px;
  max-height: 92px;
  overflow: hidden;
  background: linear-gradient(transparent, rgba(0,0,0,0.62));
  color: #fff;
}
.pc-home .news-feature-title {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-home .news-feature-desc {
  font-size: 12px;
  opacity: 0.92;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-home .news-carousel-dots { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; z-index: 3; }
.pc-home .news-carousel-dot { display: inline-block; width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.2s; }
.pc-home .news-carousel-dot.active { background: #fff; }
.pc-home .news-list { list-style: none; padding: 0; margin: 0; height: 100%; width: 100%; display: flex; flex-direction: column; }
.pc-home .news-list li { border-bottom: 1px dashed #e2e8f0; flex: 1.15 1 0; padding: 2px 0 4px; }
.pc-home .news-list li:last-child { border-bottom: none; }
.pc-home .news-list a { display: flex; align-items: center; gap: 10px; padding: 12px 0 8px; text-decoration: none; color: #1e293b; }
.pc-home .news-item-first a { padding-bottom: 6px; }
.pc-home .news-item-title { font-size: 17px; line-height: 1.7; }
.pc-home .news-item-date { font-size: 13px; }
.pc-home .news-item-first { flex: 2.6 1 0; }
.pc-home .news-item-first a { padding-top: 12px; padding-bottom: 6px; }
.pc-home .news-item-summary { margin: 0 0 8px 18px; color: #64748b; font-size: 15px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-home .news-dot { color: #94a3b8; flex: 0 0 auto; }
.pc-home .news-item-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.pc-home .news-item-date { flex: 0 0 auto; font-size: 13px; color: #94a3b8; }
.pc-home .news-list a:hover .news-item-title { color: #0f766e; }

/* ========== PC 首页：图集（参考图 3 列图墙） ========== */
.pc-home .home-gallery { background: transparent; }
.pc-home .home-gallery-bar{
  position: relative;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 14px;
}
.pc-home .home-gallery-title{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.pc-home .home-gallery-action{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
}
.pc-home .home-gallery-action:hover{ color: #0f766e; border-color: rgba(15,118,110,0.45); }
.pc-home .home-images-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pc-home .home-image-card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}
.pc-home .home-image-thumb{ width: 100%; aspect-ratio: 16/9; background: #f1f5f9; overflow: hidden; }
.pc-home .home-image-img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-home .home-image-ph{ width: 100%; height: 100%; background: linear-gradient(135deg,#e2e8f0,#f8fafc); }
.pc-home .home-image-foot{
  display: flex;
  gap: 12px;
  padding: 12px 12px 12px 0;
  align-items: stretch;
}
.pc-home .home-image-mark{
  flex: 0 0 54px;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0f766e;
  border-right: 1px solid #e2e8f0;
  letter-spacing: 1px;
}
.pc-home .home-image-text{ flex: 1; min-width: 0; padding-right: 6px; }
.pc-home .home-image-title{
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-home .home-image-desc{
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.pc-home .home-image-card:hover{ border-color: rgba(15,118,110,0.45); box-shadow: 0 10px 26px rgba(15,118,110,0.12); }
.pc-home .article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 40px; }
.pc-home .article-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: transform 0.2s ease, box-shadow 0.2s ease; text-decoration: none; color: inherit; display: block; }
.pc-home .article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pc-home .article-cover { width: 100%; height: 180px; object-fit: cover; background: #f1f5f9; display: block; }
.pc-home .article-content { padding: 20px; }
.pc-home .article-category { display: inline-block; font-size: 12px; color: #14B8A6; background: #ecfdf5; padding: 4px 8px; border-radius: 4px; margin-bottom: 10px; }
.pc-home .article-title { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 10px; line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-home .article-card:hover .article-title { color: #14B8A6; }
.pc-home .article-meta { display: flex; justify-content: space-between; font-size: 13px; color: #94a3b8; margin-top: 10px; }
.pc-home .gallery-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 40px; }
.pc-home .gallery-card { border-radius: 8px; overflow: hidden; position: relative; height: 180px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); text-decoration: none; color: inherit; display: block; }
.pc-home .gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.pc-home .gallery-card:hover .gallery-img { transform: scale(1.05); }
.pc-home .gallery-mask { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; }
.pc-home .gallery-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-home .lost-found-list { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.pc-home .lost-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: inherit; }
.pc-home .lost-item:last-child { border-bottom: none; }
.pc-home .lost-avatar { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.pc-home .lost-content { flex: 1; }
.pc-home .lost-type { display: inline-block; font-size: 12px; color: #fff; background: #ef4444; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; }
.pc-home .lost-type.find { background: #14B8A6; }
.pc-home .lost-title { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.pc-home .lost-item:hover .lost-title { color: #14B8A6; }
.pc-home .lost-desc { font-size: 14px; color: #64748b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-home .sidebar { width: 320px; }
.pc-home .sidebar-card { background: #fff; border-radius: 10px; padding: 25px; margin-bottom: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.pc-home .about-card { text-align: center; }
.pc-home .about-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid #ecfdf5; display: block; }
.pc-home .about-name { font-size: 20px; font-weight: 600; color: #1e293b; margin-bottom: 10px; }
.pc-home .about-desc { font-size: 14px; color: #64748b; line-height: 1.7; }
.pc-home .phonebook-list { list-style: none; padding: 0; margin: 0; }
.pc-home .phonebook-item { padding: 12px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 10px; }
.pc-home .phonebook-item:last-child { border-bottom: none; }
.pc-home .phone-icon { width: 24px; height: 24px; color: #14B8A6; flex-shrink: 0; }
.pc-home .phonebook-name { font-size: 15px; font-weight: 500; color: #1e293b; margin-bottom: 4px; }
.pc-home .phonebook-number { font-size: 13px; color: #64748b; }
.pc-home .category-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-home .category-tag { padding: 8px 15px; background: #f1f5f9; color: #475569; border-radius: 20px; font-size: 14px; text-decoration: none; transition: all 0.2s ease; }
.pc-home .category-tag:hover { background: #14B8A6; color: #fff; }
.pc-home .sidebar-title { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 20px; }
.pc-home .site-footer { background: #fff; padding: 40px 0; border-top: 1px solid #e2e8f0; }
.pc-home .footer-content { display: flex; justify-content: space-between; align-items: center; }
.pc-home .copyright { font-size: 14px; color: #94a3b8; }
.pc-home .footer-links { display: flex; gap: 20px; }
.pc-home .footer-link { font-size: 14px; color: #64748b; text-decoration: none; }
.pc-home .footer-link:hover { color: #14B8A6; }
.pc-home .loading-block, .pc-home .empty-block { text-align: center; padding: 24px; color: #94a3b8; }

/* ===== 最终锁定：标题在上 + 搜索居中（防止被覆盖） ===== */
.pc-home .portal-search {
  display: grid !important;
  position: absolute !important;
  z-index: 160 !important;
  pointer-events: auto !important;
  width: min(720px, calc(100vw - 140px)) !important;
  grid-template-columns: minmax(320px, 1fr) 140px !important;
  grid-template-rows: auto auto !important;
  column-gap: 0 !important;
  row-gap: 14px !important;
  justify-content: center !important;
  align-items: center !important;
  left: 50% !important;
  top: 56vh !important;
  transform: translate(-50%, -50%) !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.pc-home .portal-site-title {
  display: block !important;
  grid-column: 1 / -1 !important;
  justify-self: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  margin: 0 !important;
}
.pc-home .portal-search-input {
  grid-column: 1 / 2 !important;
  width: 100% !important;
  height: 66px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.pc-home .portal-search-btn {
  grid-column: 2 / 3 !important;
  min-width: 140px !important;
  height: 66px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* 图集列表页 images.html：瀑布流（与 pc/images.html 结构一致：pc-img-card） */
.pc-page-title { margin: 0 0 20px; font-size: 1.35rem; font-weight: 700; color: var(--text); }
.pc-img-masonry {
  column-count: 3;
  column-gap: 20px;
  column-fill: balance;
}
@media (max-width: 1100px) {
  .pc-img-masonry { column-count: 2; }
}
@media (max-width: 560px) {
  .pc-img-masonry { column-count: 1; }
}
.pc-img-masonry .pc-img-card,
.pc-img-masonry .article-card {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  vertical-align: top;
  box-sizing: border-box;
}
.pc-img-masonry .pc-img-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.pc-img-masonry .pc-img-card:hover { box-shadow: 0 4px 20px rgba(13, 148, 136, 0.12); }
.pc-img-masonry .pc-img-card .thumb {
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 360px;
  object-fit: cover;
  background: #f1f5f9;
  display: block;
}
.pc-img-masonry .pc-img-card .ph {
  width: 100%;
  min-height: 160px;
  height: 200px;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}
.pc-img-masonry .pc-img-card .bd { padding: 16px; }
.pc-img-masonry .pc-img-card .t { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-img-masonry .pc-img-card .s { font-size: 0.9rem; color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.pc-img-masonry .article-card .article-cover {
  width: 100% !important;
  height: auto !important;
  min-height: 140px;
  max-height: 360px;
  object-fit: cover;
}
.pc-img-masonry .article-card div.article-cover {
  height: auto !important;
  min-height: 180px;
}
