/* ============================================================
   破茧·归航 — Editorial Calm Uplift v3
   叠加在 andie-theme.css 之上的精修层。
   只新增 / 覆盖；不删既有规则。
   ============================================================ */

/* ============================================================
   1) 深度系统（Elevation）—— 5 档阴影
   ============================================================ */
:root {
  --elev-0: none;
  --elev-1: 0 1px 2px rgba(61, 61, 61, 0.04), 0 1px 1px rgba(61, 61, 61, 0.02);
  --elev-2: 0 4px 12px rgba(61, 61, 61, 0.06), 0 2px 4px rgba(61, 61, 61, 0.03);
  --elev-3: 0 8px 24px rgba(61, 61, 61, 0.08), 0 4px 8px rgba(61, 61, 61, 0.04);
  --elev-4: 0 16px 40px rgba(61, 61, 61, 0.10), 0 6px 12px rgba(61, 61, 61, 0.05);
  --elev-5: 0 28px 60px rgba(61, 61, 61, 0.14), 0 10px 20px rgba(61, 61, 61, 0.06);

  /* hairline 描边 */
  --hairline: 1px solid rgba(135, 80, 200, 0.10);
  --hairline-strong: 1px solid rgba(135, 80, 200, 0.18);
  --hairline-cream: 1px solid rgba(232, 223, 211, 0.6);

  /* 玻璃态 */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.86);
  --glass-blur: blur(16px) saturate(140%);

  /* 动效 */
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 320ms;
  --motion-slower: 500ms;
  --ease-out-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Editorial 字号节奏 */
  --display-sm: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --display-md: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --display-lg: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);

  /* 焦点环 */
  --ring-sage: 0 0 0 3px rgba(135, 80, 200, 0.35);
  --ring-rose: 0 0 0 3px rgba(224, 142, 142, 0.35);
}

/* ============================================================
   2) 深色模式（Editorial Night）
   data-theme="dark" 由 theme.js 设置；首屏由 base.php 内联脚本设置。
   暖墨黑底色，保留情绪温度。
   ============================================================ */
[data-theme="dark"] {
  --andie-cream: #1a1815;
  --andie-cream-dark: #232019;
  --andie-sand: #2c2925;
  --andie-charcoal: #f0ebe2;
  --andie-sage: #b39ae0;        /* 提亮一档保证暗底可读 */
  --andie-sage-light: #b39ae0;
  --andie-sage-dark: #8750c8;
  --andie-rose: #f0a3a3;
  --andie-rose-light: #f8c8c8;
  --andie-rose-dark: #e08e8e;
  --andie-soft-blue: #a4c5dd;
  --andie-lavender: #c8b9d6;
  --andie-mint: #adcfc1;

  --bs-body-color: #d8d2c4;
  --bs-body-bg: #1a1815;

  /* 阴影换成深色友好的 */
  --elev-1: 0 1px 2px rgba(0, 0, 0, 0.30);
  --elev-2: 0 4px 12px rgba(0, 0, 0, 0.40);
  --elev-3: 0 8px 24px rgba(0, 0, 0, 0.45);
  --elev-4: 0 16px 40px rgba(0, 0, 0, 0.50);
  --elev-5: 0 28px 60px rgba(0, 0, 0, 0.55);

  --bs-box-shadow-sm: var(--elev-1);
  --bs-box-shadow: var(--elev-2);
  --bs-box-shadow-lg: var(--elev-3);

  --hairline: 1px solid rgba(179, 154, 224, 0.16);
  --hairline-strong: 1px solid rgba(179, 154, 224, 0.26);
  --hairline-cream: 1px solid rgba(60, 56, 50, 0.8);

  --glass-bg: rgba(35, 32, 25, 0.72);
  --glass-bg-strong: rgba(35, 32, 25, 0.88);
}

[data-theme="dark"] body {
  background: var(--andie-cream);
  color: var(--bs-body-color);
}

[data-theme="dark"] .card,
[data-theme="dark"] .andie-card,
[data-theme="dark"] .chat-sidebar,
[data-theme="dark"] .chat-main,
[data-theme="dark"] .sidebar,
[data-theme="dark"] .mobile-nav,
[data-theme="dark"] .toast-andie,
[data-theme="dark"] .typing-indicator,
[data-theme="dark"] .message--assistant .message__bubble,
[data-theme="dark"] .conversation-item.is-active {
  background: var(--andie-cream-dark);
  border-color: rgba(179, 154, 224, 0.16);
  color: var(--andie-charcoal);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .chat-header__title,
[data-theme="dark"] .conversation-item__title {
  color: var(--andie-charcoal);
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-muted-custom,
[data-theme="dark"] .conversation-item__meta,
[data-theme="dark"] .message__meta,
[data-theme="dark"] .form-control::placeholder {
  color: #968f80 !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: #2c2925;
  border-color: rgba(179, 154, 224, 0.20);
  color: var(--andie-charcoal);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background: #322f2a;
  border-color: var(--andie-sage);
  box-shadow: var(--ring-sage);
}

[data-theme="dark"] .site-header {
  background: var(--glass-bg);
  border-bottom: var(--hairline);
}

[data-theme="dark"] .header-icon {
  color: var(--andie-charcoal);
  background: rgba(179, 154, 224, 0.12);
}
[data-theme="dark"] .header-icon:hover {
  background: rgba(179, 154, 224, 0.20);
}

[data-theme="dark"] .header-user {
  background: var(--andie-cream-dark);
  color: var(--andie-charcoal);
}

[data-theme="dark"] .sidebar__link {
  color: #b0a99c;
}
[data-theme="dark"] .sidebar__link:hover {
  background: rgba(179, 154, 224, 0.10);
  color: var(--andie-charcoal);
}

[data-theme="dark"] .chat-body {
  background: linear-gradient(180deg, #1f1d1a 0%, #1a1815 100%);
}
[data-theme="dark"] .chat-header {
  background: linear-gradient(90deg, #232019, #1f1d1a);
}

[data-theme="dark"] .empty-state__title {
  color: var(--andie-charcoal);
}

[data-theme="dark"] ::selection {
  background: rgba(179, 154, 224, 0.35);
  color: var(--andie-charcoal);
}

/* ============================================================
   3) 玻璃态工具类（克制使用）
   ============================================================ */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--hairline);
}
.glass-strong {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--hairline);
}

/* 升级 header / mobile-nav / toast 为玻璃态（叠加，不破坏既有）*/
.site-header {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.mobile-nav {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.toast-andie {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* ============================================================
   4) Editorial 排版工具
   ============================================================ */
.display-serif {
  font-family: var(--font-display, "Source Han Serif CN", "Noto Serif SC", serif);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.display-sm  { font-size: var(--display-sm); }
.display-md  { font-size: var(--display-md); }
.display-lg  { font-size: var(--display-lg); }

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--andie-sage);
}

.lede {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #6b6b6b;
  max-width: 56ch;
}
[data-theme="dark"] .lede { color: #a8a193; }

.hairline-divider {
  border: 0;
  border-top: var(--hairline);
  margin: 1.5rem 0;
}

/* ============================================================
   5) 主题切换按钮
   ============================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(135, 80, 200, 0.08);
  color: var(--andie-charcoal);
  border: none;
  cursor: pointer;
  transition: all var(--motion-base) var(--ease-out-soft);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover {
  background: rgba(135, 80, 200, 0.16);
  transform: translateY(-1px);
}
.theme-toggle__icon {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform var(--motion-slow) var(--ease-spring);
}
.theme-toggle__icon--sun {
  display: none;
}
.theme-toggle__icon--moon {
  display: block;
}
[data-theme="dark"] .theme-toggle {
  background: rgba(179, 154, 224, 0.16);
}
[data-theme="dark"] .theme-toggle__icon--sun  { display: block; }
[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
.theme-toggle:active .theme-toggle__icon {
  transform: rotate(180deg) scale(0.85);
}

/* ============================================================
   6) Skeleton 骨架屏
   ============================================================ */
.skeleton {
  display: block;
  background: linear-gradient(90deg,
    rgba(135, 80, 200, 0.06) 25%,
    rgba(135, 80, 200, 0.12) 37%,
    rgba(135, 80, 200, 0.06) 63%);
  background-size: 400% 100%;
  border-radius: 0.5rem;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}
.skeleton--line { height: 1em; }
.skeleton--line.skeleton--sm { height: 0.75em; }
.skeleton--line.skeleton--lg { height: 1.25em; }
.skeleton--circle { border-radius: 50%; aspect-ratio: 1; }
.skeleton--card { height: 120px; border-radius: 1rem; }
.skeleton--w-25 { width: 25%; }
.skeleton--w-50 { width: 50%; }
.skeleton--w-75 { width: 75%; }
.skeleton--w-100 { width: 100%; }

@keyframes skeleton-shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg,
    rgba(179, 154, 224, 0.06) 25%,
    rgba(179, 154, 224, 0.14) 37%,
    rgba(179, 154, 224, 0.06) 63%);
  background-size: 400% 100%;
}

/* ============================================================
   7) 呼吸光球 Breathing Orb
   ============================================================ */
.breathing-orb {
  --orb-size: 160px;
  --orb-color: var(--andie-sage);
  width: var(--orb-size);
  height: var(--orb-size);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    color-mix(in srgb, var(--orb-color) 30%, white),
    color-mix(in srgb, var(--orb-color) 60%, white) 60%,
    color-mix(in srgb, var(--orb-color) 80%, white));
  position: relative;
  animation: orb-breathe 6s ease-in-out infinite;
  box-shadow:
    0 0 60px color-mix(in srgb, var(--orb-color) 30%, transparent),
    inset 0 -10px 20px color-mix(in srgb, var(--orb-color) 10%, transparent);
}
.breathing-orb::before,
.breathing-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--orb-color) 30%, transparent);
  animation: orb-ripple 6s ease-out infinite;
}
.breathing-orb::after {
  animation-delay: 3s;
}
@keyframes orb-breathe {
  0%, 100% { transform: scale(0.92); }
  50%      { transform: scale(1.04); }
}
@keyframes orb-ripple {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.breathing-orb--sm { --orb-size: 80px; }
.breathing-orb--lg { --orb-size: 240px; }
.breathing-orb--rose { --orb-color: var(--andie-rose); }
.breathing-orb--lavender { --orb-color: var(--andie-lavender); }
.breathing-orb--mint { --orb-color: var(--andie-mint); }

/* ============================================================
   8) Section Card（杂志式分区卡）
   ============================================================ */
.section-card {
  background: white;
  border: var(--hairline);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--elev-1);
  transition: box-shadow var(--motion-base) var(--ease-out-soft);
}
.section-card:hover {
  box-shadow: var(--elev-2);
}
.section-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: var(--hairline);
}
.section-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.section-card__action {
  font-size: 0.8125rem;
  color: var(--andie-sage);
  text-decoration: none;
  font-weight: 600;
}
.section-card__action:hover { color: var(--andie-sage-dark); }
.section-card__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #888;
}
[data-theme="dark"] .section-card { background: var(--andie-cream-dark); }

/* ============================================================
   9) Stat Pill（数字 pill + 递增动画）
   ============================================================ */
.stat-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.875rem 1.125rem;
  background: linear-gradient(135deg,
    rgba(135, 80, 200, 0.08),
    rgba(135, 80, 200, 0.02));
  border: var(--hairline);
  border-radius: 1rem;
  min-width: 100px;
}
.stat-pill__value {
  font-family: var(--font-display, "Source Han Serif CN", serif);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--andie-charcoal);
  line-height: 1.1;
}
.stat-pill__label {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.25rem;
  font-weight: 500;
}
.stat-pill--rose {
  background: linear-gradient(135deg, rgba(224, 142, 142, 0.10), rgba(224, 142, 142, 0.02));
  border-color: rgba(224, 142, 142, 0.16);
}
.stat-pill--lavender {
  background: linear-gradient(135deg, rgba(184, 169, 201, 0.10), rgba(184, 169, 201, 0.02));
  border-color: rgba(184, 169, 201, 0.16);
}
.stat-pill--mint {
  background: linear-gradient(135deg, rgba(155, 196, 181, 0.10), rgba(155, 196, 181, 0.02));
  border-color: rgba(155, 196, 181, 0.16);
}

/* ============================================================
   10) Bottom Sheet（移动端底栏弹层）
   ============================================================ */
.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.4);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-base);
}
.bottom-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: white;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: var(--elev-5);
  transform: translateY(100%);
  transition: transform var(--motion-slow) var(--ease-out-soft);
  max-height: 86vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-sheet.is-open {
  transform: translateY(0);
}
.bottom-sheet__handle {
  width: 36px;
  height: 4px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  margin: 12px auto 8px;
}
.bottom-sheet__header {
  padding: 0.5rem 1.25rem 1rem;
  border-bottom: var(--hairline);
}
.bottom-sheet__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.bottom-sheet__body {
  padding: 1.25rem;
}
[data-theme="dark"] .bottom-sheet {
  background: var(--andie-cream-dark);
  color: var(--andie-charcoal);
}
[data-theme="dark"] .bottom-sheet__handle { background: rgba(255, 255, 255, 0.20); }

/* ============================================================
   11) 移动端导航 — 当前 active 加呼吸点
   ============================================================ */
.mobile-nav__link.is-active {
  position: relative;
}
.mobile-nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--andie-sage);
  animation: nav-breathe 2.4s ease-in-out infinite;
}
@keyframes nav-breathe {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.85); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.25); }
}

/* ============================================================
   12) 通知下拉富预览
   ============================================================ */
.notif-dropdown {
  position: fixed;
  right: 1rem;
  top: 70px;
  width: 320px;
  max-width: calc(100vw - 2rem);
  background: white;
  border-radius: 1rem;
  border: var(--hairline);
  box-shadow: var(--elev-4);
  z-index: 1080;
  overflow: hidden;
  display: none;
  transform-origin: top right;
  animation: dropdown-pop var(--motion-base) var(--ease-spring);
}
.notif-dropdown.is-open {
  display: block;
}
@keyframes dropdown-pop {
  from { opacity: 0; transform: scale(0.92) translateY(-8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.notif-dropdown__header {
  padding: 0.875rem 1rem;
  border-bottom: var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-dropdown__title {
  font-weight: 700;
  font-size: 0.9375rem;
}
.notif-dropdown__list {
  max-height: 320px;
  overflow-y: auto;
}
.notif-dropdown__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: var(--hairline);
  transition: background var(--motion-fast);
}
.notif-dropdown__item:last-child { border-bottom: 0; }
.notif-dropdown__item:hover { background: rgba(135, 80, 200, 0.05); }
.notif-dropdown__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(135, 80, 200, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.notif-dropdown__main { flex: 1; min-width: 0; }
.notif-dropdown__caption {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-dropdown__time {
  font-size: 0.6875rem;
  color: #999;
  margin-top: 2px;
}
.notif-dropdown__footer {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  border-top: var(--hairline);
}
.notif-dropdown__footer a {
  color: var(--andie-sage);
  text-decoration: none;
  font-weight: 600;
}
.notif-dropdown__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #999;
  font-size: 0.875rem;
}
[data-theme="dark"] .notif-dropdown {
  background: var(--andie-cream-dark);
  border-color: rgba(179, 154, 224, 0.16);
}

/* ============================================================
   13) 入场动画 hooks（motion.js 触发）
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--motion-slow) var(--ease-out-soft),
              transform var(--motion-slow) var(--ease-out-soft);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="fade"] { transform: none; }
[data-animate="fade-left"]  { transform: translateX(-12px); }
[data-animate="fade-right"] { transform: translateX(12px); }
[data-animate="zoom"]       { transform: scale(0.96); }
[data-animate="fade-left"].is-visible,
[data-animate="fade-right"].is-visible { transform: translateX(0); }
[data-animate="zoom"].is-visible       { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   14) 全局焦点环升级
   ============================================================ */
:focus-visible {
  outline: none;
  box-shadow: var(--ring-sage);
  border-radius: 0.5rem;
}
.btn:focus-visible,
.btn-primary:focus-visible {
  box-shadow: var(--ring-sage), var(--bs-box-shadow-sm);
}

/* ============================================================
   15) Page progress bar 升级（shimmer + 高对比）
   ============================================================ */
.page-progress-bar {
  height: 3px;
  background: linear-gradient(90deg,
    var(--andie-sage),
    var(--andie-lavender),
    var(--andie-rose),
    var(--andie-sage));
  background-size: 200% 100%;
  animation: progress-shimmer 2s linear infinite;
}
@keyframes progress-shimmer {
  from { background-position: 0% 0%; }
  to   { background-position: -200% 0%; }
}

/* ============================================================
   16) Sidebar 折叠（lg+ 屏幕）
   ============================================================ */
@media (min-width: 992px) {
  .sidebar {
    transition: width var(--motion-slow) var(--ease-out-soft);
  }
  body.sidebar-collapsed .sidebar {
    width: 72px;
  }
  body.sidebar-collapsed .sidebar__label {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity var(--motion-fast), transform var(--motion-fast);
  }
  body.sidebar-collapsed .sidebar-help {
    display: none;
  }
  body.sidebar-collapsed .sidebar__link {
    justify-content: center;
    padding: 0.75rem 0;
  }
  body.sidebar-collapsed .app-main {
    margin-left: 72px;
    transition: margin-left var(--motion-slow) var(--ease-out-soft);
  }
}
.sidebar-collapse-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(135, 80, 200, 0.10);
  border: none;
  color: var(--andie-sage-dark);
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: all var(--motion-base);
}
.sidebar-collapse-btn:hover {
  background: rgba(135, 80, 200, 0.20);
  transform: rotate(180deg);
}
@media (min-width: 992px) {
  .sidebar-collapse-btn { display: inline-flex; }
}
body.sidebar-collapsed .sidebar-collapse-btn {
  transform: rotate(180deg);
}
body.sidebar-collapsed .sidebar-collapse-btn:hover {
  transform: rotate(0deg);
}

/* ============================================================
   17) Empty state v2 — 支持 SVG
   ============================================================ */
.empty-state__illustration {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}
.empty-state__illustration img,
.empty-state__illustration svg {
  width: 100%;
  height: 100%;
}

/* ============================================================
   18) 全局 hover lift 复用类
   ============================================================ */
.uplift {
  transition: transform var(--motion-base) var(--ease-out-soft),
              box-shadow var(--motion-base) var(--ease-out-soft);
}
.uplift:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-3);
}

/* ============================================================
   19) 可访问的隐藏（仅屏幕阅读器）
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
