/* 通用行动闭环 · 页面样式（V5.10）
   放在 dc_shell 的四张表之后加载，只管 .do-* 这一族类名。 */

/* ---- 首页主行动区 ---- */
.do-hero {
  margin: 8px 0 22px;
}

.do-hero-greet {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}

.do-hero-title {
  margin: 0 0 10px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.do-hero-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ---- 首页二级工具导航 ---- */
.dc-tools {
  margin: 26px 0 8px;
}

.dc-tools-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dc-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  /* V5.20 极光玻璃：工具胶囊也走毛玻璃 */
  background: var(--color-surface-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.dc-tool-link:hover {
  color: var(--color-primary-ink);
  border-color: var(--color-line-strong);
}

.dc-tool-ico {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.dc-tool-ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.do-start-form {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.do-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text);
}

.do-input {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  font-size: 16px;
  line-height: 1.6;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-card-solid);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  resize: vertical;
}

.do-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.16);
}

.do-hint {
  margin: 10px 0 14px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.do-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.do-cat {
  padding: 8px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  background: var(--color-card);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.do-cat.on {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.do-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.do-ai-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.do-secondary {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
}

.do-secondary-label {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.do-peers {
  margin: 22px 0 8px;
  padding: 16px 20px;
  background: rgba(108, 99, 255, 0.06);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text-muted);
}

.do-peer-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--color-text-faint);
}

/* ---- 执行页 ---- */
.do-now {
  margin-bottom: 14px;
}

.do-task-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.do-progress {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.do-card {
  padding: 26px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.do-card-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.do-step-title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.do-step-hint {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.do-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.do-actions .btn {
  flex: 1 1 auto;
  min-width: 120px;
}

/* ---- 步骤清单 ---- */
.do-list {
  margin: 0 0 24px;
}

.do-list-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.do-list ol,
.do-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.do-li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.55;
}

.do-li-mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  border: 2px solid var(--color-line-strong);
}

.do-li-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}

.do-li-active .do-li-mark {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.do-li-done .do-li-mark {
  border-color: var(--color-success);
  background: var(--color-success);
}

.do-li-skipped .do-li-text {
  color: var(--color-text-faint);
  text-decoration: line-through;
}

.do-li-state {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--color-text-faint);
}

.do-done-head {
  margin-bottom: 20px;
}

.do-done-line {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .do-card { padding: 20px 18px; }
  .do-step-title { font-size: 19px; }
  .do-actions .btn { min-width: 100%; }
}

/* ---- 写方案 / 复习笔记 ---- */
.dw-input {
  min-height: 0;
  height: auto;
  margin-bottom: 16px;
}

.dw-editor {
  min-height: 320px;
  line-height: 1.8;
  font-size: 15px;
}

.do-mat {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: 14px;
  color: var(--color-text-muted);
}

.do-mat summary,
.do-src summary {
  cursor: pointer;
  color: var(--color-primary-ink);
}

.do-mat-body,
.do-src-body {
  margin-top: 10px;
  line-height: 1.75;
  color: var(--color-text);
}

.do-quiz {
  margin-bottom: 18px;
}

.do-quiz-form {
  margin-top: 14px;
}

.do-coverage {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.do-disclaimer {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--color-text-faint);
}

/* ---- 一起学：真实同行 ---- */
.learn-peers {
  margin-bottom: 26px;
}

.learn-peer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.learn-peer-cat {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
}

/* ---- 背单词 ---- */
.dw-empty {
  padding: 22px 18px;
  text-align: center;
  color: var(--color-text-muted);
}

/* ── V5.12 整改补充：编辑表单 / 背单词结束页 / 列表里的文字层次 ── */
.do-editor-form {
  display: block;
  margin: 18px 0 0;
}

.do-editor-form .do-label {
  display: block;
  margin: 12px 0 6px;
}

.dw-round-end {
  border-left: 3px solid var(--dc-accent, #4f7cff);
}

.dw-round-end .do-step-title {
  font-size: 1.15rem;
}

.do-li-text {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.do-li-text .do-li-state {
  font-size: 0.82rem;
  opacity: 0.7;
}

.do-li-state {
  font-size: 0.85rem;
  opacity: 0.75;
  white-space: nowrap;
}

.do-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.do-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(127, 127, 127, 0.16);
}

.do-list li:last-child {
  border-bottom: 0;
}

.dw-empty {
  text-align: center;
  padding: 26px 16px;
}

/* =====================================================================
   V3.0 首页四状态机 · 补充样式
   =================================================================== */

/* ---- 状态 A：接着上次卡片 ---- */
.do-resume-card {
  margin: 8px 0 24px;
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-primary);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.do-resume-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

.do-resume-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.do-resume-snap {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- 状态 B：今日已闭环 ---- */
.do-closed-loop {
  margin: 8px 0 24px;
  padding: 24px;
  background: rgba(62, 142, 90, 0.06);
  border: 1px solid rgba(62, 142, 90, 0.2);
  border-radius: var(--radius-lg);
}

.do-closed-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-success, #3E8E5A);
}

.do-closed-lede {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ---- 状态 C/D：先做两分钟入口 ---- */
.do-two-min-entry {
  margin: 8px 0 24px;
}

.do-two-min-guest-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--color-text-faint);
}

.do-two-min-form {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.do-two-min-kicker {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.do-two-min-btn {
  width: 100%;
  min-height: 48px;
  font-size: 17px;
  font-weight: 700;
  margin-top: 4px;
}

/* 分类芯片（V3.0 首页用 .do-cat-chip，与执行页 .do-cat 区分） */
.do-cats--chips {
  margin-bottom: 16px;
}

.do-cat-chip {
  padding: 8px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  background: var(--color-card);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast, 160ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.do-cat-chip.on {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.do-cat-chip:hover:not(.on) {
  border-color: var(--color-primary);
  color: var(--color-primary-deep, var(--color-primary));
}

/* 折叠输入区 */
.do-full-input-toggle {
  margin-top: 16px;
}

.do-full-input-toggle summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--color-primary-deep, var(--color-primary));
  padding: 8px 0;
}

.do-full-input-toggle[open] summary {
  margin-bottom: 12px;
}

.do-full-input-toggle .do-start-form {
  margin-top: 8px;
}

/* ---- P2：工具按「拖哪种事」分组 ---- */
.do-tools-v3 {
  margin: 28px 0 8px;
}

.do-tool-group-label {
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
}

.do-tool-group-label:first-child {
  margin-top: 0;
}

/* 未完数徽标 */
.dc-tool-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--color-secondary, #C4674A);
  border-radius: 999px;
  margin-left: 4px;
}

/* ---- 执行页：两分钟倒计时环 ---- */
.do-two-min-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0 20px;
}

.do-two-min-ring-svg {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.do-two-min-ring-bg {
  fill: none;
  stroke: var(--color-line, #e0d8cc);
  stroke-width: 6;
}

.do-two-min-ring-fg {
  fill: none;
  stroke: var(--color-primary, #9C6B2E);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 263.89;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.do-two-min-label {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

/* 两分钟到点提示 */
.do-two-min-hint {
  margin: 16px 0;
  padding: 16px 20px;
  background: rgba(156, 107, 46, 0.08);
  border: 1px solid rgba(156, 107, 46, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
}

.do-two-min-hint.on {
  animation: do-fade-in 420ms var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

.do-two-min-hint-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary, #9C6B2E);
}

.do-two-min-hint-lede {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.do-two-min-hint-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* 恢复高亮动画 */
.do-step-resume {
  animation: do-resume-flash 420ms var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

@keyframes do-resume-flash {
  0%   { box-shadow: 0 0 0 0 rgba(156, 107, 46, 0.4); }
  50%  { box-shadow: 0 0 0 6px rgba(156, 107, 46, 0.15); }
  100% { box-shadow: 0 0 0 0 rgba(156, 107, 46, 0); }
}

@keyframes do-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 三档降级 ---- */
@media (prefers-reduced-motion: reduce) {
  .do-step-resume,
  .do-two-min-hint.on {
    animation: none;
  }
  .do-two-min-ring-fg {
    transition: none;
  }
}

html[data-motion="off"] .do-step-resume,
html[data-motion="off"] .do-two-min-hint.on {
  animation: none;
}

html[data-motion="off"] .do-two-min-ring-fg {
  transition: none;
}

/* =====================================================================
   P1/P2 补充样式
   =================================================================== */

/* ---- P1: 今日三件事槽位 ---- */
.do-today-picks {
  margin: 8px 0 24px;
  padding: 20px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.do-today-picks-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.do-pick-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.do-pick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color var(--dur-fast, 160ms) var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.do-pick-item.is-done {
  border-color: var(--color-success, #3E8E5A);
  background: rgba(62, 142, 90, 0.06);
}

.do-pick-title {
  flex: 1 1 auto;
  line-height: 1.5;
}

.do-pick-status {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--color-success, #3E8E5A);
  font-weight: 600;
}

.do-pick-action {
  flex: 0 0 auto;
}

.do-pick-empty {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ---- P1: 执行意图一行表单 ---- */
.do-intention-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin: 16px 0 8px;
  padding: 14px 16px;
  background: rgba(156, 107, 46, 0.04);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
}

.do-intention-field {
  flex: 1 1 180px;
  min-width: 0;
}

.do-intention-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--color-text-faint);
  letter-spacing: 0.04em;
}

.do-intention-field input {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-card-solid);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
}

.do-intention-field input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(156, 107, 46, 0.12);
}

.do-intention-btn {
  flex: 0 0 auto;
  min-height: 36px;
}

/* ---- P2: 事件流模块 ---- */
.do-event-feed {
  margin: 20px 0 8px;
  padding: 16px 20px;
  background: rgba(156, 107, 46, 0.04);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.do-event-feed-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
}

.do-event-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.do-event-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.do-event-item + .do-event-item {
  border-top: 1px solid rgba(127, 127, 127, 0.08);
}

.do-event-kind {
  flex: 1 1 auto;
}

.do-event-time {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--color-text-faint);
  font-variant-numeric: tabular-nums;
}

.do-event-empty {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-faint);
}

/* ---- P1: 挑进今日按钮（执行页） ---- */
.do-pick-toggle {
  margin: 8px 0 0;
}

/* ---- 390px 窄屏适配 ---- */
@media (max-width: 390px) {
  .do-resume-card { padding: 18px; }
  .do-two-min-form { padding: 18px; }
  .do-resume-title { font-size: 18px; }
  .do-closed-title { font-size: 18px; }
  .do-two-min-btn { font-size: 16px; min-height: 44px; }
  .do-two-min-ring-svg { width: 80px; height: 80px; }
  .do-two-min-label { font-size: 18px; }
  .dc-tool-link { padding: 7px 11px; font-size: 13px; }
  .do-today-picks { padding: 16px 18px; }
  .do-intention-form { padding: 12px 14px; }
  .do-event-feed { padding: 14px 16px; }
}

/* ==========================================================================
   V5.14 执行页动效（行动闭环 · qiaomu-design 打磨模式）
   ----------------------------------------------------------------------------
   这一页要做的事只有一件：让人知道「现在该做哪一步、做完没有」。
   所以动效全部围绕这两点：
     · 进度看得见（进度条生长）；
     · 做完有回响（当场打勾 + 一步亮起 + 提示条落下）。
   ========================================================================== */

/* ---- 进度条：一条能看见的线，比「第 N 步 / 共 M 步」更早到位 ---- */
.do-bar {
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--color-line);
  overflow: hidden;
}
.do-bar-fill {
  display: block;
  width: calc(var(--pct, 0) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform-origin: left center;
  animation: do-bar-grow 640ms var(--ease-out) both;
}
@keyframes do-bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---- 当前步卡片：入场先立住，再给内容（恢复高亮的那张走自己的动画） ---- */
.do-card:not(.do-step-resume) {
  animation: do-rise 420ms var(--ease-out) both;
}
@keyframes do-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---- 步骤清单：交错入场，一行一行亮起来 ---- */
.do-list .do-li {
  animation: do-rise 380ms var(--ease-out) both;
}
.do-list .do-li:nth-child(1) { animation-delay: 40ms; }
.do-list .do-li:nth-child(2) { animation-delay: 80ms; }
.do-list .do-li:nth-child(3) { animation-delay: 120ms; }
.do-list .do-li:nth-child(4) { animation-delay: 160ms; }
.do-list .do-li:nth-child(5) { animation-delay: 200ms; }
.do-list .do-li:nth-child(6) { animation-delay: 240ms; }
.do-list .do-li:nth-child(7) { animation-delay: 280ms; }
.do-list .do-li:nth-child(n+8) { animation-delay: 300ms; }

/* ---- 完成的标记：弹一下就位，不是「啪」地变个色 ---- */
.do-li-done .do-li-mark {
  animation: do-mark-pop 320ms var(--ease-out) both;
}
@keyframes do-mark-pop {
  0%   { opacity: 0; transform: scale(0.4); }
  60%  { transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---- 点「我已经做完这步」时的当场回响（还没跳转，先让人看见记上了） ---- */
.do-li.is-completing .do-li-mark {
  border-color: var(--color-success);
  background: var(--color-success);
  animation: do-mark-commit 420ms var(--ease-out) both;
}
@keyframes do-mark-commit {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  45%  { transform: scale(1.32); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.do-li.is-completing .do-li-state {
  color: var(--color-success);
  font-weight: 600;
}

/* ---- 动作区：按下有实感，主按钮更实一点 ---- */
.do-actions .btn {
  transition:
    transform var(--dur-press, 120ms) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.do-actions .btn:active { transform: scale(0.97); }
.do-actions .btn.primary { box-shadow: var(--shadow-primary); }
.do-actions .btn.primary:active {
  box-shadow: 0 6px 16px -8px rgba(108, 99, 255, 0.42);
}

/* ---- 意图表单与「挑进今天」：轻入场 ---- */
.do-intention-form {
  animation: do-rise 380ms var(--ease-out) both;
}
.do-pick-toggle {
  animation: do-rise 380ms var(--ease-out) both;
  animation-delay: 120ms;
}
.do-intention-form input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

/* ---- 两分钟到点：体面地停，面板轻轻落下来 ---- */
.do-two-min-hint {
  animation: do-rise 320ms var(--ease-out) both;
}

/* ---- 同行人数：最后才出现，不抢主任务的注意力 ---- */
.do-peers {
  animation: do-rise 420ms var(--ease-out) both;
  animation-delay: 160ms;
}

/* ---- 降级 ---- */
@media (prefers-reduced-motion: reduce) {
  .do-bar-fill,
  .do-card:not(.do-step-resume),
  .do-list .do-li,
  .do-li-done .do-li-mark,
  .do-li.is-completing .do-li-mark,
  .do-intention-form,
  .do-pick-toggle,
  .do-two-min-hint,
  .do-peers {
    animation: none !important;
  }
  .do-actions .btn {
    animation: none !important;
    transition: none !important;
  }
  .do-actions .btn:active { transform: none !important; }
}
html[data-motion="off"] .do-bar-fill,
html[data-motion="off"] .do-card:not(.do-step-resume),
html[data-motion="off"] .do-list .do-li,
html[data-motion="off"] .do-li-done .do-li-mark,
html[data-motion="off"] .do-li.is-completing .do-li-mark,
html[data-motion="off"] .do-intention-form,
html[data-motion="off"] .do-pick-toggle,
html[data-motion="off"] .do-two-min-hint,
html[data-motion="off"] .do-peers {
  animation: none !important;
}
html[data-motion="off"] .do-actions .btn {
  animation: none !important;
  transition: none !important;
}
html[data-motion="off"] .do-actions .btn:active { transform: none !important; }

/* ==========================================================================
   V5.22 拆解执行页重做：主体一张卡，出口一排，次要信息收起来
   --------------------------------------------------------------------------
   原来这一页平铺了 12 个区块（通知条 / 进度 / 进度条 / 两分钟环 / 步骤卡 /
   两分钟弹层 / 执行意图表单 / 七个动作按钮 / 说明 / 挑进今天 / 步骤清单 /
   同行人数），主次不清、看着累。现在收敛成四块：
     ① .do-focus   当前这一步（占主体）
     ② .do-exits   一排出口（主次分明）
     ③ .do-steps-fold  步骤清单（默认折叠）
     ④ .do-more    次要信息（默认收起）
   沿用 variables.css 的令牌，不新增色系。
   ========================================================================== */

/* ---------- 主体：当前这一步 ---------- */
.do-focus {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0 0 18px;
  padding: 28px 26px 22px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.do-focus-main { min-width: 0; }

.do-focus-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--color-text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.do-focus-label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-primary-ink);
  opacity: 0.85;
}

.do-focus-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.do-focus-hint {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.do-focus-foot {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.do-focus-progress {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.do-focus-elapsed {
  font-variant-numeric: tabular-nums;
  color: var(--color-text-faint);
}

/* 两分钟模式：环缩到角上，不跟主卡抢位置 */
.do-focus .do-two-min-ring-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  margin: 0;
}

/* ---------- 出口：一排按钮，主次分明 ---------- */
.do-exits {
  margin: 0 0 22px;
}

.do-exits .do-actions {
  margin: 0;
  gap: 10px;
}

.do-exit-main {
  flex: 1 1 100%;
  min-height: 54px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.do-exit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 100%;
}

.do-exit-row .btn {
  flex: 1 1 auto;
  min-width: 120px;
}

/* 兜底出口：更轻，不跟主操作抢眼 */
.do-exit-row-quiet .btn {
  min-height: 38px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: transparent;
  border-color: transparent;
}

.do-exit-row-quiet .btn:hover {
  border-color: var(--color-line);
  background: var(--color-surface-2);
}

.do-exits .do-hint {
  margin: 12px 0 0;
}

/* ---------- 步骤清单：折叠 ---------- */
.do-steps-fold {
  margin: 0 0 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  overflow: hidden;
}

.do-steps-summary,
.do-more-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  color: var(--color-text);
  user-select: none;
}

.do-steps-summary::-webkit-details-marker,
.do-more-summary::-webkit-details-marker { display: none; }

.do-steps-summary::after,
.do-more-summary::after {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.6px solid var(--color-text-faint);
  border-bottom: 1.6px solid var(--color-text-faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-fast) var(--ease-out);
}

.do-steps-fold[open] .do-steps-summary::after,
.do-more[open] .do-more-summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.do-steps-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-text-faint);
}

.do-steps-list {
  margin: 0;
  padding: 0 16px 16px;
}

.do-steps-list .do-li {
  align-items: center;
}

.do-li-revisit {
  border-color: rgba(156, 107, 46, 0.28);
  background: rgba(156, 107, 46, 0.05);
}

.do-li-revisit .do-li-mark {
  border-color: rgba(156, 107, 46, 0.55);
  background: rgba(156, 107, 46, 0.25);
}

.do-li-tag-warn {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(156, 107, 46, 0.12);
  color: #8A5F29;
  font-size: 12px;
  line-height: 1.7;
}

/* 「接着做这步」的小表单 */
.do-step-act {
  flex: 0 0 auto;
  margin: 0;
}

.do-step-act .btn {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

/* ---------- 次要信息：收起来 ---------- */
.do-more {
  margin: 0 0 20px;
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.36);
}

.do-more-body {
  display: grid;
  gap: 16px;
  padding: 4px 16px 16px;
}

.do-more-body .do-peers { margin: 0; }

/* ---------- 窄屏 ---------- */
@media (max-width: 480px) {
  .do-focus { padding: 22px 18px 18px; border-radius: var(--radius-md); }
  .do-focus-title { font-size: 21px; }
  .do-focus .do-two-min-ring-wrap { width: 46px; height: 46px; top: 14px; right: 14px; }
  .do-exit-row .btn { min-width: 100%; }
  .do-steps-list .do-li { flex-wrap: wrap; }
  .do-step-act { flex: 1 1 100%; }
  .do-step-act .btn { width: 100%; }
}

/* ---------- 降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .do-steps-summary::after,
  .do-more-summary::after { transition: none; }
}
html[data-motion="off"] .do-steps-summary::after,
html[data-motion="off"] .do-more-summary::after { transition: none; }

/* ==========================================================================
   V5.22 背单词打字练习：字数计数 + 逐字对照
   -------------------------------------------------------------------------- */
.dw-type-card {
  padding: 24px 22px;
}

.dw-count {
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-faint);
}

.dw-count-num {
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}

.dw-count-num.is-full {
  color: var(--color-success);
}

.dw-count-num.is-over {
  color: var(--color-error);
}

/* 逐字对照：错的字红、对的绿，位置对得上 */
.dw-diff {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
}

.dw-diff-title {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.dw-diff-row {
  margin: 0 0 6px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.dw-diff-row:last-child {
  margin-bottom: 0;
}

.dw-diff-label {
  flex: 0 0 auto;
  width: 4.2em;
  color: var(--color-text-faint);
  font-size: 12px;
  padding-top: 3px;
}

.dw-diff-chars {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-all;
}

.dw-char {
  display: inline-block;
  min-width: 1em;
  padding: 0 1px;
  border-bottom: 2px solid transparent;
}

.dw-char.is-ok {
  color: var(--color-success);
  border-bottom-color: var(--color-success);
}

.dw-char.is-bad {
  color: var(--color-error);
  border-bottom-color: var(--color-error);
}

@media (max-width: 480px) {
  .dw-type-card { padding: 20px 18px; }
  .dw-diff-label { width: 3.6em; }
}

/* ==========================================================================
   V5.23 拆解执行页第二轮版式：更少的盒子、更强的层级
   --------------------------------------------------------------------------
   V5.22 的首屏是一张带阴影的重卡片 + 一排 8 个按钮 + 两个折叠卡片。
   用户反馈「卡片太多、不清晰、精美度不够」。这一段把执行页向全站
   （首页 doc_home、完成页 do_done）的「裸文本 + 留白 + 按钮分级」调性看齐：
     · .do-focus 去掉边框/底色/阴影，只留一条底分隔线
     · 一行元信息（任务名 / 进度 / 两分钟环），不再压着标题
     · 标题放大到 32px，提示语降到 14px
     · 首屏只留 1 个主按钮，其余收进原生 <details>「还有别的选择」
     · 步骤清单与次要信息合并成一个折叠
   只在 .do-v23 / .do-side / .do-choices 这批新类上生效，
   不改动 .do-li / .do-bar / .do-two-min-* 等其它页面共用的旧类。
   ========================================================================== */

/* ---------- 主体：裸排版 ---------- */
.do-focus.do-v23 {
  display: block;
  margin: 0 0 22px;
  padding: 0 0 24px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
}

/* 一行元信息：任务名 + 进度 + 两分钟环 */
.do-focus.do-v23 .do-focus-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.do-focus.do-v23 .do-focus-kicker {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  color: var(--color-text-faint);
}

.do-focus.do-v23 .do-focus-progress {
  flex: 0 0 auto;
  margin: 0;
  gap: 12px;
  font-size: 13px;
}

.do-focus.do-v23 .do-focus-stepnum {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* 两分钟环回到这一行，不再绝对定位压在大标题上 */
.do-focus.do-v23 .do-two-min-ring-wrap {
  position: static;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
}

.do-focus.do-v23 .do-two-min-ring-svg {
  width: 44px;
  height: 44px;
}

.do-focus.do-v23 .do-two-min-label {
  font-size: 15px;
}

/* 进度条：细到 2px，只做暗示 */
.do-focus.do-v23 .do-bar {
  height: 2px;
  margin: 0 0 24px;
  border-radius: 2px;
}

/* 标题放大成全页最大字，提示语压到 14px */
.do-focus.do-v23 .do-focus-label {
  margin: 0 0 10px;
  font-size: 12px;
}

.do-focus.do-v23 .do-focus-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.do-focus.do-v23 .do-focus-hint {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ---------- 动作区：一个主按钮 + 一个展开 ---------- */
.do-exits.do-v23 {
  margin: 0 0 26px;
}

.do-exits.do-v23 .do-actions {
  display: grid;
  gap: 12px;
  margin: 0;
}

.do-exits.do-v23 .do-exit-main {
  flex: none;
  width: 100%;
  min-height: 56px;
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

.do-choices {
  border-top: 1px solid var(--color-line);
  padding-top: 4px;
}

.do-choices-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--color-text-muted);
}

.do-choices-summary::-webkit-details-marker { display: none; }

.do-choices-summary::after {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
  transition: transform var(--dur-fast) var(--ease-out);
}

.do-choices[open] .do-choices-summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.do-choices-body {
  padding: 2px 0 4px;
}

.do-choices-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
}

.do-choices-row .btn {
  flex: 1 1 auto;
  min-width: 104px;
}

/* 更轻的一行：关于整件事，而不是关于这一步 */
.do-choices-row-quiet .btn {
  background: transparent;
  border-color: transparent;
  color: var(--color-text-muted);
}

.do-choices-row-quiet .btn:hover {
  border-color: var(--color-line);
  background: var(--color-surface-2);
}

.do-choices-body .do-hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 次要信息：合并成一个折叠 ---------- */
.do-side {
  border-top: 1px solid var(--color-line);
  padding: 2px 0 0;
}

.do-side-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--color-text);
}

.do-side-summary::-webkit-details-marker { display: none; }

.do-side-summary::after {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--color-text-faint);
  border-bottom: 1.5px solid var(--color-text-faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-fast) var(--ease-out);
}

.do-side[open] .do-side-summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.do-side-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-text-faint);
}

.do-side-body {
  padding: 0 0 10px;
}

.do-side-extra {
  display: grid;
  gap: 16px;
  margin: 18px 0 6px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.do-side-extra .do-peers { margin: 0; }

/* ---------- 窄屏 ---------- */
@media (max-width: 480px) {
  .do-focus.do-v23 { padding: 0 0 20px; }
  .do-focus.do-v23 .do-focus-title { font-size: 25px; }
  .do-focus.do-v23 .do-focus-meta { gap: 10px; }
  .do-choices-row .btn { min-width: 100%; }
  .do-exits.do-v23 .do-exit-main { min-height: 52px; font-size: 17px; }
}

/* ---------- 降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .do-choices-summary::after,
  .do-side-summary::after { transition: none; }
}
html[data-motion="off"] .do-choices-summary::after,
html[data-motion="off"] .do-side-summary::after { transition: none; }

/* =====================================================================
   V5.28 背单词结束页：资产 / 回访 / 情绪 / 在场
   （pages/word.php 的 .dw-round-end 卡片里）
   =================================================================== */
.dw-assets {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface-2);
}

.dw-assets-title {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}

.dw-assets-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.dw-assets-list li {
  font-size: 14px;
  color: var(--color-text-muted);
}

.dw-num {
  margin: 0 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.dw-revisit {
  margin: 14px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--dc-accent, #4f7cff);
  border-radius: 12px;
  background: rgba(79, 124, 255, 0.08);
}

.dw-revisit-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.dw-revisit-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-text-faint);
}

.dw-moods {
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface-2);
}

.dw-moods-title {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--color-text);
}

.dw-mood-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dw-mood {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: 12px;
  background: var(--color-surface-3);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.dw-mood:hover {
  border-color: var(--dc-accent, #4f7cff);
}

.dw-mood:active {
  transform: scale(0.97);
}

.dw-mood-saved {
  border-color: var(--dc-accent, #4f7cff);
  background: rgba(79, 124, 255, 0.16);
  font-weight: 600;
}

.dw-moods-tip {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--color-text-faint);
}

.dw-live {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.dw-live p {
  margin: 0;
}

@media (max-width: 480px) {
  .dw-mood-row { gap: 8px; }
  .dw-mood { flex: 1 1 100%; }
  .dw-assets, .dw-moods { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .dw-mood { transition: none; }
}
html[data-motion="off"] .dw-mood { transition: none; }

/* ===================== V5.29：暂停 / 释义限宽 / 在场统计 / 资产卡 ===================== */

/* 第5项（V5.30 修正）：释义不再截断成一行，改为整段换行显示。
   旧写法 nowrap + ellipsis 在窄屏会把整行撑到 700+px，页面出现横向滚动、
   状态徽标被挤出屏幕。这里改成可换行 + 断词，父级与 flex 子项都给 min-width:0。 */
.dw-meaning {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
  color: var(--color-text-muted);
}

/* 词表整行不允许被内容撑破 */
.do-li { min-width: 0; max-width: 100%; }
.do-li-text {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  flex: 1 1 auto;
}
.do-li-text > * { min-width: 0; }
.do-li-state { flex: 0 0 auto; flex-shrink: 0; }

@media (max-width: 480px) {
  .dw-meaning { max-width: 100%; }
}

/* 第3项：暂停按钮 */
.dw-pause-form {
  margin: 16px 0 0;
  display: flex;
  justify-content: flex-end;
}

.dw-pause {
  font-size: 13px;
  color: var(--color-text-muted);
}

.dw-resumed-tip {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* 宽松验收命中提示 */
.dw-hit {
  color: var(--color-success);
  font-weight: 600;
}

/* 首页：在场统计（所有状态都显示） */
.sc-live {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.sc-live p { margin: 0; }

/* 「我的」页资产汇总卡 */
.me-assets { margin-top: 18px; }

.me-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.me-assets-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
}

.me-assets-label {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-text-faint);
}

.me-assets-stat {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.me-assets-stat b {
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-text);
}

.me-assets-stat em {
  font-style: normal;
  font-size: 13px;
  color: var(--color-text-muted);
}

.me-assets-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-primary);
}

/* 「我的记录」页资产汇总 + 最近活动 */
.rc-assets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.rc-assets-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
}

.rc-assets-label {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-text-faint);
}

.rc-assets-stat {
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rc-assets-stat b {
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-text);
}

.rc-assets-stat em {
  font-style: normal;
  font-size: 13px;
  color: var(--color-text-muted);
}

.rc-acts { margin-bottom: 18px; }

.rc-acts-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-acts-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  color: var(--color-text);
}

.rc-acts-list li:last-child { border-bottom: 0; }

.rc-acts-time {
  flex: 0 0 auto;
  min-width: 84px;
  font-size: 12px;
  color: var(--color-text-faint);
}

.rc-acts-scene {
  flex: 0 0 auto;
  font-weight: 600;
}

.rc-acts-sum {
  flex: 1 1 160px;
  min-width: 0;
  color: var(--color-text-muted);
  word-break: break-word;
  overflow-wrap: break-word;
}
