/* 慢园 · 复古油画风 设计系统（移动端 & 管理后台共用） */
:root {
  --ink: #1b1a15;
  --ink-2: #2a2822;
  --paper: #efe7d7;
  --paper-2: #e3d8c3;
  --cream: #f7f1e4;
  --gold: #b9985a;
  --gold-2: #e0c68d;
  --moss: #3f5340;
  --moss-2: #6c7f63;
  --wine: #7a3b3b;
  --line: rgba(185, 152, 90, .28);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .45);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .28);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 8px; }

/* 纸纹 / 颗粒感 */
.grain::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: multiply;
}

.gold-rule {
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}

.kicker {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}

.frame {
  position: relative;
  box-shadow: var(--shadow-md);
}
.frame::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(224, 198, 141, .45); pointer-events: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 2px;
  font-family: var(--sans); font-size: 13px; letter-spacing: .14em;
  background: linear-gradient(180deg, #c9a765, #a8873f);
  color: #23201a; box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.dark { background: #221f1a; color: var(--gold-2); }

.tag {
  display: inline-block; padding: 4px 10px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .1em;
  border: 1px solid var(--line); color: var(--moss);
  background: rgba(255,255,255,.35);
}
