/* Notely — 对齐 FlareMo 桌面浅色参照：暖白底、纯白卡、珊瑚橙强调、大圆角、弱描边 */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #332f2a;
  --ink-strong: #1f1c18;
  --muted: #99928a;
  --faint: #c9c4bd;
  --line: rgba(31, 28, 24, 0.07);
  --accent: #ff6b35;
  --accent-deep: #e85a1e;
  --tint: #fff0e8;
  --tint-quote: #fff5f0;
  --shadow-card: 0 1px 2px rgba(31, 28, 24, .04), 0 2px 10px rgba(31, 28, 24, .04);
  --r-lg: 14px;
  --r-md: 10px;
  --r-pill: 99px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17150f; --surface: #211e18; --ink: #e9e2d6; --ink-strong: #f5efe5; --muted: #8f877a; --faint: #5c564c;
    --line: rgba(233, 226, 214, .08); --accent: #ff7a45; --accent-deep: #ff8a55; --tint: rgba(255, 122, 69, .14); --tint-quote: rgba(255, 122, 69, .08);
    --shadow-card: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
  }
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 15px/1.7 -apple-system, "SF Pro SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button, input, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#app.loading { min-height: 100dvh; }
::selection { background: var(--tint); color: var(--accent-deep); }

/* ---------- auth ---------- */
.auth-wrap { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; }
.brand-big { display: flex; align-items: center; gap: 12px; }
.brand-big svg { fill: none; stroke: none; }
.brand-big h1 { font-size: 30px; letter-spacing: .5px; color: var(--ink-strong); }
.tagline { color: var(--muted); margin-bottom: 8px; }
.auth-card { display: flex; gap: 10px; width: min(380px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 14px; }
.auth-card input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 12px; background: var(--bg); outline: none; }
.auth-card input:focus { border-color: var(--accent); }
.foot-note { color: var(--faint); font-size: 12px; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); max-width: 1060px; margin: 0 auto; min-height: 100dvh; }
.rail { padding: 20px 12px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; }
.brand-line { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--ink-strong); padding: 0 10px 16px; }
.brand-line svg { fill: none; stroke: none; }

/* nav：选中态 = 淡橙底 + 左侧指示条 */
#nav { display: flex; flex-direction: column; gap: 1px; }
.nav-btn { position: relative; display: flex; align-items: center; gap: 11px; padding: 8.5px 12px; border: 0; background: none; border-radius: var(--r-md); color: var(--muted); cursor: pointer; font-size: 14.5px; text-align: start; }
.nav-btn i { font-style: normal; }
.nav-btn:hover { color: var(--ink); background: rgba(31, 28, 24, .04); }
.nav-btn.on { background: var(--tint); color: var(--accent-deep); font-weight: 600; }
.nav-btn.on::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--accent); }

/* 标签区 */
.rail-sec { font-size: 12px; color: var(--faint); letter-spacing: 2px; padding: 18px 12px 6px; }
.rail-tags { display: flex; flex-direction: column; gap: 1px; max-height: 200px; overflow: auto; scrollbar-width: thin; }
.rtag { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 5.5px 12px; border-radius: 8px; color: var(--muted); font-size: 13.5px; cursor: pointer; width: 100%; text-align: start; }
.rtag svg { width: .9em; height: .9em; color: var(--faint); }
.rtag b { margin-inline-start: auto; font-weight: 400; font-size: 12px; color: var(--faint); }
.rtag:hover { background: rgba(31, 28, 24, .04); color: var(--ink); }
.rtag.on { background: var(--tint); color: var(--accent-deep); }
.rtag.on svg { color: var(--accent); }

/* ---- 侧栏统计卡（趋势 / 日历） ---- */
.st-card { margin: 4px 10px 12px; padding: 14px 14px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.st-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.st-count { font-size: 22px; font-weight: 700; color: var(--ink-strong); letter-spacing: -.3px; line-height: 1; }
.st-label { font-size: 12.5px; color: var(--muted); }
.st-week { margin-inline-start: auto; font-size: 11.5px; color: var(--accent-deep); white-space: nowrap; }
.st-card .seg { margin-bottom: 10px; }
.st-bars { display: flex; align-items: flex-end; gap: 3px; height: 48px; padding: 2px 0; }
.st-bars i { flex: 1; min-width: 2px; border-radius: 2px 2px 1px 1px; background: linear-gradient(180deg, var(--accent) 0%, #ff9462 100%); opacity: .25; }
.st-bars i.on { opacity: 1; }
.st-bars i.today { box-shadow: 0 0 0 1.5px var(--tint), 0 0 0 2.5px var(--accent); border-radius: 3px; }
.st-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 2px 0; }
.st-grid i { aspect-ratio: 1; border-radius: 4px; background: rgba(102, 92, 82, .08); position: relative; }
.st-grid i.l1 { background: #ffd9c2; }
.st-grid i.l2 { background: #ffab7d; }
.st-grid i.l3 { background: #ff6b35; }
.st-grid i.off { opacity: .3; }
.st-grid i.today { outline: 1.5px solid var(--accent); outline-offset: 1px; border-radius: 5px; }
.st-month { text-align: end; font-size: 11.5px; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.rtag .cnt { margin-inline-start: auto; font-size: 11px; font-weight: 400; color: var(--muted); background: rgba(102, 92, 82, .09); border-radius: 99px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.rtag .cnt.hot { background: var(--tint); color: var(--accent-deep); font-weight: 600; }
.rtag .cnt.zero { opacity: 0; }
.rail-ai { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line); }
.rail-user { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: var(--r-md); cursor: pointer; }
.rail-user:hover { background: rgba(31,28,24,.04); }
.avatar-dot { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #ffb37a); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.ru-meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ru-meta b { font-size: 13.5px; color: var(--ink-strong); }
.ru-meta em { font-style: normal; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver { margin-inline-start: auto; font-size: 11px; color: var(--faint); }

/* ---------- topbar ---------- */
.main { border-inline-start: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.crumb { font-size: 14.5px; letter-spacing: 1.5px; color: var(--ink-strong); white-space: nowrap; }
.crumb::before { content: "/ "; color: var(--faint); }
.top-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; box-shadow: var(--shadow-card); width: min(260px, 40vw); }
.search:focus-within { border-color: var(--accent); }
.search svg { color: var(--faint); }
.search input { flex: 1; border: 0; background: none; outline: none; min-width: 0; font-size: 13.5px; }
.search input::placeholder { color: var(--faint); }
.expand { display: flex; gap: 4px; align-items: center; white-space: nowrap; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.expand input { accent-color: var(--accent); }
.tagstrip { padding: 10px 20px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tagstrip:empty { display: none; }
.tagstrip::-webkit-scrollbar { display: none; }

/* ---------- 内容区 ---------- */
#view { padding: 18px 20px 90px; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 680px; margin: 0 auto; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 18px 20px; }

/* composer：左图标组 + 右胶囊发送 */
.composer textarea { width: 100%; border: 0; outline: none; background: none; resize: none; min-height: 54px; font-size: 15.5px; }
.composer textarea::placeholder { color: var(--faint); }
.composer .row { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tool { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; background: none; border-radius: 8px; color: var(--muted); cursor: pointer; }
.tool:hover { background: var(--tint); color: var(--accent-deep); }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 6px 14px; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--tint); color: var(--accent-deep); }
.btn.wide { width: 100%; text-align: start; border-radius: var(--r-md); padding: 7px 12px; font-size: 13.5px; background: none; }
.btn.primary {
  margin-inline-start: auto; border: 0; color: #fff; font-weight: 600;
  background: linear-gradient(90deg, var(--accent), #ff9a5a); border-radius: var(--r-pill); padding: 7px 20px;
  box-shadow: 0 4px 12px -4px rgba(255, 107, 53, .55); display: inline-flex; gap: 7px; align-items: center;
}
.btn.primary:disabled { opacity: .5; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2.5px 11px; border-radius: var(--r-pill); background: var(--tint); color: var(--accent-deep); font-size: 12.5px; border: 0; cursor: pointer; }
.chip.mute { background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.chip .x { opacity: .55; font-size: 11px; }
.att-chip { display: inline-flex; gap: 6px; align-items: center; border: 1px dashed var(--line); border-radius: var(--r-md); padding: 3px 9px; font-size: 12px; color: var(--muted); }
.c-hint { color: var(--faint); font-size: 11.5px; margin-inline-start: auto; }
/* ---------- 日期分组 & 笔记卡（参照 FlareMo：头像 + 相对时间 + 引言竖条 + 胶囊标签 + 尾注） ---------- */
.day-sep { position: sticky; top: 118px; z-index: 3; font-size: 12px; color: var(--faint); padding: 4px 2px 0; letter-spacing: 1.5px; font-variant-numeric: tabular-nums; }
.memo { padding: 16px 20px 14px; scroll-margin-top: 150px; }
.memo.group-top { margin-top: 16px; }
.memo.fresh { animation: pop .16s ease-out; }
@keyframes pop { from { transform: scale(.98); opacity: .5; } }
.memo-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.memo-head .avatar-dot { width: 26px; height: 26px; font-size: 12px; }
.memo-time { color: var(--muted); font-size: 13px; }
.memo-time .place { color: var(--faint); }
.memo-actions { margin-inline-start: auto; display: flex; gap: 1px; opacity: 0; transition: opacity .15s; }
.memo:hover .memo-actions, .memo:focus-within .memo-actions { opacity: 1; }
.memo-actions button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 7px; }
.memo-actions button:hover { background: var(--tint); color: var(--accent-deep); }
.memo-content { color: var(--ink); word-break: break-word; }
.memo-content .bq {
  margin: 10px 0; padding: 10px 14px; background: var(--tint-quote);
  border-inline-start: 3px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--ink);
}
.memo-content ul { margin: 8px 0 8px 2px; padding-inline-start: 20px; list-style: none; }
.memo-content li { position: relative; margin: 3px 0; }
.memo-content li::before { content: ""; position: absolute; inset-inline-start: -16px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.memo-content .htag { color: var(--muted); cursor: pointer; }
.memo-content .htag:hover { color: var(--accent-deep); }
.memo-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tpill { background: var(--tint); color: var(--accent-deep); border: 0; border-radius: var(--r-pill); padding: 2px 11px; font-size: 12.5px; cursor: pointer; }
.tpill:hover { background: color-mix(in srgb, var(--tint) 70%, var(--accent)); }
.memo-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--faint); font-size: 12px; }
.memo-foot .sep { flex: 1; }
.pinned-mark { color: var(--accent); display: inline-grid; }
.memo-atts { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; margin-top: 12px; }
.memo-atts img { width: 100%; height: 112px; object-fit: cover; border-radius: var(--r-md); cursor: zoom-in; border: 1px solid var(--line); }
.memo-atts audio { width: 100%; border-radius: var(--r-md); }
.memo-edit textarea { width: 100%; min-height: 74px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; outline: none; resize: vertical; }
.memo-edit textarea:focus { border-color: var(--accent); }
.load-more { align-self: center; margin-top: 4px; color: var(--muted); }
.empty { color: var(--faint); text-align: center; padding: 44px 0 20px; font-size: 13.5px; }

/* ---------- 看板 ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.col { background: color-mix(in srgb, var(--bg) 55%, var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; min-height: 240px; }
.col:has(.col-canvas) { background: var(--surface); border: 1.5px dashed var(--faint); }
.col h3 { font-size: 13px; color: var(--muted); letter-spacing: 3px; margin: 2px 4px 12px; display: flex; align-items: baseline; gap: 8px; }
.col h3 b { color: var(--faint); font-weight: 600; letter-spacing: 0; }
.task { padding: 10px 12px; cursor: grab; }
.task + .task { margin-top: 8px; }
.task .t-head { display: flex; gap: 8px; align-items: center; }
.task .t-title { flex: 1; word-break: break-word; user-select: none; }
.task.done .t-title { text-decoration: line-through; color: var(--faint); }
.task .memo-actions { opacity: 0; margin-inline-start: 0; }
.task:hover .memo-actions { opacity: 1; }
.t-ck { width: 18px; height: 18px; border: 1.6px solid var(--faint); border-radius: 6px; background: none; cursor: pointer; color: #fff; display: grid; place-items: center; padding: 0; }
.t-ck svg { width: 12px; height: 12px; stroke-width: 3; visibility: hidden; }
.task.done .t-ck { background: var(--accent); border-color: var(--accent); }
.task.done .t-ck svg { visibility: visible; }
.t-drag { color: var(--faint); cursor: grab; touch-action: none; display: grid; place-items: center; }
.ghost-card { position: fixed; z-index: 40; pointer-events: none; width: 220px; transform: rotate(2deg) scale(1.02); opacity: .96; box-shadow: 0 14px 34px -8px rgba(31, 28, 24, .35); border-radius: var(--r-md); }
.drop-line { height: 3px; border-radius: 3px; background: var(--accent); margin: 4px 2px; }
.col.drop-hint { outline: 2px dashed var(--accent); outline-offset: -2px; border-radius: var(--r-lg); }
.col-canvas { min-height: calc(100% - 34px); }
.col-tools { margin-top: 8px; }
.col-add { margin-top: 8px; width: 100%; border: 0; background: none; color: var(--muted); cursor: pointer; text-align: start; padding: 7px 8px; border-radius: 8px; font-size: 13px; }
.col-add:hover { background: var(--tint); color: var(--accent-deep); }
.seg { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; border-radius: var(--r-pill); padding: 4px 14px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--tint); color: var(--accent-deep); font-weight: 600; }

/* ---------- 弹层/提示/查看器 ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 30; background: rgba(31, 24, 18, .4); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 9vh 16px 16px; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); width: min(580px, 96vw); max-height: 76vh; overflow: auto; padding: 22px; }
.sheet h2 { font-size: 16px; color: var(--ink-strong); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.sheet h2 svg { color: var(--accent); }
.sheet .answer { white-space: pre-wrap; line-height: 1.8; }
.sheet .muted { color: var(--muted); }
.sheet .ask-line { display: flex; gap: 8px; margin-bottom: 14px; }
.sheet .ask-line input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; background: var(--bg); outline: none; }
.sheet .ask-line input:focus { border-color: var(--accent); }
.ref { border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-md); padding: 9px 12px; margin-top: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.ref:hover { border-color: var(--accent); }
.ref b { display: block; color: var(--ink); font-weight: 500; }
.stars { letter-spacing: 3px; color: var(--accent); }
#toasts { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; pointer-events: none; }
.toast { background: var(--ink-strong); color: var(--surface); padding: 9px 18px; border-radius: var(--r-pill); font-size: 13.5px; box-shadow: 0 8px 24px -8px rgba(31,28,24,.45); animation: pop .15s ease-out; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20, 14, 8, .88); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }

/* ---------- 设置页 ---------- */
.me-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { text-align: center; padding: 18px 10px; }
.stat b { font-size: 21px; color: var(--ink-strong); display: block; }
.stat span { color: var(--muted); font-size: 12.5px; }
.code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; overflow: auto; line-height: 2; width: 100%; }
.me-card h3 { font-size: 14.5px; color: var(--ink-strong); margin-bottom: 8px; }
.me-card p { font-size: 13px; color: var(--muted); }


/* ============ 手机单适配（≤760px）：侧栏→底部 TabBar；标签区收进"更多"抽屉 ============ */
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .rail {
    position: fixed; bottom: 0; left: 0; right: 0; top: auto; height: auto; z-index: 20;
    display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 0;
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .brand-line, .rail-sec, .rail-tags, .rail-ai, .rail-user, #st-mount { display: none; }
  #nav { flex-direction: row; grid-column: 1 / -1; }
  .nav-btn { position: static; flex: 1; flex-direction: column; gap: 3px; padding: 8px 2px 7px; font-size: 11px; border-radius: 10px; min-height: 48px; }
  .nav-btn svg { width: 22px; height: 22px; }
  .nav-btn.on { background: transparent; color: var(--accent-deep); }
  .nav-btn.on::before { display: none }
  .nav-btn.on i { font-weight: 700; }

  /* 顶栏收薄；搜索变成整行；AI 扩展挪到搜索框下 */
  .main { border: 0; }
  .topbar { flex-wrap: wrap; gap: 8px; padding: 12px 12px 10px; position: sticky; top: 0; }
  .crumb { font-size: 15px; order: 1; }
  .top-tools { margin-inline-start: auto; order: 2; width: 100%; display: contents; }
  .search { order: 3; width: 100%; padding: 6px 12px; }
  .search input { font-size: 13px; }
  .search input::placeholder { font-size: 12.5px; white-space: nowrap; }
  .expand { order: 4; margin-inline-start: auto; padding: 2px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
  .expand span { font-size: 11.5px; }

  /* 侧栏标签 → 主内容顶部横向滚动条；无筛选时仅在有标签时出现 */
  .tagstrip { display: flex !important; padding: 8px 12px 0; }

  /* 快捷入口（问笔记/回顾/设置）以浮动 pill 呈现 */
  #view { padding: 12px 12px 110px; gap: 12px; max-width: 100%; }
  .ai-fabs { display: flex !important; gap: 8px; }

  .composer textarea { min-height: 46px; font-size: 14.5px; }
  .c-hint { display: none; }
  .card { padding: 14px 15px; border-radius: 12px; }
  .memo-actions { opacity: 1; }                    /* 触屏无 hover：操作常显 */
  .task .memo-actions, .task [data-del] { opacity: 1; }
  .day-sep { top: 128px; }
  .board { grid-template-columns: 1fr; gap: 10px; }
  .col { min-height: 0; }
  .col h3 b { display: inline; }
  .me-grid { grid-template-columns: 1fr 1fr; }
  .sheet { max-height: 82dvh; border-radius: 14px 14px 0 0; }
  .ghost-card { width: 62vw; }
}
@media (min-width: 761px) {
  .ai-fabs, #mob-tags { display: none !important; }
  .tagstrip { display: none !important; }          /* 桌面：标签在侧栏，不放顶部条 */
}

/* 浮动 AI 入口（仅手机） */
.ai-fabs { display: none; }
.ai-fabs button {
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card);
  border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; color: var(--accent-deep); cursor: pointer;
}
