/* KAKI 品牌细化：克制的动效与排版（覆盖 app.css，不改结构） */
:root{
  --gold:#d9b96a;
  --gold-ink:#8a6d12;
  --shadow-1:0 1px 2px rgba(20,20,20,.04), 0 6px 20px rgba(20,20,20,.05);
  --shadow-2:0 2px 6px rgba(20,20,20,.05), 0 14px 34px rgba(20,20,20,.08);
}

/* 滚动与选中质感 */
html{ -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility }
::selection{ background:rgba(217,185,106,.35) }

/* 标题：收紧字距，提高对比 */
h1{ letter-spacing:-.6px; font-weight:700 }
h2{ letter-spacing:-.2px }
p.lead{ line-height:1.62 }
.kicker{ letter-spacing:.19em }

/* 品牌字标 */
.brand{ letter-spacing:.06em; font-weight:700 }

/* 按钮：轻投影 + 按下回弹（不夸张） */
.btn{
  border-radius:14px;
  box-shadow:0 1px 2px rgba(20,20,20,.06);
  transition:transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:active{ transform:scale(.985); box-shadow:none }
.btn.alt{ box-shadow:none; background:#fff }
.btn.alt:active{ background:#faf7f1 }

/* 卡片：更细的描边 + 更柔的影 */
.v,.plan,.card2{
  transition:transform .14s ease, box-shadow .16s ease;
}
.v:active,.card2:active{ transform:scale(.994) }

/* 分隔线更轻 */
header.top{ border-bottom:1px solid rgba(230,227,221,.8) }

/* 底部导航：选中项加一条金色细线，比整块反白更克制 */
/* 底栏：选中项用图标本身的实心感 + 极细金线，不反白 */
 .kbar a{ position:relative }
.kbar a.on span{ color:#141414; font-weight:700 }
.kbar a.on::after{ content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:5px; width:16px; height:2px; border-radius:2px; background:var(--gold) }

/* 进入动效：位移 + 淡入，比纯淡入更有层次 */
@keyframes krise{ from{ opacity:0; transform:translateY(6px) } to{ opacity:1; transform:none } }
.wrap{ animation:krise .22s cubic-bezier(.2,.7,.3,1) both }
header.top{ animation:krise .18s cubic-bezier(.2,.7,.3,1) both }

/* 卡图：轻放大淡入 */
/* 用 animation 而不是 JS 加类：动态插入的图片也会自动淡入 */
@keyframes kimg{ from{opacity:0; transform:scale(1.012)} to{opacity:1; transform:none} }
img[data-fade]{ animation:kimg .26s cubic-bezier(.2,.7,.3,1) both }
img[data-fade].in{ animation:none; opacity:1 }

/* 金额与编号：等宽数字，不跳动 */
[style*="font-variant-numeric"], .money, .n{ font-variant-numeric:tabular-nums }

@media (prefers-reduced-motion: reduce){
  .wrap, header.top{ animation:none }
  img[data-fade]{ opacity:1; transform:none; transition:none }
  .btn:active,.v:active,.card2:active{ transform:none }
}
