/* ============================================================
   BabyTrack · 移动端优先样式（v3 质感升级）
   白色底色 / 扁平化 / 黑色字体元素 / 柔和婴幼儿点缀色
   零依赖，纯手写 CSS
   ============================================================ */
:root {
  --ink: #141414;
  --muted: #8a8a8a;
  --faint: #999999;
  --line: #f0f0f0;
  --bg: #ffffff;
  --soft: #f7f7f7;
  --mint: #e2f6ec;
  --mint-ink: #1d8a5c;
  --butter: #fff6dd;
  --avatar-bg: #f6f1e8;
  --red: #d64545;
  --red-bg: #fdecec;
  --radius: 18px;
  --tabbar-h: 64px;
  --shadow-card: 0 8px 24px rgba(0,0,0,.06);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
img { -webkit-user-drag: none; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
}
.topbar-inner {
  max-width: 680px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.brand {
  font-weight: 800; font-size: 17px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; letter-spacing: .5px;
}
.brand svg { width: 24px; height: 24px; display: block; }
.baby-chip {
  font-size: 13px; text-decoration: none; font-weight: 600;
  background: var(--soft); border-radius: 999px; padding: 5px 12px 5px 5px;
  max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}

/* ---------- 宝宝头像 ---------- */
.avatar {
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1px solid #e8e8e8; background: var(--avatar-bg); display: inline-block;
}
.avatar-ph {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--avatar-bg); color: #333;
  font-weight: 700; border: 1px solid #e8e8e8; flex-shrink: 0;
}
.avatar-row { display: flex; align-items: center; gap: 12px; }
.avatar-preview { margin-bottom: 10px; }

/* ---------- 布局 ---------- */
.container { max-width: 680px; margin: 0 auto; padding: 16px 16px 24px; }
.container.has-tabbar { padding-bottom: calc(var(--tabbar-h) + 24px); }
.page-title { font-size: 23px; font-weight: 800; margin: 6px 0 16px; letter-spacing: .5px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  animation: fadeUp .38s ease both;
}
.card.highlight { background: #fff; }
.card-title {
  font-weight: 800; font-size: 17px; margin: 0 0 12px; letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px;
}
.card-title .muted { font-weight: 400; letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.empty { color: var(--muted); text-align: center; padding: 18px 0; }
.link { color: var(--ink); font-weight: 600; font-size: 14px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
  .progress-fill { transition: none; }
  .btn { transition: none; }
}

/* ---------- 闪存提示 ---------- */
.flash {
  border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px;
  box-shadow: var(--shadow-card); border: 1px solid transparent;
}
.flash-ok { background: var(--mint); color: #14532d; border-color: #bfe8d4; }
.flash-err { background: var(--red-bg); color: var(--red); border-color: #f5c9c9; }
.flash-warn { background: var(--butter); color: #7a5b00; border-color: #f3e3ac; }

/* ---------- 按钮 ---------- */
.btn {
  display: block; width: 100%; min-height: 52px;
  border: none; border-radius: 16px;
  font-size: 17px; font-weight: 700; cursor: pointer;
  text-decoration: none; text-align: center; line-height: 52px; padding: 0 16px;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:active { opacity: .88; }
.btn-soft { background: var(--soft); color: var(--ink); }
a.btn-soft { line-height: 52px; }
.btn-small {
  min-height: 38px; padding: 6px 14px; font-size: 13px; border-radius: 11px;
  background: var(--soft); border: none; color: var(--ink); cursor: pointer; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn-small:active { transform: scale(.96); }
.link-btn { text-decoration: none; display: inline-block; line-height: 26px; }
.btn-del {
  min-height: 38px; padding: 6px 12px; font-size: 13px; border-radius: 11px;
  background: none; border: none; color: var(--red); cursor: pointer;
}
.rec-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* ---------- 表单 ---------- */
.form .field, .field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; letter-spacing: .3px; }
input[type="text"], input[type="password"], input[type="number"],
input[type="date"], input[type="datetime-local"], select, textarea {
  width: 100%; min-height: 50px; font-size: 16px; /* 16px 防 iOS 自动缩放 */
  border: 2px solid #ececec; border-radius: 14px; padding: 10px 14px;
  background: #fff; color: var(--ink); font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}
input[type="file"] {
  width: 100%; font-size: 14px; padding: 12px;
  border: 2px dashed #e2e2e2; border-radius: 14px; background: #fbfbfb; color: var(--muted);
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .grid3 { grid-template-columns: 1fr; } }

/* 步进器 */
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 14px; border: 2px solid #ececec; background: var(--soft);
  font-size: 22px; font-weight: 700; cursor: pointer; color: var(--ink);
  transition: transform .15s ease;
}
.stepper button:active { transform: scale(.94); }
.stepper input { text-align: center; font-weight: 700; font-size: 18px; }
.stepper-unit { font-size: 14px; color: var(--muted); flex-shrink: 0; }
.stepper.big button { width: 56px; height: 56px; }

/* 分段选择 */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 90px; }
.seg input { display: none; }
.seg i {
  display: block; font-style: normal; text-align: center;
  padding: 12px 8px; border-radius: 14px; border: 2px solid #ececec;
  font-size: 15px; font-weight: 600; cursor: pointer; background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.seg input:checked + i { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- 首页 ---------- */
.baby-hero-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.baby-hero-guide { margin-top: 6px; font-size: 13px; color: var(--muted); }
.milk-big { font-size: 40px; font-weight: 800; line-height: 1.2; letter-spacing: .5px; }
.milk-big .unit { font-size: 16px; font-weight: 600; color: var(--muted); }
.milk-target { font-size: 14px; font-weight: 400; color: var(--muted); }
.progress { height: 14px; background: var(--soft); border-radius: 999px; overflow: hidden; margin: 12px 0; }
.progress-fill { height: 100%; background: var(--ink); border-radius: 999px; transition: width .6s ease; }
.milk-status { font-weight: 700; font-size: 15px; }
.milk-status.good { color: var(--mint-ink); }
.milk-status.warn { color: #b07d10; }
.countdown { font-size: 30px; font-weight: 800; margin: 8px 0; letter-spacing: .5px; }
/* ---------- 现在时间卡片 ---------- */
.now-clock { font-size: 46px; font-weight: 800; letter-spacing: 2px; font-variant-numeric: tabular-nums; margin: 2px 0 8px; line-height: 1.1; }
.elapsed { font-size: 19px; font-weight: 800; margin: 10px 0 4px; }
.quick-feed { margin-top: 14px; }
.quick-row { display: flex; gap: 10px; margin-bottom: 10px; }
.quick-row select { flex: 1; }
.quick-row .stepper { flex: 1.4; }
.stat-row { display: flex; gap: 8px; text-align: center; }
.stat-row > div { flex: 1; background: var(--soft); border-radius: 14px; padding: 10px 4px; }
.stat-row b { display: block; font-size: 20px; }
.stat-row span { font-size: 12px; color: var(--muted); }
.stat-row.latest > div { background: var(--mint); }
.spark, .chart { width: 100%; height: auto; display: block; }
.quick-link {
  text-align: center; font-weight: 700; text-decoration: none; padding: 20px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .15s ease;
}
.quick-link:active { transform: scale(.97); }
.quick-link .ql-icon { display: inline-flex; width: 34px; height: 34px; }
.quick-link .ql-icon svg { width: 100%; height: 100%; }
.tip {
  background: var(--butter); border-radius: 12px; padding: 10px 12px;
  font-size: 13px; margin-top: 10px;
}

/* ---------- 记录列表 ---------- */
.record-list { list-style: none; margin: 0; padding: 0; }
.record-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.record-list li:last-child { border-bottom: none; }
.record-list li.current { background: var(--mint); margin: 0 -18px; padding: 12px 18px; border-radius: 14px; }
.record-list li.fever { background: var(--red-bg); margin: 0 -18px; padding: 12px 18px; border-radius: 14px; }
.rec-main { flex: 1; min-width: 0; }
.badge {
  display: inline-block; background: var(--soft); border-radius: 999px;
  padding: 2px 10px; font-size: 13px; font-weight: 700; margin-left: 6px;
}
.badge-mint { background: var(--mint); color: var(--mint-ink); }
.badge-red { background: var(--red-bg); color: var(--red); }
.fever-text { color: var(--red); }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.timeline li:last-child { border-bottom: none; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); margin-top: 6px; flex-shrink: 0; }
.tl-body { flex: 1; }

/* ---------- 曲线切换 ---------- */
.series-toggles { display: flex; gap: 14px; margin-bottom: 8px; font-size: 14px; flex-wrap: wrap; }
.series-toggles label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; }
.series-toggles input { width: 20px; height: 20px; accent-color: #111; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }

/* ---------- 指南表格 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.guide-table th, .guide-table td { border: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.guide-table thead th { background: var(--ink); color: #fff; border-color: var(--ink); }
.guide-table tbody tr:nth-child(even) { background: #fafafa; }
.dot-list { margin: 0; padding-left: 20px; }
.dot-list li { margin-bottom: 8px; }
.warn-card { background: var(--butter); border-color: #f3e3ac; }

/* ---------- 菜单行 ---------- */
.menu-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 4px; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line); font-size: 16px;
}
.menu-row:last-child { border-bottom: none; }
.menu-row svg { width: 22px; height: 22px; vertical-align: -4px; margin-right: 6px; }

/* ---------- 登录/注册 ---------- */
.auth-wrap { max-width: 420px; margin: 30px auto; padding: 0 8px; }
.auth-logo { text-align: center; }
.auth-logo svg { width: 64px; height: 64px; }
.auth-title { text-align: center; margin: 10px 0 4px; font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.auth-sub { text-align: center; color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--muted); }
.auth-switch a { font-weight: 700; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid #eee;
  display: flex;
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; color: var(--faint); font-size: 12px; gap: 3px; min-height: 44px;
  transition: color .15s ease;
}
.tab-icon { display: inline-flex; width: 24px; height: 24px; }
.tab-icon svg { width: 100%; height: 100%; }
.tab.active { color: var(--ink); font-weight: 800; }

/* ---------- 桌面端微调 ---------- */
@media (min-width: 700px) {
  .container { padding: 24px 20px 40px; }
  .grid2 { gap: 14px; }
}

/* ---------- 平板横屏适配（≥900px） ---------- */
@media (min-width: 900px) {
  /* 首页：双列卡片布局 */
  body.page-dashboard .topbar-inner { max-width: 1140px; }
  body.page-dashboard .container {
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  body.page-dashboard .container > .card,
  body.page-dashboard .container > .grid2 { margin-bottom: 0; }
  body.page-dashboard .container > .baby-hero,
  body.page-dashboard .container > .card.wide,
  body.page-dashboard .container > .grid2,
  body.page-dashboard .container > .flash,
  body.page-dashboard .container > .page-title { grid-column: 1 / -1; }
  body.page-dashboard .container > .grid2.links { grid-template-columns: repeat(4, 1fr); }
  /* 照片墙：横屏放宽并多显示列 */
  body.page-photos .topbar-inner,
  body.page-photos .container { max-width: 1140px; }
  body.page-photos .photo-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================================
   BabyTrack · 照片墙 / 分享 / 导出（v2 新增，v3 美化）
   ============================================================ */

/* ---------- 照片网格 ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
.photo-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 8px 6px;
  font-size: 12px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.68));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.photo-del-form {
  position: absolute; top: 4px; right: 4px;
  margin: 0;
}
.photo-del {
  width: 28px; height: 28px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; font-size: 14px; line-height: 1;
}

/* ---------- 点击放大 lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.93);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: 12px; display: block; margin: 0 auto;
}
.lb-cap { color: #fff; text-align: center; margin-top: 10px; font-size: 14px; }
.lb-close {
  position: absolute; top: 12px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  border: none; font-size: 20px; cursor: pointer;
}

/* ---------- 公开分享页 ---------- */
.share-hero {
  text-align: center; padding: 36px 18px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.share-hero .share-avatar { margin-bottom: 10px; }
.share-hero .share-avatar .avatar { box-shadow: var(--shadow-card); }
.share-title { font-size: 21px; font-weight: 800; margin: 4px 0 2px; letter-spacing: .5px; }
.share-meta { color: var(--muted); font-size: 15px; }
.share-meta-sub { color: var(--muted); font-size: 13px; }
.photo-grid-share .photo-item { cursor: zoom-in; }

/* ---------- 分享链接行 ---------- */
.share-link-row { display: flex; gap: 8px; margin-top: 8px; }
.share-link-input {
  flex: 1; min-width: 0;
  min-height: 38px; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 11px;
  padding: 6px 10px; background: var(--soft);
}

/* ---------- 导出 ---------- */
.export-list { display: grid; gap: 10px; }
.export-list .btn { line-height: 52px; }

/* ---------- 奶量选项网格（圆角矩形按钮） ---------- */
.amt-tip { margin-bottom: 8px; }
.amt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amt-grid label { margin: 0; }
.amt-grid input { display: none; }
.amt-grid i {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-style: normal; padding: 10px 4px; min-height: 64px;
  border-radius: 14px; border: 2px solid #ececec; background: #fff; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.amt-grid i b { font-size: 17px; font-weight: 800; line-height: 1.2; }
.amt-grid i small { font-size: 11px; color: var(--muted); margin-top: 2px; }
.amt-grid input:checked + i { border-color: var(--ink); background: var(--ink); color: #fff; }
.amt-grid input:checked + i small { color: rgba(255,255,255,.65); }

/* ---------- 上传区 ---------- */
.upload-zone {
  display: block; border: 2px dashed #e0e0e0; border-radius: 18px;
  background: #fbfbfb; padding: 26px 16px; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.upload-zone:hover { border-color: var(--ink); }
.upload-zone:active { background: #f4f4f4; transform: scale(.995); }
.upload-zone .upload-icon svg { width: 34px; height: 34px; color: var(--muted); }
.upload-text { display: block; font-weight: 700; font-size: 16px; margin-top: 8px; }
.upload-hint { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.upload-zone-sm { padding: 16px; }
.upload-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.upload-preview img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 12px; border: 1px solid #eee;
}
/* 视觉隐藏但保留表单校验的文件输入 */
.file-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; opacity: 0;
}

/* ---------- 按钮/链接去下划线（含各状态） ---------- */
.btn, .btn:hover, .btn:active, .btn:visited,
a.btn, a.btn:hover, a.btn:active, a.btn:visited,
.quick-link, .quick-link:hover, .quick-link:active, .quick-link:visited,
.menu-row, .menu-row:hover, .menu-row:active, .menu-row:visited,
.link, .link:hover, .link:active, .link:visited,
.link-btn, .link-btn:hover, .link-btn:active, .link-btn:visited,
.btn-small, .btn-del { text-decoration: none; }

/* ---------- 底部弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal-sheet { position: relative; background: #fff; width: 100%; max-width: 520px; max-height: 78vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 16px 18px calc(20px + env(safe-area-inset-bottom)); animation: sheetUp .25s ease; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; margin-bottom: 4px; }
.modal-x { border: none; background: var(--soft); width: 32px; height: 32px; border-radius: 50%; font-size: 14px; color: var(--ink); cursor: pointer; }
.modal-sum { margin-bottom: 8px; }
.feed-list { list-style: none; margin: 0 0 12px; padding: 0; }
.feed-list li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #f1f1f1; font-size: 15px; }
.feed-list li:last-child { border-bottom: none; }
.fl-time { color: var(--faint); font-variant-numeric: tabular-nums; min-width: 44px; }
.fl-type { font-weight: 700; }
.fl-amt { margin-left: auto; color: var(--faint); }
.feed-list .link { white-space: nowrap; }
.card.tappable { cursor: pointer; }
.milk-status .chev { color: var(--faint); font-weight: 400; }

/* ---------- 标签 ---------- */
.tag { display: inline-block; font-size: 12px; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; vertical-align: 2px; }
.tag-warn { background: #b3261e; }

/* ---------- 欢迎引导页 ---------- */
.welcome-hero { text-align: center; padding: 30px 16px 8px; }
.welcome-icon { width: 68px; height: 68px; margin: 0 auto 12px; background: var(--ink); color: #fff; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.welcome-icon svg { width: 38px; height: 38px; }
.welcome-hero h2 { margin: 0 0 8px; font-size: 22px; }
.steps { display: flex; gap: 8px; }
.step { flex: 1; text-align: center; background: var(--soft); border-radius: 14px; padding: 12px 6px; font-size: 13px; color: var(--ink); }
.step b { display: block; width: 26px; height: 26px; line-height: 26px; border-radius: 50%; background: var(--ink); color: #fff; margin: 0 auto 6px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .amt-grid i, .seg i, .upload-zone { transition: none; }
}
