/* ==========================================================================
   视觉方向：仿浏览器新标签页（大时钟 + 柔和渐变 + 圆角快捷方式方块）
   全站服务端渲染，本文件只负责样式，不参与内容渲染。
   ========================================================================== */

:root {
  --ink: #2c2c3a;
  --ink-soft: #5b5b6e;
  --muted: #8b8b9c;
  --line: rgba(120, 120, 150, .16);
  --surface: rgba(255, 255, 255, .74);
  --surface-solid: #ffffff;
  --pink: #ff5c8a;
  --pink-soft: #ffd0dd;
  --violet: #7c6cff;
  --blue: #4f8cff;
  --shadow-sm: 0 2px 10px rgba(88, 74, 120, .07);
  --shadow: 0 10px 30px rgba(88, 74, 120, .10);
  --shadow-lg: 0 18px 50px rgba(88, 74, 120, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1240px 640px at 50% -14%, rgba(211, 182, 240, .52) 0%, rgba(211, 182, 240, 0) 64%),
    radial-gradient(800px 580px at 50% 45%, #f6bcda 0%, rgba(246, 188, 218, .55) 44%, rgba(252, 230, 241, 0) 84%),
    radial-gradient(1100px 620px at 50% 108%, rgba(252, 222, 238, .85) 0%, rgba(252, 222, 238, 0) 72%),
    linear-gradient(180deg, #fdf3fa 0%, #fcebf5 52%, #fdf4fa 100%);
  background-attachment: fixed;
}

/* 背景柔光装饰 */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-bg span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .26;
}
.page-bg .b1 { width: 460px; height: 460px; left: -120px; top: 6%; background: #ffd9ec; }
.page-bg .b2 { width: 380px; height: 380px; right: -100px; top: 14%; background: #e6cdf5; }
.page-bg .b3 { width: 520px; height: 520px; left: 30%; bottom: -200px; background: #ffd2e7; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* 仅供搜索引擎与读屏器识别的标题 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ============================ 首页骨架 ============================ */

.home-body { display: flex; flex-direction: column; }

.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: .2px;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #ff8fb1, #8f7bff);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(150, 110, 220, .28);
}
.brand-sub { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 2px; }

.home-links { display: flex; align-items: center; gap: 6px; }
.home-links a {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.home-links a:hover { background: rgba(255, 255, 255, .7); color: var(--pink); }

.home-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 20px 56px;
}

/* 时钟 */
.clock-wrap { text-align: center; padding: 26px 0 20px; }
.clock {
  font-size: clamp(56px, 9vw, 82px);
  line-height: 1;
  font-weight: 200;
  letter-spacing: 2px;
  color: #3b3348;
  font-variant-numeric: tabular-nums;
}
.clock-date {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.clock-date .dot { color: #c3bccf; }

.home-h1 {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
  letter-spacing: .2px;
  text-align: center;
}
.home-h1 strong { color: var(--ink); font-weight: 650; }

/* ============================ 搜索 ============================ */

.search-card { max-width: 720px; margin: 0 auto; }

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 8px 0 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(120, 100, 160, .14);
  transition: box-shadow .22s, transform .22s;
}
.search-form:focus-within {
  box-shadow: 0 16px 40px rgba(120, 100, 160, .2), 0 0 0 4px rgba(255, 168, 196, .28);
}
.search-icon { flex: none; display: inline-flex; color: #b9afc9; }
.search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
}
.search-input::placeholder { color: #b3aabd; }
.search-btn {
  flex: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff85a8, #8f7bff);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(150, 110, 220, .3);
  transition: transform .15s, filter .2s;
}
.search-btn:hover { filter: brightness(1.05); transform: scale(1.04); }
.search-btn:active { transform: scale(.97); }

.engine-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}
.engine-tabs .tab {
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .58);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 12.5px;
  padding: 5px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}
.engine-tabs .tab:hover { background: #fff; color: var(--pink); }
.engine-tabs .tab.active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(120, 100, 160, .14);
}

/* 快捷关键词 */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  padding: 5px 13px 5px 9px;
  transition: .2s;
}
.chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chip-color, #ff9dbb);
}
.chip:nth-child(2)::before { background: #b2a6ff; }
.chip:nth-child(3)::before { background: #8ec6ff; }
.chip:nth-child(4)::before { background: #ffc78a; }
.chip:hover { background: #fff; color: var(--ink); transform: translateY(-1px); }

/* ============================ 快捷方式卡片 ============================ */

.shortcut-board { margin: 36px 0 6px; }

.shortcut-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sc-card {
  width: 108px;
  height: 114px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 22px rgba(120, 100, 160, .10);
  transition: transform .2s, box-shadow .2s;
}
.sc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(120, 100, 160, .18); }

.sc-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(145deg, var(--c1, #ffb1c8), var(--c2, #ff6f97));
  text-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.sc-name {
  max-width: 92px;
  font-size: 12px;
  line-height: 1.4;
  color: #5f5970;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 强调卡（图片中的红色整块） */
.sc-card--accent {
  background: linear-gradient(150deg, #ff6b86, #ff3358);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(255, 80, 120, .30);
}
.sc-card--accent:hover { box-shadow: 0 16px 32px rgba(255, 80, 120, .38); }
.sc-card--accent .sc-icon { background: rgba(255, 255, 255, .22); text-shadow: none; }
.sc-card--accent .sc-name { color: #fff; font-weight: 600; }

/* 2×2 小宫格卡（图片中的四格） */
.sc-card--mini { cursor: default; padding: 0 10px; }
.sc-card--mini:hover { transform: none; }
.mini-grid {
  width: 60px;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.mini-app {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--c1, #ffb1c8), var(--c2, #ff6f97));
  transition: filter .2s, transform .2s;
}
.mini-app:hover { filter: brightness(1.06); transform: scale(1.05); }

/* ============================ 文章卡片区 ============================ */

.home-section { margin-top: 34px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 4px;
}
.section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.section-head .sh-note { font-size: 12px; color: var(--muted); }
.section-head .sh-more { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.section-head .sh-more:hover { color: var(--pink); }

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pick-card {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.pick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }

.pick-thumb {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(145deg, var(--c1, #ffb1c8), var(--c2, #ff6f97));
}
.pick-body { min-width: 0; }
.pick-body h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pick-meta { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }

/* ============================ 首页正文（SEO） ============================ */

.guide {
  margin-top: 36px;
  padding: 26px 26px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}
.guide > h2,
.guide > .guide-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .2px;
}
.guide-lead {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.guide-grid h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  padding-left: 9px;
  border-left: 3px solid var(--pink);
  line-height: 1.4;
}
.guide-grid p,
.guide-grid li { font-size: 12.8px; line-height: 1.85; color: #63607a; }
.guide-grid p { margin: 0 0 8px; }
.guide-grid ul,
.guide-grid ol { margin: 0; padding-left: 18px; }
.guide-grid li { margin-bottom: 4px; }
.guide-grid code {
  background: rgba(124, 108, 255, .09);
  color: #6a5ae0;
  border-radius: 5px;
  padding: 1px 5px;
  font-family: Consolas, Menlo, monospace;
  font-size: 11.5px;
  word-break: break-all;
}
.guide-grid pre {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: rgba(44, 44, 58, .9);
  border-radius: 10px;
  overflow-x: auto;
}
.guide-grid pre code { background: none; color: #e9e6ff; padding: 0; font-size: 11px; }
.guide-more {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.guide-more a { color: var(--violet); }
.guide-more a:hover { text-decoration: underline; }

/* ============================ 页脚 ============================ */

.footer {
  margin-top: auto;
  padding: 22px 20px 30px;
  text-align: center;
  font-size: 12px;
  color: #7d6373;
}
.footer-inner { max-width: 920px; margin: 0 auto; }
.footer-inner p { margin: 4px 0; }
.footer-inner a { color: var(--ink-soft); }
.footer-inner a:hover { color: var(--pink); }
.footer-sep { color: #cfc8d8; margin: 0 6px; }

/* ============================ 内页：顶部导航 ============================ */

.top-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  background: rgba(252, 234, 245, .76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; }
.logo-icon { width: 30px; height: 30px; border-radius: 10px; }
.logo-text { color: var(--ink); }

.top-search { display: flex; align-items: center; gap: 6px; max-width: 340px; flex: 1 1 auto; }
.top-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: box-shadow .2s;
}
.top-search input:focus { box-shadow: 0 0 0 3px rgba(255, 168, 196, .28); }
.top-search button {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff85a8, #8f7bff);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-wrap { flex: 1 0 auto; padding-top: 24px; padding-bottom: 48px; }
.articles-page { padding-top: 22px; }

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb i { font-style: normal; color: #cfc8d8; }
.breadcrumb span { color: var(--ink-soft); }

/* 标题 */
.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.title-bar {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff85a8, #8f7bff);
}
.page-intro { margin: 0 0 16px; font-size: 13px; color: var(--muted); }

/* 布局 */
.articles-wrap {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 820px) { .articles-wrap { grid-template-columns: minmax(0, 1fr); } }
.articles-main { min-width: 0; }

/* 侧栏 */
.article-nav {
  position: sticky;
  top: 84px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}
.article-nav h3 { margin: 16px 0 8px; font-size: 13px; font-weight: 650; color: var(--ink); }
.article-nav h3:first-child { margin-top: 0; }
.article-nav-list { list-style: none; margin: 0; padding: 0; }
.article-nav-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.article-nav-list li:last-child { border-bottom: none; }
.article-nav-list a { display: block; color: var(--ink-soft); }
.article-nav-list a:hover { color: var(--pink); }
.article-nav .muted { color: #b3aabd; font-size: 11.5px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag-link {
  display: inline-block;
  font-size: 11.5px;
  color: #6f6883;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 3px 10px;
  transition: .2s;
}
.tag-link:hover { background: #fff; color: var(--violet); }

/* 文章列表 */
.article-list { display: flex; flex-direction: column; gap: 10px; }
.article-card {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }
.article-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; line-height: 1.55; }
.article-card h3 a:hover { color: var(--pink); }
.article-card p { margin: 0 0 8px; font-size: 12.8px; color: var(--ink-soft); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.meta-cat {
  color: var(--violet);
  background: rgba(124, 108, 255, .1);
  border-radius: 999px;
  padding: 1px 9px;
}
.meta-cat:hover { text-decoration: underline; }
.card-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.card-tags .tag-link { font-size: 11px; padding: 2px 8px; }

/* 分页 */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.pagination a,
.pagination span {
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  color: var(--ink-soft);
  transition: .2s;
}
.pagination a:hover { background: #fff; color: var(--pink); }
.pagination .current {
  background: linear-gradient(140deg, #ff85a8, #8f7bff);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

/* 文章详情 */
.article-detail {
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  word-break: break-word;
}
.article-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.article-head h1 { margin: 0 0 10px; font-size: 23px; font-weight: 700; line-height: 1.5; }
.article-detail .article-meta { gap: 8px 14px; font-size: 12px; }

.article-summary {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  border-left: 3px solid var(--pink);
  background: rgba(255, 236, 242, .7);
  font-size: 13px;
  line-height: 1.85;
  color: #6b5b68;
}

.article-content { font-size: 14.5px; line-height: 1.9; color: #3a3a4a; }
.article-content > *:first-child { margin-top: 0; }
.article-content > *:last-child { margin-bottom: 0; }
.article-content p { margin: 0 0 13px; }
.article-content h1,
.article-content h2 {
  margin: 26px 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--pink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
}
.article-content h3 { margin: 20px 0 10px; font-size: 16px; font-weight: 650; }
.article-content h4 { margin: 16px 0 8px; font-size: 14.5px; font-weight: 650; }
.article-content ul,
.article-content ol { margin: 0 0 13px; padding-left: 22px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 5px; }
.article-content li > ul,
.article-content li > ol { margin: 5px 0 0; }
.article-content a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--pink); }
.article-content strong,
.article-content b { font-weight: 700; color: #1f1f2c; }
.article-content blockquote {
  margin: 0 0 13px;
  padding: 10px 16px;
  border-radius: 0 10px 10px 0;
  border-left: 3px solid var(--line);
  background: rgba(255, 255, 255, .7);
  color: #5b5b6e;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content img { display: block; max-width: 100%; margin: 6px auto; border-radius: 10px; }
.article-content iframe,
.article-content video { max-width: 100%; border-radius: 10px; }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.article-content code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(124, 108, 255, .1);
  color: #6a5ae0;
  font-family: Consolas, Menlo, monospace;
  font-size: .92em;
}
.article-content pre {
  margin: 0 0 13px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(44, 44, 58, .92);
  color: #e9e6ff;
  font-size: 12.5px;
  line-height: 1.7;
  overflow-x: auto;
}
.article-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 13px;
  font-size: 13px;
}
.article-content th,
.article-content td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; }
.article-content th { background: rgba(255, 255, 255, .8); font-weight: 650; }

.article-tags { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.article-tags .tags-label { margin-right: 6px; color: var(--muted); }

.related-news { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.related-news h2 { margin: 0 0 10px; font-size: 15px; font-weight: 650; }
.related-news ul { list-style: none; margin: 0; padding: 0; }
.related-news li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.related-news li:last-child { border-bottom: none; }
.related-news a:hover { color: var(--pink); }
.related-news .muted { flex: none; color: var(--muted); font-size: 12px; }

.article-foot { margin-top: 18px; }
.back-link { display: inline-block; font-size: 13px; color: var(--violet); }
.back-link:hover { text-decoration: underline; }

/* 搜索页 */
.search-box { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.search-box input[type="text"] {
  flex: 1 1 240px;
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.search-box select {
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-soft);
}
.search-box button {
  height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(140deg, #ff85a8, #8f7bff);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(150, 110, 220, .24);
}
.search-box button:hover { filter: brightness(1.05); }
.search-box input:focus,
.search-box select:focus { box-shadow: 0 0 0 3px rgba(255, 168, 196, .26); }

/* 空状态 */
.empty-tip {
  padding: 54px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .85);
}

/* 内页页脚 */
.articles-page + .footer,
.main-wrap + .footer { margin-top: 0; }

/* ============================ 响应式 ============================ */

@media (max-width: 960px) {
  .shortcut-row { gap: 10px; }
}

@media (max-width: 780px) {
  .home-main { padding-top: 6px; }
  .clock-wrap { padding: 18px 0 16px; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide { padding: 20px 18px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .article-detail { padding: 20px 16px; }
  .article-head h1 { font-size: 20px; }
  .article-content { font-size: 14px; }
  .article-content h1,
  .article-content h2 { font-size: 16.5px; }
  .top-search { max-width: 200px; }
}

@media (max-width: 620px) {
  .shortcut-row { gap: 8px; }
  .sc-card { width: 98px; height: 104px; border-radius: 18px; }
  .sc-icon { width: 42px; height: 42px; font-size: 17px; border-radius: 13px; }
  .mini-grid { width: 54px; height: 54px; gap: 5px; }
  .clock { letter-spacing: 1px; }
  .search-form { height: 52px; padding-left: 14px; }
  .search-input { font-size: 14px; }
  .pick-grid { grid-template-columns: minmax(0, 1fr); }
  .home-links a { padding: 6px 9px; }
  .brand-sub { display: none; }
  .page-title { font-size: 19px; }
}
