跳转到内容
打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:Index2026/styles.css:修订间差异

模板页面
Yzystudio留言 | 贡献
无编辑摘要
标签手工回退
Yzystudio留言 | 贡献
无编辑摘要
 
(未显示同一用户的11个中间版本)
第1行: 第1行:
 
.hp-page {
/* ============================================================
  position: relative;
  一支烟工作室 · 主页样式(明亮色彩版)
  z-index: 0;
  ============================================================ */
  width: 100%;
 
  min-width: 0;
/* ----- 背景层 (遮罩更薄,让背景图更清晰) ----- */
  background: #f0f2f5;
.hp-bg {
  color: #1c1f26;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.7;
}
.citizen-dark .hp-page {
  background: #16181d;
  color: #e8ecf0;
}
.hp-page .hp-bg {
   position: fixed;
   position: fixed;
   top: 0;
   top: 0;
第12行: 第20行:
   height: 100%;
   height: 100%;
   z-index: 0;
   z-index: 0;
   background-size: cover;
   overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
}
}
.hp-bg::before {
.hp-page .hp-bg img {
   content: '';
   display: block;
  position: absolute;
  top: 0;
  left: 0;
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.25); /* 大幅降低暗度 */
   object-fit: cover;
  object-position: center;
}
}
.hp-bg::after {
.hp-page .hp-bg::after {
   content: '';
   content: "";
   position: absolute;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   left: 0;
   width: 100%;
   width: 100%;
   height: 100%;
   height: 50%;
   background: rgba(10, 12, 18, 0.15); /* 轻微深色,保留层次 */
   background: linear-gradient(to bottom, transparent 0%, #f0f2f5 100%);
  z-index: 1;
}
.citizen-dark .hp-page .hp-bg::after {
  background: linear-gradient(to bottom, transparent 0%, #16181d 100%);
}
.hp-page a {
  color: #b8860b;
  text-decoration: none;
  overflow-wrap: break-word;
}
.hp-page a:visited {
  color: #b8860b;
}
.hp-page a:hover {
  color: #d4a017;
}
.hp-page a.new {
  color: #cc5555;
}
.hp-page a.new:visited {
  color: #cc5555;
}
.citizen-dark .hp-page a {
  color: #dbbd94;
}
.citizen-dark .hp-page a:visited {
  color: #dbbd94;
}
.citizen-dark .hp-page a:hover {
  color: #eedcc5;
}
.citizen-dark .hp-page a.new {
  color: #ff7b7b;
}
}
 
.citizen-dark .hp-page a.new:visited {
/* ----- 主容器 ----- */
   color: #ff7b7b;
.hp-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
   color: #f5f7fa;
  min-height: 100vh;
}
}
 
.hp-page .hp-header {
/* ----- Header ----- */
.hp-header {
   width: 100%;
   width: 100%;
  padding: 6px 0 4px;
   text-align: center;
   text-align: center;
  padding: 6px 0 10px;
}
}
.hp-header-logo {
.hp-page .hp-header-logo {
  display: block;
  width: 80%;
   max-width: 340px;
   max-width: 340px;
   width: 80%;
   margin: 0 auto 10px;
  height: auto;
   overflow: hidden;
   display: block;
  margin: 0 auto 6px;
   border-radius: 18px;
   border-radius: 18px;
   box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
   box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}
}
.hp-header-logo:hover {
.hp-page .hp-header-logo img {
   transform: scale(1.01);
  display: block;
  width: 100%;
  max-width: 100%;
   height: auto;
}
}
.hp-header-sub {
.hp-page .hp-header-sub {
  margin-top: 2px;
   font-size: 0.95rem;
   font-size: 0.95rem;
  font-weight: 400;
   letter-spacing: 6px;
   letter-spacing: 6px;
   color: #f0d5b0;
   color: #b8860b;
  opacity: 1;
   text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 2px;
}
  font-weight: 400;
.citizen-dark .hp-page .hp-header-sub {
   text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  color: #dbbd94;
}
}
 
.hp-page .hp-container {
/* ----- 欢迎弹窗 (更透亮) ----- */
   position: relative;
.hp-welcome {
  z-index: 1;
   background: rgba(45, 48, 56, 0.75);
  display: flex;
   border-radius: 28px;
  flex-direction: column;
   padding: 24px 30px 22px;
   align-items: center;
   gap: 20px;
   width: 100%;
   width: 100%;
   max-width: 820px;
   max-width: 1260px;
   box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(240, 210, 170, 0.25);
   min-width: 0;
   border: 1px solid rgba(240, 210, 170, 0.20);
  min-height: 100vh;
   transition: all 0.25s;
   margin: 0 auto;
   padding: 20px 16px 60px;
}
.hp-page .hp-welcome {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   align-items: center;
   align-items: center;
   justify-content: space-between;
   justify-content: space-between;
   gap: 12px 20px;
   gap: 16px 20px;
  width: 100%;
  max-width: 820px;
  padding: 24px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-welcome {
  background: rgba(30, 34, 42, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
}
.hp-welcome.hidden {
.hp-page .hp-welcome.hidden {
   display: none;
   display: none;
}
}
.hp-welcome-text {
.hp-page .hp-welcome-text {
  display: flex;
  align-items: center;
  gap: 12px;
   flex: 1 1 300px;
   flex: 1 1 300px;
  min-width: 0;
  overflow-wrap: break-word;
}
}
.hp-welcome-text h2 {
.hp-page .hp-welcome-text h2 {
  margin: 0 0 12px;
  padding: 0;
  font-family: inherit;
   font-size: 1.4rem;
   font-size: 1.4rem;
   font-weight: 500;
   font-weight: 500;
   color: #fff4e5;
   color: #1c1f26;
  margin: 0;
}
   letter-spacing: 0.5px;
.citizen-dark .hp-page .hp-welcome-text h2 {
   color: #e8ecf0;
}
}
.hp-welcome-text h2 span {
.hp-page .hp-welcome-text h2 span {
  font-size: 1.6rem;
   margin-right: 4px;
   margin-right: 4px;
}
}
.hp-welcome-text p {
.hp-page .hp-welcome-text p {
  margin: 0 0 8px;
  color: #3d434e;
  font-size: 0.95rem;
}
.citizen-dark .hp-page .hp-welcome-text p {
  color: #c8d0d8;
}
.hp-page .hp-welcome-list {
   margin: 0;
   margin: 0;
  padding: 0 0 0 1.4em;
  list-style: disc;
  color: #3d434e;
   font-size: 0.95rem;
   font-size: 0.95rem;
  color: #e0e6ee;
  opacity: 0.9;
}
}
.hp-welcome-actions {
.citizen-dark .hp-page .hp-welcome-list {
  color: #c8d0d8;
}
.hp-page .hp-welcome-list li {
  margin: 6px 0;
}
.hp-page .hp-welcome-actions {
   display: flex;
   display: flex;
  flex-wrap: wrap;
   align-items: center;
   align-items: center;
   gap: 14px;
   gap: 12px;
   flex-shrink: 0;
   max-width: 100%;
  flex-wrap: wrap;
}
}
.hp-welcome-actions .hp-btn {
.hp-page .hp-btn {
   background: #f0d5b0;
   display: inline-block;
  border: none;
   padding: 8px 26px;
   padding: 8px 26px;
   border-radius: 60px;
   border-radius: 60px;
  background: #b8860b;
  color: #1c1f26;
  font: inherit;
  font-size: 0.95rem;
   font-weight: 600;
   font-weight: 600;
   font-size: 0.95rem;
   cursor: pointer;
}
.hp-page .hp-btn:hover {
  background: #d4a017;
}
.citizen-dark .hp-page .hp-btn {
  background: #dbbd94;
   color: #1c1f26;
   color: #1c1f26;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
  border: 1px solid #f0d5b0;
}
}
.hp-welcome-actions .hp-btn:hover {
.citizen-dark .hp-page .hp-btn:hover {
   background: #fae3c5;
   background: #eedcc5;
  transform: scale(1.02);
}
}
.hp-welcome-actions label {
.hp-page .hp-welcome-actions label {
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 6px;
   gap: 6px;
  color: #6a7280;
   font-size: 0.85rem;
   font-size: 0.85rem;
  color: #c0cbd8;
   cursor: pointer;
   cursor: pointer;
}
}
.hp-welcome-actions label input[type="checkbox"] {
.citizen-dark .hp-page .hp-welcome-actions label {
  color: #88909c;
}
.hp-page .hp-welcome-actions input[type="checkbox"] {
   width: 16px;
   width: 16px;
   height: 16px;
   height: 16px;
  margin: 0;
}
.hp-page .hp-search-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 4px;
}
.hp-page .hp-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.citizen-dark .hp-page .hp-search-form {
  background: rgba(30, 34, 42, 0.90);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-search-input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: none;
  background: transparent;
  color: #1c1f26;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.citizen-dark .hp-page .hp-search-input {
  color: #e8ecf0;
}
.hp-page .hp-search-input::placeholder {
  color: #6a7280;
  opacity: 0.7;
}
.citizen-dark .hp-page .hp-search-input::placeholder {
  color: #88909c;
}
.hp-page .hp-search-btn {
  flex-shrink: 0;
  padding: 14px 22px;
  border: none;
  background: transparent;
  color: #b8860b;
  font-size: 1.2rem;
   cursor: pointer;
   cursor: pointer;
}
}
 
.hp-page .hp-search-btn:hover {
/* ----- 网格 (3列) ----- */
  color: #d4a017;
.hp-grid {
}
.citizen-dark .hp-page .hp-search-btn {
  color: #dbbd94;
}
.citizen-dark .hp-page .hp-search-btn:hover {
  color: #eedcc5;
}
.hp-page .hp-grid {
   display: grid;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 24px;
   gap: 20px;
  align-items: stretch;
   width: 100%;
   width: 100%;
   max-width: 1200px;
   max-width: 1200px;
   margin: 6px 0 10px;
   margin: 0;
}
}
 
.hp-page .hp-card {
/* ----- 通用卡片 (更亮、色彩更丰富) ----- */
   position: relative;
.hp-card {
   background: rgba(48, 52, 62, 0.70);
  border-radius: 28px;
  padding: 26px 24px 24px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(240, 210, 170, 0.15);
  border: 1px solid rgba(240, 210, 170, 0.10);
  transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
  color: #f0f3f7;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   opacity: 0.3;
   min-width: 0;
   transform: translateY(12px);
  padding: 28px 24px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  color: #1c1f26;
  overflow-wrap: break-word;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-card {
  background: rgba(30, 34, 42, 0.90);
  color: #e8ecf0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
}
.hp-card.hp-visible {
.hp-page .hp-card:hover {
  opacity: 1;
   background: rgba(255, 255, 255, 0.95);
  transform: translateY(0);
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
   background: rgba(55, 60, 72, 0.80);
  transform: translateY(-2px);
   box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(240, 210, 170, 0.25);
}
}
.hp-card:hover {
.citizen-dark .hp-page .hp-card:hover {
   background: rgba(65, 70, 85, 0.85);
   background: rgba(40, 44, 54, 0.95);
   box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 210, 170, 0.35);
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}
}
.hp-card h3 {
.hp-page .hp-card h3 {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: #fff4e5;
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(240, 210, 170, 0.30);
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 10px;
   gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #1c1f26;
  overflow-wrap: break-word;
}
.citizen-dark .hp-page .hp-card h3 {
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
  color: #e8ecf0;
}
}
.hp-card h3 .hp-icon {
.hp-page .hp-icon {
   font-size: 1.5rem;
   flex-shrink: 0;
   filter: drop-shadow(0 0 8px rgba(240, 210, 170, 0.3));
   font-size: 1.4rem;
}
}
.hp-card p,
.hp-page .hp-card p {
.hp-card .hp-desc {
  margin: 0 0 8px;
   font-size: 0.98rem;
   font-size: 0.98rem;
   line-height: 1.7;
   line-height: 1.7;
   color: #e0e6ee;
   color: #3d434e;
   margin: 0 0 8px 0;
}
.citizen-dark .hp-page .hp-card p {
  color: #c8d0d8;
}
.hp-page .hp-stats {
  display: block;
   margin: 8px 0 6px;
  font-size: 0.95rem;
  color: #3d434e;
}
}
.hp-card .hp-desc {
.citizen-dark .hp-page .hp-stats {
   opacity: 0.9;
   color: #c8d0d8;
}
}
.hp-badge-list {
.hp-page .hp-stats strong {
  color: #b8860b;
  font-weight: 600;
}
.citizen-dark .hp-page .hp-stats strong {
  color: #dbbd94;
}
.hp-page .hp-badge-list {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 8px 12px;
   gap: 8px 12px;
   margin-top: 6px;
   margin-top: 8px;
}
}
.hp-badge-list span {
.hp-page .hp-badge-list span {
   background: rgba(240, 210, 170, 0.15);
   max-width: 100%;
   padding: 3px 14px;
   padding: 4px 16px;
   border-radius: 40px;
   border-radius: 40px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #3d434e;
   font-size: 0.82rem;
   font-size: 0.82rem;
  border: 1px solid rgba(240, 210, 170, 0.20);
  color: #f0e3d0;
}
}
.hp-link-list {
.citizen-dark .hp-page .hp-badge-list span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #c8d0d8;
}
.hp-page .hp-link-list {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   gap: 8px 0;
  align-items: flex-start;
   gap: 4px;
   margin: 4px 0 6px;
   margin: 4px 0 6px;
}
}
.hp-link-list a {
.hp-page .hp-link-list a {
  color: #f0d5b0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 170, 140, 0.3);
  transition: 0.2s;
  padding: 2px 0;
   display: inline-block;
   display: inline-block;
   width: fit-content;
   max-width: 100%;
  padding: 3px 0;
  font-size: 0.95rem;
  white-space: normal;
}
}
.hp-link-list a:hover {
.hp-page .hp-link-list a:hover {
  color: #fff0dd;
  border-bottom-color: #f0d5b0;
   padding-left: 4px;
   padding-left: 4px;
}
}
.hp-link-list .hp-link-meta {
.hp-page .hp-more-link {
   color: #b0bcc8;
   margin-top: 12px;
   font-size: 0.85rem;
   font-size: 0.88rem;
  margin-left: 8px;
  font-weight: 300;
}
}
.hp-recent-list {
.hp-page .hp-card-recent {
   list-style: none;
   grid-column: 1 / -1;
  padding: 0;
  margin: 4px 0 10px;
}
}
.hp-recent-list li {
.hp-page .hp-recent-content {
   padding: 6px 0 6px 0;
   width: 100%;
   border-bottom: 1px solid rgba(200, 180, 150, 0.08);
  min-width: 0;
   overflow-x: auto;
   font-size: 0.92rem;
   font-size: 0.92rem;
   line-height: 1.5;
   line-height: 1.7;
  color: #e0e6ee;
}
  display: flex;
.hp-page .hp-recent-content .mw-changeslist {
  flex-wrap: wrap;
   margin: 0;
  align-items: baseline;
   gap: 4px 10px;
}
}
.hp-recent-list li:last-child {
.hp-page .hp-recent-content .mw-changeslist ul {
   border-bottom: none;
   margin-top: 8px;
  margin-bottom: 12px;
}
}
.hp-recent-list .hp-rc-title {
.hp-page .hp-recent-content .mw-changeslist li {
   font-weight: 500;
   margin-bottom: 6px;
  color: #fff4e5;
}
}
.hp-recent-list .hp-rc-user {
.hp-page .hp-recent-content h4 {
   color: #b0bcc8;
   margin: 14px 0 8px;
   font-size: 0.82rem;
  padding: 0 0 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
   font-size: 1rem;
  font-weight: 600;
  color: #1c1f26;
}
}
.hp-recent-list .hp-rc-time {
.citizen-dark .hp-page .hp-recent-content h4 {
   color: #b0bcc8;
   border-bottom-color: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
   color: #e8ecf0;
   margin-left: auto;
}
}
.hp-recent-list .hp-rc-comment {
.hp-page .hp-footer {
  color: #b0bcc8;
  font-size: 0.82rem;
  opacity: 0.7;
   width: 100%;
   width: 100%;
  padding-left: 4px;
   margin: 10px 0 6px;
}
.hp-recent-empty {
  color: #b0bcc8;
  font-size: 0.92rem;
  opacity: 0.6;
  padding: 8px 0;
}
.hp-more-link {
   margin-top: 8px;
  font-size: 0.88rem;
}
.hp-more-link a {
  color: #f0d5b0;
  text-decoration: none;
  border-bottom: 1px dotted rgba(200, 170, 140, 0.4);
  transition: 0.2s;
}
.hp-more-link a:hover {
  color: #fff0dd;
  border-bottom-color: #f0d5b0;
}
.hp-footer {
  margin: 30px 0 6px;
  opacity: 0.5;
   font-size: 0.85rem;
   font-size: 0.85rem;
   letter-spacing: 3px;
   letter-spacing: 3px;
   color: #d0d8e0;
   color: #6a7280;
   text-align: center;
   text-align: center;
  width: 100%;
}
.hp-loading {
  color: #b0bcc8;
  font-size: 0.9rem;
  opacity: 0.6;
  padding: 6px 0;
}
.hp-loading::after {
  content: '...';
  animation: hp-dots 1.2s steps(3, end) infinite;
}
@keyframes hp-dots {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}
/* ----- 特殊:项目名录扁条 ----- */
.hp-card-featured {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: none;
  opacity: 0.3;
  transform: translateY(12px);
  transition: all 0.4s cubic-bezier(0.15, 0.75, 0.30, 1.1);
}
.hp-card-featured.hp-visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-card-featured a {
  display: block;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4);
  transition: all 0.3s;
}
.hp-card-featured a:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
}
.hp-card-featured img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 200px;
  object-fit: cover;
}
}
.hp-card-featured .hp-featured-overlay {
.citizen-dark .hp-page .hp-footer {
   position: absolute;
   color: #88909c;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 32, 40, 0.5) 0%, rgba(60, 55, 50, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
}
.hp-card-featured .hp-featured-overlay h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff4e5;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  letter-spacing: 4px;
  margin: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.hp-card-featured .hp-featured-overlay h3 small {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
  margin-left: 18px;
  letter-spacing: 2px;
}
/* ----- 响应式 ----- */
@media (max-width: 1024px) {
@media (max-width: 1024px) {
   .hp-grid {
   .hp-page .hp-grid {
     grid-template-columns: 1fr 1fr;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 20px;
     gap: 18px;
   }
   }
}
}
@media (max-width: 820px) {
@media (max-width: 820px) {
   .hp-grid {
   .hp-page .hp-grid {
    grid-template-columns: 1fr 1fr;
     gap: 16px;
     gap: 18px;
   }
   }
   .hp-welcome {
   .hp-page .hp-welcome {
     flex-direction: column;
     flex-direction: column;
     align-items: stretch;
     align-items: stretch;
    text-align: center;
     padding: 20px;
     padding: 20px;
   }
   }
   .hp-welcome-text {
   .hp-page .hp-welcome-text {
     flex-direction: column;
     flex: 0 1 auto;
     gap: 4px;
     width: 100%;
   }
   }
   .hp-welcome-actions {
   .hp-page .hp-welcome-actions {
     justify-content: center;
     justify-content: center;
   }
   }
   .hp-card h3 {
   .hp-page .hp-card h3 {
     font-size: 1.15rem;
     font-size: 1.15rem;
   }
   }
   .hp-card-featured .hp-featured-overlay h3 {
   .hp-page .hp-search-wrapper {
     font-size: 1.6rem;
     max-width: 100%;
   }
   }
}
}
@media (max-width: 560px) {
@media (max-width: 560px) {
   .hp-grid {
   .hp-page .hp-container {
    grid-template-columns: 1fr;
     gap: 16px;
     gap: 16px;
    padding: 16px 12px 40px;
   }
   }
   .hp-container {
   .hp-page .hp-grid {
     padding: 12px 10px 40px;
     grid-template-columns: minmax(0, 1fr);
    gap: 14px;
   }
   }
   .hp-card {
   .hp-page .hp-header-logo {
     padding: 20px 16px 18px;
    width: 90%;
    max-width: 300px;
  }
  .hp-page .hp-header-sub {
    font-size: 0.82rem;
    letter-spacing: 3px;
  }
  .hp-page .hp-welcome {
     padding: 20px 18px;
     border-radius: 22px;
     border-radius: 22px;
   }
   }
   .hp-welcome-text h2 {
   .hp-page .hp-welcome-text h2 {
     font-size: 1.15rem;
     font-size: 1.15rem;
   }
   }
   .hp-header-logo {
   .hp-page .hp-welcome-list {
     width: 90%;
    font-size: 0.9rem;
  }
  .hp-page .hp-card {
     padding: 22px 18px 18px;
    border-radius: 22px;
  }
  .hp-page .hp-card h3 {
    font-size: 1.1rem;
   }
   }
   .hp-recent-list li {
   .hp-page .hp-card p {
     font-size: 0.85rem;
     font-size: 0.92rem;
   }
   }
   .hp-recent-list .hp-rc-time {
   .hp-page .hp-footer {
     margin-left: 0;
     font-size: 0.78rem;
     width: 100%;
     letter-spacing: 1px;
   }
   }
   .hp-card-featured .hp-featured-overlay h3 {
   .hp-page .hp-search-input {
     font-size: 1.3rem;
     padding: 12px 16px;
     flex-direction: column;
     font-size: 0.95rem;
   }
   }
   .hp-card-featured .hp-featured-overlay h3 small {
   .hp-page .hp-search-btn {
     margin-left: 0;
     padding: 12px 16px;
    font-size: 0.9rem;
   }
   }
}
}
/* ===== 排版优化追加 ===== */
.hp-page .hp-card-featured-about {
 
  grid-column: 1 / -1;
.hp-card {
   padding: 0;
   padding: 32px 28px 28px;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
}
.hp-grid {
.citizen-dark .hp-page .hp-card-featured-about {
   gap: 30px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
}
.hp-card h3 {
.hp-page .hp-card-featured-about:hover {
  font-size: 1.5rem;
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  font-weight: 600;
   letter-spacing: 0.5px;
}
}
.hp-card p,
.citizen-dark .hp-page .hp-card-featured-about:hover {
.hp-card .hp-desc {
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  font-size: 1rem;
   line-height: 1.8;
  color: #e8edf4;
}
}
.hp-card-featured .hp-featured-overlay h3 {
.hp-page .hp-card-featured-about a {
   font-size: 2.4rem;
   display: block;
   text-align: center;
   text-decoration: none;
  color: inherit;
}
}
.hp-card-featured .hp-featured-overlay h3 small {
.hp-page .hp-featured-bg {
   font-size: 1.1rem;
   position: relative;
   display: inline-block;
  min-height: 220px;
  padding: 40px 32px 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 28px;
   overflow: hidden;
  background-color: #2a2e38;
}
}
.hp-recent-list li {
.hp-page .hp-featured-bg::before {
   padding: 8px 0;
   content: "";
   border-bottom: 1px solid rgba(200, 180, 150, 0.1);
  position: absolute;
  top: 0;
  left: 0;
   width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  border-radius: 28px;
}
}
.hp-recent-list .hp-rc-time {
.hp-page .hp-featured-content {
   margin-left: auto;
   position: relative;
   padding-left: 12px;
  z-index: 1;
   white-space: nowrap;
   color: #ffffff;
   max-width: 800px;
}
}
.hp-link-list a {
.hp-page .hp-featured-content h3 {
   padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
   padding: 0 0 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.20);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.hp-page .hp-featured-content .hp-icon {
  flex-shrink: 0;
  font-size: 1.6rem;
}
.hp-page .hp-featured-content p {
  margin: 0 0 6px;
   font-size: 1rem;
   font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.90);
}
}
.hp-link-list a:hover {
.hp-page .hp-featured-content .hp-badge-list {
   padding-left: 8px;
  display: flex;
   transition: padding 0.2s;
   flex-wrap: wrap;
  gap: 8px 12px;
   margin-top: 10px;
}
}
 
.hp-page .hp-featured-content .hp-badge-list span {
@media (max-width: 900px) {
  padding: 4px 16px;
  .hp-grid {
   border-radius: 40px;
    gap: 24px;
   background: rgba(255, 255, 255, 0.12);
   }
  border: 1px solid rgba(255, 255, 255, 0.15);
   .hp-card {
   color: rgba(255, 255, 255, 0.90);
    padding: 28px 22px 22px;
   font-size: 0.82rem;
   }
   .hp-card h3 {
    font-size: 1.3rem;
  }
}
}
@media (max-width: 560px) {
@media (max-width: 560px) {
   .hp-grid {
   .hp-page .hp-featured-bg {
     gap: 18px;
     min-height: 180px;
  }
  .hp-card {
     padding: 24px 18px 20px;
     padding: 24px 18px 20px;
   }
   }
   .hp-card h3 {
   .hp-page .hp-featured-content h3 {
     font-size: 1.2rem;
     font-size: 1.2rem;
   }
   }
   .hp-card-featured .hp-featured-overlay h3 {
   .hp-page .hp-featured-content p {
     font-size: 1.6rem;
     font-size: 0.92rem;
   }
   }
}
}
/* ===== 解决截图中的排版问题 ===== */


/* 1. 卡片标题禁止单词内换行,允许正常空格换行 */
.hp-page .hp-card-featured-about {
.hp-card h3 {
   grid-column: 1 / -1;
   word-break: normal;
  padding: 0;
   overflow-wrap: break-word;
   overflow: hidden;
   white-space: normal;
  border-radius: 28px;
   font-size: 1.35rem;       /* 稍微缩小一点以适配小屏 */
   background: transparent;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
}
 
.citizen-dark .hp-page .hp-card-featured-about {
/* 2. 增大卡片内边距,提升呼吸感 */
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
.hp-card {
   padding: 32px 28px 28px;
}
}
 
.hp-page .hp-card-featured-about:hover {
/* 3. 正文行高和间距 */
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
.hp-card p,
.hp-card .hp-desc {
   font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 12px;     /* 段落间距 */
}
}
 
.hp-page .hp-card-featured-about a {
/* 4. 统计信息(如“当前共有52个页面”)单独样式 */
.hp-card .hp-stats {
   display: block;
   display: block;
   margin-top: 6px;
   text-decoration: none;
   font-size: 0.92rem;
  color: inherit;
   color: #d0d8e0;
}
   opacity: 0.9;
.hp-page .hp-featured-bg {
  position: relative;
  min-height: 220px;
  padding: 40px 32px 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 28px;
  overflow: hidden;
  background-color: #242a31;
}
.hp-page .hp-featured-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
   background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
  z-index: 0;
  border-radius: 28px;
}
.hp-page .hp-featured-content {
  position: relative;
  z-index: 1;
   color: #ffffff;
   max-width: 70%;
}
}
 
.hp-page .hp-featured-content h3 {
/* 5. 相关链接列表样式增强 */
.hp-link-list a {
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 6px;
   gap: 10px;
   padding: 6px 0;
  margin: 0 0 12px;
   font-size: 0.98rem;
  padding: 0 0 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.20);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}
.hp-page .hp-featured-content .hp-icon {
  flex-shrink: 0;
  font-size: 1.6rem;
}
.hp-page .hp-featured-content p {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.90);
}
.hp-page .hp-featured-content .hp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}
.hp-page .hp-featured-content .hp-badge-list span {
   padding: 4px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.90);
   font-size: 0.82rem;
}
}
 
@media (max-width: 820px) {
/* 6. 最近更改列表优化 */
  .hp-page .hp-featured-bg {
.hp-recent-list li {
    min-height: 180px;
  padding: 8px 0;
    padding: 28px 24px 24px;
   font-size: 0.95rem;
   }
   line-height: 1.6;
  .hp-page .hp-featured-content {
    max-width: 85%;
   }
  .hp-page .hp-featured-bg::before {
    width: 85%;
  }
}
}
/* 7. 小屏适配(手机) */
@media (max-width: 560px) {
@media (max-width: 560px) {
   .hp-card {
   .hp-page .hp-featured-bg {
     padding: 24px 18px 20px;
    min-height: 160px;
     padding: 20px 18px 18px;
  }
  .hp-page .hp-featured-content {
    max-width: 100%;
  }
  .hp-page .hp-featured-bg::before {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
   }
   }
   .hp-card h3 {
   .hp-page .hp-featured-content h3 {
     font-size: 1.2rem;
     font-size: 1.2rem;
   }
   }
   .hp-card p {
   .hp-page .hp-featured-content p {
     font-size: 0.92rem;
     font-size: 0.92rem;
   }
   }
}
/* ===== AboutYZY 卡片按钮样式 ===== */
.hp-page .hp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-page .hp-card-link:hover {
  transform: translateY(-4px) scale(1.01);
}
.hp-page .hp-card-link:hover .hp-card-aboutyzy {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.citizen-dark .hp-page .hp-card-link:hover .hp-card-aboutyzy {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-card-aboutyzy {
  transition: box-shadow 0.25s ease;
  /* 继承父级 .hp-card 的样式,无需额外定义 */
}
.hp-page .hp-card-clickable {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-page .hp-card-clickable:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.citizen-dark .hp-page .hp-card-clickable:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
}

2026年9月9日 (三) 22:33的最新版本

.hp-page {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 0;
  background: #f0f2f5;
  color: #1c1f26;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.7;
}
.citizen-dark .hp-page {
  background: #16181d;
  color: #e8ecf0;
}
.hp-page .hp-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hp-page .hp-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hp-page .hp-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, #f0f2f5 100%);
  z-index: 1;
}
.citizen-dark .hp-page .hp-bg::after {
  background: linear-gradient(to bottom, transparent 0%, #16181d 100%);
}
.hp-page a {
  color: #b8860b;
  text-decoration: none;
  overflow-wrap: break-word;
}
.hp-page a:visited {
  color: #b8860b;
}
.hp-page a:hover {
  color: #d4a017;
}
.hp-page a.new {
  color: #cc5555;
}
.hp-page a.new:visited {
  color: #cc5555;
}
.citizen-dark .hp-page a {
  color: #dbbd94;
}
.citizen-dark .hp-page a:visited {
  color: #dbbd94;
}
.citizen-dark .hp-page a:hover {
  color: #eedcc5;
}
.citizen-dark .hp-page a.new {
  color: #ff7b7b;
}
.citizen-dark .hp-page a.new:visited {
  color: #ff7b7b;
}
.hp-page .hp-header {
  width: 100%;
  padding: 6px 0 4px;
  text-align: center;
}
.hp-page .hp-header-logo {
  display: block;
  width: 80%;
  max-width: 340px;
  margin: 0 auto 10px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}
.hp-page .hp-header-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.hp-page .hp-header-sub {
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: #b8860b;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.citizen-dark .hp-page .hp-header-sub {
  color: #dbbd94;
}
.hp-page .hp-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1260px;
  min-width: 0;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 16px 60px;
}
.hp-page .hp-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  width: 100%;
  max-width: 820px;
  padding: 24px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-welcome {
  background: rgba(30, 34, 42, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-welcome.hidden {
  display: none;
}
.hp-page .hp-welcome-text {
  flex: 1 1 300px;
  min-width: 0;
  overflow-wrap: break-word;
}
.hp-page .hp-welcome-text h2 {
  margin: 0 0 12px;
  padding: 0;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1c1f26;
}
.citizen-dark .hp-page .hp-welcome-text h2 {
  color: #e8ecf0;
}
.hp-page .hp-welcome-text h2 span {
  margin-right: 4px;
}
.hp-page .hp-welcome-text p {
  margin: 0 0 8px;
  color: #3d434e;
  font-size: 0.95rem;
}
.citizen-dark .hp-page .hp-welcome-text p {
  color: #c8d0d8;
}
.hp-page .hp-welcome-list {
  margin: 0;
  padding: 0 0 0 1.4em;
  list-style: disc;
  color: #3d434e;
  font-size: 0.95rem;
}
.citizen-dark .hp-page .hp-welcome-list {
  color: #c8d0d8;
}
.hp-page .hp-welcome-list li {
  margin: 6px 0;
}
.hp-page .hp-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
.hp-page .hp-btn {
  display: inline-block;
  padding: 8px 26px;
  border-radius: 60px;
  background: #b8860b;
  color: #1c1f26;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.hp-page .hp-btn:hover {
  background: #d4a017;
}
.citizen-dark .hp-page .hp-btn {
  background: #dbbd94;
  color: #1c1f26;
}
.citizen-dark .hp-page .hp-btn:hover {
  background: #eedcc5;
}
.hp-page .hp-welcome-actions label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6a7280;
  font-size: 0.85rem;
  cursor: pointer;
}
.citizen-dark .hp-page .hp-welcome-actions label {
  color: #88909c;
}
.hp-page .hp-welcome-actions input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}
.hp-page .hp-search-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 4px;
}
.hp-page .hp-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.citizen-dark .hp-page .hp-search-form {
  background: rgba(30, 34, 42, 0.90);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-search-input {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  border: none;
  background: transparent;
  color: #1c1f26;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.citizen-dark .hp-page .hp-search-input {
  color: #e8ecf0;
}
.hp-page .hp-search-input::placeholder {
  color: #6a7280;
  opacity: 0.7;
}
.citizen-dark .hp-page .hp-search-input::placeholder {
  color: #88909c;
}
.hp-page .hp-search-btn {
  flex-shrink: 0;
  padding: 14px 22px;
  border: none;
  background: transparent;
  color: #b8860b;
  font-size: 1.2rem;
  cursor: pointer;
}
.hp-page .hp-search-btn:hover {
  color: #d4a017;
}
.citizen-dark .hp-page .hp-search-btn {
  color: #dbbd94;
}
.citizen-dark .hp-page .hp-search-btn:hover {
  color: #eedcc5;
}
.hp-page .hp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0;
}
.hp-page .hp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 24px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  color: #1c1f26;
  overflow-wrap: break-word;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-card {
  background: rgba(30, 34, 42, 0.90);
  color: #e8ecf0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}
.citizen-dark .hp-page .hp-card:hover {
  background: rgba(40, 44, 54, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #1c1f26;
  overflow-wrap: break-word;
}
.citizen-dark .hp-page .hp-card h3 {
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
  color: #e8ecf0;
}
.hp-page .hp-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
}
.hp-page .hp-card p {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3d434e;
}
.citizen-dark .hp-page .hp-card p {
  color: #c8d0d8;
}
.hp-page .hp-stats {
  display: block;
  margin: 8px 0 6px;
  font-size: 0.95rem;
  color: #3d434e;
}
.citizen-dark .hp-page .hp-stats {
  color: #c8d0d8;
}
.hp-page .hp-stats strong {
  color: #b8860b;
  font-weight: 600;
}
.citizen-dark .hp-page .hp-stats strong {
  color: #dbbd94;
}
.hp-page .hp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
}
.hp-page .hp-badge-list span {
  max-width: 100%;
  padding: 4px 16px;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #3d434e;
  font-size: 0.82rem;
}
.citizen-dark .hp-page .hp-badge-list span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #c8d0d8;
}
.hp-page .hp-link-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 4px 0 6px;
}
.hp-page .hp-link-list a {
  display: inline-block;
  max-width: 100%;
  padding: 3px 0;
  font-size: 0.95rem;
  white-space: normal;
}
.hp-page .hp-link-list a:hover {
  padding-left: 4px;
}
.hp-page .hp-more-link {
  margin-top: 12px;
  font-size: 0.88rem;
}
.hp-page .hp-card-recent {
  grid-column: 1 / -1;
}
.hp-page .hp-recent-content {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.7;
}
.hp-page .hp-recent-content .mw-changeslist {
  margin: 0;
}
.hp-page .hp-recent-content .mw-changeslist ul {
  margin-top: 8px;
  margin-bottom: 12px;
}
.hp-page .hp-recent-content .mw-changeslist li {
  margin-bottom: 6px;
}
.hp-page .hp-recent-content h4 {
  margin: 14px 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #1c1f26;
}
.citizen-dark .hp-page .hp-recent-content h4 {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  color: #e8ecf0;
}
.hp-page .hp-footer {
  width: 100%;
  margin: 10px 0 6px;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: #6a7280;
  text-align: center;
}
.citizen-dark .hp-page .hp-footer {
  color: #88909c;
}
@media (max-width: 1024px) {
  .hp-page .hp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .hp-page .hp-grid {
    gap: 16px;
  }
  .hp-page .hp-welcome {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .hp-page .hp-welcome-text {
    flex: 0 1 auto;
    width: 100%;
  }
  .hp-page .hp-welcome-actions {
    justify-content: center;
  }
  .hp-page .hp-card h3 {
    font-size: 1.15rem;
  }
  .hp-page .hp-search-wrapper {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .hp-page .hp-container {
    gap: 16px;
    padding: 16px 12px 40px;
  }
  .hp-page .hp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .hp-page .hp-header-logo {
    width: 90%;
    max-width: 300px;
  }
  .hp-page .hp-header-sub {
    font-size: 0.82rem;
    letter-spacing: 3px;
  }
  .hp-page .hp-welcome {
    padding: 20px 18px;
    border-radius: 22px;
  }
  .hp-page .hp-welcome-text h2 {
    font-size: 1.15rem;
  }
  .hp-page .hp-welcome-list {
    font-size: 0.9rem;
  }
  .hp-page .hp-card {
    padding: 22px 18px 18px;
    border-radius: 22px;
  }
  .hp-page .hp-card h3 {
    font-size: 1.1rem;
  }
  .hp-page .hp-card p {
    font-size: 0.92rem;
  }
  .hp-page .hp-footer {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }
  .hp-page .hp-search-input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .hp-page .hp-search-btn {
    padding: 12px 16px;
  }
}
.hp-page .hp-card-featured-about {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-card-featured-about {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-card-featured-about:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}
.citizen-dark .hp-page .hp-card-featured-about:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-card-featured-about a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hp-page .hp-featured-bg {
  position: relative;
  min-height: 220px;
  padding: 40px 32px 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 28px;
  overflow: hidden;
  background-color: #2a2e38;
}
.hp-page .hp-featured-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  border-radius: 28px;
}
.hp-page .hp-featured-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}
.hp-page .hp-featured-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.20);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #ffffff;
}
.hp-page .hp-featured-content .hp-icon {
  flex-shrink: 0;
  font-size: 1.6rem;
}
.hp-page .hp-featured-content p {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.90);
}
.hp-page .hp-featured-content .hp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}
.hp-page .hp-featured-content .hp-badge-list span {
  padding: 4px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.82rem;
}
@media (max-width: 560px) {
  .hp-page .hp-featured-bg {
    min-height: 180px;
    padding: 24px 18px 20px;
  }
  .hp-page .hp-featured-content h3 {
    font-size: 1.2rem;
  }
  .hp-page .hp-featured-content p {
    font-size: 0.92rem;
  }
}

.hp-page .hp-card-featured-about {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.citizen-dark .hp-page .hp-card-featured-about {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hp-page .hp-card-featured-about:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}
.hp-page .hp-card-featured-about a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hp-page .hp-featured-bg {
  position: relative;
  min-height: 220px;
  padding: 40px 32px 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 28px;
  overflow: hidden;
  background-color: #242a31;
}
.hp-page .hp-featured-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
  z-index: 0;
  border-radius: 28px;
}
.hp-page .hp-featured-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 70%;
}
.hp-page .hp-featured-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.20);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}
.hp-page .hp-featured-content .hp-icon {
  flex-shrink: 0;
  font-size: 1.6rem;
}
.hp-page .hp-featured-content p {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.90);
}
.hp-page .hp-featured-content .hp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
}
.hp-page .hp-featured-content .hp-badge-list span {
  padding: 4px 16px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.82rem;
}
@media (max-width: 820px) {
  .hp-page .hp-featured-bg {
    min-height: 180px;
    padding: 28px 24px 24px;
  }
  .hp-page .hp-featured-content {
    max-width: 85%;
  }
  .hp-page .hp-featured-bg::before {
    width: 85%;
  }
}
@media (max-width: 560px) {
  .hp-page .hp-featured-bg {
    min-height: 160px;
    padding: 20px 18px 18px;
  }
  .hp-page .hp-featured-content {
    max-width: 100%;
  }
  .hp-page .hp-featured-bg::before {
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
  }
  .hp-page .hp-featured-content h3 {
    font-size: 1.2rem;
  }
  .hp-page .hp-featured-content p {
    font-size: 0.92rem;
  }
}
/* ===== AboutYZY 卡片按钮样式 ===== */
.hp-page .hp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-page .hp-card-link:hover {
  transform: translateY(-4px) scale(1.01);
}
.hp-page .hp-card-link:hover .hp-card-aboutyzy {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.citizen-dark .hp-page .hp-card-link:hover .hp-card-aboutyzy {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.hp-page .hp-card-aboutyzy {
  transition: box-shadow 0.25s ease;
  /* 继承父级 .hp-card 的样式,无需额外定义 */
}
.hp-page .hp-card-clickable {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-page .hp-card-clickable:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.citizen-dark .hp-page .hp-card-clickable:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}