/* ============================================================
 * 多推网 · 浅色雾面玻璃主题（2026-10-29）
 * 品牌蓝紫： #4F5BFF -> #8B3FE8
 * 设计语言：浅雾渐变底 + 白色半透明磨砂卡片 + 高光描边 + 品牌柔光
 * 注意：本文件只改视觉，不改任何类名与 DOM 结构
 * ============================================================ */

:root {
  /* 品牌 */
  --mw-brand-1: #4f5bff;
  --mw-brand-2: #8b3fe8;
  --mw-brand: #4f5bff;
  --mw-brand-dark: #3f49d8;
  --mw-grad: linear-gradient(135deg, #4f5bff 0%, #8b3fe8 100%);
  --mw-grad-soft: linear-gradient(135deg, rgba(79, 91, 255, 0.14) 0%, rgba(139, 63, 232, 0.14) 100%);

  /* 文字 */
  --mw-text: #1b2036;
  --mw-muted: #5b6382;
  --mw-faint: #8b93ad;

  /* 玻璃层 */
  --mw-glass: rgba(255, 255, 255, 0.46);
  --mw-glass-strong: rgba(255, 255, 255, 0.64);
  --mw-glass-weak: rgba(255, 255, 255, 0.3);
  --mw-stroke: rgba(255, 255, 255, 0.78);
  --mw-stroke-soft: rgba(79, 91, 255, 0.14);
  --mw-line: rgba(79, 91, 255, 0.1);
  --mw-inner: inset 0 1px 0 rgba(255, 255, 255, 0.92);

  /* 阴影 / 圆角 */
  --mw-shadow: 0 12px 34px rgba(56, 66, 150, 0.12);
  --mw-shadow-sm: 0 6px 18px rgba(56, 66, 150, 0.08);
  --mw-shadow-glow: 0 10px 26px rgba(79, 91, 255, 0.32);
  --mw-radius: 18px;
  --mw-radius-sm: 12px;
  --mw-radius-xs: 10px;

  --mw-blur: saturate(165%) blur(18px);
  --mw-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--mw-font);
  color: var(--mw-text);
  line-height: 1.65;
  background-color: #eef1fb;
  background-image:
    radial-gradient(920px 640px at 2% -10%, rgba(79, 91, 255, 0.42), rgba(79, 91, 255, 0) 62%),
    radial-gradient(860px 620px at 102% 0%, rgba(139, 63, 232, 0.34), rgba(139, 63, 232, 0) 64%),
    radial-gradient(780px 580px at 62% 104%, rgba(79, 91, 255, 0.26), rgba(79, 91, 255, 0) 66%),
    linear-gradient(180deg, #eef1fd 0%, #e9ecf9 46%, #f2ecfb 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(79, 91, 255, 0.18); }

/* ---------- 通用玻璃工具（.mw-glass 供模板显式使用） ---------- */
.mw-glass,
.mw-topbar,
.mw-channels,
.mw-feed,
.mw-side-card,
.mw-post,
.mw-search-head,
.mw-related-item,
.mw-tag-card,
.mw-category-head,
.mw-error-box,
.mw-footer {
  background: var(--mw-glass);
  -webkit-backdrop-filter: var(--mw-blur);
  backdrop-filter: var(--mw-blur);
  border: 1px solid var(--mw-stroke);
  box-shadow: var(--mw-inner), var(--mw-shadow);
}

/* 老浏览器 / 关闭毛玻璃时降级为实心浅底，保证可读 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mw-glass,
  .mw-topbar,
  .mw-channels,
  .mw-feed,
  .mw-side-card,
  .mw-post,
  .mw-search-head,
  .mw-related-item,
  .mw-tag-card,
  .mw-category-head,
  .mw-error-box,
  .mw-footer {
    background: rgba(255, 255, 255, 0.93);
  }
}

/* ============ 顶部导航 ============ */
.mw-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--mw-stroke);
  background: rgba(250, 251, 255, 0.62);
  box-shadow: var(--mw-inner), 0 10px 34px rgba(56, 66, 150, 0.14);
}
.mw-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 品牌：图标 + 渐变文字 */
.mw-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mw-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}
.mw-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--mw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 顶部搜索：玻璃胶囊 */
.mw-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 420px;
  margin: 0 12px;
  padding: 2px 4px 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 14px rgba(56, 66, 150, 0.07);
}
.mw-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--mw-text);
  padding: 8px 6px;
  font-size: 13px;
  font-family: inherit;
}
.mw-search-input::placeholder { color: var(--mw-faint); }
.mw-search-btn {
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--mw-grad);
  box-shadow: 0 4px 12px rgba(79, 91, 255, 0.26);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mw-search-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79, 91, 255, 0.34); }

/* 顶部按钮 */
.mw-top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mw-btn-login {
  color: var(--mw-brand-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(79, 91, 255, 0.22);
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mw-btn-login:hover { background: #fff; border-color: rgba(79, 91, 255, 0.42); }
.mw-btn-write {
  color: #fff;
  background: var(--mw-grad);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(79, 91, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.mw-btn-write:hover { transform: translateY(-1px); box-shadow: var(--mw-shadow-glow); filter: brightness(1.04); }
.mw-btn-publish { margin-left: 4px; }
.mw-nav-toggle { display: none; background: none; border: none; color: var(--mw-text); font-size: 22px; }

/* 频道条 */
.mw-channels {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(79, 91, 255, 0.1);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.mw-channels::-webkit-scrollbar { display: none; }
.mw-ch {
  position: relative;
  flex-shrink: 0;
  color: var(--mw-muted);
  font-size: 14px;
  line-height: 22px;
  padding: 8px 14px;
  margin: 8px 0;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.mw-ch:hover { color: var(--mw-brand-dark); background: rgba(255, 255, 255, 0.7); }
.mw-ch.mw-ch-on {
  color: #fff;
  font-weight: 700;
  background: var(--mw-grad);
  box-shadow: 0 6px 16px rgba(79, 91, 255, 0.26);
}
.mw-ch.mw-ch-on::after { display: none; }

/* ============ 主体容器 ============ */
.mw-container { max-width: 1200px; margin: 0 auto; padding: 22px 16px 8px; }
.mw-layout { display: flex; gap: 20px; }
.mw-main { flex: 1; min-width: 0; }
.mw-side { width: 300px; flex-shrink: 0; }

/* ============ 首页要闻区 ============ */
.mw-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 16px; }
.mw-hero-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--mw-radius);
  background: #cfd4ee;
  min-height: 200px;
  border: 1px solid var(--mw-stroke);
  box-shadow: var(--mw-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mw-hero-item:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(56, 66, 150, 0.18); }
.mw-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.mw-hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(12, 16, 40, 0) 32%, rgba(14, 18, 46, 0.72) 100%);
}
.mw-hero-main { grid-row: span 2; min-height: 414px; }
.mw-hero-main .mw-hero-body { min-height: 414px; padding: 24px 26px; }
.mw-hero-tag {
  align-self: flex-start;
  padding: 3px 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mw-hero-title { color: #fff; font-size: 20px; line-height: 1.4; font-weight: 700; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.24); }
.mw-hero-main .mw-hero-title { font-size: 26px; }
.mw-hero-meta { color: rgba(255, 255, 255, 0.84); font-size: 12px; margin-top: 8px; }

/* ============ 搜索结果页 ============ */
.mw-search-head {
  border-radius: var(--mw-radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.mw-search-title { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.mw-search-form { display: flex; gap: 10px; }
.mw-search-field {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--mw-text);
  outline: none;
  border-radius: 999px;
  border: 1px solid rgba(79, 91, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mw-search-field:focus { border-color: rgba(79, 91, 255, 0.5); box-shadow: 0 0 0 4px rgba(79, 91, 255, 0.12); }
.mw-search-go {
  border: none;
  cursor: pointer;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border-radius: 999px;
  background: var(--mw-grad);
  box-shadow: 0 6px 18px rgba(79, 91, 255, 0.26);
}
.mw-search-go:hover { filter: brightness(1.05); }
.mw-search-tip { color: var(--mw-faint); font-size: 13px; margin-top: 12px; }

/* ============ 信息流 ============ */
.mw-feed { border-radius: var(--mw-radius); overflow: hidden; }
.mw-item {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--mw-line);
  transition: background 0.18s ease;
}
.mw-item:last-child { border-bottom: none; }
.mw-item:hover { background: rgba(255, 255, 255, 0.42); }
.mw-item-body { flex: 1; min-width: 0; }
.mw-item-title { font-size: 19px; font-weight: 650; line-height: 1.5; margin-bottom: 8px; }
.mw-item-title a { transition: color 0.15s ease; }
.mw-item-title a:hover { color: var(--mw-brand); }
.mw-hot {
  display: inline-block;
  vertical-align: 2px;
  margin-right: 6px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
  background: var(--mw-grad);
}
.mw-item-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mw-muted);
}
.mw-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--mw-faint);
}
.mw-item-meta .mw-tag { color: var(--mw-brand); font-weight: 600; }
.mw-item-meta .mw-source { color: var(--mw-muted); }
.mw-item-img {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  overflow: hidden;
  border-radius: var(--mw-radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.mw-item-img img { width: 100%; height: 100%; object-fit: cover; }
.mw-item-img-ph { display: flex; align-items: center; justify-content: center; color: var(--mw-faint); font-size: 13px; }

/* ============ 分页 ============ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 8px; }
.pagination a {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--mw-brand-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(79, 91, 255, 0.18);
  -webkit-backdrop-filter: var(--mw-blur);
  backdrop-filter: var(--mw-blur);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.pagination a:hover { background: #fff; border-color: rgba(79, 91, 255, 0.4); transform: translateY(-1px); }
.pagination .page-number { color: var(--mw-faint); font-size: 13px; }

/* ============ 右侧栏 ============ */
.mw-side-card { border-radius: var(--mw-radius); padding: 18px; margin-bottom: 16px; }
.mw-side-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}
.mw-side-title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--mw-grad);
  box-shadow: 0 2px 8px rgba(79, 91, 255, 0.35);
}
.mw-rank { list-style: none; counter-reset: rank; }
.mw-rank li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--mw-line);
}
.mw-rank li:last-child { border: none; }
.mw-rank-num {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: #c2c8de;
}
.mw-rank li:nth-child(1) .mw-rank-num,
.mw-rank li:nth-child(2) .mw-rank-num,
.mw-rank li:nth-child(3) .mw-rank-num {
  background: var(--mw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mw-rank-txt { min-width: 0; }
.mw-rank-name { font-size: 14px; line-height: 1.5; }
.mw-rank-name a:hover { color: var(--mw-brand); }
.mw-rank-meta { font-size: 11px; color: var(--mw-faint); margin-top: 3px; }
.mw-side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-side-tags a {
  padding: 6px 13px;
  font-size: 13px;
  color: var(--mw-muted);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(79, 91, 255, 0.12);
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.mw-side-tags a:hover {
  color: #fff;
  background: var(--mw-grad);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(79, 91, 255, 0.26);
}
.mw-side-desc { font-size: 13px; line-height: 1.75; color: var(--mw-muted); margin-bottom: 12px; }
.mw-side-tip { font-size: 12px; line-height: 1.55; color: var(--mw-faint); margin-top: 10px; }
.mw-btn-reg {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  background: var(--mw-grad);
  box-shadow: 0 8px 22px rgba(79, 91, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mw-btn-reg:hover { transform: translateY(-1px); box-shadow: var(--mw-shadow-glow); }

/* ============ 全部频道页 ============ */
.mw-tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mw-tag-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--mw-radius-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mw-tag-card:hover { transform: translateY(-2px); border-color: rgba(79, 91, 255, 0.3); box-shadow: 0 14px 34px rgba(56, 66, 150, 0.16); }
.mw-tag-name { font-size: 16px; font-weight: 650; color: var(--mw-text); transition: color 0.15s ease; }
.mw-tag-card:hover .mw-tag-name { color: var(--mw-brand); }
.mw-tag-count { font-size: 12px; color: var(--mw-faint); }

/* ============ 文章详情 ============ */
.mw-post { border-radius: var(--mw-radius); padding: 30px 34px; }
.mw-post-tag { font-size: 13px; font-weight: 700; color: var(--mw-brand); }
.mw-post-title { margin: 10px 0 12px; font-size: 30px; font-weight: 800; line-height: 1.4; }
.mw-post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mw-faint); }
.mw-post-author { color: var(--mw-muted); font-weight: 600; }
.mw-post-img {
  margin: 20px 0;
  overflow: hidden;
  border-radius: var(--mw-radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--mw-stroke);
}
.mw-post-img img { display: block; width: 100%; height: auto; object-fit: cover; }
.mw-post-content {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.95;
  color: #2a3050;
  overflow-wrap: break-word;
  word-break: break-word;
}
.mw-post-content h2 { font-size: 22px; margin: 26px 0 12px; color: var(--mw-text); }
.mw-post-content h3 { font-size: 19px; margin: 22px 0 10px; color: var(--mw-text); }
.mw-post-content p { margin: 14px 0; }
.mw-post-content img { display: block; max-width: 100%; height: auto; margin: 18px auto; border-radius: var(--mw-radius-sm); }
.mw-post-content a { color: var(--mw-brand); text-decoration: underline; text-decoration-color: rgba(79, 91, 255, 0.36); }
.mw-post-content a:hover { text-decoration-color: var(--mw-brand); }
.mw-post-content blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  color: var(--mw-muted);
  border-left: 3px solid var(--mw-brand);
  border-radius: 0 var(--mw-radius-xs) var(--mw-radius-xs) 0;
  background: rgba(255, 255, 255, 0.55);
}
.mw-post-content pre {
  margin: 16px 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #e7e9f5;
  border-radius: var(--mw-radius-sm);
  background: rgba(27, 32, 54, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mw-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mw-post-tags a {
  padding: 5px 12px;
  font-size: 13px;
  color: var(--mw-muted);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(79, 91, 255, 0.12);
}
.mw-post-tags a:hover { color: var(--mw-brand); border-color: rgba(79, 91, 255, 0.32); }
.mw-post-share {
  margin-top: 20px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--mw-muted);
  border-top: 1px solid var(--mw-line);
}
.mw-post-share a { margin-right: 12px; color: var(--mw-brand); }
.mw-post-share a:hover { text-decoration: underline; }
.mw-post-authorbox {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--mw-radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--mw-stroke);
}
.mw-author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: var(--mw-grad);
  box-shadow: 0 6px 16px rgba(79, 91, 255, 0.28);
}
.mw-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mw-author-name { font-size: 16px; font-weight: 700; }
.mw-author-name:hover { color: var(--mw-brand); }
.mw-author-bio { font-size: 13px; color: var(--mw-muted); margin-top: 4px; }
.mw-post-comments { margin-top: 24px; }
.mw-post-comments .gh-comments { border-radius: var(--mw-radius-sm); background: rgba(255, 255, 255, 0.62); }

/* 相关推荐 */
.mw-related { margin-top: 20px; }
.mw-related-item { padding: 15px 20px; margin-bottom: 10px; border-radius: var(--mw-radius-sm); }
.mw-related-title { display: block; font-size: 15px; font-weight: 650; line-height: 1.5; }
.mw-related-title:hover { color: var(--mw-brand); }

/* ============ 分类 / 作者页头 ============ */
.mw-category-head { padding: 22px 26px; margin-bottom: 16px; border-radius: var(--mw-radius); }
.mw-category-name { font-size: 26px; font-weight: 800; }
.mw-category-desc { margin-top: 6px; font-size: 14px; color: var(--mw-muted); }
.mw-category-count { display: block; margin-top: 8px; font-size: 13px; color: var(--mw-faint); }

/* ============ 404 ============ */
.mw-error { display: flex; align-items: center; justify-content: center; min-height: 62vh; }
.mw-error-box { padding: 48px 60px; text-align: center; border-radius: var(--mw-radius); }
.mw-error-code {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: var(--mw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mw-error-title { font-size: 22px; margin: 16px 0 8px; }
.mw-error-desc { color: var(--mw-muted); margin-bottom: 22px; }
.mw-error-btn {
  display: inline-block;
  padding: 11px 30px;
  color: #fff;
  border-radius: 999px;
  background: var(--mw-grad);
  box-shadow: 0 8px 22px rgba(79, 91, 255, 0.28);
}
.mw-error-btn:hover { filter: brightness(1.05); }

/* ============ 页脚 ============ */
.mw-footer {
  margin-top: 26px;
  border-radius: var(--mw-radius) var(--mw-radius) 0 0;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 -6px 26px rgba(56, 66, 150, 0.06);
}
.mw-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 2;
  color: var(--mw-faint);
}
.mw-footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
}
.mw-footer-brand img { width: 22px; height: 22px; border-radius: 6px; }
.mw-footer-brand span {
  background: var(--mw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mw-footer-slogan { color: var(--mw-muted); }
.mw-footer-links a { margin: 0 10px; color: var(--mw-muted); transition: color 0.15s ease; }
.mw-footer-links a:hover { color: var(--mw-brand); }
.mw-footer-copy { color: var(--mw-faint); }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .mw-side { display: none; }
  .mw-item { padding: 14px 16px; }
  .mw-item-title { font-size: 17px; }
  .mw-item-img { width: 120px; height: 85px; }
  .mw-top-actions { margin-left: auto; }
  .mw-search { display: none; }
  .mw-logo-text { font-size: 19px; }
  .mw-logo img { width: 26px; height: 26px; }
  .mw-channels { gap: 4px; }
  .mw-ch { font-size: 13px; padding: 7px 12px; }
  .mw-hero { grid-template-columns: 1fr; }
  .mw-hero-main { min-height: 220px; }
  .mw-hero-main .mw-hero-body { min-height: 220px; }
  .mw-hero-main .mw-hero-title { font-size: 20px; }
  .mw-tag-grid { grid-template-columns: repeat(2, 1fr); }
  .mw-post { padding: 20px 16px; }
  .mw-post-title { font-size: 22px; }
  .mw-topbar-inner { height: 58px; }
}

@media (max-width: 480px) {
  .mw-btn-login { display: none; }
  .mw-container { padding: 16px 12px 4px; }
}

/* ============ Ghost 编辑器图片卡片宽度 ============ */
.kg-width-wide { margin-left: -24px; margin-right: -24px; }
.kg-width-full { margin-left: -50vw; margin-right: -50vw; max-width: 100vw; }
.kg-canvas { max-width: 740px; margin: 0 auto; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
