/* folo */
.folo-page{padding:16px 16px 8px}
/* 窄页（v0.38.0）：收窄的是**整块白卡**（核心的 .home-shell），不是卡片里的那一列。
   白底是核心的 .home-shell，只收里面那列会留下两道同色白边（v0.36.0 的毛病）。
   卡片宽度 = 内容列（宽页的 75%）+ 不随内容缩的那几块。实测（1280 视口、白卡 1200）
   「内容列以外」的固定开销是 292px（左右 padding + 栏间距 + 侧栏 230），
   要让内容列正好等于宽页的 75%，就补 292×25% = 73px。百分比相对外层容器算。
   收窄后卡片自适应居中，左右露出页面底色，不再有白边。窄屏不生效——手机本来就只有一列。 */
.home-shell.is-folo-narrow{box-sizing:border-box;width:calc(75% + 73px);min-width:720px;max-width:100%;margin-left:auto;margin-right:auto}
.folo-mast{padding:0 0 10px}
/* v0.42.0 版式（按德耶标注图）：第一行是订阅页总标题，点它回自己的订阅页；
   第二行才是头像 + 简介 + 统计 + 图标。标题单独占一行，不再和头像挤在一起。
   v0.47.0：第一行升级成字标 + 站点描述（这页以后要当论坛首页）：字标 32px/800、字距 -.035em、
   句点用品牌色；描述 12px、字距 .06em、--text-muted（比纯灰重一档，否则整块太飘）。
   两者左对齐成一组，他人页标记推到右端做小胶囊；下划线上压一段 28px 品牌色短条当页签指示。 */
.folo-mast-head{position:relative;display:flex;align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;padding:0 0 12px;margin:0 0 14px;border-bottom:1px solid var(--line-soft)}
/* 品牌色小段压在下划线上（左起 28px），像页签指示器：不抢眼，但一眼看出是这个产品 */
.folo-mast-head::after{content:"";position:absolute;left:0;bottom:-1px;width:28px;height:2px;border-radius:2px;background:var(--brand)}
.folo-mast-brand{min-width:0}
.folo-mast-title{display:inline-block;text-decoration:none;color:var(--text)}
.folo-mark{display:inline-block;font-size:32px;font-weight:800;line-height:1.06;letter-spacing:-.035em;color:var(--text);transition:color .15s ease}
.folo-mark-dot{margin-left:.02em;color:var(--brand)}
.folo-mast-tagline{display:block;margin-top:6px;font-size:var(--font-size-xs);line-height:1.3;letter-spacing:.06em;color:var(--text-muted)}
.folo-mast-of{margin-left:auto;padding:2px 10px;border:1px solid var(--line);border-radius:999px;font-size:var(--font-size-xxs);font-weight:400;line-height:1.6;color:var(--text-muted);background:var(--bg);white-space:nowrap}
.folo-mast-title:hover,.folo-mast-title:focus-visible{text-decoration:none}
.folo-mast-title:hover .folo-mark,.folo-mast-title:focus-visible .folo-mark{color:var(--brand)}
.folo-mast-main{display:flex;align-items:flex-start;gap:11px}
/* 动作组（v0.69.0）：页宽切换 + 齿轮（+ 首页那枚「含我」标记）包在一层里。
   完整刊头里跟在简介右边、与头像顶对齐；紧凑头（首页）里靠 margin-left:auto 顶到右端、
   与字标垂直居中。 */
.folo-mast-tools{display:flex;flex:0 0 auto;align-items:center;gap:6px}
.folo-mast-main>.folo-mast-tools{margin-top:2px}
.folo-mast-head>.folo-mast-tools{margin-left:auto;align-self:flex-start;margin-top:7px}
.folo-mast-ava{display:block;flex:0 0 auto;width:34px;height:34px;border-radius:50%;overflow:hidden;border:1px solid var(--line-soft)}
.folo-mast-ava .avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.folo-mast-id{flex:1 1 auto;min-width:0}
.folo-mast-sub{margin-top:4px;font-size:var(--font-size-xs);line-height:1.5;color:var(--text-subtle)}
.folo-mast-stat{color:var(--text-subtle)}
.folo-mast-stat b{font-weight:700;color:var(--text-muted)}
/* 个人简介（v0.42.0）：本人可原地编辑；别人只读。
   v0.65.0：文字块铺满头像右侧整块（原来 inline span 缩成一小截）；网址在简介里也能点。
   编辑入口收成右上角一枚淡铅笔（去「编辑」二字），仍带 data-folo-bio-edit，JS 逻辑不变。 */
.folo-bio{position:relative;min-width:0}
.folo-bio-text{display:block;padding-right:20px;font-size:var(--font-size-xs);line-height:1.65;color:var(--text-muted);white-space:pre-line;overflow-wrap:anywhere}
/* v0.88.0：空简介占位原来 11px + --text-disabled（实测约 2.3:1），太淡。
   改 12px + --text-muted，各主题下都够 4.5:1，也不再像「没加载出来」。 */
.folo-bio-text.is-empty{font-size:12px;color:var(--text-muted)}
/* v0.85.0：Folo 编号 —— 只写「#N」（德耶：不要 Fo 字样），不套外框、不给底色，
   本人页与别人页一律贴在简介区**右上角**同一处；铅笔退到它下面一行（德耶箭头指的位置）。
   0.83 挂在文字末尾会被长简介顶到第二行结尾；0.84 贴铅笔左侧、跟着有无铅笔漂移 —— 都别再复活。 */
.folo-uid-badge{display:inline-block;padding:0;border:0;background:none;color:var(--brand);font-size:var(--font-size-xxs);font-weight:700;line-height:1.5;white-space:nowrap;vertical-align:baseline}
.folo-bio>.folo-uid-badge{position:absolute;top:0;right:0;margin:0}
/* 有徽章时给简介文字多留一点右内边距，长简介换行时不会跑到徽章下面 */
.folo-bio:has(>.folo-uid-badge)>.folo-bio-text{padding-right:56px}
.folo-bio-link{color:var(--brand);text-decoration:underline;text-underline-offset:2px;word-break:break-all}
/* 核心 button:hover 是 (0,1,1)，单写 .folo-bio-edit:hover 压不住，必须带元素名；
   min/max-height 锁死，别被核心 32px 撑高。默认很淡，hover 才显形。 */
button.folo-bio-edit{position:absolute;top:19px;right:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:17px;min-width:0;max-width:17px;height:17px;min-height:0;max-height:17px;margin:0;padding:0;border:0;border-radius:3px;background:transparent;color:var(--text-disabled);line-height:0;cursor:pointer;opacity:.55}
button.folo-bio-edit:hover,button.folo-bio-edit:focus-visible{background:transparent;color:var(--brand);opacity:1}
.folo-bio-pencil{display:block;width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
/* 统计行末的「含我」小标记：小人＋勾=含我，小人＋斜杠=不含我。默认不抢眼，hover 给点反馈。 */
.folo-mast-selfmark{position:relative;display:inline-flex;align-items:center;gap:2px;vertical-align:-2px;white-space:nowrap;color:var(--text-disabled);cursor:pointer}
.folo-mast-selfmark:focus-visible{outline:1px solid var(--brand);outline-offset:2px;border-radius:3px}
/* 说明气泡（v0.70.0）：hover、键盘聚焦、点一下钉住 三种都显示；手机上只有「点」这一条路。
   靠右对齐是为了在刊头最右端（首页那枚）不超出 .main-panel 的 overflow:clip 被裁掉。
   v0.72.0：上限 236 → 260px（64vw → 68vw）—— 新文案 360 视口下量到 225px，离旧上限只差 5px，
   字体稍有差异就会折成两行；抬高一点留余量，右对齐本身已保证不越界。 */
.folo-sm-tip{position:absolute;right:-2px;top:calc(100% + 6px);z-index:45;box-sizing:border-box;width:max-content;max-width:min(260px,68vw);padding:6px 9px;border-radius:7px;background:var(--text);color:var(--inverse-text);font-size:11px;font-weight:400;line-height:1.5;letter-spacing:0;text-align:left;white-space:normal;opacity:0;visibility:hidden;transform:translateY(-2px);transition:opacity .14s,transform .14s,visibility .14s;pointer-events:none}
.folo-sm-tip::after{content:"";position:absolute;right:6px;top:-3px;width:6px;height:6px;background:var(--text);transform:rotate(45deg)}
.folo-mast-selfmark:hover .folo-sm-tip,.folo-mast-selfmark:focus-visible .folo-sm-tip,.folo-mast-selfmark.is-open .folo-sm-tip{opacity:1;visibility:visible;transform:none}
.folo-mast-selfmark svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.folo-mast-selfmark.is-on{color:var(--text-muted)}
.folo-mast-selfmark.is-on .folo-sm-flag{stroke:var(--brand);stroke-width:1.8}
.folo-bio-form{margin-top:7px}
.folo-bio-form textarea{box-sizing:border-box;width:100%;min-height:0;height:58px;max-height:120px;padding:7px 9px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-xs);line-height:1.6;resize:vertical}
.folo-bio-form textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.folo-bio-acts{display:flex;align-items:center;gap:6px;margin-top:6px}
.folo-bio-acts button{font-size:11px;min-height:24px;height:24px;max-height:24px;padding:0 10px;line-height:22px}
.folo-bio-acts .folo-bio-cancel{background:transparent;color:var(--text-subtle);border:1px solid var(--line)}
.folo-bio-acts .folo-bio-cancel:hover{background:transparent;color:var(--text)}
.folo-bio-count{margin-left:auto;font-size:11px;color:var(--text-subtle);font-variant-numeric:tabular-nums}
/* 别人的订阅页没公开：只留头像和简介，下面给一句说明 */
.folo-mast-locked{margin:16px 0 2px;padding:18px 14px;border:1px dashed var(--line);border-radius:6px;background:var(--bg);color:var(--text-muted);font-size:var(--font-size-sm);line-height:1.7;text-align:center}
.folo-req-h{margin:20px 0 8px;font-size:12px;font-weight:600;color:var(--text-muted);letter-spacing:.05em}
/* v0.99.0：复制主页链接从文字按钮改成链接图标（悬停 title 提示「复制主页链接」） */
.folo-copy-home{display:inline-flex;align-items:center;vertical-align:-2px;border:0;background:none;padding:0;font:inherit;color:var(--text-muted);cursor:pointer;line-height:0}
.folo-copy-home svg{display:block}
.folo-copy-home:hover{background:none;color:var(--text)}
/* v0.93.0：别人资料页的关注/申请按钮（介绍与动态之间，或封锁态介绍下方） */
.folo-prof-act{display:flex;justify-content:center;margin:12px 0 2px}
.folo-prof-act button.folo-mbtn{height:30px;max-height:30px;min-height:0;line-height:28px;padding:0 18px;font-size:var(--font-size-sm)}
.folo-prof-applied{font-size:var(--font-size-sm);color:var(--text-muted);border:1px dashed var(--line);border-radius:4px;padding:6px 14px;background:var(--bg)}
.folo-ava-slot.post-avatar{display:block;flex:0 0 auto;width:auto;height:auto;min-width:0;margin:0;padding:0;border-radius:0;background:none;color:inherit;font-size:inherit;font-weight:400;line-height:0}
a.folo-mast-ava:focus-visible,a.folo-item-ava:focus-visible,a.folo-sns-ava:focus-visible,a.folo-tweet-avatar:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

.folo-stat-link{display:inline;font-family:inherit;font-size:inherit;line-height:inherit;color:var(--text-muted);background:none;border:0;border-bottom:1px dotted var(--line);padding:0;margin:0;min-height:0;height:auto;cursor:pointer}
.folo-stat-link:hover{color:var(--brand);border-bottom-color:var(--brand)}
.folo-stat-link b{font-weight:700;color:var(--text)}
.folo-mast-sep{color:var(--text-disabled);margin:0 4px}
/* 页宽切换按钮（v0.41.0）：不套外框、也不给任何底色，纯一枚「宽屏」符号；点击区 18×18，与右边齿轮圆心对齐。
   核心 button 自带 min-height:32px、padding:7px 13px，只写 height 压不住 —— 实际会被撑成 18×32 的高条；
   再叠上 button:hover 的 brand-hover 深底 + inverse-text 字色，就成了「又高又深」的色块。
   这里 min/max 全锁 18×18 消掉高条；背景恒透明，hover/按下只改图标颜色（text-subtle → text）。
   注意特异性：核心 button:hover 是 (0,1,1)，与 .folo-width 同级，所以必须写成 button.folo-width:hover
   才稳定压住它 —— 否则深色底会一直回来。 */
.folo-width{display:flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;width:18px;min-width:0;max-width:18px;height:18px;min-height:0;max-height:18px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--text-subtle);line-height:0;cursor:pointer}
button.folo-width:hover,button.folo-width:active{background:transparent;color:var(--text)}
button.folo-width:active{opacity:1}
.folo-width:focus-visible{outline:1px solid var(--brand);outline-offset:1px}
.folo-width-ico{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.folo-gear{position:relative;flex:0 0 auto}
.folo-gear>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;padding:0;border:1px solid var(--line-soft);border-radius:50%;background:var(--panel);color:var(--text-subtle);line-height:0;cursor:pointer;list-style:none}
.folo-gear-ico{display:block;width:11px;height:11px;fill:currentColor}
.folo-gear>summary::-webkit-details-marker{display:none}
.folo-gear[open]>summary{color:var(--text);border-color:var(--text-muted)}
.folo-gear-panel{position:absolute;right:0;top:23px;z-index:60;width:268px;max-height:calc(100vh - 110px);overflow-y:auto;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--panel);box-shadow:0 8px 24px var(--shadow-medium)}
.folo-gear-prefs{margin:0}
.folo-gear-sect+.folo-gear-sect,.folo-gear-prefs+.folo-gear-invite{margin-top:10px;padding-top:9px;border-top:1px solid var(--line-soft)}
.folo-gear-head{margin:0 0 5px;font-size:var(--font-size-xxs);font-weight:600;line-height:1.5;letter-spacing:.02em;color:var(--text-subtle)}
.folo-gear-opt{display:flex;align-items:flex-start;gap:6px;font-size:var(--font-size-sm);line-height:1.5;color:var(--text);cursor:pointer}
.folo-gear-opt+.folo-gear-opt{margin-top:7px}
.folo-gear-opt input{flex:0 0 auto;width:14px;height:14px;min-width:0;max-width:14px;margin:2px 0 0;padding:0;accent-color:var(--brand)}
.folo-gear-hint{margin:5px 0 0;font-size:var(--font-size-xs);line-height:1.5;color:var(--text-subtle)}
.folo-gear-save{margin-top:10px;font-family:inherit;font-size:var(--font-size-xs);min-height:0;height:24px;max-height:24px;line-height:22px;padding:0 10px;cursor:pointer;border:1px solid var(--brand);border-radius:3px;background:var(--brand);color:var(--inverse-text)}
/* ===== 贴贴 / 入口条 / 互动（v0.30.0） ===== */
.folo-compose{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}
.folo-compose textarea{display:block;width:100%;min-height:54px;max-height:180px;padding:8px 10px;border:1px solid var(--line-soft);border-radius:6px;background:var(--bg);color:var(--text);font-family:inherit;font-size:var(--font-size-sm);line-height:1.6;resize:vertical;box-sizing:border-box}
.folo-compose textarea:focus{outline:none;border-color:var(--brand)}
/* v0.85.0：工具栏回到输入框上面那一块，并且默认收起。
   根因：nb_editor / nb_editor_dream / markdown_textarea 的「工具栏上、输入框下」全挂在
   `.xxx-field>.grid>textarea{order:3}` 上，而 0.80 为了躲开 .grid 的 98px 标签列把 grid
   类去掉了 → 这些 order 一条都不中，textarea 落回 order:0、工具栏 order:2，工具栏就跑到
   输入框下面（德耶图②）。0.84 用自写 order 顶，但只对 nb_editor 的新结构（会建
   .nb-editor-field）成立，线上跑的是 nb_editor_dream，没有那层 → 仍然无效。
   现在顺着插件约定：label 带 .grid，只把列宽改成单列。 */
.folo-compose .folo-compose-field{display:block;margin:0}
.folo-compose .folo-compose-field.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0}
.folo-compose .folo-compose-field>span{display:none}
/* v0.86.0：回复框扩展里的附件上传容器在发言栏是空壳 —— floatIcon() 把上传图标挪进输入框后，
   它自身高 0，却还留着核心 .grid 的一对 8px 上下 margin：10(卡片padding)+8(编辑器field)+8+8
   = 34px（实测 35px，正是德耶图①的 68px@2x）。只清这对 margin，容器本身保留：
   上传后的列表/「批量插入」仍可见，浮动按钮和粘贴上传都不受影响。 */
.folo-compose .attachment-field{margin:0}
/* v0.87.0：四边留白对齐 —— 卡片 padding 是 10px，但编辑器容器（dream / nb_editor）
   自带 `.nb-editor-dream-field{margin:8px 0}`，把①上边距撑成 19px 而左右下只有 11px
   （德耶图：①②③都要等于④）。清掉上边距即可，下边距保留，输入框与发布条的间距不变。
   markdown_textarea 自己已是 margin:0，无需再写。 */
.folo-compose .nb-editor-dream-field,
.folo-compose .nb-editor-field{margin-top:0}
/* 编辑器挂载后 label 被包进 .nb-editor-dream-field /.nb-editor-field，要透明掉。
   插件自己的 `>.grid{display:contents}` 只有 (0,2,0)，会被上面那条 (0,3,0) 盖掉，这里显式补。 */
.folo-compose .nb-editor-dream-field>.folo-compose-field.grid,
.folo-compose .nb-editor-field>.folo-compose-field.grid,
.folo-compose .markdown-textarea-field>.folo-compose-field.grid{display:contents}
/* markdown_textarea 没有内层 label：容器自己排单列，工具栏用 order 提到输入框前面 */
.folo-compose .markdown-textarea-field{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0}
.folo-compose .markdown-textarea-field>span{display:none}
.folo-compose .markdown-textarea-field>[data-markdown-textarea]{order:1;border-color:var(--line-soft);border-bottom:0;border-radius:6px 6px 0 0}
.folo-compose .markdown-textarea-field>textarea[name=body]{order:2;border-color:var(--line-soft);border-top:0;border-radius:0 0 6px 6px}
/* 默认收起：三个编辑器各自的工具栏根节点都点名；!important 防插件自带的 display 规则 */
.folo-compose:not(:focus-within) [data-nb-editor-dream],
.folo-compose:not(:focus-within) [data-nb-editor],
.folo-compose:not(:focus-within) [data-markdown-textarea]{display:none!important}
/* 收起后没有工具栏可拼，输入框四边圆回来、上边框补上 */
.folo-compose:not(:focus-within) .folo-compose-field.grid>textarea[name=body],
.folo-compose:not(:focus-within) .markdown-textarea-field>textarea[name=body]{border-top:1px solid var(--line-soft);border-radius:6px}
/* 发布条（v0.33.0）：版块下拉收窄到原来的三分之一左右、贴右紧挨「发贴贴」；
   说明文字改成悬浮提示（绝对定位不占位），不再把下拉挤到左边。
   v0.48.0：输入框默认三行（原来 rows=2，框显得比板块矮）；下拉再从 130px 收到 87px（原宽的三分之二）。 */
.folo-compose-bar{position:relative;display:flex;align-items:center;gap:8px}
.folo-compose-btn{flex:0 0 auto;font-family:inherit;font-size:var(--font-size-xs);height:20px;min-height:0;max-height:20px;line-height:18px;padding:0 10px;border:1px solid var(--brand);border-radius:999px;background:var(--brand);color:var(--inverse-text);cursor:pointer}
.folo-entry{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px}
/* 搜索框（v0.30.1）：原来 flex:1 1 170px 会一路撑满整行，按钮又没吃到 box-sizing，
   结果输入框过长、按钮比 chips 高半截。现在固定成一小段贴右，输入框与按钮逐项对齐：
   同高 28px、同 box-sizing、圆角各管一半、按钮清掉主题可能带进来的内外边距 */
.folo-entry .folo-search{display:flex;flex:0 0 auto;align-items:center;margin:0 0 0 auto;min-width:0;max-width:280px}
.folo-entry .folo-search input{flex:1 1 160px;width:160px;min-width:0;height:28px;box-sizing:border-box;margin:0;padding:0 12px;border:1px solid var(--line);border-right:0;border-radius:999px 0 0 999px;background:var(--panel);font-family:inherit;font-size:var(--font-size-xs);line-height:26px;color:var(--text);appearance:none;-webkit-appearance:none}
.folo-entry .folo-search input:focus{outline:none;border-color:var(--brand)}
.folo-entry .folo-search button{flex:0 0 auto;height:28px;min-height:0;max-height:none;box-sizing:border-box;margin:0;padding:0 12px;border:1px solid var(--line);border-left:0;border-radius:0 999px 999px 0;background:var(--bg);font-family:inherit;font-size:var(--font-size-xs);line-height:26px;color:var(--text-muted);cursor:pointer;appearance:none;-webkit-appearance:none}
.folo-entry .folo-search button:hover{border-color:var(--text-subtle);color:var(--text)}
/* 我的收藏 / 赞过（v0.30.1） */
.folo-saved-blank{margin:12px 0;padding:20px 14px;border:1px dashed var(--line);border-radius:8px;font-size:var(--font-size-sm);line-height:1.7;color:var(--text-subtle);text-align:center}
.folo-saved-more{margin:12px 0 0;font-size:var(--font-size-xs);color:var(--text-subtle);text-align:right}
.folo-saved-more a{color:var(--brand);text-decoration:none}
.folo-post-text{margin-top:4px;font-size:var(--font-size-md);line-height:1.7;color:var(--text);overflow-wrap:anywhere}
.folo-post-text.is-empty{color:var(--text-subtle)}
.folo-post-quote{display:block;margin:8px 0 0;padding:8px 10px;border:1px solid var(--line-soft);border-radius:6px;background:var(--bg);text-decoration:none}
.folo-post-quote.is-gone{color:var(--text-subtle);font-size:var(--font-size-xs)}
.folo-post-quote-who{display:block;font-size:var(--font-size-xxs);line-height:1.5;color:var(--text-subtle)}
.folo-post-quote-t{display:block;margin-top:2px;font-weight:700;font-size:var(--font-size-sm);line-height:1.5;color:var(--text)}
.folo-post-quote-x{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:2px;font-size:var(--font-size-xs);line-height:1.55;color:var(--text-muted)}
/* v0.64.0：互动行改成 X 式「图标 + 短数字」，全屏宽都不换行。
   中文只留在隐藏 span / title / aria-label 里；版块标签可收缩，绝不挤掉计数。 */
.folo-acts{display:flex;flex-wrap:nowrap;align-items:center;gap:6px 10px;min-width:0;margin-top:8px;font-size:var(--font-size-xs);color:var(--text-subtle);min-height:18px}
.folo-act-i{display:block;flex:0 0 auto;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.folo-act-btn.is-reply,.folo-act-btn.is-repost{gap:4px}
.folo-act-meta{display:inline-flex;flex:0 0 auto;align-items:center;gap:3px;white-space:nowrap}
.folo-act-forum{display:inline-block;flex:0 1 auto;min-width:0;padding:0 6px;border:1px solid var(--line);border-radius:3px;color:var(--text-subtle);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--font-size-xxs);line-height:16px}
.folo-act-forum:hover{color:var(--brand);border-color:var(--brand)}
.folo-act-end{margin-left:auto;display:inline-flex;flex:0 0 auto;align-items:center;gap:6px}
.folo-act-jump{display:inline-flex;align-items:center;gap:1px;color:var(--brand);text-decoration:none;white-space:nowrap}
.folo-act-jump .folo-act-i{width:13px;height:13px}
.folo-act-w,.folo-act-t,.folo-act-jt{display:none}
.folo-act-n,[data-folo-count]{white-space:nowrap;font-variant-numeric:tabular-nums}
.folo-compose-forum-wrap{position:relative;display:flex;flex:0 0 auto;margin-left:auto;max-width:34%}
.folo-compose-forum{flex:1 1 auto;width:87px;max-width:100%;height:20px;box-sizing:border-box;padding:0 4px;border:1px solid var(--line-soft);border-radius:6px;background:var(--bg);font-family:inherit;font-size:var(--font-size-xs);color:var(--text);cursor:pointer;text-overflow:ellipsis}
.folo-compose-forum:focus{outline:none;border-color:var(--brand)}
.folo-compose-hint{position:absolute;right:0;bottom:calc(100% + 8px);z-index:20;max-width:min(320px,90vw);padding:5px 9px;border:1px solid var(--line);border-radius:6px;background:var(--panel);box-shadow:0 6px 18px var(--shadow-medium);font-size:var(--font-size-xxs);line-height:1.5;color:var(--text-muted);white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease,visibility .12s ease}
.folo-compose-hint::after{content:"";position:absolute;right:36px;bottom:-4px;width:7px;height:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);transform:rotate(45deg)}
.folo-compose-forum-wrap:hover .folo-compose-hint,.folo-compose-forum:focus+.folo-compose-hint{opacity:1;visibility:visible}
.folo-act{display:inline-flex;flex:0 0 auto;margin:0;padding:0}
.folo-act.is-end{margin-left:auto}
.folo-act.is-end{margin-left:auto}
.folo-act-btn{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;font-family:inherit;font-size:var(--font-size-xs);line-height:1.5;height:auto;min-height:0;max-height:none;padding:0;border:0;background:none;color:var(--text-subtle);cursor:pointer}
.folo-act-btn:hover{color:var(--brand)}
.folo-act-btn.is-vote{gap:5px;padding:1px 7px;margin:0;border-radius:999px;transition:background-color .12s,color .12s}
.folo-act-ico{display:block;flex:0 0 auto;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.folo-act-btn.is-on{color:var(--brand);font-weight:700}
.folo-act-btn.is-vote.is-on{background:var(--bg);box-shadow:inset 0 0 0 1px var(--line-soft)}
.folo-act-btn.is-vote.is-on .folo-act-ico{fill:currentColor;stroke:none}
.folo-act-btn.is-muted:hover{color:var(--text)}
.folo-act-n{font-variant-numeric:tabular-nums}
/* 转发菜单（v0.35.0）：点「转发」弹「转帖 / 引用转发」两档，照 X 的做法；
   菜单向上弹（互动行就在卡片底部，往下会顶出屏幕） */
.folo-repost{position:relative;display:inline-flex;flex:0 0 auto}
.folo-repost>summary{list-style:none;cursor:pointer}
.folo-repost>summary::-webkit-details-marker{display:none}
.folo-repost[open]>summary{color:var(--brand)}
.folo-repost-menu{position:absolute;left:0;bottom:calc(100% + 6px);z-index:60;display:none;flex-direction:column;min-width:132px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 8px 24px var(--shadow-medium)}
.folo-repost[open]>.folo-repost-menu{display:flex}
.folo-repost-menu button,.folo-repost-menu a{display:block;box-sizing:border-box;width:100%;padding:7px 10px;border:0;border-radius:8px;background:none;font-family:inherit;font-size:var(--font-size-xs);line-height:1.4;height:auto;min-height:0;max-height:none;color:var(--text);text-align:left;text-decoration:none;cursor:pointer;white-space:nowrap}
.folo-repost-menu button:hover,.folo-repost-menu a:hover{background:var(--bg);color:var(--brand)}
/* 转发卡片上的转发数：只展示，不能再点（否则会凭空多出一条「已转帖」） */
.folo-act-btn.is-static{cursor:default}
.folo-act-btn.is-static:hover{color:var(--text-subtle)}
/* 引用转发输入框（v0.35.0）：?quote=t12 时出现在页首 */
.folo-quote-box{margin:10px 0 2px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.folo-quote-tip{margin:0 0 8px;font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-quote-tip a{color:var(--text-muted);font-weight:700;text-decoration:none}
.folo-quote-tip a:hover{color:var(--brand)}
.folo-quote-box textarea{box-sizing:border-box;display:block;width:100%;min-height:76px;max-height:220px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font-family:inherit;font-size:var(--font-size-sm);line-height:1.6;resize:vertical}
.folo-quote-box textarea:focus,.folo-quote-box textarea:focus-visible{border-color:var(--brand);outline:0}
.folo-quote-ref{margin-top:8px;padding:9px 12px;border:1px solid var(--line);border-radius:16px;font-size:var(--font-size-xs);line-height:1.55;color:var(--text-subtle)}
.folo-quote-who{display:block;color:var(--text-muted);font-weight:700}
.folo-quote-t{display:block;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folo-quote-x{margin-top:2px;color:var(--text-subtle);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.folo-quote-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:9px}
.folo-quote-cancel{font-size:var(--font-size-xs);color:var(--text-subtle);text-decoration:none}
.folo-quote-cancel:hover{color:var(--text)}
.folo-quote-gone{margin:10px 0;font-size:var(--font-size-sm);color:var(--text-subtle)}
.folo-node.is-post{background:var(--brand)}
@media(max-width:720px){.folo-compose{padding:10px}.folo-compose-forum-wrap{max-width:52%}.folo-compose-forum{width:auto;min-width:92px}.folo-compose-hint{display:none}
/* v0.50.0：桌面把发布条压到 20px（原来 24/26 显得抢眼）；手机上留 24px 给手指，20px 太难点 */
.folo-compose-btn{height:24px;max-height:24px;line-height:22px}.folo-compose-forum{height:24px}
/* v0.49.0：搜索框不再独占一行（原来 flex:1 1 100% 必换行，把通知/私信/收藏/赞过挤成孤零零一行）。
   改成可伸缩的一段贴右：窄到放不下时整块换行，但不会撑满 */
.folo-entry .folo-search{flex:1 1 104px;max-width:none;min-width:0;margin:0 0 0 auto}
.folo-entry .folo-search input{width:auto;flex:1 1 auto;min-width:0;padding:0 9px}
.folo-entry .folo-search button{padding:0 9px}}
.folo-chips{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0 10px;border-bottom:1px solid var(--line-soft);overflow:visible}
.folo-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border:1px solid var(--line);border-radius:999px;background:var(--panel);font-size:var(--font-size-xs);line-height:1.5;color:var(--text-muted);text-decoration:none;white-space:nowrap}
.folo-chip b{font-weight:600;font-size:var(--font-size-xxs);color:var(--text-subtle)}
.folo-chip:hover{border-color:var(--text-subtle);color:var(--text)}
.folo-chip.active{background:var(--inverse);border-color:var(--inverse);color:var(--inverse-text)}
.folo-chip.active b{color:var(--inverse-text);opacity:.72}
.folo-chip.is-end{margin-left:auto}
/* v0.88.0：新动态提示条。默认隐藏；后端说有更新才显示。按钮本身不插入内容，点了才整页刷新。 */
.folo-feed-wrap{position:relative}
button.folo-new-tip{display:block;box-sizing:border-box;width:100%;margin:0 0 10px;padding:7px 10px;border:1px solid var(--brand);border-radius:6px;background:var(--bg);color:var(--brand);font-size:12px;line-height:1.5;cursor:pointer}
button.folo-new-tip[hidden]{display:none}
button.folo-new-tip:hover,button.folo-new-tip:focus-visible{background:var(--brand);color:var(--inverse-text)}
.folo-stream{list-style:none;margin:0;padding:0}
.folo-day{padding:14px 0 2px;font-size:var(--font-size-xs);font-weight:600;color:var(--text-subtle)}
.folo-item{display:grid;grid-template-columns:12px 34px minmax(0,1fr);column-gap:10px;padding:9px 0;position:relative}
.folo-rail{position:relative;display:block}
.folo-rail::before{content:"";position:absolute;left:50%;top:12px;bottom:-10px;width:1px;margin-left:-.5px;background:var(--line-soft)}
.folo-item:last-child .folo-rail::before{display:none}
.folo-node{position:absolute;left:50%;top:11px;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:var(--text-disabled);box-shadow:0 0 0 3px var(--panel)}
.folo-node.is-topic{background:var(--brand)}
.folo-item-ava{display:block;width:34px;height:34px;border-radius:50%;overflow:hidden;border:1px solid var(--line-soft);background:var(--panel)}
.folo-item-ava .avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.folo-item-body{min-width:0;padding-bottom:2px}
.folo-item-head{display:flex;align-items:center;gap:5px;row-gap:2px;flex-wrap:wrap;font-size:var(--font-size-xs);line-height:1.5;color:var(--text-subtle)}
.folo-item-name{font-weight:700;color:var(--text);text-decoration:none;max-width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folo-item-ctx{color:var(--text-muted);text-decoration:none;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folo-item-ctx:hover{color:var(--brand)}
.folo-tags{margin-left:auto;padding-left:4px;display:inline-flex;gap:4px;flex-wrap:wrap}
.folo-tag{font-size:var(--font-size-xxs);line-height:1.6;padding:0 6px;border-radius:9px;border:1px solid var(--line-soft);background:var(--bg);color:var(--text-subtle);white-space:nowrap}
.folo-tag.is-kw{color:var(--brand);border-color:var(--brand-soft);background:var(--brand-soft)}
.folo-tag.is-me{color:var(--inverse-text);background:var(--inverse);border-color:var(--inverse)}
.folo-item-title{display:block;margin-top:3px;font-size:var(--font-size-md);font-weight:700;line-height:1.45;color:var(--text);text-decoration:none}
.folo-item-title:hover{color:var(--brand)}
.folo-item-excerpt{margin-top:3px;font-size:var(--font-size-sm);line-height:1.55;color:var(--text-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.folo-item-text{margin-top:3px;padding-left:9px;border-left:2px solid var(--line-soft);font-size:var(--font-size-md);line-height:1.55;color:var(--text-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;word-break:break-word}
.folo-item-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px;font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-item-foot a{color:var(--text-subtle);text-decoration:none}
.folo-item-foot a:hover{color:var(--brand)}
.folo-item-foot .folo-item-jump{color:var(--brand)}
.folo-item-forum{padding:0 5px;border:1px solid var(--line-soft);border-radius:3px;font-size:var(--font-size-xxs);line-height:1.6}
.folo-blank{padding:34px 8px;text-align:center;color:var(--text-muted)}
.folo-blank b{display:block;font-size:var(--font-size-md);color:var(--text)}
.folo-blank p{margin:6px 0 12px;font-size:var(--font-size-sm);line-height:1.6;color:var(--text-subtle)}
.folo-blank-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.folo-blank-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-family:inherit;font-size:var(--font-size-xs);min-height:0;height:26px;max-height:26px;line-height:24px;padding:0 12px;border:1px solid var(--line);border-radius:13px;background:var(--panel);color:var(--text-muted);cursor:pointer}
.folo-blank-btn:hover{border-color:var(--brand);color:var(--brand)}
.folo-modal{position:fixed;inset:0;z-index:3100;display:flex;align-items:center;justify-content:center;padding:16px}
.folo-modal[hidden]{display:none}
.folo-modal-mask{position:absolute;inset:0;background:var(--backdrop)}
.folo-modal-box{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;max-width:430px;max-height:78vh;border-radius:8px;background:var(--panel);box-shadow:0 12px 40px var(--shadow-medium);overflow:hidden}
.folo-modal-head{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line-soft)}
.folo-modal-head b{font-size:var(--font-size-md);color:var(--text)}
.folo-modal-count{font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-modal-x{margin-left:auto;width:24px;height:24px;min-height:0;max-height:24px;line-height:22px;padding:0;border:0;background:none;color:var(--text-subtle);font-size:13px;cursor:pointer;border-radius:50%}
.folo-modal-x:hover{background:var(--bg);color:var(--text)}
.folo-modal-body{padding:4px 14px 14px;overflow:auto;-webkit-overflow-scrolling:touch}.folo-modal-body .post-item:first-child{padding-top:6px}
.folo-modal-list{margin:0}
.folo-modal-empty{margin:18px 0;font-size:var(--font-size-sm);line-height:1.6;color:var(--text-subtle)}
.folo-modal-more{margin:8px 0 0;font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-list{margin-top:2px}.folo-tweet{display:flex;gap:10px;align-items:flex-start}.folo-tweet-avatar{display:block;flex:0 0 auto;width:38px;height:38px;border-radius:50%;overflow:hidden;border:1px solid var(--line-soft)}.folo-tweet-avatar .avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.folo-tweet-body{flex:1;min-width:0}.folo-tweet-head{display:flex;align-items:center;gap:5px;min-width:0;font-size:var(--font-size-xs);color:var(--text-muted)}.folo-tweet-name{font-weight:700;color:var(--text);max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folo-dot{color:var(--text-subtle)}.folo-time{white-space:nowrap}.folo-forum{margin-left:auto;padding:0 5px;border:1px solid var(--line);border-radius:3px;font-size:var(--font-size-xxs);color:var(--text-subtle);white-space:nowrap}.folo-tweet .post-title{display:block;margin-top:3px;font-weight:700;line-height:1.45}.folo-tweet-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:3px;font-size:var(--font-size-md);line-height:1.55;color:var(--text-muted)}.folo-tweet-meta{display:flex;gap:14px;margin-top:6px;font-size:var(--font-size-xs);color:var(--text-subtle)}@media (max-width:760px){.folo-page{padding:12px 12px 6px}.home-shell.is-folo-narrow{width:auto;min-width:0;max-width:none}.folo-mark{font-size:26px;letter-spacing:-.03em}.folo-mast-tagline{font-size:var(--font-size-xxs);letter-spacing:.06em}.folo-item{grid-template-columns:10px 30px minmax(0,1fr);column-gap:8px}.folo-item-ava{width:30px;height:30px}.folo-item-name{max-width:46%}.folo-item-ctx{max-width:100%}.folo-tags{margin-left:0}.folo-modal-box{max-height:82vh}}.folo-row{display:flex;align-items:center;gap:8px}.folo-row .post-body{flex:1;min-width:0}.folo-empty{color:var(--text-muted);font-size:var(--font-size-sm)}.folo-mutual{font-size:var(--font-size-xxs);color:var(--brand);border:1px solid var(--brand-soft);border-radius:3px;padding:0 4px;margin-left:6px}.folo-keyword{font-weight:700}.folo-modal-body .post-item.folo-kw-row{min-height:0;padding:4px 0}.folo-modal-body .post-item.folo-kw-row:first-child{padding-top:4px}.folo-folreq-list{margin-bottom:10px;padding-bottom:8px;border-bottom:1px dashed var(--line-soft)}.folo-folreq-acts{display:flex;gap:8px;margin-top:6px}.folo-folreq-acts .post-action-form{display:inline-flex;margin:0}.folo-remove-btn{font-family:inherit;font-size:11px;height:20px;min-height:0;max-height:20px;line-height:18px;padding:0 8px;box-sizing:border-box;cursor:pointer;background:var(--bg);color:var(--text-muted);border:1px solid var(--line);border-radius:3px;white-space:nowrap}.folo-add-form{margin:10px 0}.folo-add-row{display:flex;align-items:flex-end;gap:6px}.folo-add-row input[type=text],.folo-add-row textarea{flex:1 1 auto;min-width:0;max-width:none}.folo-add-row textarea{min-height:0;height:52px;max-height:140px;line-height:1.5;padding:8px 10px;resize:vertical}.folo-add-row button{flex:0 0 auto;white-space:nowrap}.folo-add-scope{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:var(--font-size-xs);color:var(--text-muted);cursor:pointer;line-height:1.7}.folo-add-scope input[type=checkbox]{flex:0 0 auto;width:14px;height:14px;min-width:0;max-width:14px;margin:0;padding:0;border-radius:2px;accent-color:var(--brand)}.folo-hint{font-size:var(--font-size-xs);color:var(--text-subtle);line-height:1.6;margin:2px 0 8px}.folo-hint b{color:var(--text-muted);font-weight:600}.folo-scope{font-size:var(--font-size-xxs);color:var(--text-subtle);border:1px solid var(--line);border-radius:3px;padding:0 4px;margin-left:6px;vertical-align:middle;white-space:nowrap}.folo-scope.is-body{color:var(--brand);border-color:var(--brand-soft);background:var(--brand-soft)}.folo-rec{font-size:var(--font-size-xs);color:var(--text-subtle);margin-bottom:8px}.folo-rec-btn{font-size:var(--font-size-xs);padding:1px 8px;margin-right:4px;cursor:pointer;background:var(--brand-soft);color:var(--brand);border:1px solid var(--brand-soft);border-radius:10px}.folo-topic-btn,.folo-follow-btn{display:inline-flex;align-items:center;justify-content:center;font-family:inherit;font-size:11px;font-weight:400;padding:0 6px;cursor:pointer;border-radius:3px;border:1px solid var(--brand);background:var(--brand);color:var(--inverse-text);vertical-align:middle;margin-left:6px;white-space:nowrap;min-height:0;height:16px;max-height:16px;line-height:14px;box-sizing:border-box}.post-content-title .folo-topic-btn{font-size:10px;font-weight:400;height:14px;min-height:0;max-height:14px;line-height:12px;padding:0 4px;box-sizing:border-box;vertical-align:1px;overflow:hidden}.folo-topic-btn.followed,.folo-follow-btn.followed{background:var(--bg);color:var(--text-muted);border-color:var(--text-muted)}.folo-topic-btn.followed:hover,.folo-follow-btn.followed:hover{background:var(--bg);color:var(--text)}
/* ===== 社交网络样式（X / 微博 信息流）：卡片分隔线，正文优先，底部描边图标 ===== */
.folo-sns{list-style:none;margin:0;padding:0}
/* 卡片骨架（v0.34.0 按 X）：40px 头像 + 12px 间距，一条一卡、卡间一条细线；
   纯转发的「已转帖」行与正文列左对齐（52px = 40 + 12），图标占头像那一列 */
.folo-sns-item{padding:12px 2px;border-bottom:1px solid var(--line-soft)}
.folo-sns-item:last-child{border-bottom:0}
.folo-sns-ctx{display:flex;align-items:center;gap:6px;margin:0 0 6px 52px;font-size:var(--font-size-xs);line-height:1.4;color:var(--text-subtle)}
.folo-sns-ctx .folo-sns-i{width:15px;height:15px;flex:0 0 auto}
.folo-sns-ctx a{color:var(--text-muted);font-weight:600;text-decoration:none}
.folo-sns-ctx a:hover{text-decoration:underline}
.folo-sns-row{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px}
.folo-sns-ava{display:block;width:40px;height:40px;border-radius:50%;overflow:hidden;border:1px solid var(--line-soft);background:var(--panel)}
.folo-sns-ava .avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.folo-sns-body{min-width:0}
.folo-sns-head{display:flex;align-items:center;gap:0 6px;min-width:0;font-size:var(--font-size-sm);line-height:1.35}
.folo-sns-name{min-width:0;font-weight:700;font-size:15px;color:var(--text);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folo-sns-name:hover{text-decoration:underline}
.folo-sns-handle{font-size:var(--font-size-xs);color:var(--text-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.folo-sns-handle.is-kw{color:var(--brand)}
.folo-sns-dot{flex:0 0 auto;color:var(--text-disabled)}
.folo-sns-time{flex:0 0 auto;font-size:var(--font-size-xs);color:var(--text-subtle);text-decoration:none;white-space:nowrap}
.folo-sns-time:hover{text-decoration:underline}
/* 右上角「⋯」：X 的位置与形状，菜单挂在 details 里（点外部 / Esc 由脚本收起） */
.folo-sns-more{position:relative;flex:0 0 auto;margin-left:auto}
.folo-sns-more>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:26px;height:26px;margin:-5px -4px 0 0;padding:0;border-radius:50%;color:var(--text-subtle);line-height:0;cursor:pointer;list-style:none}
.folo-sns-more>summary:hover,.folo-sns-more[open]>summary{background:var(--brand-soft);color:var(--brand)}
.folo-sns-more>summary::-webkit-details-marker{display:none}
.folo-sns-more-menu{position:absolute;right:0;top:26px;z-index:50;display:none;flex-direction:column;min-width:158px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 8px 24px var(--shadow-medium)}
.folo-sns-more[open]>.folo-sns-more-menu{display:flex}
.folo-sns-more-menu a,.folo-sns-more-menu button{display:block;box-sizing:border-box;width:100%;padding:7px 10px;border:0;border-radius:8px;background:none;font-family:inherit;font-size:var(--font-size-xs);line-height:1.4;color:var(--text);text-align:left;text-decoration:none;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.folo-sns-more-menu a:hover,.folo-sns-more-menu button:hover{background:var(--bg)}
/* 标题（主题第一行）：只加粗，不再放大字号（v0.35.0，德耶：「黑体即可」） */
.folo-sns-title{display:block;margin-top:4px;font-size:15px;font-weight:700;line-height:1.5;color:var(--text);text-decoration:none;word-break:break-word}
.folo-sns-title:hover{color:var(--brand)}
/* v0.100.0：正文不再 CSS 行数截断（那是 0.34 的 3 行 clamp）——现在服务端按字数截断
   + 「显示更多」展开，这里只管排版；主题正文保持 X 的灰色弱化。 */
.folo-sns-text{margin-top:4px;font-size:15px;line-height:1.5;color:var(--text);word-break:break-word}
.folo-sns-item.is-topic .folo-sns-text{margin-top:4px;font-size:15px;line-height:1.5;color:var(--text-muted)}
.folo-sns-text.is-empty{color:var(--text-disabled)}
/* v0.100.0：「显示更多」（X 同款，点开就地展开全文，展开后按钮即移除） */
.folo-text-more{display:block;margin:2px 0 0;padding:0;border:0;background:none;font-family:inherit;font-size:var(--font-size-sm);line-height:1.6;color:var(--brand);cursor:pointer;min-height:0;height:auto}
button.folo-text-more:hover{background:none;color:var(--brand-hover);text-decoration:underline}
/* v0.100.0：图片相册 —— X 的 1/2/3/4+ 形态；缩略图一律 cover 裁切，圆角整组共享 */
.folo-alb{position:relative;margin-top:8px}
.folo-alb-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px;border-radius:14px;overflow:hidden}
.folo-alb-cell{position:relative;display:block;box-sizing:border-box;width:100%;padding:0;border:0;background:var(--bg);min-height:0;height:auto;aspect-ratio:1/1;overflow:hidden;cursor:pointer}
.folo-alb-cell img,.folo-alb-cell video{display:block;width:100%;height:100%;object-fit:cover}
.folo-alb-cell:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px}
.folo-alb.is-one .folo-alb-grid{grid-template-columns:1fr}
.folo-alb.is-one .folo-alb-cell{aspect-ratio:auto}
.folo-alb.is-one .folo-alb-cell img,.folo-alb.is-one .folo-alb-cell video{height:auto;max-height:400px;object-fit:cover}
.folo-alb.is-three .folo-alb-cell:first-child{grid-row:span 2;aspect-ratio:auto}
.folo-alb-more{position:absolute;right:0;bottom:0;min-width:40px;padding:4px 8px;border-radius:14px 0 0 0;background:rgba(0,0,0,.55);color:#fff;font-size:var(--font-size-sm);font-weight:600;line-height:1.4;pointer-events:none}
/* v0.103.0：卡片内嵌播放器（德耶：论坛模式形态——小尺寸直接可点播，全屏用原生控制条） */
.folo-vids{margin-top:8px;display:grid;gap:8px}
.folo-vid-wrap{position:relative;width:100%;height:300px;border-radius:12px;overflow:hidden;background:#000}
.folo-vid-wrap .folo-vid{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.folo-vid-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.folo-vid-wrap.is-yt{cursor:pointer;user-select:none}
.folo-vid-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff}
.folo-vid-ph-ic{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:24px;line-height:1}
.folo-vid-ph-tx{font-size:var(--font-size-sm);font-weight:600}
.folo-vid-ph-tip{font-size:var(--font-size-xs);color:#999}
@media(max-width:768px){.folo-vid-wrap{height:220px}}
/* v0.100.0：灯箱 —— 点缩略图开原图，左右箭头/键盘翻页，Esc 或点背景关闭（0.103 起只装图片） */
.folo-lb{display:none;position:fixed;inset:0;z-index:3200;background:rgba(0,0,0,.92);align-items:center;justify-content:center}
.folo-lb.is-open{display:flex}
.folo-lb-media img{display:block;max-width:min(94vw,1200px);max-height:88vh;object-fit:contain}
.folo-lb-x{position:absolute;top:12px;right:14px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:20px;line-height:1;cursor:pointer;min-height:0}
.folo-lb-nav{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:56px;padding:0;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer;min-height:0}
.folo-lb-nav.is-prev{left:12px}
.folo-lb-nav.is-next{right:12px}
.folo-lb-x:hover,.folo-lb-nav:hover{background:rgba(255,255,255,.28)}
.folo-lb-count{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.85);font-size:var(--font-size-sm)}
/* 引用卡：X 的 16px 圆角卡 + 卡外一行「来自 xx」来源 */
.folo-sns-quote{display:block;margin-top:8px;padding:9px 12px;border:1px solid var(--line);border-radius:16px;background:transparent;font-size:var(--font-size-xs);line-height:1.55;color:var(--text-subtle);text-decoration:none}
.folo-sns-quote:hover{border-color:var(--text-subtle)}
.folo-sns-qv{display:block;color:var(--text-disabled)}
.folo-sns-qt{display:block;margin-top:1px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folo-sns-src{display:block;margin-top:6px;font-size:var(--font-size-xs);line-height:1.4;color:var(--text-subtle);text-decoration:none}
.folo-sns-src:hover{text-decoration:underline}
.folo-sns-i.is-fill{fill:currentColor;stroke:none}
/* 带附言的转发里那张引用卡，在社交网络版式下也按 X 的 16px 圆角卡渲染；
   时间线仍旧样式（选择器带 .is-sns，不影响那边） */
.folo-page.is-sns .folo-post-quote{margin-top:8px;padding:9px 12px;border-radius:16px;background:transparent}
.folo-page.is-sns .folo-post-text{margin-top:4px;font-size:15px;line-height:1.5}
.folo-page.is-sns .folo-post-quote-x{-webkit-line-clamp:2;font-size:var(--font-size-xs)}
.folo-sns-acts{display:flex;align-items:center;gap:16px;margin-top:10px;font-size:var(--font-size-xs);color:var(--text-subtle);min-height:18px}
.folo-sns-act{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.folo-sns-i{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.folo-sns-forum{display:inline-block;padding:0 6px;border:1px solid var(--line);border-radius:3px;color:var(--text-subtle);text-decoration:none;white-space:nowrap;font-size:var(--font-size-xxs);line-height:16px}
.folo-sns-forum:hover{color:var(--brand);border-color:var(--brand-soft)}
.folo-sns-jump{display:inline-flex;align-items:center;gap:1px;margin-left:auto;color:var(--brand);text-decoration:none;white-space:nowrap}
.folo-sns-jump .folo-sns-i{width:13px;height:13px}
.folo-sns-replybtn{font:inherit;line-height:1.2;height:auto;min-height:0;max-height:none;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.folo-sns-replybtn:hover{color:var(--brand)}
.folo-item-replybtn{font:inherit;line-height:1.2;height:auto;min-height:0;max-height:none;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.folo-item-replybtn:hover{color:var(--brand)}
/* 行内快速回复：整页一份面板，点「回复数」把面板挪进该条目的槽位（提交走核心 .ajax-reply-form） */
.folo-reply-slot{margin-top:10px}
.folo-reply-slot[hidden]{display:none}
.folo-reply-host[hidden]{display:none}
/* 表单里是核心的 textarea()（label.grid），核心 .grid 是「98px 标签列 + 输入列」的表单布局，
   塞进卡片会把文本框挤成一条；这里改回单列并去掉「内容」小标题（.reply-panel 里也是这么做的）。
   不改 display：NB编辑器靠 label 内的 order 把工具栏排到文本框上面，grid 必须留着。 */
.folo-reply-host label.grid{grid-template-columns:minmax(0,1fr);margin:0;align-items:stretch}
.folo-reply-host label.grid>span{display:none}
.folo-reply-host .markdown-textarea-field>span{display:none}
.folo-reply-form{margin-top:0}
.folo-reply-form[hidden]{display:none}
.folo-reply-form textarea{box-sizing:border-box;display:block;width:100%;min-height:118px;max-height:220px;padding:9px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-sm);line-height:1.6;resize:vertical}
/* 焦点态只靠边框变色。挂上 NB编辑器 / Markdown编辑器后，工具栏与文本框已经拼成一整圈外框，
   再叠一圈 outline 就是「框套框」。核心的 :focus-visible 轮廓（特异性 0,1,1）点击文本框时同样命中，
   这里连它一起压掉，跟核心 textarea:focus{outline:0} 的处理保持一致。 */
.folo-reply-form textarea:focus,
.folo-reply-form textarea:focus-visible{border-color:var(--brand);outline:0}
.folo-reply-foot{display:flex;align-items:center;gap:8px;margin-top:7px}
.folo-reply-foot .reply-status{margin-right:auto;font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-reply-foot button{font-family:inherit;font-size:var(--font-size-xs);height:28px;min-height:0;max-height:28px;line-height:26px;padding:0 15px;border-radius:14px;cursor:pointer}
.folo-reply-send{border:1px solid var(--brand);background:var(--brand);color:var(--inverse-text)}
.folo-reply-send:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.folo-reply-cancel{border:1px solid var(--line);background:var(--panel);color:var(--text-muted)}
.folo-reply-cancel:hover{border-color:var(--brand);color:var(--brand)}
@media (max-width:760px){
.folo-sns-item{grid-template-columns:38px minmax(0,1fr);column-gap:9px;padding:13px 0}
.folo-sns-ava{width:38px;height:38px}
.folo-sns-name{max-width:42%}
.folo-sns-title{font-size:15px}
.folo-sns-text{font-size:14.5px}
.folo-sns-acts{gap:12px}
/* v0.62.0 移动端适配：核心 .home-shell 的 padding 到 720px 才从 24px 降到 10px，
   folo 自己的 .folo-page 到 760px 才从 16px 降到 12px —— CSS 视口落在 720~760px 的手机
   两侧叠成 24+12=36px（①②那两道空白），比更窄手机的 10+12=22px 挤得多。统一压到 4px/边。 */
.home-shell:has(.folo-page){padding-left:4px;padding-right:4px}
.folo-page{padding:10px 4px 6px}
/* 互动行收紧：原来 gap:6px 14px、赞/收藏各 padding:1px 7px，五个按钮 + 中文在窄屏放不下，
   收藏掉到第二行（③）。缩小间距与按钮内边距，先保住一行。 */
.folo-acts{gap:5px 8px}
.folo-act-btn,.folo-act-btn.is-reply,.folo-act-btn.is-repost{gap:3px}
.folo-act-btn.is-vote{padding:1px 4px;gap:3px}
}
/* v0.64.0 极窄屏（≤360px）：五组图标+数字仍可能被大数挤爆 218px 的内容宽，
   再收一档字号/图标/间距，并让版块标签退位；交互按钮一个不少，也不换行。 */
@media (max-width:360px){
.folo-acts{gap:3px 4px;font-size:10px}
.folo-act-i,.folo-act-jump .folo-act-i{width:12px;height:12px}
.folo-act-btn,.folo-act-btn.is-reply,.folo-act-btn.is-repost,.folo-act-btn.is-vote{gap:2px;padding:0}
.folo-act-meta{gap:2px}
.folo-act-forum{display:none}
.folo-act-end{gap:2px}
}
/* ===== 左侧导航 + 统一页面外壳（v0.66.0）=====
   参考大平台：左列固定入口、右列内容，所有 Folo 页面共用，切页只换右半边。
   v0.67.0：① 侧栏收窄（146 → 124px）并真正钉住不动；② 窄屏改成抽屉。
   v0.68.0：钉住的位置留出一点呼吸（top 10 → 12px）；窄屏不再放汉堡按钮，
   抽屉只靠「按住页面右滑」拉出，且拉出过程中跟着手指走。 */
/* 侧栏钉不住的根因：核心 .main-panel{overflow:hidden} 会建出滚动容器，
   sticky 只在那个「不滚动的容器」里生效，于是侧栏跟着页面一起滚走。
   overflow:clip 同样裁圆角、同样不溢出，但不创建滚动容器 —— sticky 才立得住。
   老浏览器不认 clip 就退回原样（等于现在，不会更差）。 */
.main-panel:has(.folo-page){overflow:clip}
.folo-frame{display:flex;align-items:flex-start;gap:14px}
/* 行为：一开始随页面一起上滑，滑到离视口顶 12px 才停住（sticky 的本来语义）。
   v0.69.0：宽度 124 → 87px（原来的 70%，德耶按图指定）。项目里标签最长的是「个人资料」四个字（11px ≈ 44px），
   87 − 左右内边距 12 − 图标 14 − 间距 6 = 55px，放得下还有余量；原来 124px 里空着三十多像素。
   未读数是绝对定位到图标右上角（见下），不再参与行宽，否则 87px 里「个人资料 + 徽标」会挤爆。
   max-height 给内容超长时留出内部滚动的余地，不然 6 项以外的东西会被裁掉。 */
.folo-nav{position:sticky;top:12px;align-self:flex-start;flex:0 0 auto;width:87px;max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:1px;padding:2px 0}
.folo-nav-i{position:relative;display:flex;align-items:center;gap:6px;padding:5px 6px;border-radius:6px;font-size:var(--font-size-xs);line-height:1.35;color:var(--text-muted);text-decoration:none;white-space:nowrap;transition:background .12s,color .12s}
.folo-nav-i:hover{background:var(--bg);color:var(--text)}
.folo-nav-i.is-on,.folo-nav-i.is-on:hover{background:var(--brand-soft);color:var(--brand);font-weight:700}
.folo-nav-ico{display:block;flex:0 0 auto;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.folo-nav-t{overflow:hidden;text-overflow:ellipsis}
/* 未读徽标：窄列里塞不下「个人资料 + 数字」，改成压在图标右上角的小胶囊（X 的提醒点同款位置）。
   外侧描一圈底色，压在图标笔画上也分得清；编号只留一位数区间（9+），准确数放在 title 里。 */
.folo-nav-n{position:absolute;left:12px;top:-1px;box-sizing:border-box;min-width:11px;height:11px;padding:0 2px;border-radius:999px;background:var(--brand);color:var(--inverse-text);font-size:8.5px;font-weight:700;line-height:11px;text-align:center;font-variant-numeric:tabular-nums;box-shadow:0 0 0 1.5px var(--panel)}
/* 抽屉遮罩：桌面端不出现；窄屏靠 opacity 淡入淡出，不再「啪」一下铺满 */
.folo-nav-mask{display:none}
.folo-body{flex:1 1 auto;min-width:0}
/* 紧凑头只留字标，和完整刊头共用 .folo-mast-head 的下划线短条 */
.folo-mast.is-compact{padding-bottom:0}
.folo-mast.is-compact .folo-mast-head{margin-bottom:10px}
/* 内页标题（v0.68.0）：挂在刊头右端，右对齐两行 —— 「标题＋条数」/「一句说明」。
   margin-left:auto 推开字标，窄屏说明自动隐去，只留标题和条数。 */
.folo-mast-page{flex:0 0 auto;min-width:0;margin-left:auto;text-align:right}
.folo-mast-ptrow{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;min-width:0}
.folo-mast-pt{margin:0;font-size:17px;font-weight:700;line-height:1.25;letter-spacing:-.01em;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.folo-mast-pc{flex:0 0 auto;font-size:var(--font-size-xxs);color:var(--text-subtle);font-variant-numeric:tabular-nums;white-space:nowrap}
.folo-mast-pd{margin:2px 0 0;font-size:var(--font-size-xxs);line-height:1.5;color:var(--text-subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:30vw}
/* 通知 / 私信列表：和 Fo 卡片同一套观感（圆头像、淡分隔线、不套外框） */
.folo-notes{margin:0;padding:0;list-style:none}
.folo-note{position:relative;display:flex;gap:10px;padding:11px 2px;border-bottom:1px solid var(--line-soft)}
.folo-note:last-child{border-bottom:0}
.folo-note-ava{display:block;flex:0 0 auto;width:34px;height:34px;border-radius:50%;overflow:hidden;border:1px solid var(--line-soft)}
.folo-note-ava .avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.folo-note-body{position:relative;flex:1 1 auto;min-width:0;padding-right:20px}
.folo-note-head{display:flex;align-items:center;gap:6px;min-width:0;font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-note-name{font-size:var(--font-size-sm);font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folo-note-kind{flex:0 0 auto;color:var(--text-subtle)}
.folo-note-dot{flex:0 0 auto;width:6px;height:6px;border-radius:50%;background:var(--brand)}
.folo-note-time{flex:0 0 auto;margin-left:auto;color:var(--text-subtle);white-space:nowrap}
.folo-note-text{margin-top:4px;font-size:var(--font-size-sm);line-height:1.55;color:var(--text-muted);overflow-wrap:anywhere}
.folo-dm-n{flex:0 0 auto;min-width:16px;padding:0 4px;border-radius:999px;background:var(--brand);color:var(--inverse-text);font-size:10px;font-weight:700;line-height:16px;text-align:center}
.folo-note-go{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:18px;height:18px;color:var(--text-disabled);text-decoration:none}
.folo-note:hover .folo-note-go{color:var(--brand)}
.folo-note-arrow{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* 窄屏（≤760px）：左列改成抽屉 —— 和 X 一样，从左边滑出来盖在内容上，收起时完全不占位。
   v0.68.0：不再有汉堡按钮，唯一入口是「按住页面右滑」；拉出过程跟手指走（JS 写 transform），
   松手才按过没过半决定开/关，所以既不会突兀地弹出来，也不会半开着卡住。
   visibility 一起过渡：关着的时候彻底不参与绘制，34px 的阴影不会在屏幕左沿留一道灰边。 */
@media (max-width:760px){
.folo-frame{display:block}
.folo-nav{position:fixed;left:0;top:0;bottom:0;z-index:70;box-sizing:border-box;width:min(78vw,266px);height:100vh;height:100dvh;max-height:none;flex:0 0 auto;display:flex;flex-direction:column;gap:1px;margin:0;padding:16px 10px 24px;overflow-y:auto;overscroll-behavior:contain;background:var(--panel);border-right:1px solid var(--line);box-shadow:0 10px 34px rgba(0,0,0,.22);transform:translateX(-100%);visibility:hidden;pointer-events:none;will-change:transform;transition:transform .26s cubic-bezier(.32,.72,0,1),visibility .26s linear}
.folo-nav.is-open{transform:none;visibility:visible;pointer-events:auto}
.folo-nav-i{flex:0 0 auto;gap:10px;padding:10px;border-radius:8px;background:none;font-size:var(--font-size-md)}
.folo-nav-i.is-on{background:var(--brand-soft)}
.folo-nav-ico{width:17px;height:17px}
.folo-nav-t{overflow:visible}
/* 抽屉有 266px，徽标不必再压在图标上 —— 回到行尾（绝对定位那套只服务 87px 的窄列） */
.folo-nav-n{position:static;left:auto;top:auto;min-width:16px;height:16px;padding:0 4px;margin-left:auto;font-size:10px;line-height:16px;box-shadow:none}
/* 遮罩：始终按 opacity 过渡，出现/收起都是渐隐渐显 */
.folo-nav-mask:not([hidden]){display:block;position:fixed;inset:0;z-index:65;background:rgba(0,0,0,.42);opacity:0;transition:opacity .26s ease}
.folo-nav-mask.is-on{opacity:1}
/* 统计行在窄屏会折行：这一行行首的「·」看着像多余符号，窄屏直接省掉 */
.folo-mast-selfmark .folo-mast-sep{display:none}
.folo-note{padding:10px 0}
/* 刊头右端的页名：窄屏放不下那句说明，只留「标题＋条数」 */
.folo-mast-pd{display:none}
.folo-mast-pt{font-size:15px}
.folo-mast-pc{font-size:10px}
}
/* v0.68.0：sticky 不生效的兜底 —— 核心 .main-panel{overflow:hidden} 会建出滚动容器，
   sticky 只在那个「不滚动的容器」里生效，侧栏就跟着页面一起滚走（这正是德耶看到的
   「一开始跟着滑，滑到位置也不停」）。overflow:clip 同样裁圆角，但不创建滚动容器。
   原来只靠 :has() 认父级，不认 :has() 的浏览器就失效；
   现在每个 Folo 页面都给 .home-shell 挂 is-folo，按 class 覆盖一层更稳。 */
.home-shell.is-folo .main-panel{overflow:clip}
/* ===== v0.76.0：两侧栏撤销固定，随整页滚动 =====
   0.75 的 fixed 两栏（不写 left/right、靠槽位提供静态位置）在德耶实测里出现诡异画面，
   暂不继续这条路线：两侧栏一律回到文档流，页面照常往下滚（footer 保留）。
   0.73 的 body 锁高、0.74 的 sticky、0.75 的 fixed + 槽位全部撤销。
   左导航保留 overflow:clip 前的钉住意图之外的所有观感，只去掉 sticky 定位本身。 */
/* 左导航：去掉 sticky，回到正常流里随页面滚动（宽度/配色/徽标全不变）。
   必须放在 min-width:761px 里！手机抽屉那条 .folo-nav{position:fixed} 只有 (0,1,0)，
   body .folo-nav 是 (0,1,1)，若不加媒体查询会在手机上把抽屉打回 static，
   导航整块插进页面流顶部 —— 就是 0.76.0 那块「顶部一大片空白」。 */
/* 右栏：core 的 aside.sidebar 本就是静态块，这里显式兜底，防止旧缓存里残留 0.75 的 fixed */
@media (min-width:761px){
body .folo-nav{position:static;top:auto;max-height:none;overflow:visible;overscroll-behavior:auto}
body:has(.home-shell.is-folo) aside.sidebar{position:static;top:auto;left:auto;right:auto;bottom:auto;z-index:auto;height:auto;max-height:none;overflow:visible;scrollbar-width:auto;-ms-overflow-style:auto}
body:has(.home-shell.is-folo) aside.sidebar::-webkit-scrollbar{width:auto;height:auto}
}
/* 窄页顶栏：内容（.bar）与白卡对齐，背景条仍满屏宽。
   做法：.top 本身不收窄（白底满宽），只给 .bar 设 max-width + margin:auto。
   公式与 .home-shell.is-folo-narrow 同源（白卡 = wrap 内容盒的 75% + 73px）；
   分母用 100%（body 内容宽）而不是 100vw —— vw 含纵向滚动条宽度，
   Win/Linux 上会凭空多出 15px，macOS 覆盖式滚动条下看不出来、换台机器就错位。
   放进桌面媒体查询：手机即使带了 narrow 类也不会被 min-width:720px 撑出横向滚动。 */
@media (min-width:761px){
body:has(.home-shell.is-folo-narrow) .bar{box-sizing:border-box;max-width:calc((min(1200px,100%) - 24px) * .75 + 73px);min-width:720px;margin-left:auto;margin-right:auto}
}
/* ===== 后台：页面样式选择（两张可选卡片） ===== */
.folo-style-pick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:520px}
.folo-style-opt{display:block;position:relative;cursor:pointer}
.folo-style-opt>input{position:absolute;opacity:0;width:1px;height:1px;min-width:0;max-width:1px;margin:0;padding:0;pointer-events:none}
.folo-style-card{display:block;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);transition:border-color .12s,background .12s}
.folo-style-card b{display:block;font-size:var(--font-size-sm);font-weight:700;color:var(--text)}
.folo-style-card small{display:block;margin-top:3px;font-size:var(--font-size-xxs);line-height:15px;color:var(--text-subtle);overflow-wrap:anywhere}
.folo-style-opt:hover .folo-style-card{border-color:var(--text-disabled)}
.folo-style-opt>input:checked+.folo-style-card{border-color:var(--brand);background:var(--brand-soft)}
.folo-style-opt>input:checked+.folo-style-card b{color:var(--brand)}
.folo-style-opt>input:focus-visible+.folo-style-card{outline:2px solid var(--brand-soft);outline-offset:1px}
@media(max-width:720px){.folo-style-pick{grid-template-columns:1fr}}
/* ===== 后台设置面板：标签定宽不换行（核心 .row 是 flex，标签会被长输入框挤成两行） ===== */
/* 整块设置面板（含顶部说明区）收窄，右侧留白；只作用于本插件后台页，别家插件不受影响 */
.plugin-admin-page-folo>.plugin-manage-panel{width:90%;box-sizing:border-box}
@media(max-width:860px){.plugin-admin-page-folo>.plugin-manage-panel{width:100%}}
/* v0.60.0 后续修正：核心 admin_plugin_page_html() 会把插件 HTML 自动包进 .plugin-panel-body
   （白底 + 边框 + 12px 内边距），这就是包在「会员管理 / 基本设置」外面那层多余大框。
   它不在插件 HTML 里，只能从 CSS 去掉；浅灰插件头 .admin-list-head 是它的兄弟节点，必须保留。
   只清边框/背景/内边距，保留 core 给的 margin-top:10px 让浅灰头与会员管理大框之间留出间距。 */
.plugin-admin-page-folo>.plugin-manage-panel>.plugin-panel-body{padding:0;border:0;border-radius:0;background:transparent}
.folo-admin-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.folo-admin-head h2{margin:0}
.folo-admin-meta{font-size:var(--font-size-xs);color:var(--text-subtle);white-space:nowrap}
.folo-admin-warn{margin:0 0 12px;padding:8px 10px;border:1px solid var(--danger-soft);border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger);font-size:var(--font-size-xs);line-height:1.6}
.folo-admin-form{display:block;margin:0;padding:0;max-width:none}
/* v0.57.0：每个小板块只有标题行是深色（浅灰）背景条，内容区恢复白底。
   两层大边框由 .folo-layer 负责（会员管理 / 基本设置），这里只管小节标题 */
.folo-admin-sec{display:block;box-sizing:border-box;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--line-soft)}
.folo-admin-sec:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:0}
.folo-admin-sec h3{margin:0 0 10px;padding:7px 10px;border-radius:var(--radius-sm);background:var(--line-soft);font-size:var(--font-size-sm);font-weight:700;color:var(--text)}
/* 两层大框：Folo 最外层一个边框，其下「会员管理」「基本设置」各一个大边框；
   会员管理在上（成员管理 + 准入门槛），基本设置在下（其余全部） */
.folo-layer{box-sizing:border-box;margin:0 0 14px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.folo-layer:last-child{margin-bottom:0}
.folo-layer-head{margin:0 0 12px;padding:0 0 8px;border-bottom:1px solid var(--line-soft);font-size:var(--font-size-md);font-weight:700;color:var(--text)}
.folo-frow{display:grid;grid-template-columns:124px minmax(0,1fr);align-items:center;gap:2px 12px;margin:0 0 10px}
.folo-frow:last-child{margin-bottom:0}
.folo-frow.is-top{align-items:start}
.folo-frow.is-top .folo-flabel{padding-top:1px}
.folo-frow.is-top .folo-fhint{margin-top:4px}
/* 「允许用户自设」副行：紧跟父项、缩进一点、标签淡色 + 左边一条竖线，一眼看出从属关系 */
.folo-frow.is-sub{margin-top:-4px;margin-bottom:12px}
.folo-frow.is-sub .folo-flabel{position:relative;padding-left:10px;font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-frow.is-sub .folo-flabel::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:2px;border-radius:1px;background:var(--line-soft)}
.folo-frow.is-sub .folo-fcheck{font-size:var(--font-size-xs);color:var(--text-muted)}
.folo-frow.is-sub .folo-fctl{flex-wrap:wrap;row-gap:4px}
.folo-flabel{font-size:var(--font-size-sm);line-height:1.6;color:var(--text);white-space:nowrap;overflow-wrap:normal;word-break:keep-all}
.folo-fctl{display:flex;align-items:center;gap:8px;min-width:0}
.folo-fctl>input[type=number]{flex:0 0 auto;width:96px;min-width:0;max-width:96px;box-sizing:border-box;height:30px;padding:0 8px}
.folo-fctl>input[type=text]{flex:0 1 420px;width:auto;min-width:0;max-width:420px;box-sizing:border-box;height:30px;padding:0 8px}
.folo-fctl>select{flex:0 1 auto;width:auto;min-width:140px;max-width:220px;box-sizing:border-box;height:30px;padding:0 6px}
.folo-fctl>textarea{flex:0 1 420px;width:auto;min-width:0;max-width:420px;box-sizing:border-box;padding:7px 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-sm);line-height:1.6;resize:vertical}
.folo-fcheck{display:flex;align-items:center;gap:6px;font-size:var(--font-size-sm);line-height:1.6;color:var(--text);cursor:pointer}
.folo-fcheck input[type=checkbox]{flex:0 0 auto;width:15px;height:15px;min-width:0;max-width:15px;margin:0;padding:0;accent-color:var(--brand)}
.folo-fhint{grid-column:2;font-size:var(--font-size-xxs);line-height:14px;color:var(--text-subtle)}
.folo-admin-actions{display:flex;align-items:center;gap:8px;margin-top:14px}
@media(max-width:720px){
.folo-frow{grid-template-columns:1fr;gap:4px}
.folo-flabel{white-space:normal}
.folo-fhint{grid-column:1}
.folo-fctl>input[type=text]{flex:1 1 100%;max-width:none}
.folo-fctl>textarea{flex:1 1 100%;max-width:none}
.folo-fctl>select{flex:1 1 auto;min-width:0;max-width:none;width:100%}
}
/* ===== 准入门槛：介绍页（v0.51.0） =====
   不显示任何动态内容，只讲「Folo 是什么 + 怎么加入」。
   主视觉用一张浅底卡承接标题与导语，下面按「条件 → 状态 → 申请 → 邀请码」四段往下排，
   每段之间留 14px，卡片圆角 10px（与订阅页的引用卡同一档）。 */
.folo-gate{padding-bottom:4px}
.folo-gate-hero{margin:0 0 14px;padding:26px 22px 22px;border:1px solid var(--line-soft);border-radius:10px;background:var(--bg);text-align:center}
.folo-gate-hero h1{margin:0 0 10px;font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.02em;color:var(--text)}
.folo-gate-intro{max-width:560px;margin:0 auto}
.folo-gate-intro p{margin:0 0 6px;font-size:var(--font-size-sm);line-height:1.8;color:var(--text-muted)}
.folo-gate-intro p:last-child{margin-bottom:0}
.folo-gate-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:14px 0 0}
.folo-gate-tags span{padding:3px 10px;border:1px solid var(--line-soft);border-radius:999px;background:var(--panel);font-size:var(--font-size-xxs);letter-spacing:.02em;color:var(--text-subtle)}
.folo-gate-sec{margin:0 0 14px}
.folo-gate-sec h2{margin:0 0 10px;font-size:var(--font-size-sm);font-weight:700;color:var(--text)}
.folo-gate-conds{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.folo-gate-conds li{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid var(--line-soft);border-radius:8px;background:var(--panel);font-size:var(--font-size-sm);line-height:1.6;color:var(--text-muted)}
.folo-gate-conds li b{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:18px;height:18px;margin-top:2px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:700}
.folo-gate-note{margin:9px 0 0;font-size:var(--font-size-xxs);line-height:1.6;color:var(--text-subtle)}
.folo-gate-card{padding:14px;border:1px solid var(--line-soft);border-radius:10px;background:var(--panel)}
.folo-gate-form textarea{box-sizing:border-box;width:100%;min-height:0;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--text);font-family:inherit;font-size:var(--font-size-sm);line-height:1.7;resize:vertical}
.folo-gate-form textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.folo-gate-acts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px}
button.folo-gate-btn{min-height:0;height:30px;max-height:30px;padding:0 16px;border-radius:6px;line-height:28px;font-size:var(--font-size-sm)}
.folo-gate-tip{font-size:var(--font-size-xxs);color:var(--text-subtle)}
.folo-gate-invite{display:flex;gap:8px;flex-wrap:wrap}
.folo-gate-invite input{flex:1 1 180px;min-width:0;box-sizing:border-box;height:30px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--text);font-family:inherit;font-size:var(--font-size-sm);letter-spacing:.04em}
.folo-gate-invite input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.folo-gate-state{display:flex;flex-direction:column;gap:5px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:10px;background:var(--panel);font-size:var(--font-size-sm);line-height:1.7;color:var(--text-muted)}
.folo-gate-state b{font-size:var(--font-size-sm);color:var(--text)}
.folo-gate-state.is-pending{border-color:var(--brand-soft);background:var(--brand-soft)}
.folo-gate-state.is-rejected{border-color:var(--danger-soft);background:var(--danger-soft)}
.folo-gate-quote{padding-left:9px;border-left:2px solid var(--line);font-size:var(--font-size-xs);color:var(--text-subtle)}
.folo-gate-mini{margin:2px 0 0}
button.folo-gate-link{min-height:0;height:auto;padding:0;border:0;background:none;color:var(--text-subtle);font-size:var(--font-size-xs);text-decoration:underline;cursor:pointer}
button.folo-gate-link:hover,button.folo-gate-link:active{background:none;color:var(--danger)}
/* v0.54.0 前台齿轮里的邀请码 */
.folo-gear-invite-tip{margin:4px 0 6px;font-size:var(--font-size-xxs);line-height:1.5;color:var(--text-subtle)}
.folo-gear-invite-form{display:grid;grid-template-columns:1fr auto;gap:5px}
.folo-gear-invite-form input{box-sizing:border-box;width:100%;height:24px;min-height:0;padding:0 6px;border:1px solid var(--line);border-radius:3px;background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-xs)}
.folo-gear-invite-form input[type=text]{grid-column:1/-1}
button.folo-gear-invite-btn{grid-column:1/-1;min-height:0;height:24px;max-height:24px;line-height:22px;padding:0 8px;border:1px solid var(--brand);border-radius:3px;background:var(--brand);color:var(--inverse-text);font-family:inherit;font-size:var(--font-size-xs);cursor:pointer}
button.folo-gear-invite-btn:hover{background:var(--brand-hover);color:var(--inverse-text)}
.folo-gear-invite-list{margin:7px 0 0;padding:0;list-style:none;font-size:var(--font-size-xxs);color:var(--text-subtle)}
.folo-gear-invite-list li{display:flex;justify-content:space-between;gap:6px;padding:2px 0}
.folo-gear-invite-list li.is-dead{opacity:.5}
/* v0.72.0：常驻的「我的邀请码 →」入口，靠右、与上面的码用虚线分开 */
.folo-gear-invite-list li.folo-gear-more{justify-content:flex-end;margin-top:4px;padding-top:5px;border-top:1px dashed var(--line-soft)}
.folo-gear-invite-list code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:var(--text)}
.folo-gear-invite-list a{color:var(--brand);text-decoration:none}
/* ===== 后台：成员管理与邀请码 ===== */
.folo-mhint{margin:8px 0 12px;font-size:var(--font-size-xs);line-height:1.6;color:var(--text-subtle)}
.folo-mcats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.folo-mcat{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:13px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-size:var(--font-size-sm);text-decoration:none}
.folo-mcat b{min-width:22px;padding:1px 6px;border-radius:999px;background:var(--bg);color:var(--text-subtle);font-size:var(--font-size-xxs);font-variant-numeric:tabular-nums;text-align:center}
.folo-mcat:hover{border-color:var(--brand);color:var(--brand);text-decoration:none}
.folo-mcat.is-on{border-color:var(--brand);background:var(--brand-soft)}
.folo-mcat.is-on b{background:var(--brand);color:var(--inverse-text)}
dialog.folo-mdlg{box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-width:min(860px,calc(100vw - 32px));max-height:min(76vh,760px);padding:0;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);box-shadow:0 16px 48px rgba(0,0,0,.24)}
dialog.folo-mdlg::backdrop{background:rgba(16,26,46,.45)}
.folo-mdlg-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line-soft);background:var(--panel)}
.folo-mdlg-head h3{margin:0;font-size:var(--font-size-md);font-weight:600}
.folo-mdlg-x{font-size:22px;line-height:1;color:var(--text-subtle);text-decoration:none}
.folo-mdlg-x:hover{color:var(--text)}
/* v0.55.0：showModal() 会把焦点自动落到这个关闭链接上，UA / 核心 a:focus-visible
   会画一圈焦点框（截图①那个方框）。关闭按钮不要这个外框 —— 选择器带元素名压过核心 a:focus-visible */
a.folo-mdlg-x:focus,a.folo-mdlg-x:focus-visible{outline:0;box-shadow:none}
.folo-mdlg-body{max-height:calc(76vh - 56px);overflow:auto;padding:12px 16px 16px}
.folo-fchecks{display:flex;gap:8px 16px;flex-wrap:wrap}
.folo-fchecks .folo-fcheck{white-space:nowrap}
/* v0.57.0：成员管理是「会员管理」大框里的小节，跟准入门槛并列，
   不再自带大外框；标题行同样用浅灰背景条（.folo-admin-head 在这里补上） */
.folo-mmembers{margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid var(--line-soft)}
.folo-mmembers .folo-admin-head{margin:0 0 12px;padding:7px 10px;border-radius:var(--radius-sm);background:var(--line-soft)}
.folo-mtabs{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--line-soft)}
.folo-mtab{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border:1px solid transparent;border-radius:999px;font-size:var(--font-size-xs);color:var(--text-muted);text-decoration:none}
.folo-mtab b{font-weight:600;color:var(--text-subtle);font-variant-numeric:tabular-nums}
.folo-mtab:hover{background:var(--bg);color:var(--text);text-decoration:none}
.folo-mtab.is-on{border-color:var(--line-soft);background:var(--bg);color:var(--text)}
.folo-mtab.is-on b{color:var(--brand)}
.folo-mtool{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.folo-msearch{display:flex;align-items:center;gap:6px;flex:1 1 260px}
.folo-msearch input{flex:1 1 auto;min-width:0;box-sizing:border-box;height:30px;padding:0 9px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-sm)}
.folo-mlink{font-size:var(--font-size-xs);color:var(--text-subtle)}
button.folo-mbtn{min-height:0;height:28px;max-height:28px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);line-height:26px;font-size:var(--font-size-xs);white-space:nowrap;cursor:pointer}
button.folo-mbtn:hover{background:var(--bg);color:var(--text)}
button.folo-mbtn.is-primary{border-color:var(--brand);background:var(--brand);color:var(--inverse-text)}
button.folo-mbtn.is-primary:hover{background:var(--brand-hover);color:var(--inverse-text)}
button.folo-mbtn.is-danger{border-color:var(--danger-soft);color:var(--danger)}
button.folo-mbtn.is-danger:hover{background:var(--danger-soft);color:var(--danger)}
.folo-mbulk{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.folo-mrow{display:grid;grid-template-columns:minmax(110px,.75fr) minmax(160px,1.5fr) minmax(300px,auto);align-items:start;gap:12px;padding:12px 0;border-top:1px solid var(--line-soft)}
.folo-mrow.is-slim{grid-template-columns:1fr auto;align-items:center}
.folo-mrow-note-label{display:block;margin-bottom:3px;font-size:var(--font-size-xxs);color:var(--text-subtle)}
/* v0.55.0 按标注图重排操作区：拒绝理由输入框占②那块宽区（跨两行），
   拒绝按钮在③、通过按钮在④，两个按钮在输入框右侧竖排。 */
.folo-mrow-acts input[type=text]{grid-column:1;grid-row:1 / span 2;box-sizing:border-box;width:100%;height:100%;min-height:62px;padding:0 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-xs)}
.folo-mrow-reply{display:block;font-size:var(--font-size-xxs);color:var(--text-subtle)}
.folo-mrow-main{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}
.folo-mrow-name{font-size:var(--font-size-sm);font-weight:600;color:var(--text);text-decoration:none}
.folo-mrow-name:hover{color:var(--brand)}
.folo-mrow-meta{font-size:var(--font-size-xxs);color:var(--text-subtle)}
.folo-mrow-when{font-size:var(--font-size-xxs);color:var(--text-disabled)}
.folo-mrow-note{font-size:var(--font-size-xs);line-height:1.6;color:var(--text-muted);overflow-wrap:anywhere}
.folo-mrow-acts{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:stretch;gap:6px;flex:1 1 auto;min-width:0}
.folo-mrow-acts button.folo-mrow-no{grid-column:2;grid-row:1}
.folo-mrow-acts button.folo-mrow-ok{grid-column:2;grid-row:2}
/* v0.57.0：已加入/已拒绝行的单个按钮（撤销资格/改为通过）放到操作列最右侧②处 */
.folo-mrow-acts button.folo-mrow-solo{grid-column:2;grid-row:1;justify-self:end}
/* 弹窗内四个分类的内容块：没选中的藏起来，JS 点 tab 就地切换，不整页跳转 */
.folo-mdlg-pane[hidden]{display:none}
.folo-mdlg-pane-title{margin:0 0 8px;font-size:var(--font-size-xs);font-weight:600;color:var(--text-subtle)}
/* 邀请码行的两个小表单（停用/删除）仍是横排，不受上面的审批 grid 影响 */
.folo-mrow-acts.is-inline{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;flex:0 0 auto}
.folo-mact{display:flex;align-items:center;gap:6px;margin:0}
.folo-mact input[type=text]{width:112px;box-sizing:border-box;height:28px;padding:0 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-xs)}
.folo-mrow.is-dead{opacity:.55}
.folo-mcode{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--font-size-sm);letter-spacing:.06em;color:var(--text)}
.folo-mempty{margin:12px 0;padding:18px;border:1px dashed var(--line);border-radius:var(--radius-sm);text-align:center;font-size:var(--font-size-sm);color:var(--text-subtle)}
.folo-invite-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.folo-invite-form label{display:flex;flex-direction:column;gap:3px;font-size:var(--font-size-xxs);color:var(--text-subtle)}
.folo-invite-form input{box-sizing:border-box;height:28px;padding:0 8px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text);font-family:inherit;font-size:var(--font-size-xs)}
.folo-invite-form label small{font-size:10px;color:var(--text-disabled)}
@media(max-width:720px){
.folo-gate-hero{padding:20px 14px}
.folo-gate-hero h1{font-size:22px}
.folo-mcats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.folo-mcat{padding:10px}
dialog.folo-mdlg{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}
.folo-mrow,.folo-mrow.is-slim{grid-template-columns:1fr;gap:8px}
.folo-mrow-acts{justify-content:flex-start;width:100%}
}
/* friend_links */
.friend-links-card{order:999}.friend-links-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.friend-links-title a{font-size:var(--font-size-sm);font-weight:400}.friend-links-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;margin:0}.friend-links-list li{min-width:0;border-bottom:none}.friend-links-list a{min-width:0;color:var(--text-muted);font-size:var(--font-size-sm)}.friend-links-list a:before{flex:0 0 6px}.friend-links-list a>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-links-list a:hover{color:var(--brand)}.friend-links-empty{margin:0;color:var(--text-subtle);font-size:var(--font-size-sm)}.friend-links-submit>p{color:var(--text-muted)}@media(max-width:600px){.friend-links-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* scroll_restore */
.scroll-restore-prompt{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:70;display:flex;align-items:center;gap:8px;max-width:min(360px,calc(100vw - 32px));padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text-muted);font-size:var(--font-size-xs);box-shadow:0 7px 22px var(--shadow-medium)}.scroll-restore-prompt[hidden]{display:none}.scroll-restore-action,.scroll-restore-close{min-height:28px;padding:3px 8px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--text-muted);font-size:var(--font-size-xs);cursor:pointer}.scroll-restore-action{border-color:var(--brand);color:var(--brand)}.scroll-restore-close{width:28px;min-width:28px;padding:0}@media(max-width:720px){.scroll-restore-prompt{right:10px;bottom:calc(10px + env(safe-area-inset-bottom))}}
