  :root {
    --bg: #fbf6f3; --card: #ffffff; --ink: #2b2a26; --muted: #6f675f; --line: #efe2dc;
    --brand: #f2a516; --brand-ink: #7a4d00; --leaf: #5c9a3b; --danger: #c8442f;
    --bubble-me: #fde6dc; --bubble-ai: #ffffff; --on-brand: #3b2600;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #1b1a17; --card: #26241f; --ink: #f1ece0; --muted: #a29b8c; --line: #3a362e;
      --brand: #f2b23a; --brand-ink: #ffd88a; --leaf: #8cc96a; --danger: #ef7a66;
      --bubble-me: #4a3a17; --bubble-ai: #2e2b25; --soft: #3a2d14;
    }
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--bg); color: var(--ink);
    font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
  .app { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
  header { padding: 14px 16px 8px; display: flex; align-items: center; gap: 8px; min-width: 0; }
  header h1 { font-size: 20px; margin: 0; line-height: 28px; }
  /* 品牌：图标 + 网页文字「柚好」，图标高度与标题行高一致，宽度按比例 */
  .brand { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
  .brand img { display: block; height: 28px; width: auto; flex: none; }
  header small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  header small { color: var(--muted); }
  .site-foot { text-align: center; font-size: 12px; color: var(--muted); margin: 18px 0 8px; }
  .site-foot a { color: inherit; }
  /* 登录页下方的介绍和常见问题（给新同学看，也给搜索引擎和 AI 读） */
  .intro h2 { font-size: 15px; margin: 4px 0 8px; }
  .intro ul { margin: 0 0 12px; padding-left: 18px; }
  .intro li { margin: 4px 0; }
  .intro details { border-top: 1px solid var(--line); padding: 8px 0; }
  .intro summary { cursor: pointer; font-weight: 600; }
  .intro details p { margin: 6px 0 0; color: var(--muted); }
  .intro a { color: var(--brand-ink); }
  /* 深色模式：LOGO 的深绿叶子放在浅色小圆底上保证看得清；页头跟随页面底色 */
  @media (prefers-color-scheme: dark) { header .brand img { background: #fbf8f1; border-radius: 50%; padding: 2px; box-sizing: content-box; } }
  main { flex: 1; padding: 0 16px calc(var(--nav-h, 58px) + 32px); }
  /* 登录页没有底部导航：给右下角“反馈”浮钮留出位置，别盖住最后几行字 */
  main#login { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 130px); }
  /* 登录页不显示右下角“反馈”浮钮（会盖住表单说明文字）；登录后各页照常显示 */
  body:not(.app-on) > div[style*="2147483000"] { display: none !important; }
  /* --vv-off：固定在底部的元素和「实际可见区域」底边的差（iOS Safari 工具栏收起/键盘收起后会出现），由脚本测量 */
  nav { position: fixed; bottom: var(--vv-off, 0px); left: 0; right: 0; display: flex; justify-content: center;
    background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  nav .inner { display: flex; width: 100%; max-width: 520px; }
  nav button { flex: 1; border: 0; background: none; padding: 8px 0 10px; font-size: 13px; color: var(--muted); position: relative; }
  nav button:not(.on):not(.mid) .ico { filter: grayscale(1); opacity: .55; }
  nav button.on { color: var(--brand-ink); font-weight: 700; }
  nav button.on:not(.mid)::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
  nav button.on:not(.mid) .ico { background: #fdeede; border-radius: 99px; width: 44px; margin: 0 auto 2px; }
  nav button.mid:not(.on) img.ico { filter: grayscale(.7); opacity: .75; border-color: var(--line); }
  nav button.mid.on img.ico { box-shadow: 0 3px 12px rgba(242,165,22,.55); }
  nav button .ico { display: block; font-size: 20px; line-height: 1.2; }
  nav button img.ico { width: 24px; height: 24px; margin: 0 auto; border-radius: 50%; }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin: 10px 0; box-shadow: 0 2px 10px rgba(180,120,110,.07); }
  .card h2 { font-size: 15px; margin: 0 0 8px; }
  .row { display: flex; gap: 8px; align-items: center; }
  .row > * { min-width: 0; }
  .grow { flex: 1; }
  .muted { color: var(--muted); font-size: 13px; }
  input, select, textarea { font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; padding: 9px 10px; width: 100%; }
  /* iPhone 上输入框字号小于 16px 时，一点输入框 Safari 就自动放大页面，右边被挤出屏幕（2026-11-20 Jun 截图） */
  input, select, textarea { font-size: 16px !important; }
  html, body { overflow-x: clip; }
  /* 键盘弹出时收起底部导航，输入框直接贴在键盘上面 */
  body.kb nav { display: none; }
  button.btn { font: inherit; border: 0; border-radius: 10px; padding: 9px 14px; background: var(--brand); color: #3b2600; font-weight: 600; white-space: nowrap; }
  button.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); font-weight: 400; }
  button.danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); font-weight: 400; }
  button:disabled { opacity: .5; }
  ul.list { list-style: none; margin: 0; padding: 0; }
  ul.list li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
  ul.list li:first-child { border-top: 0; }
  .pill { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
  .pill.late { color: var(--danger); border-color: var(--danger); }
  .x { border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0 4px; }
  .done { text-decoration: line-through; color: var(--muted); }
  /* 课表周视图 */
  .week { display: grid; gap: 3px; position: relative; }
  .week > * { min-width: 0; }
  .week .wh { text-align: center; font-size: 12px; color: var(--muted); padding-bottom: 2px; grid-row: 1; line-height: 1.2; }
  .week .wh small { display: block; font-size: 10px; }
  .week .wh.today { color: var(--brand-ink); font-weight: 700; }
  .week .wp { grid-column: 1; font-size: 9px; color: var(--muted); text-align: right; padding-right: 2px; line-height: 1.15; border-top: 1px dashed var(--line); padding-top: 2px; }
  .week .wp b { display: block; font-size: 11px; }
  .week .wtoday { background: rgba(242, 165, 22, .09); border-radius: 8px; }
  .week .wc { display: flex; flex-direction: column; gap: 2px; z-index: 1; }
  .week .c { flex: 1; border-radius: 7px; padding: 3px; font-size: 11px; line-height: 1.25; word-break: break-all; cursor: pointer; color: #2b2a26; overflow: hidden; }
  .week .c b { display: block; font-weight: 600; }
  .week .c.off { opacity: .45; }
  .week .c span { font-size: 10px; }
  .big3 { display: flex; gap: 8px; margin-bottom: 10px; }
  .big3 > * { flex: 1; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bubble-me); border: 1px solid var(--line); border-radius: 12px; padding: 12px 4px; text-align: center; cursor: pointer; }
  .big3 i { display: block; font-style: normal; font-size: 24px; line-height: 1.2; }
  .big3 .rec-on { background: var(--brand); }
  .bigbtn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; border-radius: 12px; background: var(--brand); color: #3b2600; font-weight: 700; cursor: pointer; }
  .bigbtn.busy { opacity: .6; pointer-events: none; }
  /* 聊天 */
  .chat { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 130px; }
  .msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; }
  .msg.user { align-self: flex-end; background: var(--bubble-me); border-bottom-right-radius: 4px; }
  .msg.assistant { align-self: flex-start; background: var(--bubble-ai); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
  /* 柚子消息：头像 + 气泡 */
  .mrow { display: flex; gap: 8px; align-items: flex-end; align-self: flex-start; max-width: 90%; }
  .mrow .msg { max-width: none; min-width: 0; }
  .avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; display: block; }
  .msg .tag { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
  .notice { align-self: center; font-size: 12px; color: var(--brand-ink); background: var(--bubble-me); padding: 4px 10px; border-radius: 99px; text-align: center; }
  /* 输入框贴在底部导航上方：--nav-h 由脚本按导航实际高度（含 iPhone 底部安全区）设置 */
  .composer { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h, calc(58px + env(safe-area-inset-bottom, 0px))) + var(--vv-off, 0px)); display: flex; justify-content: center; padding: 8px 16px; background: var(--bg); }
  /* 在「柚子」页把 Stuloop 反馈按钮移到输入框上方，避免挡住「发送」 */
  body.app-on > div[style*="2147483000"] { bottom: calc(var(--nav-h, 58px) + var(--vv-off, 0px) + 16px) !important; }
  body.chat-on > div[style*="2147483000"] { bottom: calc(var(--nav-h, 58px) + var(--vv-off, 0px) + 64px) !important; }
  .composer .inner { display: flex; gap: 8px; width: 100%; max-width: 488px; }
  .switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
  .switch input { width: auto; }
  .hidden { display: none !important; }
  .toast { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; font-size: 14px; z-index: 3000; max-width: 90vw; }
  .preview li input[type=checkbox] { width: auto; }
  label.inline { display: block; font-size: 14px; line-height: 1.6; }
  label.inline input { width: auto; float: left; margin: 5px 8px 0 0; }
  input[type=date] { min-width: 0; max-width: 100%; display: block; -webkit-appearance: none; appearance: none; min-height: 42px; }
  textarea { resize: vertical; }
  .filebtn { display: inline-block; cursor: pointer; }
  .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-bottom: 8px; }
  .thumbs:empty { display: none; }
  .thumbs .th { position: relative; aspect-ratio: 1; }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
  .thumbs .th button { position: absolute; top: 2px; right: 2px; border: 0; border-radius: 99px; width: 22px; height: 22px; background: rgba(0,0,0,.55); color: #fff; font-size: 14px; line-height: 22px; padding: 0; }
  .books .bookcard { display: block; text-decoration: none; color: inherit; padding: 12px 14px; border-radius: 12px; background: var(--bubble-me); }
  .books .bookcard b { display: block; font-size: 16px; }
  .books .bookcard span { font-size: 13px; color: var(--muted); }
  .reports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .reports a { font-size: 13px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
  .month { font-size: 13px; color: var(--muted); margin: 18px 4px 6px; font-weight: 600; }
  .entry { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
  .entry .top { display: flex; gap: 8px; align-items: center; }
  .entry h3 { margin: 4px 0 2px; font-size: 15px; }
  .entry p { margin: 4px 0 0; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
  .entry .thumbs { margin: 8px 0 0; }
  .entry .acts { display: flex; gap: 14px; margin-top: 8px; }
  .entry .acts button { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 0; }
  /* 生态：子品牌卡片 */
  .sb { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
  .sb .logo { height: 40px; flex: none; }
  .sb .go { font-size: 22px; color: var(--sb, var(--brand-ink)); }
  .sb.soon { opacity: .6; }
  .sb .soon-tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
  @media (prefers-color-scheme: dark) { .sb .logo { background: #fbf8f1; border-radius: 8px; padding: 2px 6px; } }
  /* 积分 */
  .pts { margin-left: auto; flex: none; font-size: 13px; font-weight: 600; color: #7a4d00; background: #fde6dc; border-radius: 99px; padding: 3px 10px; text-decoration: none; white-space: nowrap; }
  .lv { display: flex; align-items: baseline; gap: 8px; }
  .lv b { font-size: 28px; color: var(--brand-ink); }
  .bar { height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
  .bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
  .badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
  .badge { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; font-size: 12px; }
  .badge i { display: block; font-style: normal; font-size: 24px; }
  .badge b { display: block; font-size: 13px; }
  .badge.off { opacity: .45; filter: grayscale(1); }
  .kv { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .kv:first-child { border-top: 0; }
  .kv .k { width: 84px; flex: none; color: var(--muted); font-size: 13px; }
  /* 底部导航：柚子放中间、做大 */
  nav button.mid img.ico { width: 46px; height: 46px; margin: -22px auto 2px; border: 3px solid var(--brand); background: var(--card); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
  /* 今天 */
  .greet { padding: 4px 4px 2px; }
  .greet b { display: block; font-size: 20px; }
  .ask { border: 1.5px solid var(--brand); }
  .ask form { display: flex; gap: 8px; align-items: center; margin: 0; }
  .ask .avatar { width: 28px; height: 28px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .chips > * { font: inherit; font-size: 13px; color: var(--ink); text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
  .more { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: none; white-space: nowrap; }
  .card h2.grow { margin: 0; }
  .card .row + ul.list, .card .row + .yz-fill { margin-top: 6px; }
  .rec { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; border-left: 4px solid var(--sb, var(--leaf)); }
  .rec .go { font-size: 22px; color: var(--sb, var(--brand-ink)); }
  .fy-h { display: flex; align-items: baseline; gap: 8px; margin: 18px 4px 8px; }
  .fy-h h2 { margin: 0; }
  .fy { display: flex; flex-direction: column; gap: 6px; align-items: stretch; border-left: 4px solid var(--sb, var(--leaf)); padding-right: 8px; }
  .fy .main { flex: 1; min-width: 0; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: none; display: block; }
  .fy .why { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
  .fy .no { align-self: flex-start; font: inherit; font-size: 13px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
  .onb { display: flex; gap: 12px; align-items: center; width: 100%; font: inherit; color: inherit; text-align: left; border: 1.5px dashed var(--brand-ink, #E8A33D); }
  .onb .pill { color: var(--brand-ink); border-color: currentColor; }
  .tasks { display: flex; gap: 6px; margin-top: 8px; }
  .tasks span { flex: 1; text-align: center; font-size: 12px; border: 1px dashed var(--line); border-radius: 10px; padding: 5px 2px; color: var(--muted); }
  .tasks b { display: block; color: var(--brand-ink); }
  .sub-back { display: inline-block; margin: 4px 0 2px; }
  /* 记录：报告和纪念册收成一排 */
  .strip { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 2px; -webkit-overflow-scrolling: touch; }
  .strip a { flex: none; text-decoration: none; color: var(--ink); background: var(--bubble-me); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
  .strip a small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
  /* 服务：按需求分组 */
  .svc { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
  .svc:first-of-type { border-top: 0; }
  .svc .dot { width: 6px; align-self: stretch; border-radius: 99px; background: var(--sb); flex: none; }
  .svc.soon { opacity: .55; }
  .svc .go { color: var(--sb); font-size: 20px; }
  .svc-posts { font-size: 13px; margin: 0 0 4px 16px; }
  .svc-posts a { display: flex; gap: 8px; color: inherit; text-decoration: none; padding: 3px 0; }
  /* 我的：一屏看完，点开再展开 */
  .prof { display: flex; gap: 12px; align-items: center; }
  .prof .av { width: 52px; height: 52px; border-radius: 50%; background: var(--bubble-me); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
  .menu { padding: 0 14px; }
  .menu details { border-top: 1px solid var(--line); }
  .menu details:first-child { border-top: 0; }
  .menu summary { list-style: none; display: flex; gap: 8px; align-items: center; padding: 12px 0; cursor: pointer; font-size: 15px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary .v { margin-left: auto; color: var(--muted); font-size: 13px; }
  .menu summary::after { content: '›'; color: var(--muted); font-size: 18px; transition: transform .15s; }
  .menu details[open] summary::after { transform: rotate(90deg); }
  .menu .body { padding: 0 0 12px; }
  .menu h3 { font-size: 14px; margin: 12px 0 6px; }
  /* 板块页头：按钮写白话，页头写品牌名 */
  /* 页头：四板块切换（柚好/柚全/柚情/柚意），切到哪块就显示哪块 */
  header { position: sticky; top: 0; z-index: 6; background: var(--bg); padding-top: calc(env(safe-area-inset-top) + 10px); }
  .boards { flex: 1; min-width: 0; display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
  .boards button { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: #4a443d; padding: 4px 0 5px; border-radius: 99px; white-space: nowrap; }
  .boards button b { display: block; font-weight: inherit; font-size: 16px; line-height: 1.2; }
  .boards button { padding: 9px 0 10px; }
  .boards button small { display: block; font-size: 11.5px; line-height: 1.25; opacity: 1; color: #6a6258; font-weight: 500; margin-top: 1px; }
  .boards button.on { background: var(--brand); color: #3b2600; font-weight: 700; }
  .boards button.on small { color: inherit; opacity: .9; }
  .boards button[data-board="play"].on small, .boards button[data-board="qing"].on small { color: #fff; }
  .boards button[data-board="qing"].on { background: #4F7F5F; color: #fff; }
  .board-hint b.pg { font-size: 18px; color: var(--ink); margin-right: 8px; }
  .board-hint { margin: 0; flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
  .hint-row { display: flex; align-items: center; gap: 8px; margin: 0 20px 4px; min-height: 4px; }
  .hint-row .pts { margin-left: auto; }
  /* 五块放一行：小屏（iPhone SE 一代等）字号小一点，不左右滑 */
  @media (max-width: 360px) { .boards button b { font-size: 13.5px; } .boards button small { display: none; } header { gap: 6px; padding-left: 12px; padding-right: 12px; } }
  /* 柚好玩 */
  .boards button[data-board="play"].on { background: #C4600F; color: #fff; }
  .pl-today { background: linear-gradient(135deg, #fff4dc, #ffe2a8); border-color: #f3c86a; }
  .pl-today .t { font-size: 17px; font-weight: 700; line-height: 1.4; }
  .pl-today .done { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
  .pl-today .done img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
  .pl-h { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 8px; }
  .pl-h h2 { margin: 0; font-size: 18px; }
  .ev .meta { font-size: 13px; color: var(--muted); }
  .ev .why { font-size: 12px; color: #a0702c; margin-top: 2px; }
  .ev .acts { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
  .ev .acts .grow { min-width: 20px; }
  .ev .lnk, .pl-col .lnk { font: inherit; font-size: 12px; color: var(--muted); background: none; border: 0; padding: 0; }
  button.btn.sm { padding: 5px 12px; font-size: 14px; }
  button.btn.on { background: #2f6b3a; color: #fff; }
  .pl-bar { height: 8px; background: #f1e6cf; border-radius: 4px; margin-top: 6px; overflow: hidden; }
  .pl-bar i { display: block; height: 100%; background: #E8862A; border-radius: 4px; }
  .pl-cols button { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 0; }
  .pl-cols button:first-child { border-top: 0; }
  .pl-cols .n { float: right; color: var(--muted); font-size: 13px; }
  .pl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pl-grid button { font: inherit; font-size: 11.5px; line-height: 1.3; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; min-height: 84px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; overflow: hidden; }
  .pl-grid button i { font-style: normal; font-size: 24px; }
  .pl-grid button.off { background: #f4efe5; color: #9c917d; }
  .pl-grid button.off i { filter: grayscale(1); opacity: .45; }
  .pl-grid button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
  .pl-grid button.lit span { position: relative; background: #fffd; border-radius: 6px; padding: 0 4px; }
  .pl-pend { display: flex; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; }
  .pl-pend:first-of-type { border-top: 0; }
  .pl-mode { display: flex; gap: 6px; margin: 6px 0 10px; }
  .pl-mode button { flex: 1; font: inherit; font-size: 14px; padding: 7px 0; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
  .pl-mode button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
  .pl-opt { display: flex; justify-content: space-between; width: 100%; font: inherit; font-size: 15px; color: var(--ink); text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; position: relative; overflow: hidden; }
  .pl-opt i { position: absolute; left: 0; top: 0; bottom: 0; background: #ffe2a8; }
  .pl-opt span { position: relative; }
  .pl-opt.me { border-color: #E8862A; font-weight: 600; }
  .pl-opt.ok { background: #e4f3e1; border-color: #7cb87a; }
  .pl-opt.no { background: #fbe4df; border-color: #e3a093; }
  .pl-in { display: flex; gap: 8px; margin-top: 8px; }
  .pl-in input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
  .pl-cm { font-size: 13px; padding: 6px 0; border-top: 1px dashed var(--line); display: flex; gap: 6px; }
  .pl-cm:first-of-type { border-top: 0; }
  .pl-gm { display: flex; gap: 10px; align-items: center; }
  .pl-gm .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff3d6; display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
  .pl-game { border: 1.5px solid #E8862A; }
  .pl-game .bb { max-width: 85%; padding: 8px 11px; border-radius: 14px; font-size: 14.5px; margin: 6px 0; line-height: 1.5; }
  .pl-game .bb.me { background: var(--brand); color: #3b2600; margin-left: auto; border-bottom-right-radius: 4px; }
  .pl-game .bb.yz { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
  .pl-game .log { max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; }
  /* 柚情：安静一点 */
  #tab-qing .card { border-color: #dfe7e0; }
  #tab-qing h2 { color: #4f7a5d; }
  .qw { display: flex; justify-content: space-between; margin: 4px 0 2px; }
  .qw button { flex: 1; border: 0; background: none; font: inherit; font-size: 12px; color: var(--muted); padding: 0; }
  .qw button b { display: block; font-size: 26px; line-height: 40px; margin: 0 4px; border-radius: 14px; font-weight: 400; }
  .qw button.on b { background: #e5efe7; outline: 2px solid #6E9E7E; }
  .qweek { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--muted); }
  .qweek i { font-style: normal; font-size: 15px; width: 20px; text-align: center; }
  .qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .qgrid a, .qtools a { text-decoration: none; color: var(--ink); background: #e5efe7; border-radius: 14px; }
  .qgrid a { padding: 10px 12px; }
  .qgrid a b { display: block; font-size: 14.5px; }
  .qgrid a span { font-size: 12px; color: var(--muted); }
  .qgrid a.hi { outline: 2px solid #6E9E7E; }
  .qtools { display: flex; gap: 8px; }
  .qtools a { flex: 1; text-align: center; padding: 8px 0; font-size: 12.5px; }
  .qtools a b { display: block; font-size: 20px; font-weight: 400; }
  .qsos { display: block; text-align: center; border: 1.5px solid #6E9E7E; color: #4f7a5d; border-radius: 14px; padding: 11px; font-weight: 600; background: var(--card); text-decoration: none; margin: 10px 0 4px; }
  @media (prefers-color-scheme: dark) {
    .qgrid a, .qtools a, .qw button.on b { background: #24332a; }
    .qsos { color: #9cc8a9; border-color: #9cc8a9; }
    #tab-qing .card { border-color: var(--line); }
    #tab-qing h2 { color: #9cc8a9; }
  }
  .hl { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; }
  .hl:first-of-type { border-top: 0; }
  .hl b { flex: none; width: 112px; font-weight: 600; }
  .hl a { color: inherit; }
  /* 我的：记录预览、柚好空间、安静的柚情入口 */
  .mini { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .mini:first-of-type { border-top: 0; }
  .mini .d { color: var(--muted); font-size: 12px; flex: none; width: 40px; padding-top: 2px; }
  .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .tiles a, .tiles button { font: inherit; color: var(--ink); text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; text-align: center; font-size: 13px; }
  .msglinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .msglinks a { text-decoration: none; font-size: 14px; color: var(--ink); background: var(--soft, #fff3d6); border: 1px solid var(--brand); border-radius: 99px; padding: 5px 12px; }
  .tiles.tools { grid-template-columns: repeat(3, 1fr); }
  .tiles.tools .hot { border-color: var(--brand); background: var(--soft, #fff3d6); }
  .todo { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 0; text-decoration: none; }
  .todo:first-of-type { border-top: 0; }
  .todo .grow small { display: block; color: var(--muted); font-size: 12.5px; }
  .todo .no, #todoBox .no { font: inherit; color: var(--muted); font-size: 12px; padding: 4px 6px; background: none; border: 0; white-space: nowrap; }
  .tiles i { display: block; font-style: normal; font-size: 22px; }
  .tiles.tools small { display: none; }
  .tiles small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .quiet { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
  .quiet .go { margin-left: auto; color: var(--muted); }
  /* 柚意：找搭子 */
  .dz { border-left: 4px solid #D9774B; }
  .dz .meta { font-size: 12px; color: var(--muted); }
  .dz .acts { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
  .dz .acts .grow { min-width: 40px; }
  .dz .lnk { font: inherit; font-size: 12px; color: var(--muted); background: none; border: 0; padding: 0; }
  .app-li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 14px; }
  .safe { font-size: 13px; color: var(--muted); background: var(--bubble-me); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
  .seg { display: flex; gap: 6px; margin: 10px 0 2px; }
  .seg button { font: inherit; font-size: 13px; border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 99px; padding: 4px 12px; }
  .seg button.on { color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
  /* 今天：先看“现在该干嘛” */
  .now { background: var(--card); border: 1.5px solid var(--brand); border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
  .now .t { font-size: 12px; font-weight: 700; color: var(--brand-ink); }
  .now .n { font-size: 19px; font-weight: 800; line-height: 1.35; }
  .clock { font-variant-numeric: tabular-nums; }
  ul.list li.past { opacity: .5; }
  .cal-go { display: block; margin-top: 8px; color: var(--brand-ink); }
  /* 带“撤销”的提示：放在底部导航上面，手指够得到 */
  .toast.undo { top: auto; bottom: calc(var(--nav-h, 58px) + var(--vv-off, 0px) + 14px); display: flex; gap: 14px; align-items: center; width: min(420px, 90vw); padding: 10px 14px; }
  .toast.undo button { font: inherit; font-weight: 700; border: 0; background: none; color: var(--brand); padding: 0; }
  /* 课表：点课程看详情 */
  .sheet { border: 1.5px solid var(--brand); }
  .sheet h3 { margin: 0 0 4px; font-size: 17px; }
  .sheet .acts { display: flex; gap: 8px; margin-top: 10px; }
  .ptimes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 12px; margin-bottom: 8px; }
  .ptimes span { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px 4px; text-align: center; }
  .ptimes b { color: var(--muted); font-weight: 600; margin-right: 3px; }
  .ptimes i { font-style: normal; }
  .tasks button { flex: 1; font: inherit; text-align: center; font-size: 12px; border: 1px dashed var(--line); background: none; border-radius: 10px; padding: 5px 2px; color: var(--muted); }
  .tasks button b { display: block; color: var(--brand-ink); }
  .fold-more { font: inherit; font-size: 13px; color: var(--brand-ink); background: none; border: 0; padding: 8px 0 0; }

  /* 首页倒计时卡 */
  .cd { cursor: pointer; background: linear-gradient(135deg, #fff3e4, #fde6dc); border-color: #f4d3c4; }
  .cd-top { display: flex; align-items: center; gap: 14px; }
  .cd-num { flex: none; min-width: 74px; text-align: center; color: #b4532f; }
  .cd-num b { font-size: 40px; line-height: 1; font-weight: 800; }
  .cd-num small { font-size: 14px; margin-left: 2px; font-weight: 600; }
  .cd-go { flex: none; font-size: 13px; color: #b4532f; font-weight: 600; }
  .cd .bar { height: 6px; background: #f2d9cc; border-radius: 99px; margin-top: 6px; overflow: hidden; }
  .cd .bar i { display: block; height: 100%; background: #e8863a; border-radius: 99px; }
  .cd-list { margin-top: 10px; }
  .cd-list li { justify-content: space-between; }
  .cd .gd-go { font: inherit; font-size: 13px; border: 1px solid #e8b9a3; background: #fff; color: #b4532f; border-radius: 99px; padding: 3px 12px; text-decoration: none; }
  @media (prefers-color-scheme: dark) { .cd { background: #3a2a24; border-color: #5a3f35; } .cd-num, .cd-go { color: #f2a07a; } .cd .gd-go { background: #2c201c; border-color: #6a4a3e; color: #f2a07a; } .cd .bar { background: #4a362e; } }

.plusBtn { margin-left: auto; flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--brand, #f2a516); color: #fff; font-size: 20px; line-height: 1; font-weight: 700; cursor: pointer; padding: 0; } .plusBtn + .langBtn { margin-left: 8px; }
.plusMenu { position: fixed; right: 12px; top: calc(env(safe-area-inset-top) + 56px); z-index: 60; background: var(--card, #fff); border: 1px solid var(--line, #e6dfcf); border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.18); padding: 6px; min-width: 170px; display: flex; flex-direction: column; }
.plusMenu a, .plusMenu button { display: block; text-align: left; border: 0; background: transparent; color: var(--ink, #2b2a26); font: inherit; font-size: 15px; padding: 11px 12px; border-radius: 10px; text-decoration: none; cursor: pointer; } .plusMenu a:active, .plusMenu button:active { background: var(--soft, #f4efe9); }
.langBtn { margin-left: auto; flex: none; border: 1px solid var(--line, #e6dfcf); background: transparent; color: var(--brand-ink, #8a5a00); border-radius: 14px; padding: 3px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }

.qcw { --h: 140, 40%, 50%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;  margin: 8px 0; }
.qcw button { border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); padding: 4px 0; text-align: center; line-height: 1.25; border-radius: 12px; }
.qcw button b { display: block; font-size: 26px; font-weight: 400; line-height: 38px; }
.qcw button.on { background: #e5efe7; outline: 2px solid #6E9E7E; }
.qcw .empty { grid-column: 1 / -1; color: var(--muted); font-size: 13px; text-align: left; }

.qcw.w1 { --h: 40, 85%, 50%; } .qcw.w2 { --h: 200, 45%, 55%; } .qcw.w3 { --h: 215, 30%, 48%; } .qcw.w4 { --h: 230, 50%, 52%; } .qcw.w5 { --h: 10, 65%, 50%; }
.qcw button { background: hsla(var(--h), var(--t, .2)); padding: 8px 2px; }
.qcw button.on { outline: 2px solid hsl(var(--h)); }

/* 深色模式：顶部板块导航未选中项、工具箱高亮卡（2026-11-24 Jun：看不清） */
@media (prefers-color-scheme: dark) {
  .boards button { color: #d8d1c3; }
  .boards button small { color: #b5ad9d; }
  .boards button.on { color: #3b2600; }
  .tiles.tools .hot { background: #3a2d14; border-color: var(--brand); }
}
@media (prefers-color-scheme: dark) { .svc .go { color: var(--ink); opacity: .7; } }

/* 顶部五块导航统一（2026-11-24 Jun：有的白底有的黑字）：灰底分段条，选中的都是同一种白色小胶囊 + 板块色短条 */
:root { --seg-bg: #f1e9e3; }
@media (prefers-color-scheme: dark) { :root { --seg-bg: #2f2c26; } }
.boards { background: var(--seg-bg); border: 0; }
.boards button { color: var(--muted); font-weight: 500; --bc: var(--brand); }
.boards button[data-board="services"] { --bc: #3F6FB5; } .boards button[data-board="qing"] { --bc: #4F7F5F; } .boards button[data-board="friends"] { --bc: #D9648B; } .boards button[data-board="play"] { --bc: #C4600F; }
.boards button.on, .boards button[data-board].on { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.boards button.on small, .boards button[data-board].on small { color: var(--muted); }
.boards button.on b::after { content: ''; display: block; width: 14px; height: 3px; border-radius: 3px; margin: 2px auto -3px; background: var(--bc); }
@media (prefers-color-scheme: dark) { .boards button { color: #b5ad9d; } .boards button.on { color: var(--ink); } }
#tab-today .greet { display: grid; grid-template-columns: 1fr auto; align-items: center; }
#tab-today .greet .pts { grid-column: 2; grid-row: 1 / span 2; margin-left: 8px; }

/* 首页动态（柚子替你办了 / 同学动态 / 今日一问） */
.fd h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; margin: 0 0 6px; } .fd h2 small { font-weight: 400; color: var(--muted); font-size: 12px; }
.fd-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; } .fd-row:first-of-type { border-top: 0; }
.fd-row[role=button] { cursor: pointer; } .fd-ic { width: 24px; text-align: center; font-size: 18px; flex: none; }
.fd-row small { display: block; color: var(--muted); font-size: 12.5px; }
.fd-undo { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; padding: 2px 4px; flex: none; }
.fd-q { font-size: 14.5px; margin-bottom: 8px; } .fd-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-opts button, .fd-opts span { border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; border-radius: 99px; padding: 6px 14px; }
.fd-opts span.on { border-color: var(--brand); background: var(--soft, #fff3d6); font-weight: 600; }

/* 柚全：阶段提示 + 收起的全部服务 */
.stagebar{background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin-bottom:12px}
.stagebar b{display:block;font-size:15px}
.stagebar .muted{display:block;margin-top:4px;font-size:13px}
.allsvc>summary{cursor:pointer;font-weight:600;list-style:none;padding:2px 0}
.allsvc>summary::after{content:' ▾';color:var(--muted,#999)}
.allsvc[open]>summary::after{content:' ▴'}
.allsvc .grp{font-size:14px;margin:14px 0 6px}

/* 毕业去向 */
.pathbox .chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.pathbox .chip{border:1px solid var(--line);border-radius:99px;padding:6px 12px;font-size:14px;background:var(--card);color:var(--ink);cursor:pointer}
.pathbox .chip.on{background:#4A6FB3;color:#fff;border-color:#4A6FB3}
.pathcard{border-left:5px solid var(--c);background:var(--card);color:var(--ink);border-radius:14px;padding:10px 12px;margin-top:10px;border:1px solid var(--line);border-left:5px solid var(--c)}
.pathcard b{font-size:16px}
.pathcard ol{margin:8px 0 0;padding-left:18px;font-size:14px;line-height:1.7}
.pathgo{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.pathgo a{background:var(--soft,#f4efe9);border-radius:10px;padding:6px 10px;font-size:13px;text-decoration:none;color:var(--ink)}
.pathgo a.more{background:none;color:#4A6FB3;margin-left:auto}

/* 深色模式：浅色底的卡片/小块要跟着换底色，否则继承的浅色字会看不见（2026-11-26 Jun 截图） */
@media (prefers-color-scheme: dark) {
  .pl-today { background: linear-gradient(135deg, #3a2f1a, #2f2616); border-color: #6a5326; }
  .pl-bar { background: #3d3524; }
  .pl-grid button.off { background: #2f2c26; color: #9a917f; }
  .pl-grid button.lit span { background: #1b1a17cc; }
  .pl-opt i { background: #5a4620; }
  .pl-opt.ok { background: #27402a; border-color: #4d7c4a; }
  .pl-opt.no { background: #4a2a25; border-color: #8a4a3e; }
  .pl-gm .ic { background: #3a2d14; }
  .qw button.on b, .qcw button.on, .qgrid a, .qtools a { background: #2c3d31; }
  .pathbox .chip.on { background: #4a6fb3; color: #fff; }
  .pathgo a.more { color: #8fb0f0; }
}

#moreHome > summary { cursor: pointer; font-weight: 600; color: var(--muted, #7a7268); list-style: none; } #moreHome > summary::-webkit-details-marker { display: none; } #moreHome[open] > summary { margin-bottom: 8px; }
#moreHome .card { box-shadow: none; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; }

.pathbox > summary, #qMore > summary, .plAtlas > summary { cursor: pointer; list-style: none; } .pathbox > summary::-webkit-details-marker, #qMore > summary::-webkit-details-marker, .plAtlas > summary::-webkit-details-marker { display: none; }
.pathbox > summary::after, .plAtlas > summary::after { content: ' ›'; color: var(--muted, #7a7268); } .pathbox[open] > summary, #qMore[open] > summary, .plAtlas[open] > summary { margin-bottom: 8px; }
#qMore > summary { color: var(--muted, #7a7268); font-weight: 600; } #qMore .card { box-shadow: none; border-left: 0; border-right: 0; margin-left: 0; margin-right: 0; }

header h1 { position: relative; }
.betaBadge { position: absolute; right: -9px; bottom: -5px; border: 0; background: #d8608a; color: #fff; border-radius: 99px; padding: 0 5px; font-size: 9.5px; line-height: 14px; font-weight: 700; letter-spacing: .02em; cursor: pointer; box-shadow: 0 0 0 1.5px var(--bg, #fbf6f3); }
.betaMask { position: fixed; inset: 0; z-index: 70; background: rgba(20,20,20,.45); display: flex; align-items: center; justify-content: center; padding: 24px; }
.betaCard { max-width: 340px; background: var(--card, #fff); color: var(--ink, #2b2a26); border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.betaCard h3 { margin: 0 0 6px; font-size: 17px; } .betaCard p { margin: 0 0 12px; color: var(--muted, #6f675f); font-size: 14px; line-height: 1.6; }
.betaCard .row2 { display: flex; gap: 8px; } .betaCard button { flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--line, #efe2dc); background: transparent; color: inherit; font: inherit; } .betaCard button.main { background: var(--brand, #f2a516); border-color: var(--brand, #f2a516); color: #3b2600; font-weight: 700; }
  /* 柚意动态 */
  .fd-box textarea { width: 100%; font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: var(--bg); color: var(--ink); resize: vertical; }
  .fd-box select { font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; background: var(--card); color: var(--ink); }
  .fd-who { display: flex; align-items: center; gap: 8px; }
  .fd-who small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
  .fd-av { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft, #f4d9a8); color: var(--brand-ink); display: grid; place-items: center; font-weight: 600; flex: none; }
  .fd-tag { font-size: 11px; border-radius: 6px; padding: 0 6px; margin-left: 5px; background: var(--brand-soft, #fde6dc); color: var(--brand-ink); }
  .fd-body { margin: 8px 0 4px; white-space: pre-wrap; word-break: break-word; }
  .fd-acts { display: flex; gap: 12px; }
  .fd-more { position: relative; } .fd-more summary { list-style: none; cursor: pointer; padding: 2px 8px; color: var(--muted); font-size: 18px; } .fd-more summary::-webkit-details-marker { display: none; }
  .fd-menu { position: absolute; right: 0; top: 26px; z-index: 6; width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; box-shadow: 0 6px 20px rgba(0,0,0,.15); display: grid; gap: 4px; }
  .fd-menu small { color: var(--muted); } .fd-menu .lnk { text-align: left; }
  .fd-cm { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .fd-c { font-size: 14px; padding: 3px 0; } .fd-c small { color: var(--muted); }
  .fd .lnk, .fd-menu .lnk, .fd-cm .lnk { font: inherit; font-size: 13px; border: 0; background: none; color: var(--brand-ink); padding: 4px 8px 4px 0; cursor: pointer; }
  .fd-menu div .lnk { border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; margin: 0 4px 4px 0; }
  .fd-av { color: #6b4a00; }
  .fd-daily { background: linear-gradient(135deg, #fff4d6, #ffe9d6); border-color: #f2d9a6; }
  .fd-daily small { display: block; color: #8a5a00; } .fd-daily b { font-size: 16px; color: #3a2a00; }
  .fd-daily input { font: inherit; border: 1px solid #ecd9ad; border-radius: 99px; padding: 6px 12px; background: #fffdf6; color: #2b2a26; min-width: 0; }
  @media (prefers-color-scheme: dark) { .fd-daily { background: linear-gradient(135deg, #3a3020, #3a2c24); border-color: #5a4a2a; } .fd-daily small { color: #f2c76a; } .fd-daily b { color: #f6ead0; } .fd-daily input { background: #26221b; border-color: #5a4a2a; color: #ece7e0; } }

  /* 柚子页顶部：返回 + 把要点存到记事本 */
  .chatTop { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin: 4px 0 6px; }
  .chatBack, .noteSum { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 5px 13px; font: inherit; font-size: 14px; cursor: pointer; }
  .chatBack.hidden, .noteSum.hidden { display: none; }
  .noteDraft { position: fixed; inset: 0; z-index: 2100; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
  .noteDraft .p { background: var(--card); color: var(--ink); width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; border-radius: 16px 16px 0 0; padding: 14px 16px calc(env(safe-area-inset-bottom) + 16px); }
  .noteDraft input, .noteDraft textarea, .noteDraft select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 16px; background: var(--bg); color: inherit; margin-top: 6px; }
  .noteDraft textarea { min-height: 150px; }
  @media (min-width: 1024px) { .noteDraft { align-items: center; } .noteDraft .p { border-radius: 16px; } }

/* 梳理方案第一批（2026-12-01） */
.cd.compact { padding: 10px 14px; background: var(--card); border-color: var(--line); }
.cd.compact .cd-top b { font-size: 15px; }
nav button.mid:not(.on) img.ico { filter: none; opacity: 1; border-color: var(--brand); }
.muted { font-size: 14px; }
#fdKind { flex-wrap: nowrap; overflow-x: auto; }
#fdKind button { white-space: nowrap; flex: none; }

/* 反馈浮钮缩小一点，不盖住卡片上的按钮；底部导航三项居中靠拢 */
body.app-on > div[style*="2147483000"] { transform: scale(.8); transform-origin: 100% 100%; opacity: .85; }
nav .inner { justify-content: center; gap: 24px; }
nav button { flex: 0 1 108px; }
.betaBadge { background: #c24877; font-size: 10.5px; }
.safe { color: var(--ink); }

/* 反馈入口改到页头 💬（柚好团队自己的反馈，能附截图和页面信息）；Stuloop 的右下角浮钮会盖住内容，隐藏（2026-12-05） */
div[style*="2147483000"] { display: none !important; }
.fbTop { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); font-size: 17px; line-height: 1; padding: 0; cursor: pointer; }
/* 柚子聊天：消息区加宽，气泡占满一行，头像缩小 */
.msg { max-width: 90%; }
.mrow { max-width: 100%; width: 100%; align-items: flex-start; }
.mrow .msg { flex: 1; }
.mrow .avatar { width: 28px; height: 28px; margin-top: 2px; }

.fbTop { width: auto; height: 34px; padding: 0 11px; border-radius: 99px; background: var(--brand); border-color: var(--brand); color: var(--on-brand, #3b2600); font-size: 14px; font-weight: 700; white-space: nowrap; }
.fbTip { position: fixed; z-index: 70; right: 12px; top: calc(env(safe-area-inset-top) + 58px); max-width: 230px; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 9px 12px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fbTip:before { content: ''; position: absolute; top: -6px; right: 28px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
