/* 团子 · 热量记账 —— 移动优先，暖色，圆润 */
:root {
  --bg: #fff9f4;
  --bg2: #fff1e6;
  --card: #ffffff;
  --ink: #3a322e;
  --ink-2: #6b5d54;
  --muted: #a3948a;
  --line: #f2e5db;
  --coral: #ff8a72;
  --coral-deep: #e2604c;
  --coral-soft: #ffe3d9;
  --mint: #7fd1b9;
  --mint-deep: #3f9e82;
  --sun: #ffc94d;
  --blue: #7fb3d1;
  --shadow: 0 8px 24px rgba(214, 168, 140, 0.14);
  --shadow-s: 0 2px 8px rgba(214, 168, 140, 0.1);
  --r: 22px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(120% 60% at 50% -10%, #fff2e8 0%, rgba(255, 249, 244, 0) 60%),
    var(--bg);
  min-height: 100vh;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

#view {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 16px 8px;
}

/* ---------- 头部 ---------- */
.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 14px;
}
.hdr-date { font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }
.hdr-title { margin: 2px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.2px; }
.chip-streak {
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 12px;
  animation: fade .28s ease both;
}
.card-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  gap: 8px;
}
.card-h .muted { font-weight: 500; font-size: 12px; }
.muted { color: var(--muted); }
.over { color: var(--coral-deep); }

@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 主卡：圆环 ---------- */
.hero { display: flex; align-items: center; gap: 6px; padding: 14px 12px 14px 8px; }
.hero-ring { position: relative; flex: 0 0 auto; display: grid; place-items: center; }
.hero-mid { position: absolute; text-align: center; }
.hero-kcal {
  font-size: 34px; font-weight: 800; letter-spacing: -1px;
  font-variant-numeric: tabular-nums; line-height: 1.05;
}
.hero-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; }
.bubble {
  background: #fff6ef;
  border: 1px solid #ffe8db;
  border-radius: 14px 14px 14px 4px;
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ---------- 三列数字 ---------- */
.stats3, .row3 { display: flex; justify-content: space-between; text-align: center; }
.s3, .r3 { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.s3 b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.s3 span, .r3 span { font-size: 11px; color: var(--muted); }
.r3 b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.row3 { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- 宏量条 ---------- */
.mac { margin-bottom: 11px; }
.mac:last-child { margin-bottom: 0; }
.mac-top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.mac-top span:last-child { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.bar { height: 8px; background: #f7ece4; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.bar-p { background: linear-gradient(90deg, #9fe0cc, var(--mint)); }
.bar-f { background: linear-gradient(90deg, #ffe08a, var(--sun)); }
.bar-c { background: linear-gradient(90deg, #ffb8a6, var(--coral)); }

/* ---------- 今日记录 ---------- */
.meal { margin-bottom: 10px; }
.meal-h {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted); font-weight: 600;
  padding: 2px 0 4px;
}
.entry {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid #faf3ed;
  font-size: 13.5px;
}
.entry:last-child { border-bottom: 0; }
.entry-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-g { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.entry-k { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.entry-del {
  border: 0; background: transparent; color: #d8c9bf;
  font-size: 17px; width: 24px; height: 24px; line-height: 1;
  border-radius: 50%;
}
.entry-del:active { background: #fdeee6; color: var(--coral-deep); }
.tag-ai {
  font-style: normal; font-size: 9.5px; color: #b3811d; background: #fff3d6;
  padding: 1px 5px; border-radius: 5px; margin-left: 5px; vertical-align: 1px;
}

.empty { text-align: center; padding: 14px 6px 16px; }
.empty-t { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.empty-d { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 按钮 / 标签 ---------- */
.btn {
  border: 0; border-radius: 14px; font-size: 14px; font-weight: 700;
  padding: 12px 16px; font-family: inherit; cursor: pointer;
}
.btn-block { display: block; width: 100%; margin-top: 10px; }
.btn-main { background: linear-gradient(180deg, #ff9a83, var(--coral)); color: #fff; box-shadow: 0 6px 14px rgba(255, 138, 114, .28); }
.btn-main:active { transform: translateY(1px); }
.btn-ghost { background: #fff4ee; color: var(--coral-deep); }
.btn-danger { background: #fdeaea; color: #c4453a; }
.btn-s { padding: 8px 13px; font-size: 12.5px; border-radius: 11px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid #ffe2d5; background: #fff8f3; color: var(--ink-2);
  border-radius: 999px; padding: 8px 13px; font-size: 12.5px; font-family: inherit;
}
.chip:active { background: #ffeade; }
.chip-s { font-size: 11.5px; padding: 6px 10px; }
.chips-wrap { flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- 图表 ---------- */
.chart { width: 100%; height: auto; display: block; margin: 2px 0 0; }
.chart-unit { text-align: right; font-size: 10px; color: var(--muted); margin-top: -4px; }

/* ---------- 分段 ---------- */
.seg { display: flex; background: #fff1e7; border-radius: 14px; padding: 4px; margin-bottom: 12px; }
.seg-btn {
  flex: 1; border: 0; background: transparent; color: var(--ink-2);
  padding: 9px 0; border-radius: 11px; font-size: 13px; font-weight: 700; font-family: inherit;
}
.seg-btn.on { background: #fff; color: var(--coral-deep); box-shadow: var(--shadow-s); }
.seg-mini { margin: 0; padding: 3px; width: 132px; }
.seg-mini .seg-btn { padding: 6px 0; font-size: 12.5px; }

/* ---------- 趋势 ---------- */
.delta { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.delta b { font-size: 15px; }
.delta.down b { color: var(--mint-deep); }
.delta.up b { color: #d5863a; }

.tdee-hero { display: flex; align-items: baseline; gap: 6px; }
.tdee-num { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.tdee-unit { font-size: 12px; color: var(--muted); }
.tdee-hero svg { margin-left: auto; align-self: center; }
.tdee-meta { font-size: 12px; color: var(--ink-2); line-height: 1.65; margin-top: 6px; }
.conf { font-size: 10.5px; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.conf-high { background: #e2f6ef; color: var(--mint-deep); }
.conf-medium { background: #fff3d6; color: #a97a1a; }
.conf-low { background: #f2ece8; color: var(--muted); }
.tdee-card { background: linear-gradient(180deg, #fffdfb, #fff); }

/* ---------- 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 2px; }
.f-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 9px 0; border-bottom: 1px solid #faf3ed; font-size: 13.5px;
}
.f-row:last-child { border-bottom: 0; }
.f-row > span { color: var(--ink-2); white-space: nowrap; }
.f-row .hint { font-size: 10.5px; color: var(--muted); font-style: normal; margin-left: 5px; }
.f-input {
  border: 0; background: #fdf1e9; border-radius: 10px;
  padding: 8px 10px; font-size: 14px; font-family: inherit; color: var(--ink);
  width: 108px; text-align: right; font-variant-numeric: tabular-nums;
}
.f-input.f-wide { width: 190px; text-align: left; font-size: 12.5px; }
.f-input:focus { outline: 2px solid #ffd9c9; }
.form-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 10px; }

.opt {
  display: block; width: 100%; text-align: left; border: 1px solid var(--line);
  background: #fffdfb; border-radius: 14px; padding: 11px 13px; margin-bottom: 8px;
  font-family: inherit; color: var(--ink);
}
.opt.on { border-color: var(--coral); background: #fff6f1; box-shadow: 0 0 0 2px #ffe3d9 inset; }
.opt-t { display: block; font-weight: 700; font-size: 13.5px; }
.opt-t i { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 6px; font-weight: 500; }
.opt-d { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }

.goal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.goal {
  border: 1px solid var(--line); background: #fffdfb; border-radius: 15px;
  padding: 11px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: inherit; color: var(--ink);
}
.goal.on { border-color: var(--coral); background: #fff4ee; box-shadow: 0 0 0 2px #ffe3d9 inset; }
.goal-e { font-size: 17px; }
.goal-l { font-size: 12px; font-weight: 700; }

.rate { margin-top: 14px; }
.rate-top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; }
.rate-top b { color: var(--coral-deep); }
.range { width: 100%; accent-color: var(--coral); }
.rate-range { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }

/* ---------- 目标卡 ---------- */
.target-card { background: linear-gradient(180deg, #fff8f3, #fff); }
.tg-kcal { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tg-kcal span { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.tg-range { font-size: 11.5px; color: var(--muted); margin-bottom: 14px; }
.tg-macros { display: flex; gap: 8px; }
.tgm { flex: 1; background: #fffdfb; border: 1px solid var(--line); border-radius: 14px; padding: 9px 6px; text-align: center; }
.tgm-l { font-size: 11px; color: var(--muted); }
.tgm-v { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.3; }
.tgm-v span { font-size: 11px; margin-left: 1px; }
.tgm-s { font-size: 10px; color: var(--muted); }
.tg-foot { font-size: 11.5px; color: var(--muted); margin-top: 10px; }

.warns { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.warn { border-radius: 12px; padding: 9px 11px; font-size: 12px; line-height: 1.55; display: flex; flex-direction: column; gap: 2px; }
.warn b { font-size: 12.5px; }
.warn-danger { background: #fdeceb; color: #a83a30; border-left: 3px solid #e2604c; }
.warn-warn { background: #fff6e2; color: #8a6414; border-left: 3px solid #e8b23f; }
.warn-info { background: #f0f7f4; color: #3f6f5f; border-left: 3px solid var(--mint); }

.how { margin-top: 12px; }
.how summary { font-size: 12.5px; color: var(--coral-deep); font-weight: 700; cursor: pointer; }
.how-body { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; padding-top: 8px; }
.how-body p { margin: 0 0 7px; }
.how-note { background: #fff6ef; border-radius: 10px; padding: 9px 11px; font-size: 11.5px; color: var(--ink-2); }

.data-row { display: flex; gap: 8px; flex-wrap: wrap; }
.llm-status { margin-top: 10px; font-size: 12px; padding: 9px 11px; border-radius: 10px; line-height: 1.55; }
.llm-status.ok { background: #e6f6f0; color: var(--mint-deep); }
.llm-status.bad { background: #fdeceb; color: #a83a30; }

.foot-note { text-align: center; font-size: 10.5px; color: #c0b3a9; line-height: 1.7; padding: 14px 10px 20px; }

/* ---------- 聊天 ---------- */
.chat {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100vh - 240px); padding-bottom: 4px;
}
.chat-list { display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg.tall { align-items: flex-start; }
.msg.me { justify-content: flex-end; }
.msg-body { display: flex; flex-direction: column; gap: 6px; max-width: 78%; }
.msg-body .bub { max-width: 100%; }

/* 记账回执 */
.receipt {
  background: #fff; border-radius: 14px; padding: 9px 11px;
  box-shadow: var(--shadow-s); font-size: 12.5px;
}
.rc-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; border-bottom: 1px dashed #faf3ed; }
.rc-row:last-of-type { border-bottom: 0; }
.rc-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-g { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.rc-k { min-width: 38px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px; padding-top: 6px; border-top: 1px solid #f6ece4; color: var(--ink-2);
}
.rc-foot b { color: var(--coral-deep); font-size: 14px; }
.rc-undo {
  border: 0; background: #fff4ee; color: var(--coral-deep); border-radius: 8px;
  padding: 4px 9px; font-size: 11.5px; font-family: inherit;
}
.avatar { flex: 0 0 40px; }
.bub { padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.55; max-width: 78%; }
.bot-bub { background: #fff; box-shadow: var(--shadow-s); border-bottom-left-radius: 5px; }
.me-bub { background: linear-gradient(180deg, #ff9a83, var(--coral)); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 6px 14px rgba(255, 138, 114, .22); }

.confirm-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 13px; flex: 1; max-width: 88%;
}
.cc-h { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.cc-item { display: flex; align-items: center; gap: 5px; padding: 5px 0; font-size: 13px; border-bottom: 1px solid #faf3ed; }
.cc-g {
  width: 54px; border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 6px; font-size: 13px; text-align: right; font-family: inherit;
  font-variant-numeric: tabular-nums; background: #fdf8f4;
}
.cc-u { font-size: 11px; color: var(--muted); margin-right: 2px; }
.cc-n { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-k { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cc-del { border: 0; background: transparent; color: #d8c9bf; font-size: 15px; }
.cc-unknown { font-size: 11.5px; color: #b3811d; background: #fff8e6; border-radius: 8px; padding: 6px 9px; margin-top: 7px; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.cc-total { font-size: 12px; color: var(--ink-2); }
.cc-total b { font-size: 16px; color: var(--coral-deep); }
.cc-src { font-size: 10px; color: var(--muted); margin-top: 7px; }

.composer {
  position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 249, 244, 0), var(--bg) 40%);
  padding: 10px 14px 8px; max-width: 480px; margin: 0 auto; z-index: 20;
}
.composer-row { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  border: 0; background: #fff; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: var(--coral-deep);
  box-shadow: var(--shadow-s); flex: 0 0 auto;
}
.chat-input {
  flex: 1; min-width: 0; border: 0; background: #fff; border-radius: 13px;
  padding: 11px 13px; font-size: 13.5px; font-family: inherit;
  box-shadow: var(--shadow-s); color: var(--ink);
}
.chat-input::placeholder { color: #c9b9ae; }
.send-btn {
  border: 0; background: linear-gradient(180deg, #ff9a83, var(--coral)); color: #fff;
  border-radius: 13px; padding: 11px 15px; font-size: 13.5px; font-weight: 700;
  font-family: inherit; flex: 0 0 auto; box-shadow: 0 6px 14px rgba(255, 138, 114, .3);
}

/* ---------- 体重快速记录 ---------- */
.wlog {
  display: flex; align-items: center; gap: 7px; margin-top: 12px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.wlog .f-input { width: 84px; }
.wlog-u { font-size: 12px; color: var(--muted); }
.wlog.done { font-size: 12.5px; color: var(--ink-2); }
.wlog.done b { font-size: 15px; color: var(--coral-deep); }
.wlog .btn-s { margin-left: auto; }

/* ---------- 底部导航 ---------- */
#tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; max-width: 480px; margin: 0 auto;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid #f6e9df;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tab {
  flex: 1; border: 0; background: transparent; display: flex; flex-direction: column;
  align-items: center; gap: 2px; padding: 5px 0; color: #b9a99e; font-family: inherit;
}
.tab i { font-style: normal; font-size: 17px; line-height: 1; }
.tab span { font-size: 10.5px; font-weight: 600; }
.tab.on { color: var(--coral-deep); }
.tab.on i { transform: translateY(-1px); }

/* ---------- 底部弹层 ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(58, 50, 46, .32);
  z-index: 50; display: flex; align-items: flex-end; animation: fade .2s ease both;
}
.sheet {
  background: #fff; width: 100%; max-width: 480px; margin: 0 auto;
  border-radius: 24px 24px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  animation: up .26s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes up { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-bar { width: 38px; height: 4px; border-radius: 99px; background: #eee1d7; margin: 4px auto 12px; }
.sheet-h { font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.sheet .chat-input { box-shadow: none; background: #fdf3ec; margin-bottom: 10px; width: 100%; }
.sheet-list { max-height: 46vh; overflow: auto; margin-bottom: 10px; }
.food-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; border: 0; background: transparent; border-bottom: 1px solid #faf3ed;
  padding: 11px 2px; font-family: inherit; font-size: 13.5px; color: var(--ink); text-align: left;
}
.food-row .muted { font-size: 11px; }

/* ---------- 首次设置 ---------- */
.onboard {
  position: fixed; inset: 0; z-index: 80; background: rgba(58, 50, 46, .34);
  backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center;
  padding: 18px; animation: fade .25s ease both;
}
.ob-card {
  background: #fff; border-radius: 26px; padding: 20px 18px;
  width: 100%; max-width: 380px; max-height: 88vh; overflow: auto;
  box-shadow: 0 20px 50px rgba(90, 60, 40, .22); text-align: center;
}
.ob-card .form { text-align: left; margin-top: 10px; }
.ob-title { font-size: 19px; font-weight: 800; margin-top: 6px; }
.ob-sub { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.ob-goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 12px 0 14px; }

/* ---------- 生产环境提示 ---------- */
.install-hint {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  padding: calc(9px + env(safe-area-inset-top)) 14px 9px;
  background: #fff6ef; border-bottom: 1px solid #ffe8db;
  font-size: 12.5px; color: var(--ink-2); line-height: 1.4;
  animation: drop .32s cubic-bezier(.2, .8, .2, 1) both;
}
.install-hint b { color: var(--coral-deep); }
.install-hint button {
  border: 0; background: #ffe3d9; color: var(--coral-deep); border-radius: 9px;
  padding: 6px 11px; font-size: 12px; font-family: inherit; flex: 0 0 auto;
}
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom));
  transform: translateX(-50%); z-index: 70; max-width: 84vw;
  background: rgba(58, 50, 46, .93); color: #fff; font-size: 12.5px;
  padding: 10px 16px; border-radius: 12px; text-align: center; line-height: 1.5;
  animation: toastin .25s ease both; transition: opacity .3s ease;
}
.toast.out { opacity: 0; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translateX(-50%); } }

/* ---------- 动效 ---------- */
.mascot.float { animation: floaty 3.4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
