/* 使用引导：高亮始终留给当前操作，卡片在上下空位里排版。 */
body.mobile .ob-mask { pointer-events: auto; }
body.mobile.ob-running .scroll { scroll-behavior: auto !important; }
body.mobile .ob-hole, body.mobile .ob-ring { transition: none !important; }
body.mobile .ob-mask, body.mobile .ob-card { transition: opacity .18s ease; }
body.mobile .ob-mask.ob-hidden, body.mobile .ob-card.ob-hidden { opacity: 0; visibility: hidden; transition: none; }
body.mobile.ob-running .screen.show, body.mobile.ob-running .screen.show .scroll > *, body.mobile.ob-running .ob-card { animation: none !important; }
body.mobile.ob-running .screen { transition: none !important; }
body.mobile .ob-hole { box-shadow: 0 0 0 9999px rgba(40,28,18,.55) !important; }
body.mobile .ob-ring { border-color: #e78f53 !important; box-shadow: 0 0 0 4px rgba(255,233,202,.34),0 0 25px rgba(231,143,83,.36) !important; }
body.mobile .ob-card {
  box-sizing: border-box;
  left: 16px;
  right: auto;
  width: min(calc(100vw - 32px), 430px);
  max-height: min(43dvh,290px);
  padding: 17px 18px 16px;
  overflow-y: auto;
  border: 1px solid #eed7c0;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 16px 45px rgba(57,37,21,.19);
  backdrop-filter: none;
}
body.mobile .ob-card .ob-head { margin-bottom: 10px; gap: 7px; }
body.mobile .ob-card.ob-compact { padding: 10px 14px 9px; }
body.mobile .ob-card.ob-compact .ob-head { margin-bottom: 3px; }
body.mobile .ob-card.ob-compact .ob-acts { margin-top: 6px; }
body.mobile .ob-card.ob-compact .ob-next { min-height: 32px; padding: 5px 12px; }
body.mobile .ob-card .ob-name { color: #9a5b37; font-size: 12px; font-weight: 700; }
body.mobile .ob-card .ob-index { margin-left: auto; color: #a48c78; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
body.mobile .ob-card .ob-skip {
  margin: 0 0 0 4px;
  padding: 5px 7px;
  border: 0;
  background: transparent;
  color: #806d5d;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
body.mobile .ob-card .ob-txt { color: #4e3e32; font-size: 13px; line-height: 1.7; }
body.mobile.ob-step-one #home-mic { position: relative; z-index: 1; animation: ob-mic-breathe 2.4s ease-in-out infinite; }
body.mobile.ob-step-one #home-mic::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,226,173,.82); box-shadow: 0 0 14px rgba(255,167,94,.65),0 0 27px rgba(255,184,116,.38); animation: ob-mic-halo 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes ob-mic-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes ob-mic-halo { 0%,100% { opacity: .45; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.08); } }
body.mobile.ob-voice-filled #voice-text { animation: ob-voice-appear .24s ease-out both; }
@keyframes ob-voice-appear { from { opacity: .55; } to { opacity: 1; } }
body.mobile #s-diary #summary-edit { width: auto; min-width: 68px; padding: 0 11px; gap: 5px; font: inherit; font-size: 12px; font-weight: 700; }
body.mobile #s-diary #summary-edit.is-saving { background: #dd8050; border-color: #dd8050; color: #fff; }
body.mobile .cf-row-actions { display: flex; flex: none; align-items: center; gap: 4px; margin-left: 4px; }
body.mobile .cf-row-actions button { min-height: 30px; border: 0; border-radius: 8px; background: #fff4e9; color: #9b5c36; padding: 4px 7px; font-size: 11px; font-weight: 700; cursor: pointer; }
body.mobile .cf-row-actions .cf-del-btn { background: transparent; color: #a58d7d; font-size: 17px; }
body.mobile .cf-edit-form { display: grid; gap: 12px; padding: 5px 0 6px; }
body.mobile .cf-edit-form label { display: grid; gap: 6px; color: #705641; font-size: 12px; font-weight: 650; }
body.mobile .cf-edit-form textarea, body.mobile .cf-edit-form input { box-sizing: border-box; width: 100%; border: 1px solid #ead4bd; border-radius: 10px; padding: 10px 12px; background: #fffaf5; color: #4f3b30; font: inherit; font-size: 15px; }
body.mobile.ob-running #nn-sheet { z-index: 500; }
body.mobile .ob-card .ob-demo-label { margin-top: 8px; color: #987c64; font-size: 10.5px; }
body.mobile .ob-card .ob-reminder { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 8px 10px; border: 1px solid #f1ddc8; border-radius: 9px; background: #fff7eb; color: #795039; font-size: 11px; font-weight: 650; }
body.mobile .ob-card .ob-reminder strong { color: #a85d37; font-variant-numeric: tabular-nums; }
body.mobile .ob-card .ob-reminder span { margin-left: auto; color: #a18974; font-size: 10px; font-weight: 500; }
body.mobile .ob-card .ob-acts { margin-top: 14px; }
body.mobile .ob-card .ob-progress { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: #f1e6d9; }
body.mobile .ob-card .ob-progress i { display: block; height: 100%; border-radius: inherit; background: #e38c54; transition: width .25s ease; }
body.mobile .ob-card .ob-next { min-height: 39px; padding: 8px 15px; border-radius: 10px; background: #df8248; box-shadow: none; font-size: 12px; }
body.mobile .ob-card .ob-next:disabled { opacity: .68; cursor: wait; }
body.mobile .ob-card .ob-budget-open { min-height: 39px; padding: 7px 11px; border: 1px solid #e8c7ac; border-radius: 10px; background: #fff7ef; color: #a6603d; font-size: 12px; font-weight: 700; cursor: pointer; }
body.mobile .ob-budget-form { display: grid; gap: 9px; margin-top: 13px; }
body.mobile .ob-budget-form label { color: #68503d; font-size: 12px; font-weight: 700; }
body.mobile .ob-budget-form input { box-sizing: border-box; width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #e8cdb4; border-radius: 10px; background: #fffaf4; color: #563d2d; font-size: 16px; outline-color: #dc915e; }
body.mobile .ob-budget-form button { min-height: 40px; border: 0; border-radius: 10px; background: #df8248; color: #fff; font-size: 12px; font-weight: 700; }
body.mobile .ob-budget-error { min-height: 0; color: #b7583d; font-size: 11px; }
body.mobile.ob-demo-active #tl2,
body.mobile.ob-demo-active #tl2-add,
body.mobile.ob-demo-checklist #todo-paper,
body.mobile.ob-demo-checklist #cl-add { display: none !important; }
body.mobile .ob-demo-list { padding: 2px 0 12px; }
body.mobile .ob-demo-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 2px;
  border-bottom: 1px solid #ecdfd1;
  color: #514138;
  font-size: 12.5px;
  line-height: 1.5;
  transition: transform .45s ease, opacity .2s ease;
}
body.mobile #ob-demo-timeline .ob-demo-row:first-child { overflow: hidden; }
body.mobile #ob-demo-timeline .ob-demo-row:first-child > time,
body.mobile #ob-demo-timeline .ob-demo-row:first-child > span,
body.mobile #ob-demo-timeline .ob-demo-row:first-child > i { position: relative; z-index: 2; transition: transform .48s ease; }
body.mobile #ob-demo-timeline.ob-demo-swipe .ob-demo-row:first-child > time,
body.mobile #ob-demo-timeline.ob-demo-swipe .ob-demo-row:first-child > span,
body.mobile #ob-demo-timeline.ob-demo-swipe .ob-demo-row:first-child > i { transform: translateX(-126px); }
body.mobile .ob-demo-actions { position: absolute; z-index: 1; right: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 126px; height: 100%; background: #f0c8a8; color: #7c482e; font-size: 10.5px; }
body.mobile .ob-demo-photo { display: none; align-items: center; gap: 9px; padding: 8px 0; color: #a07f65; font-size: 10.5px; }
body.mobile .ob-demo-photo-added .ob-demo-photo { display: flex; }
body.mobile .ob-demo-photo-art { display: block; width: 38px; height: 38px; border: 3px solid #fff; border-radius: 4px; background: radial-gradient(circle at 73% 25%,#ffe7a8 0 5px,transparent 6px),linear-gradient(150deg,transparent 52%,#977d61 53% 68%,transparent 69%),linear-gradient(#dce6d8,#f5d8b1); box-shadow: 0 2px 5px rgba(87,54,27,.16); }
body.mobile .ob-demo-row time { width: 34px; flex: none; color: #ae927c; font-size: 10.5px; }
body.mobile .ob-demo-row span:nth-child(2) { flex: 1; }
body.mobile .ob-demo-row b { color: #be7750; font-size: 11px; }
body.mobile .ob-demo-row i { width: 22px; flex: none; color: #aa8d78; font-size: 17px; font-style: normal; text-align: right; }
body.mobile .ob-demo-list.ob-demo-shift .ob-demo-row:first-child { transform: translateY(53px); }
body.mobile .ob-demo-list.ob-demo-shift .ob-demo-row:nth-child(2) { transform: translateY(-53px); }
body.mobile #ob-demo-timeline .ob-demo-row.ob-demo-gone { transform: translateX(-110%); opacity: 0; }
body.mobile .ob-demo-deleted { min-height: 50px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #ecdfd1; color: #9b7053; font-size: 11px; }
body.mobile .ob-demo-box { width: 18px; height: 18px; flex: none !important; border: 1.5px solid #d7b69a; border-radius: 5px; background: #fffdf8; }
body.mobile #ob-demo-push { margin: 4px 0 12px; padding: 15px 16px 14px; border: 1px solid #ead6c2; border-radius: 19px; background: linear-gradient(145deg,#fffdf9,#fff1df); box-shadow: 0 12px 24px rgba(114,73,44,.1); }
body.mobile .ob-push-head { display: flex; align-items: center; gap: 7px; color: #896343; font-size: 11px; }
body.mobile .ob-push-head strong { font-size: 11px; }
body.mobile .ob-push-head span:last-child { margin-left: auto; color: #ad927a; }
body.mobile .ob-push-star { color: #db945a; font-size: 18px; }
body.mobile .ob-push-title { margin: 10px 0 3px; color: #654935; font-size: 13px; font-weight: 750; }
body.mobile .ob-push-body { color: #765842; font-size: 12px; line-height: 1.65; }
body.mobile .ob-push-foot { margin-top: 10px; text-align: right; color: #b5693e; font-size: 11px; font-weight: 700; }
body.mobile.ob-demo-ledger #s-ledger .ledger-sum, body.mobile.ob-demo-ledger #s-ledger #ov-card, body.mobile.ob-demo-ledger #s-ledger .ledger-list-heading, body.mobile.ob-demo-ledger #s-ledger #bill-list { display: none !important; }
body.mobile #ob-demo-ledger { overflow: hidden; margin: 2px 0 15px; border: 1px solid #edd9c6; border-radius: 21px; background: #fffcf7; box-shadow: 0 10px 27px rgba(120,79,47,.08); }
body.mobile .ob-ledger-total { display: grid; gap: 3px; padding: 16px 19px 14px; background: linear-gradient(135deg,#fff1df,#ffe9d0); color: #6d4b37; }
body.mobile .ob-ledger-total small { font-size: 11px; }
body.mobile .ob-ledger-total strong { font-size: 29px; line-height: 1.12; font-variant-numeric: tabular-nums; }
body.mobile .ob-ledger-total span { font-size: 11px; color: #9b7558; }
body.mobile .ob-ledger-budget { display: flex; justify-content: space-between; padding: 12px 19px; border-bottom: 1px solid #f2e5d8; color: #816047; font-size: 11px; font-weight: 650; }
body.mobile .ob-ledger-budget span:last-child { color: #bc794f; }
body.mobile .ob-ledger-item { display: flex; align-items: center; gap: 10px; padding: 13px 19px; color: #563f32; font-size: 12px; }
body.mobile .ob-ledger-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border-radius: 10px; background: #fff0df; }
body.mobile .ob-ledger-item span:nth-child(2) { display: grid; gap: 4px; flex: 1; }
body.mobile .ob-ledger-item small { color: #aa8a70; font-size: 10px; }
body.mobile .ob-ledger-item b { color: #a96640; font-variant-numeric: tabular-nums; }
body.mobile.ob-demo-journal #j-today > .journal.paper:not(#ob-demo-journal),
body.mobile.ob-demo-journal #j-today > .share-actions,
body.mobile.ob-demo-journal #j-today > .journal-update,
body.mobile.ob-demo-journal #j-today > .journal-status { display: none !important; }
body.mobile #s-diary #ob-demo-journal { min-height: 0; height: auto; margin-top: 0; padding: 18px 20px 14px; }
body.mobile #ob-demo-journal .paper-top { min-height: 24px; }
body.mobile #ob-demo-journal .paper-date { margin-top: 10px; }
body.mobile #ob-demo-journal .paper-title { margin-top: 5px; font-size: 20px; line-height: 1.3; }
body.mobile #ob-demo-journal .paper-rule { margin: 10px 0; }
body.mobile #ob-demo-journal .paper-body { margin-top: 0; padding-right: 0; font-size: 12.5px; line-height: 1.55; }
body.mobile #ob-demo-journal .paper-body .j-sec-t { margin-top: 7px; font-size: 12px; }
body.mobile #ob-demo-journal .j-sec-b p { margin: 0 0 7px; line-height: 1.55; }
body.mobile #ob-demo-journal .paper-footer { margin-top: 7px; padding-top: 7px; }
@media (prefers-reduced-motion: reduce) {
  body.mobile .ob-demo-row, body.mobile.ob-step-one #home-mic, body.mobile.ob-step-one #home-mic::before, body.mobile.ob-voice-filled #voice-text { animation: none; transition: none; }
}
