:root {
  --brand: #a32328;
  --brand-dark: #7c171b;
  --brand-soft: #f6e7e3;
  --gold: #c39a4d;
  --gold-soft: #f3e6cd;
  --ink: #24211e;
  --ink-2: #4b453f;
  --muted: #857c73;
  --line: #e8dfd2;
  --cream: #faf6ef;
  --card: #fffdf9;
  --green: #2f6f5e;
  --shadow: 0 10px 30px -18px rgba(60, 40, 20, .45);
  --radius: 14px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(163, 35, 40, .035) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.page { position: relative; z-index: 1; padding: 26px 0 64px; min-height: 60vh; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px -12px rgba(80, 50, 20, .5);
}
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--brand), #c04a3f 55%, var(--gold));
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #f7e9c8; font-family: var(--serif); font-size: 23px;
  box-shadow: 0 6px 14px -8px rgba(163, 35, 40, .9);
}
.brand-mark.small { width: 34px; height: 34px; font-size: 18px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: 2px; }
.brand-text em { font-style: normal; font-size: 9px; letter-spacing: 1.8px; color: var(--muted); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--ink-2); transition: .2s;
}
.main-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 2px; background: var(--brand);
}
.admin-link {
  flex-shrink: 0; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
  transition: .2s;
}
.admin-link:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-2); margin: 4px 0; border-radius: 2px; }

/* ---------- 轮播 ---------- */
.hero { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #2a2420; }
.hero-track { position: relative; aspect-ratio: 16 / 6.1; min-height: 240px; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28, 20, 16, .82) 0%, rgba(28, 20, 16, .45) 48%, rgba(28, 20, 16, .05) 100%);
}
.hero-caption {
  position: absolute; left: 44px; bottom: 40px; z-index: 2; max-width: 62%;
  color: #fff;
}
.hero-tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  color: #f2ddb1; border: 1px solid rgba(242, 221, 177, .55);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 12px;
}
.hero-caption h2 {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 38px); line-height: 1.35;
  margin: 0 0 12px; letter-spacing: 1px; text-shadow: 0 3px 18px rgba(0, 0, 0, .4);
}
.hero-caption p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14px; }
.hero-dots { position: absolute; right: 26px; bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .4); transition: .25s;
}
.hero-dots button.active { width: 24px; border-radius: 6px; background: #f2ddb1; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(20, 14, 10, .3); color: #fff; cursor: pointer; font-size: 18px;
  display: grid; place-items: center; transition: .25s;
}
.hero-arrow:hover { background: rgba(163, 35, 40, .85); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* ---------- 快捷入口 ---------- */
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: -34px auto 0; position: relative; z-index: 4; width: min(1080px, 100%);
}
.quick-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; box-shadow: 0 14px 28px -22px rgba(70, 45, 25, .7);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quick-item:hover { transform: translateY(-4px); border-color: rgba(163, 35, 40, .35); box-shadow: 0 18px 32px -20px rgba(70, 45, 25, .6); }
.quick-icon {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 10px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.quick-icon svg { width: 23px; height: 23px; }
.quick-item strong { display: block; font-size: 15px; letter-spacing: .5px; }
.quick-item span { font-size: 12px; color: var(--muted); }

/* ---------- 投票提醒 ---------- */
.vote-alert {
  margin-top: 24px; display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; border-radius: var(--radius);
  background: linear-gradient(100deg, #a32328, #c2563c 60%, #b8823c);
  color: #fff; box-shadow: 0 14px 34px -22px rgba(163, 35, 40, .9);
}
.vote-alert .pulse {
  width: 10px; height: 10px; border-radius: 50%; background: #ffe6a8; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 230, 168, .8); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 230, 168, .7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 230, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 230, 168, 0); }
}
.vote-alert .txt { flex: 1; }
.vote-alert strong { font-size: 16px; letter-spacing: 1px; }
.vote-alert small { display: block; opacity: .85; font-size: 12.5px; }
.vote-alert .btn-ghost { flex-shrink: 0; }

/* ---------- 通用区块 ---------- */
.section { margin-top: 40px; }
.section-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--serif); font-size: 24px; letter-spacing: 2px; margin: 0;
  padding-left: 14px; border-left: 4px solid var(--brand); line-height: 1.2;
}
.section-head small { color: var(--muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.section-head .more { margin-left: auto; font-size: 13px; color: var(--muted); }
.section-head .more:hover { color: var(--brand); }

.home-cols { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; box-shadow: var(--shadow); }
.panel-title { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 12px; border-bottom: 1px dashed var(--line); }
.panel-title h3 { margin: 0; font-family: var(--serif); font-size: 18px; letter-spacing: 1px; }
.panel-title a { font-size: 13px; color: var(--muted); }
.panel-title a:hover { color: var(--brand); }

.notice-row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.notice-row:last-child { border-bottom: 0; }
.notice-date { flex-shrink: 0; width: 54px; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 5px 0; }
.notice-date strong { display: block; font-size: 19px; font-family: var(--serif); line-height: 1.1; color: var(--brand); }
.notice-date span { font-size: 11px; color: var(--muted); }
.notice-main { min-width: 0; }
.notice-main h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.notice-main h4:hover { color: var(--brand); }
.notice-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }

.mini-news { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mini-news:last-child { border-bottom: 0; }
.mini-news img { width: 96px; height: 68px; object-fit: cover; border-radius: 9px; flex-shrink: 0; background: var(--brand-soft); }
.mini-news h4 { margin: 0 0 3px; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.mini-news h4:hover { color: var(--brand); }
.mini-news p { margin: 0; font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 页头 ---------- */
.page-hero {
  position: relative; border-radius: 18px; overflow: hidden;
  padding: 34px 40px; color: #fff; margin-bottom: 24px;
  background: linear-gradient(120deg, #6f1519, #a32328 55%, #b8823c);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 18px solid rgba(255, 255, 255, .08);
}
.page-hero h1 { font-family: var(--serif); margin: 0 0 6px; font-size: 30px; letter-spacing: 3px; }
.page-hero p { margin: 0; opacity: .84; font-size: 13.5px; letter-spacing: 1px; }
.crumb { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--brand); }

/* ---------- 筛选标签 ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: .2s;
}
.tab:hover { border-color: rgba(163, 35, 40, .4); color: var(--brand); }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px -12px rgba(163, 35, 40, .9); }

/* ---------- 列表 ---------- */
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list-row {
  display: flex; gap: 18px; padding: 20px 24px; border-bottom: 1px dashed var(--line);
  transition: background .2s;
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: #fdf8f0; }
.list-thumb { width: 168px; height: 110px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--brand-soft); }
.list-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.list-body h3 { margin: 2px 0 8px; font-size: 17px; line-height: 1.5; font-weight: 600; }
.list-body h3:hover { color: var(--brand); }
.list-body p { margin: 0 0 10px; color: var(--ink-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-meta { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.list-meta .author { color: var(--ink-2); }

.badge {
  display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); line-height: 1.7; white-space: nowrap;
}
.badge.gold { background: var(--gold-soft); color: #8a6415; }
.badge.green { background: #e3efe9; color: var(--green); }
.badge.gray { background: #ece7de; color: var(--muted); }
.pin-badge { background: var(--brand); color: #fff; }

/* ---------- 活动卡片 ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activity-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.activity-card:hover { transform: translateY(-5px); box-shadow: 0 20px 34px -24px rgba(70, 45, 25, .8); }
.activity-card .cover { aspect-ratio: 16 / 10; background: var(--brand-soft); position: relative; overflow: hidden; }
.activity-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.activity-card:hover .cover img { transform: scale(1.05); }
.activity-card .cover .state {
  position: absolute; left: 12px; top: 12px; background: rgba(20, 15, 12, .66);
  color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.activity-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.activity-card h3 { margin: 0 0 8px; font-size: 16.5px; line-height: 1.5; font-weight: 600; }
.activity-card h3:hover { color: var(--brand); }
.activity-card .meta { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.activity-card .meta span { display: flex; align-items: center; gap: 6px; }

/* ---------- 文章详情 ---------- */
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 46px 44px; box-shadow: var(--shadow); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 26px; }
.article-head h1 { font-family: var(--serif); font-size: 30px; line-height: 1.5; margin: 6px 0 14px; letter-spacing: 1px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.article-body { font-size: 16px; line-height: 2; color: #2f2b26; }
.article-body p { margin: 0 0 16px; }
.article-body img { border-radius: 10px; margin: 8px 0 18px; }
.article-body h3 { font-family: var(--serif); font-size: 20px; margin: 26px 0 12px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 16px; }
.article-body blockquote { margin: 0 0 16px; padding: 10px 18px; border-left: 3px solid var(--gold); background: #fbf4e7; color: var(--ink-2); }
.article-body a { color: var(--brand); text-decoration: underline; }
.article-foot { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-foot .hint { font-size: 12.5px; color: var(--muted); }

/* 图集轮播 */
.gallery { margin: 0 0 26px; border-radius: 12px; overflow: hidden; position: relative; background: #efe7da; }
.gallery-track { position: relative; aspect-ratio: 16 / 9; }
.gallery-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.gallery-track img.active { opacity: 1; }
.gallery-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.gallery-nav button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20, 15, 10, .45); color: #fff; backdrop-filter: blur(4px);
}
.gallery-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.gallery-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.gallery-dots span.active { background: #fff; width: 20px; border-radius: 5px; }

/* ---------- 活动报名 ---------- */
.activity-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; }
.activity-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; background: var(--brand-soft); }
.activity-hero .side { padding: 32px 34px; display: flex; flex-direction: column; }
.activity-hero h1 { font-family: var(--serif); font-size: 27px; line-height: 1.5; margin: 8px 0 18px; }
.info-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.info-list div { display: flex; gap: 10px; }
.info-list b { color: var(--muted); font-weight: 400; width: 70px; flex-shrink: 0; }
.signup-box { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.signup-count { font-size: 13px; color: var(--muted); }
.signup-count strong { color: var(--brand); font-size: 20px; font-family: var(--serif); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--brand); color: #fff; cursor: pointer; font-size: 14.5px;
  transition: .22s; letter-spacing: .5px;
}
.btn:hover { background: var(--brand-dark); box-shadow: 0 10px 22px -14px rgba(163, 35, 40, .9); }
.btn:disabled { background: #cfc6bb; cursor: not-allowed; box-shadow: none; }
.btn.outline { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn.outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); box-shadow: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 13.5px; cursor: pointer;
  transition: .2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn-sm { padding: 6px 16px; font-size: 13px; }

/* ---------- 表单 / 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(28, 20, 14, .55); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px); animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card); border-radius: 18px; width: min(480px, 100%);
  padding: 28px 30px 30px; box-shadow: 0 30px 60px -24px rgba(40, 25, 12, .6);
  animation: pop .25s cubic-bezier(.2, .8, .3, 1.2);
}
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-family: var(--serif); margin: 0 0 4px; font-size: 22px; letter-spacing: 1px; }
.modal .sub { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; margin-bottom: 6px; color: var(--ink-2); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--line);
  background: #fffdf9; outline: none; transition: .2s; font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(163, 35, 40, .1); }
.field textarea { resize: vertical; min-height: 90px; }
.modal-actions { display: flex; gap: 12px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ---------- 投票 ---------- */
.vote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: .25s; }
.vote-card:hover { transform: translateY(-3px); border-color: rgba(163, 35, 40, .35); }
.vote-card h3 { margin: 0; font-size: 17.5px; line-height: 1.5; font-family: var(--serif); letter-spacing: .5px; }
.vote-card p { margin: 0; font-size: 13.5px; color: var(--var-ink-2, var(--ink-2)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vote-card .foot { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.vote-card .foot .btn { margin-left: auto; }

.vote-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 40px 38px; box-shadow: var(--shadow); }
.vote-panel h1 { font-family: var(--serif); font-size: 27px; line-height: 1.5; margin: 8px 0 14px; }
.vote-desc { background: #fbf4e7; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.vote-options { display: flex; flex-direction: column; gap: 12px; }
.vote-option {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: .2s; background: #fffdf9;
}
.vote-option:hover { border-color: rgba(163, 35, 40, .45); background: #fdf6f2; }
.vote-option input { accent-color: var(--brand); width: 17px; height: 17px; }
.vote-option.checked { border-color: var(--brand); background: var(--brand-soft); }
.result-row { margin-bottom: 18px; }
.result-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 7px; }
.result-head b { font-weight: 600; }
.result-head span { color: var(--muted); font-size: 13px; }
.bar { height: 12px; border-radius: 999px; background: #f0e9dd; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #c9643f); width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.vote-stat { display: flex; gap: 22px; font-size: 13px; color: var(--muted); margin: 22px 0 4px; flex-wrap: wrap; }
.vote-thanks { display: flex; align-items: center; gap: 10px; background: #eef5f1; color: var(--green); padding: 12px 16px; border-radius: 10px; font-size: 13.5px; margin-bottom: 22px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 28px; flex-wrap: wrap; }
.pagination button, .pagination span {
  min-width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--card); display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; padding: 0 10px; color: var(--ink-2);
}
.pagination button { cursor: pointer; transition: .2s; }
.pagination button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pagination button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.pagination .ellipsis { border: 0; background: transparent; }

/* ---------- 足迹/空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 54px; height: 54px; margin-bottom: 14px; opacity: .5; }
.empty p { margin: 0; font-size: 14px; }
.loading { text-align: center; padding: 70px 0; color: var(--muted); font-size: 14px; }
.loading::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px;
  border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%;
  animation: spin .8s linear infinite; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 88px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #2b2521; color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .7);
  animation: slideIn .25s; max-width: 320px;
}
.toast.ok { background: #2f6f5e; }
.toast.err { background: #9e2b2f; }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 页脚 ---------- */
.site-footer { background: #241d18; color: rgba(255, 255, 255, .72); margin-top: 40px; padding: 40px 0 26px; position: relative; z-index: 1; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.footer-brand p { margin: 2px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a:hover { color: #f2ddb1; }
.copyright { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .4); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .home-cols { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .vote-grid { grid-template-columns: 1fr; }
  .activity-hero { grid-template-columns: 1fr; }
  .activity-hero img { min-height: 220px; }
  .article { padding: 26px 22px 30px; }
  .vote-panel { padding: 24px 22px 28px; }
  .hero-caption { left: 24px; bottom: 26px; max-width: 80%; }
  .quick-grid { gap: 10px; }
  .quick-item { padding: 14px 8px; }
  .quick-item span { display: none; }
}
@media (max-width: 720px) {
  .header-inner { height: 64px; gap: 12px; }
  .brand-text em { display: none; }
  .admin-link { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 8px 16px 14px;
    box-shadow: 0 20px 24px -22px rgba(60, 40, 20, .6);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 8px; border-radius: 6px; }
  .main-nav a.active::after { display: none; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); margin-top: -22px; }
  .quick-icon { width: 38px; height: 38px; border-radius: 11px; }
  .quick-icon svg { width: 19px; height: 19px; }
  .quick-item strong { font-size: 12.5px; letter-spacing: 0; }
  .activity-grid { grid-template-columns: 1fr; }
  .list-row { padding: 16px; gap: 12px; }
  .list-thumb { width: 108px; height: 78px; }
  .list-body h3 { font-size: 15.5px; }
  .hero-track { aspect-ratio: 4 / 3.2; }
  .hero-caption h2 { font-size: 21px; }
  .page-hero { padding: 24px 22px; }
  .page-hero h1 { font-size: 23px; }
  .article-head h1 { font-size: 23px; }
  .article-body { font-size: 15px; }
  .summary-grid { grid-template-columns: 1fr; }
  .toast-wrap { top: 74px; right: 12px; left: 12px; }
}
