/* ==========================================================================
 * xiaomiaocili.com「小喵磁力」- 前台样式
 * 主题：奶油底 + 樱花粉，圆润卡片 + 猫爪/猫咪插画，轻可爱风格
 * 说明：全站内容由 PHP 服务端直出，本站点样式不参与任何内容渲染
 * ========================================================================== */

:root {
  --primary: #ff7fa8;
  --primary-dark: #e8578a;
  --primary-soft: #ffe3ec;
  --accent: #ffab6b;
  --accent-dark: #f08a3c;
  --mint: #6fd0b7;
  --mint-soft: #e4f8f2;
  --text: #4a3944;
  --muted: #8c7884;
  --faint: #b6a3ad;
  --bg: #fff8f5;
  --card: #ffffff;
  --cream: #fffaf7;
  --border: #ffe2ea;
  --border-strong: #ffc7d8;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 4px 16px rgba(232, 87, 138, .07);
  --shadow-hover: 0 12px 28px rgba(232, 87, 138, .16);
  --grad: linear-gradient(135deg, #ffe1ea 0%, #fff1e4 46%, #e6f9f2 100%);
  --grad-btn: linear-gradient(135deg, #ffa0bf, #ff7fa8 60%, #ff6f9c);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    url("/assets/images/paw-pattern.svg"),
    radial-gradient(circle at 10% 6%, #ffe7f0 0, rgba(255, 231, 240, 0) 44%),
    radial-gradient(circle at 92% 2%, #e6f8f2 0, rgba(230, 248, 242, 0) 40%),
    radial-gradient(circle at 50% 100%, #fff1e6 0, rgba(255, 241, 230, 0) 55%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 160px 160px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: scroll, fixed, fixed, fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.4; }
.muted { color: var(--muted); font-size: 13px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff;
  padding: 8px 14px; border-radius: 0 0 12px 0; z-index: 99;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------------- 顶栏 ---------------- */
.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-img { width: 38px; height: 38px; border-radius: 12px; display: block; box-shadow: 0 3px 10px rgba(232, 87, 138, .18); }
.logo-text {
  font-size: 18px; font-weight: 800; letter-spacing: .5px;
  display: flex; flex-direction: column; line-height: 1.15; color: var(--primary-dark);
}

.main-nav {
  display: flex; align-items: center; gap: 4px; flex: 1 1 auto; flex-wrap: wrap;
  scrollbar-width: none; -ms-overflow-style: none;
}
.main-nav::-webkit-scrollbar { width: 0; height: 0; display: none; }
.main-nav a {
  padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap;
  transition: background .16s, color .16s;
}
.main-nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.main-nav .nav-home { color: var(--primary-dark); font-weight: 700; background: var(--primary-soft); }

.top-search { display: flex; align-items: center; flex: 0 0 auto; }
.top-search input {
  width: 176px; height: 36px; border: 1.5px solid var(--border); border-right: none;
  border-radius: 999px 0 0 999px; padding: 0 14px; font-size: 14px; font-family: inherit;
  color: var(--text); background: var(--cream); outline: none;
}
.top-search input:focus { border-color: var(--primary); background: #fff; }
.top-search button {
  height: 36px; width: 46px; border: 1.5px solid var(--primary); border-left: none; cursor: pointer;
  border-radius: 0 999px 999px 0; background: var(--grad-btn); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.top-search button:hover { filter: brightness(1.04); }

.domain-tip {
  background: linear-gradient(90deg, #fff2e6, #ffe9f0);
  color: #b4623f; border-bottom: 1px dashed var(--border-strong);
  text-align: center; font-size: 13px; padding: 8px 16px;
}

.page-main { padding-top: 18px; padding-bottom: 38px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 40px 28px 34px;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(232, 87, 138, .1);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/images/paw-pattern.svg") repeat;
  background-size: 140px 140px; opacity: .5; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-cat {
  position: absolute; right: 20px; bottom: 2px; width: 172px; height: 172px;
  z-index: 0; pointer-events: none; opacity: .96;
  animation: catFloat 5.5s ease-in-out infinite;
}
@keyframes catFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-9px) rotate(1.5deg); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--primary-dark); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 4px 14px; font-size: 12.5px; font-weight: 600;
  margin-bottom: 14px; box-shadow: 0 2px 8px rgba(232, 87, 138, .1);
}
.hero-title {
  font-size: 30px; margin: 0 0 10px; font-weight: 800; letter-spacing: .5px;
  color: #5c3a48;
}
.hero-title em { font-style: normal; color: var(--primary-dark); }
.hero-sub { margin: 0 0 22px; color: #8a6b76; font-size: 14px; }
.hero-search {
  display: flex; align-items: center; max-width: 620px; margin: 0 auto;
  background: #fff; border-radius: 999px; padding: 6px 6px 6px 16px;
  box-shadow: 0 10px 24px rgba(232, 87, 138, .16);
  border: 1.5px solid #fff;
}
.hero-search:focus-within { border-color: var(--border-strong); }
.hs-icon { display: flex; color: var(--primary); flex: 0 0 auto; }
.hs-input {
  flex: 1 1 auto; border: none; outline: none; height: 42px; padding: 0 12px;
  font-size: 15px; font-family: inherit; color: var(--text); background: transparent; min-width: 0;
}
.hs-btn {
  flex: 0 0 auto; border: none; cursor: pointer; height: 42px; padding: 0 26px; border-radius: 999px;
  background: var(--grad-btn); color: #fff;
  font-size: 15px; font-weight: 700; font-family: inherit;
  box-shadow: 0 4px 12px rgba(232, 87, 138, .3);
}
.hs-btn:hover { filter: brightness(1.05); }
.hero-tip { margin: 16px auto 0; max-width: 680px; font-size: 13px; color: #8a6b76; }
.hero-tip a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- 首页「最新文章」条 ---------------- */
.latest-art {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--card); border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 11px 16px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.la-label {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--grad-btn); border-radius: 999px; padding: 3px 11px; letter-spacing: .5px;
}
.la-title {
  flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.la-title:hover { color: var(--primary-dark); }
.la-date { flex: 0 0 auto; font-size: 12px; color: var(--faint); }
.la-more { flex: 0 0 auto; font-size: 13px; color: var(--primary-dark); }
.la-more:hover { text-decoration: underline; }
.la-empty { flex: 1 1 auto; font-size: 14px; color: var(--faint); }

/* ---------------- 内容模块 ---------------- */
.sec {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head-sub { margin-top: 22px; }
.sec-title { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 9px; font-weight: 800; color: #5c3a48; }

/* 标题前的小猫爪（纯 CSS 绘制，成为全站统一的可爱记号） */
.bar {
  width: 20px; height: 20px; display: inline-block; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23ff7fa8'%3E%3Cellipse cx='12' cy='15.4' rx='5.1' ry='4.3'/%3E%3Cellipse cx='5.2' cy='9.4' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.7' cy='6.4' rx='2.1' ry='2.9'/%3E%3Cellipse cx='14.6' cy='6.4' rx='2.1' ry='2.9'/%3E%3Cellipse cx='19' cy='9.6' rx='2.1' ry='2.7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.sec-tip { font-size: 12.5px; color: var(--faint); background: var(--cream); border-radius: 999px; padding: 2px 12px; }
.sec-more { font-size: 13px; color: var(--primary-dark); }
.sec-more:hover { text-decoration: underline; }
.sub-title {
  font-size: 14px; color: var(--muted); margin: 16px 0 10px; font-weight: 700;
  padding-left: 12px; border-left: 4px solid var(--mint);
}
.sub-title:first-child { margin-top: 0; }

/* 入口卡片 */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 12px; }
.site-card {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; transition: transform .16s, box-shadow .16s, border-color .16s, background .16s;
}
.site-card:hover {
  transform: translateY(-3px); border-color: var(--border-strong);
  box-shadow: var(--shadow-hover); background: #fff;
}
.sc-ico {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, #ffe6ef, #fff0e2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sc-ico img { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; }
.ico-char { font-size: 18px; line-height: 1; }
.sc-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.sc-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #57414c; }
.sc-desc { font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-go { flex: 0 0 auto; color: var(--border-strong); font-size: 19px; line-height: 1; }

/* ---------------- 榜单 ---------------- */
.rank-box { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 18px; }
.rank-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rank-title { font-size: 15.5px; margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; color: #5c3a48; }
.rank-more { font-size: 13px; color: var(--primary-dark); }
.rank-tip { font-size: 12px; color: var(--faint); }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-item a {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px;
}
.rank-item a:hover { background: var(--primary-soft); }
.rank-no {
  flex: 0 0 auto; width: 21px; height: 21px; border-radius: 8px; background: #ffeef3; color: var(--primary-dark);
  font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.rank-no.top { background: var(--grad-btn); color: #fff; }
.rank-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { flex: 0 0 auto; font-size: 12px; color: var(--faint); }

/* ---------------- 文章 ---------------- */
.art-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.art-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 15px;
  transition: transform .16s, box-shadow .16s, border-color .16s, background .16s;
}
.art-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-hover); background: #fff; }
.art-title { font-size: 15px; margin: 0 0 8px; font-weight: 700; }
.art-title a:hover { color: var(--primary-dark); }
.art-summary {
  margin: 0 0 10px; font-size: 13px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--faint); }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--primary-soft); color: var(--primary-dark);
  border-radius: 999px; padding: 3px 12px; font-size: 12px; white-space: nowrap;
}
.chip:hover { background: #ffd6e3; }
.chip-cat { background: var(--mint-soft); color: #2f8d76; }
.chip-cat:hover { background: #d3f3ea; }
.chip .cnt { color: var(--faint); font-size: 11px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 20px 0 4px; }
.pg-btn {
  display: inline-block; min-width: 36px; padding: 6px 12px; text-align: center; font-size: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; color: var(--muted);
}
a.pg-btn:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }
.pg-btn.current { background: var(--grad-btn); border-color: transparent; color: #fff; font-weight: 700; }
.pg-btn.disabled { opacity: .45; }
.pg-gap { color: var(--faint); }
.pg-info { font-size: 13px; color: var(--faint); margin-left: 6px; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--primary-dark); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------------- 通用区块 ---------------- */
.mod {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.mod-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mod-title { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 9px; font-weight: 800; color: #5c3a48; }
.mod-tip { font-size: 12.5px; color: var(--faint); }
.mod-more { font-size: 13px; color: var(--primary-dark); }
.seo-text p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.seo-text p:last-child { margin-bottom: 0; }
h2.sec-title, h1.mod-title { margin: 0; }

.empty { text-align: center; color: var(--faint); padding: 26px 10px; margin: 0; }

/* ---------------- 两栏布局 ---------------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.col-main { min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 14px; }
.side-box { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 15px; }
.side-title {
  font-size: 15px; margin: 0 0 10px; font-weight: 800; color: #5c3a48;
  display: flex; align-items: center; gap: 7px;
}
.side-title::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: 0 0 auto;
}
.side-cats, .side-arts { list-style: none; margin: 0; padding: 0; }
.side-cats li a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 9px; border-radius: 10px; font-size: 14px; color: var(--muted);
}
.side-cats li a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.side-cats li a.current { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; }
.side-arts li a {
  display: block; padding: 6px 9px; border-radius: 10px; font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.side-arts li a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.side-text { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.side-btn {
  display: block; text-align: center; padding: 9px; border-radius: 999px; font-size: 14px;
  background: var(--grad-btn); color: #fff; font-weight: 600;
}
.side-btn:hover { filter: brightness(1.05); }

/* ---------------- 详情页 ---------------- */
.detail {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.detail-title { font-size: 24px; margin: 0 0 12px; font-weight: 800; color: #52394a; line-height: 1.45; }
.detail-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--faint); margin-bottom: 14px; }
.detail-summary {
  background: var(--cream); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0;
  padding: 11px 15px; font-size: 14px; color: var(--muted); margin: 0 0 16px;
}
.detail-h2 {
  font-size: 17px; margin: 26px 0 12px; font-weight: 800; color: #5c3a48;
  display: flex; align-items: center; gap: 8px;
}
.detail-h2::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: 0 0 auto;
}
.rich { font-size: 15px; line-height: 1.95; word-break: break-word; color: #5a4650; }
.rich h2 { font-size: 18px; margin: 24px 0 10px; }
.rich h3 { font-size: 16px; margin: 20px 0 8px; }
.rich p { margin: 0 0 12px; }
.rich ul, .rich ol { margin: 0 0 12px; padding-left: 22px; }
.rich li { margin-bottom: 5px; }
.rich img { border-radius: 14px; }
.rich a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote {
  margin: 0 0 12px; padding: 10px 16px; background: var(--cream);
  border-left: 4px solid var(--border-strong); color: var(--muted); border-radius: 0 12px 12px 0;
}
.tip-list { margin: 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.tip-list li { margin-bottom: 7px; }

.go-panel {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(135deg, #fff2f7, #eefbf6);
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 15px 17px; margin: 0 0 18px;
}
.go-btn {
  display: inline-block; background: var(--grad-btn); color: #fff;
  font-weight: 700; font-size: 15px; padding: 12px 28px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(232, 87, 138, .26);
}
.go-btn:hover { filter: brightness(1.05); }
.go-hint { font-size: 12px; color: var(--muted); }

/* /nav 分组 */
.link-group { margin-bottom: 22px; }
.link-group:last-child { margin-bottom: 0; }
.lg-title { font-size: 16px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-weight: 800; }
.lg-main { color: #5c3a48; }
.lg-sub { color: var(--muted); font-size: 14px; font-weight: 600; }
.lg-count {
  font-size: 12px; color: var(--primary-dark); font-weight: 700;
  background: var(--primary-soft); border-radius: 999px; padding: 1px 10px;
}

/* 内联搜索 */
.inline-search { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.inline-search input {
  flex: 1 1 220px; height: 42px; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0 16px; font-size: 14px; font-family: inherit; outline: none; background: #fff;
}
.inline-search input:focus { border-color: var(--primary); }
.inline-search button {
  flex: 0 0 auto; height: 42px; padding: 0 26px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--grad-btn); color: #fff; font-size: 14px; font-weight: 600; font-family: inherit;
}
.inline-search button:hover { filter: brightness(1.05); }

.nf-wrap { text-align: center; }
.nf-wrap .inline-search { max-width: 460px; margin-left: auto; margin-right: auto; }
.nf-cat { width: 132px; height: 132px; margin: 0 auto 6px; display: block; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: linear-gradient(180deg, #4b3440, #3c2a34);
  color: #cbb6c1; margin-top: 34px; padding-top: 18px;
}
.foot-cat {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #93697a; margin-top: -4px; opacity: .9;
}
.foot-cat .paw { width: 16px; height: 16px; }
.foot-cat .paw-lg { width: 24px; height: 24px; }
.foot-cat .paw-sm { width: 13px; height: 13px; opacity: .65; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 22px; padding-bottom: 22px; padding-top: 10px; }
.foot-title { font-size: 14px; margin: 0 0 10px; color: #fff; font-weight: 700; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 6px; font-size: 13px; }
.foot-links a:hover { color: #ffd0e0; }
.foot-about p { font-size: 13px; margin: 0; color: #ab97a2; }
.foot-bottom {
  border-top: 1px dashed #5c4451; padding: 14px 16px 22px; font-size: 12px; color: #9d8893;
}
.foot-bottom p { margin: 0 0 6px; }
.foot-bottom a { color: #cbb6c1; }
.foot-bottom a:hover { color: #ffd0e0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .top-search input { width: 150px; }
  .hero-cat { width: 140px; height: 140px; opacity: .9; }
  .hero-title { font-size: 26px; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .header-inner { gap: 10px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .main-nav a { padding: 5px 10px; font-size: 13px; }
  .top-search { flex: 1 1 100%; }
  .top-search input { width: 100%; }
  .hero { padding: 26px 16px 22px; border-radius: 20px; }
  .hero-cat { position: static; display: block; margin: 0 auto 10px; width: 108px; height: 108px; }
  .hero-title { font-size: 21px; }
  .hero-sub { font-size: 13px; }
  .hero-search { padding: 4px 4px 4px 12px; }
  .hs-btn { padding: 0 16px; font-size: 14px; }
  .site-grid { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 10px; }
  .site-card { padding: 10px; }
  .sc-desc { display: none; }
  .art-list { grid-template-columns: 1fr; }
  .sec, .mod, .detail { padding: 15px; border-radius: 16px; }
  .detail-title { font-size: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .rank-meta { display: none; }
  .latest-art { padding: 10px 12px; gap: 8px; }
  .la-title { flex-basis: 100%; order: 3; white-space: normal; }
  .la-date { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cat { animation: none; }
  .site-card, .art-card { transition: none; }
}
