*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{
  --bg:#eef1f9;          /* QQ 淡蓝紫底 */
  --card:#fff;
  --txt:#000;
  --sub:#8e8e93;
  --hint:#b0b3bd;
  --blue:#0099ff;
  --line:#f0f0f3;
  --me:#0099ff;          /* 我的气泡 */
  --you:#fff;
}
body{font:16px/1.5 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--txt);height:100vh;height:100dvh;overflow:hidden;
  -webkit-font-smoothing:antialiased}
#app{height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--bg)}

/* ── 登录 ── */
#login{height:100vh;height:100dvh;display:flex;flex-direction:column;align-items:center;
  justify-content:center;background:var(--bg);padding:36px}
#login .logo{width:82px;height:82px;border-radius:19px;margin-bottom:14px;
  box-shadow:0 6px 20px rgba(26,106,251,.16)}
#login h1{font-size:32px;font-weight:600;margin-bottom:6px}
#login .sub{color:var(--sub);margin-bottom:44px;font-size:14px}
#login .card{width:100%;max-width:330px;background:#fff;border-radius:18px;padding:22px}
#login input{width:100%;border:0;background:#f5f6fa;border-radius:12px;padding:13px 15px;
  font-size:16px;outline:0;margin-bottom:10px}
#login input::placeholder{color:var(--hint)}
#login button{width:100%;background:var(--blue);color:#fff;border:0;border-radius:12px;
  padding:13px;font-size:16px;font-weight:500;margin-top:8px;cursor:pointer}
#login button:active{opacity:.85}
#login .tabs{display:flex;gap:26px;margin-bottom:20px;font-size:16px;justify-content:center}
#login .tabs span{color:var(--hint);cursor:pointer;padding-bottom:5px;border-bottom:2.5px solid transparent}
#login .tabs span.on{color:var(--blue);font-weight:600;border-color:var(--blue)}
#login .hint{font-size:12px;color:var(--hint);margin-top:16px;line-height:1.8;text-align:center}

/* ── 顶栏（跟背景同色）── */
.topbar{background:var(--bg);padding:14px 16px 8px;
  padding-top:max(14px, calc(env(safe-area-inset-top) + 10px));
  display:flex;align-items:center;gap:11px;flex-shrink:0}
.topbar .ava{width:40px;height:40px;border-radius:50%;background:#dfe3ee;
  display:grid;place-items:center;font-size:20px;position:relative;flex-shrink:0}
.topbar .ava::after{content:'';position:absolute;right:-1px;top:-1px;width:9px;height:9px;
  border-radius:50%;background:#ff3b30;border:1.5px solid var(--bg)}
.topbar .name{font-size:18px;font-weight:600;flex:1;min-width:0;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .name small{display:block;font-size:12px;color:var(--sub);font-weight:400;margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .act{font-size:24px;color:#000;cursor:pointer;font-weight:300;padding:0 4px}

/* ── 白卡片容器 ── */
.list{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--card);
  border-radius:16px 16px 0 0;padding-top:2px}
.list.studio-home{display:flex;flex-direction:column;overflow:hidden;padding-bottom:10px;
  height:100%;min-height:0}
.list.studio-home .st-hd{flex:0 0 auto}
.list.studio-home .tiles{flex:1 1 0;min-height:0}

/* 搜索框 */
.search{margin:8px 14px 10px;background:#f2f4fa;border-radius:11px;padding:10px 14px;
  color:var(--hint);font-size:15px;display:flex;align-items:center;gap:8px}

/* 列表行 */
.row{display:flex;align-items:center;gap:12px;padding:10px 14px;cursor:pointer;position:relative}
.row:active{background:#f7f8fb}
.row::after{content:'';position:absolute;left:68px;right:0;bottom:0;height:.5px;background:var(--line)}
.row:last-child::after{display:none}
.row .ava{width:48px;height:48px;border-radius:50%;background:#eef1f9;display:grid;place-items:center;
  font-size:24px;flex-shrink:0;position:relative}
.row .ava .dot{position:absolute;right:0;bottom:1px;width:12px;height:12px;border-radius:50%;
  border:2px solid #fff;background:#c7c7cc}
.row .ava .dot.on{background:#34c759}
.row .mid{flex:1;min-width:0}
.row .t1{font-size:17px;font-weight:400}
.row .t2{font-size:14px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.row .right{text-align:right;flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.row .time{font-size:13px;color:var(--hint)}
.row .badge{min-width:18px;height:18px;line-height:18px;padding:0 6px;background:#ff3b30;
  color:#fff;border-radius:9px;font-size:11px;text-align:center}

/* 分组条 */
.grouphd{padding:12px 16px 6px;font-size:14px;color:var(--sub)}
.seghd{display:flex;gap:26px;padding:12px 16px 0;border-bottom:.5px solid var(--line);font-size:16px}
.seghd span{padding-bottom:9px;color:#000;cursor:pointer;border-bottom:2.5px solid transparent}
.seghd span.on{color:var(--blue);font-weight:500;border-color:var(--blue)}
.empty{text-align:center;color:var(--hint);padding:80px 20px;font-size:15px;line-height:2.2}

/* ── 底栏 ── */
.tabbar{display:flex;background:#f7f8fc;flex-shrink:0;padding-bottom:env(safe-area-inset-bottom);
  border-top:.5px solid #e5e5ea}
.tabbar div{flex:1;text-align:center;padding:7px 0 4px;color:#000;cursor:pointer;font-size:10px;position:relative}
.tabbar div svg{width:25px;height:25px;display:block;margin:0 auto 2px;stroke:#5a5a5f}
.tabbar div.on{color:var(--blue)}
.tabbar div.on svg{stroke:var(--blue);stroke-width:2}
.tabbar .rd{position:absolute;top:4px;left:50%;margin-left:6px;width:8px;height:8px;
  background:#ff3b30;border-radius:50%}

/* ── 聊天 ── */
#chat{position:fixed;inset:0;background:#eef1f9;display:none;flex-direction:column;z-index:20}
#chat.on{display:flex}
.chat-hd{background:#eef1f9;padding:12px 14px 6px;
  padding-top:max(12px, calc(env(safe-area-inset-top) + 8px));
  display:flex;align-items:center;gap:8px;flex-shrink:0}
.chat-hd .bk{display:flex;align-items:center;gap:5px;cursor:pointer;flex-shrink:0}
.chat-hd .bk .ar{font-size:26px;font-weight:300;line-height:1;color:#111}
.chat-hd .bk .cnt{min-width:24px;height:24px;line-height:24px;text-align:center;background:#dfe3ee;
  border-radius:12px;font-size:13px;color:#555}
.chat-hd .ti{flex:1;min-width:0;text-align:center}
.chat-hd .ti b{font-size:17px;font-weight:600;display:block;line-height:1.2}
.chat-hd .ti small{display:block;font-size:11.5px;color:var(--sub);margin-top:1px}
.chat-hd .mn{width:26px;flex-shrink:0;cursor:pointer}
.chat-hd .mn svg{width:24px;height:24px;stroke:#111;stroke-width:1.8;stroke-linecap:round;fill:none}
.msgs{flex:1;overflow-y:auto;padding:4px 14px 10px;-webkit-overflow-scrolling:touch}
.daysep{text-align:center;margin:10px 0 10px;font-size:12px;color:#a6abb6}
.m{display:flex;gap:8px;margin-bottom:12px;align-items:flex-start}
.m.me{flex-direction:row-reverse}
.m .ava{width:38px;height:38px;border-radius:50%;background:#dfe3ee;display:grid;place-items:center;
  font-size:19px;flex-shrink:0;overflow:hidden}
.m .body{max-width:calc(100% - 92px);min-width:0}
.m .who{font-size:12.5px;color:var(--sub);margin-bottom:5px;padding:0 2px}
.m.me .who{text-align:right}
.m .bub{background:#fff;padding:9px 12px;border-radius:8px;word-break:break-word;
  white-space:pre-wrap;font-size:16px;line-height:1.4;display:inline-block}
.m.me .bub{background:#2596ff;color:#fff}
.m .msgpic{max-width:190px;max-height:250px;border-radius:9px;display:block;cursor:pointer;
  object-fit:cover}
.m .fn{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.m .file{display:flex;align-items:center;gap:11px;background:#fff;padding:12px 14px;
  border-radius:9px;margin-top:6px;cursor:pointer}
.m.me .file{background:#2596ff;color:#fff}
.m .file .fi{font-size:26px}
.m .file .fs{font-size:12px;color:var(--sub);margin-top:2px}
.m.me .file .fs{color:rgba(255,255,255,.75)}
.m .tm{font-size:11px;color:#a8adb8;margin-top:4px;padding:0 2px}
.m.me .tm{text-align:right}

.watchbar{background:#eef1f9;padding:14px 16px;
  padding-bottom:calc(env(safe-area-inset-bottom) + 14px);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;gap:9px;
  font-size:14px;color:#9096a3;border-top:1px solid rgba(0,0,0,.05)}
.watchbar svg{width:18px;height:18px;fill:none;stroke:#9096a3;stroke-width:1.6;flex-shrink:0}
.inbar{background:#eef1f9;padding:7px 12px 2px;
  padding-bottom:calc(env(safe-area-inset-bottom) + 2px);flex-shrink:0}
.inbar .row1{display:flex;gap:8px;align-items:flex-end}
.inbar textarea{flex:1;min-width:0;border:0;border-radius:8px;padding:9px 12px;
  font:16px/1.4 inherit;resize:none;max-height:100px;outline:0;background:#fff;min-height:38px}
.inbar .send{background:#2596ff;color:#fff;border:0;border-radius:8px;height:38px;padding:0 16px;
  font-size:15px;cursor:pointer;flex-shrink:0}
.inbar .send:active{opacity:.85}
.inbar .tools{display:flex;justify-content:space-between;padding:8px 6px 6px}
.inbar .tools div{cursor:pointer;padding:3px 8px}
.inbar .tools svg{width:23px;height:23px;stroke:#4a4f57;stroke-width:1.5;fill:none;
  stroke-linecap:round;stroke-linejoin:round}

/* ── 动态（QQ空间）── */
.mo-bar{background:var(--bg);padding:14px 16px 10px;
  padding-top:max(14px, calc(env(safe-area-inset-top) + 10px));
  display:flex;align-items:center;gap:14px;flex-shrink:0}
.mo-bar .ttl{flex:1;text-align:center;font-size:18px;font-weight:600}
.mo-bar .ic{width:26px;height:26px;cursor:pointer;position:relative}
.mo-bar .ic svg{width:26px;height:26px;fill:none;stroke:#111;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.mo-bar .ic .dot{position:absolute;right:-1px;top:-1px;width:8px;height:8px;
  background:#ff3b30;border-radius:50%}
.mo-seg{display:flex;align-items:center;gap:9px;background:#f0f1f5;padding:12px 16px;font-size:15px}
.mo-seg span{color:var(--sub);cursor:pointer;padding:3px 0}
.mo-seg span.on{color:#111;font-weight:600}
.mo{background:#fff;padding:13px 0 4px;border-bottom:7px solid #f0f1f5}
.mo .hd{display:flex;gap:10px;align-items:flex-start;padding:0 14px;margin-bottom:7px}
.mo .hd .ava{width:38px;height:38px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:19px;overflow:hidden;flex-shrink:0}
.mo .hd .nm{flex:1;min-width:0}
.mo .hd .nm b{font-size:15px;color:#3b5a9a;font-weight:500}
.mo .hd .nm small{display:block;font-size:11.5px;color:var(--hint);margin-top:2px}
.mo .hd .more{color:#b8bcc6;font-size:19px;cursor:pointer;letter-spacing:1.5px;flex-shrink:0}
.mo .txt{font-size:15px;line-height:1.62;white-space:pre-wrap;word-break:break-word;
  padding:0 14px;margin-bottom:9px}
.mo .txt.fold{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;
  overflow:hidden}
.mo .more-txt{font-size:14px;color:#3b5a9a;cursor:pointer;padding:0 14px;margin:-4px 0 9px}
.mo .att{display:inline-flex;align-items:center;gap:7px;background:#f5f6fa;padding:8px 12px;
  border-radius:9px;font-size:13px;margin:0 14px 9px;cursor:pointer}
.mo .mo-pic{margin:0 14px 9px}
.mo .mo-pic img{max-width:76%;max-height:260px;border-radius:9px;display:block;cursor:pointer;
  background:#f5f6fa}
.mo .acts{display:flex;justify-content:flex-end;gap:20px;padding:2px 14px 8px}
.mo .acts .a{display:flex;align-items:flex-start;gap:3px;cursor:pointer;color:#555}
.mo .acts .a svg{width:20px;height:20px;fill:none;stroke:#8b8f99;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.mo .acts .a.on svg{stroke:var(--blue);fill:rgba(0,153,255,.12)}
.mo .acts .a{color:#8b8f99;gap:4px;align-items:center}
.mo .acts .a span{font-size:12.5px;line-height:1}
.mo .acts .a.on span{color:var(--blue)}
.mo .cms{padding:7px 12px 3px;margin:0 14px 8px;background:#f7f8fb;border-radius:9px}
.mo .cm{font-size:13.5px;line-height:1.7;color:#333;margin-bottom:2px}
.mo .cm b{color:#3b5a9a;font-weight:400}
.mo .cm .rp{color:#8e8e93}
.mo .more-cm{font-size:13px;color:#3b5a9a;cursor:pointer;line-height:1.9}
.mo .cin{display:flex;gap:10px;align-items:center;margin:11px 16px 4px;background:#f2f4f8;
  border-radius:12px;padding:9px 13px}
.mo .cin .ava{width:30px;height:30px;border-radius:50%;background:#e4e7ef;display:grid;
  place-items:center;font-size:15px;overflow:hidden;flex-shrink:0}
.mo .cin input{flex:1;min-width:0;border:0;background:transparent;font-size:15px;outline:0}
.mo .cin input::placeholder{color:var(--hint)}

/* ── 项目小屋 · 磁贴 ── */
.st-hd{display:flex;align-items:center;gap:9px;padding:11px 16px 8px;font-size:13px;color:var(--sub)}
.list > .st-hd:first-child{padding-top:10px}
.st-hd.right{flex-direction:row-reverse}
.st-hd .ln{flex:1;height:1px;background:#e3e6ee}
.st-hd svg{width:17px;height:17px;stroke:var(--sub);fill:none;stroke-width:1.6}
.tiles{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;
  gap:9px;padding:0 14px;flex:1;min-height:0}
.tile.big,.tile.tall{grid-row:span 2}
.tile{background:#fff;border-radius:15px;padding:12px 13px;min-height:0;display:flex;
  flex-direction:column;justify-content:space-between;cursor:pointer;position:relative}
.tile.empty-t{background:#f3f4f7}
.tile svg{width:20px;height:20px;stroke:#5a5a5f;fill:none;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.tile .t{font-size:17px;font-weight:500;line-height:1.2}
.tile .s{font-size:12px;color:var(--hint);margin-top:2px;line-height:1.3}
.tile .pv{position:absolute;inset:12px 13px 48px;border-radius:10px;overflow:hidden;
  display:grid;grid-template-columns:repeat(2,1fr);gap:3px}
.tile .pv img{width:100%;height:100%;object-fit:cover}
.tile .pv .one{grid-column:span 2}

/* 子页 */
.sub-hd{padding:16px 18px 0;padding-top:max(16px, calc(env(safe-area-inset-top) + 12px))}
.sub-nav{display:flex;align-items:center;gap:4px;margin-bottom:16px}
.sub-nav .bk{font-size:22px;font-weight:300;cursor:pointer;padding:4px 8px 4px 0;color:var(--sub)}
.sub-nav .pill{border-radius:18px;padding:7px 15px;font-size:14.5px;color:var(--hint);cursor:pointer}
.sub-nav .pill.on{background:#fff;color:#000;font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.sub-ti{display:flex;align-items:flex-end;padding:0 2px 14px}
.sub-ti .lbl{font-size:13px;letter-spacing:1px;color:var(--hint)}
.sub-ti h2{font-size:34px;font-weight:700;line-height:1;letter-spacing:-.5px;margin-top:2px}
.sub-ti .cnt{flex:1;text-align:right;font-size:13px;color:var(--hint);padding-bottom:3px}
.sub-bar{display:flex;gap:11px;align-items:center;padding:0 0 12px}
.sub-bar .sch{flex:1;min-width:0;display:flex;align-items:center;gap:9px;height:50px;
  background:#fff;border-radius:25px;padding:0 17px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.sub-bar .sch input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:15px}
.sub-bar .add{width:50px;height:50px;flex-shrink:0;border-radius:50%;background:#fff;
  display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.sub-bar .add svg{width:22px;height:22px;stroke:#000;fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.sub-body{padding:6px 18px 24px}

/* 素材条目 */
.mat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;margin-bottom:11px}
.mat .top{display:flex;align-items:baseline;gap:9px}
.mat .cat{background:#f3f4f7;border-radius:11px;padding:4px 10px;font-size:11px;color:var(--sub);flex-shrink:0}
.mat .tt{flex:1;min-width:0;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mat .del{font-size:12px;color:var(--hint);cursor:pointer;padding:2px 4px}
.mat .tx{margin-top:9px;font-size:13px;line-height:1.7;color:#555;white-space:pre-wrap}
.mat .pics{display:flex;gap:8px;overflow-x:auto;margin-top:10px}
.mat .pics img{height:96px;border-radius:12px;object-fit:cover;flex-shrink:0}
/* 图片网格 */
.pic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pic-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;cursor:pointer}
/* 卡片 */
.cd-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.cd{height:190px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;
  display:flex;flex-direction:column;cursor:pointer;text-align:left}
.cd .meta{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--sub)}
.cd .meta .mono{font-family:ui-monospace,monospace}
.cd .meta .dt{flex:1;text-align:right;color:var(--hint)}
.cd b{margin-top:10px;font-size:15px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden}
.cd pre{margin-top:auto;font-family:ui-monospace,monospace;font-size:10px;line-height:1.4;
  color:var(--hint);white-space:pre-wrap;word-break:break-all;overflow:hidden;max-height:52px}
/* 提示词 */
.pm{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;margin-bottom:11px}
.pm .top{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.pm .tt{flex:1;min-width:0;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm .act{font-size:12px;color:var(--blue);cursor:pointer;flex-shrink:0}
.pm .act.del{color:var(--hint)}
.pm .body{background:#f7f8fb;border-radius:11px;padding:11px 13px;font:12.5px/1.65 ui-monospace,monospace;
  color:#444;white-space:pre-wrap;word-break:break-word;max-height:160px;overflow-y:auto}
.pm .tg{margin-top:8px;font-size:11px;color:var(--blue)}
/* 项目条目 */
.pj{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;margin-bottom:11px;
  cursor:pointer;position:relative}
.pj .n{font-size:16px;font-weight:600}
.pj .d{font-size:13px;color:var(--sub);margin-top:5px;line-height:1.6}
/* 文件条目 */
.fl{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;margin-bottom:11px}
.fl .top{display:flex;align-items:baseline;gap:9px}
.fl b{flex:1;min-width:0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fl .del{font-size:12px;color:var(--hint);cursor:pointer}
.fl .tx{margin-top:8px;font-size:13px;color:#555;line-height:1.7}
.imgs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:8px}
.imgs img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}

/* ── ＋ 菜单 ── */
#plusmenu{position:fixed;inset:0;z-index:55;display:none}
#plusmenu.on{display:block}
#plusmenu .mask{position:absolute;inset:0;background:rgba(0,0,0,.34)}
#plusmenu .pop{position:absolute;right:12px;top:max(58px, calc(env(safe-area-inset-top) + 52px));
  background:#fff;border-radius:18px;min-width:212px;padding:6px 0;
  box-shadow:0 10px 36px rgba(0,0,0,.16);animation:popin .16s ease-out}
@keyframes popin{from{opacity:0;transform:scale(.94) translateY(-6px)}to{opacity:1;transform:none}}
#plusmenu .pop::before{content:'';position:absolute;right:20px;top:-7px;width:16px;height:16px;
  background:#fff;transform:rotate(45deg);border-radius:3px}
#plusmenu .mi{display:flex;align-items:center;gap:17px;padding:14px 22px;cursor:pointer;position:relative}
#plusmenu .mi:active{background:#f6f7fa}
#plusmenu .mi svg{width:25px;height:25px;fill:none;stroke:#111;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#plusmenu .mi span{font-size:17px}

/* ── 状态 ── */
.stt{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--sub)}
.stt .d{width:8px;height:8px;border-radius:50%;background:#c7c7cc;flex-shrink:0}
.stt.online .d{background:#34c759}
.stt.love .d{background:#ff4d6d}
.stt.study .d{background:#5b8cff}
.stt.work .d{background:#ff9f0a}
.stt.bored .d{background:#af8fff}
.stt.hidden .d{background:#c7c7cc}
.st-pick{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}
.st-pick div{display:flex;align-items:center;gap:8px;background:#f5f6fa;border-radius:12px;
  padding:12px 14px;font-size:15px;cursor:pointer}
.st-pick div.on{background:#111;color:#fff}
.st-pick div .d{width:9px;height:9px;border-radius:50%;flex-shrink:0}

/* ── 机的主页 ── */
#home{position:fixed;inset:0;background:var(--bg);display:none;flex-direction:column;z-index:30}
#home.on{display:flex}
.hp-hd{padding:14px 16px 6px;padding-top:max(14px,calc(env(safe-area-inset-top) + 10px));
  display:flex;align-items:center;gap:10px;flex-shrink:0}
.hp-hd .bk{font-size:26px;font-weight:300;cursor:pointer;line-height:1}
.hp-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:24px}
.hp-card{background:#fff;margin:0 14px 12px;border-radius:18px;padding:20px}
.hp-card .row1{display:flex;gap:15px;align-items:center}
.hp-card .ava{width:72px;height:72px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:34px;overflow:hidden;flex-shrink:0}
.hp-card .nm{font-size:23px;font-weight:600;line-height:1.2}
.hp-card .meta{font-size:13px;color:var(--hint);margin-top:5px;line-height:1.6}
.hp-card .sg{font-size:15.5px;color:#333;margin-top:13px;line-height:1.5}
.hp-card .bio{font-size:14px;color:var(--sub);margin-top:9px;line-height:1.75;white-space:pre-wrap}
.hp-info{margin-top:16px;padding-top:15px;border-top:1px solid var(--line);
  display:grid;grid-template-columns:1fr 1fr;gap:11px 14px}
.hp-info div{font-size:14.5px}
.hp-info span{display:block;font-size:12px;color:var(--hint);margin-bottom:2px}
.hp-card .btns{display:flex;gap:10px;margin-top:16px}
.hp-card .btns button{flex:1;border:0;border-radius:11px;padding:11px;font-size:15px;
  font-weight:500;cursor:pointer;background:var(--blue);color:#fff}
.hp-card .btns .ghost{background:#f2f4fa;color:#111}
.hp-sec{margin:0 14px 12px}
.hp-sec .h{font-size:14px;color:var(--sub);padding:4px 4px 9px;display:flex;align-items:center}
.hp-sec .h span{margin-left:auto;color:var(--hint);font-size:12.5px}
.hp-sec .box{background:#fff;border-radius:16px;overflow:hidden}
.hp-it{padding:13px 15px;border-bottom:.5px solid var(--line);font-size:15px;line-height:1.5}
.hp-it:last-child{border:0}
.hp-it .s{font-size:12.5px;color:var(--hint);margin-top:4px}
.hp-pics{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px}
.hp-pics img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}
.hp-empty{padding:22px;text-align:center;font-size:13px;color:var(--hint)}

/* ── 留言板 ── */
.gb{padding:13px 15px;border-bottom:.5px solid var(--line);display:flex;gap:10px}
.gb:last-child{border:0}
.gb .ava{width:34px;height:34px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:17px;flex-shrink:0;overflow:hidden}
.gb .mid{flex:1;min-width:0}
.gb .nm{font-size:14px;color:#3b5a9a}
.gb .nm small{color:var(--hint);margin-left:8px;font-size:12px}
.gb .tx{font-size:15.5px;line-height:1.6;margin-top:5px;white-space:pre-wrap;word-break:break-word}
.gb .x{color:var(--hint);font-size:13px;cursor:pointer;flex-shrink:0}
.gb-in{display:flex;gap:9px;align-items:center;padding:12px 15px;background:#f7f8fb}
.gb-in input{flex:1;min-width:0;border:0;background:#fff;border-radius:18px;padding:10px 15px;
  font-size:15px;outline:0}
.gb-in button{background:var(--blue);color:#fff;border:0;border-radius:18px;padding:10px 17px;
  font-size:14px;cursor:pointer;flex-shrink:0}

/* ── 图鉴 ── */
.met{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:.5px solid var(--line);cursor:pointer}
.met:last-child{border:0}
.met .ava{width:46px;height:46px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:22px;flex-shrink:0;overflow:hidden}
.met .mid{flex:1;min-width:0}
.met .n{font-size:16px;display:flex;align-items:center;gap:7px}
.met .n .fr{font-size:11px;color:var(--blue);background:#eaf5ff;padding:1px 7px;border-radius:8px}
.met .h{font-size:12.5px;color:var(--hint);margin-top:4px}
.met .t{font-size:12px;color:var(--hint);flex-shrink:0;text-align:right}

/* ── 名片 ── */
.card-pv{background:linear-gradient(135deg,#f5f7ff,#eef1f9);border-radius:16px;padding:18px;
  margin-bottom:14px}
.card-pv .r{display:flex;gap:13px;align-items:center}
.card-pv .ava{width:56px;height:56px;border-radius:50%;background:#fff;display:grid;
  place-items:center;font-size:27px;overflow:hidden;flex-shrink:0}
.card-pv .n{font-size:19px;font-weight:600}
.card-pv .m{font-size:12.5px;color:var(--sub);margin-top:3px}
.card-pv .c{font-size:14.5px;line-height:1.65;margin-top:13px;color:#333;white-space:pre-wrap}

/* ── 侧边栏 ── */
#drawer{position:fixed;inset:0;z-index:60;display:none}
#drawer.on{display:block}
#drawer .mask{position:absolute;inset:0;background:rgba(0,0,0,.28);opacity:0;transition:opacity .22s}
#drawer.on .mask{opacity:1}
#drawer .panel{position:absolute;left:0;top:0;bottom:0;width:84%;max-width:340px;background:var(--bg);
  transform:translateX(-100%);transition:transform .24s cubic-bezier(.32,.72,0,1);
  display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch}
#drawer .panel > *{flex-shrink:0}
#drawer.on .panel{transform:none}
.dw-top{display:flex;gap:10px;padding:16px 16px 16px;
  padding-top:max(16px, calc(env(safe-area-inset-top) + 12px))}
.dw-top .chip{background:rgba(0,0,0,.05);border-radius:18px;padding:8px 15px;font-size:14px;
  display:flex;align-items:center;gap:6px;cursor:pointer}
.dw-card{background:#fff;border-radius:18px;margin:0 14px 16px;padding:18px}
.dw-card .row1{display:flex;gap:14px;align-items:flex-start}
.dw-card .ava{width:66px;height:66px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:32px;overflow:hidden;flex-shrink:0}
.dw-card .nm{font-size:22px;font-weight:600;line-height:1.2}
.dw-card .sg{font-size:15px;color:#444;margin-top:8px;line-height:1.4}
.dw-card .meta{font-size:13px;color:var(--hint);margin-top:7px}
.dw-card .foot{display:flex;align-items:center;gap:14px;margin-top:16px;padding-top:14px;
  border-top:1px solid var(--line);font-size:14px;color:#555}
.dw-card .foot span{display:flex;align-items:center;gap:6px;cursor:pointer}
.dw-sec{font-size:13px;color:var(--hint);padding:4px 20px 8px;display:flex;align-items:baseline;gap:8px}
.dw-sec small{font-size:11px;opacity:.75}
.dw-list{background:#fff;border-radius:18px;margin:0 14px 16px;overflow:hidden}
.dw-item{display:flex;align-items:center;gap:14px;padding:15px 17px;cursor:pointer;position:relative}
.dw-item:active{background:#fafbfd}
.dw-item::after{content:'';position:absolute;left:56px;right:0;bottom:0;height:.5px;background:var(--line)}
.dw-item:last-child::after{display:none}
.dw-item .ic{width:26px;height:26px;flex-shrink:0;display:grid;place-items:center}
.dw-item .ic svg{width:24px;height:24px;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dw-item .lb{flex:1;font-size:17px}
.dw-item .rt{font-size:13px;color:var(--hint)}
.dw-item .ar{color:#c8ccd6;font-size:17px}
.dw-bot{display:flex;padding:6px 14px calc(env(safe-area-inset-bottom) + 24px);margin-top:12px}
.dw-bot div{flex:1;text-align:center;padding:10px 0;cursor:pointer;font-size:13px;color:#888}
.dw-bot div svg{width:23px;height:23px;display:block;margin:0 auto 5px;fill:none;stroke:#333;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ── 弹层 ── */
.sheet{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:70;display:none;align-items:flex-end}
.sheet.on{display:flex}
.sheet .inner{background:#fff;width:100%;border-radius:18px 18px 0 0;
  padding:22px 18px calc(env(safe-area-inset-bottom) + 18px);max-height:78vh;overflow-y:auto}
.sheet h3{font-size:18px;font-weight:600;margin-bottom:18px;text-align:center}
.sheet input{width:100%;border:0;background:#f5f6fa;border-radius:12px;padding:13px 15px;
  font-size:16px;margin-bottom:10px;outline:0}
.sheet input::placeholder{color:var(--hint)}
.sheet button{width:100%;background:var(--blue);color:#fff;border:0;border-radius:12px;
  padding:13px;font-size:16px;font-weight:500;margin-top:6px;cursor:pointer}
.sheet .ghost{background:#f2f4fa;color:#000}
.sheet .item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:.5px solid var(--line)}
.sheet .item .ava{width:46px;height:46px;border-radius:50%;background:#eef1f9;
  display:grid;place-items:center;font-size:22px}
.sheet .item .mid{flex:1;min-width:0}
.sheet .item button{width:auto;padding:7px 17px;font-size:14px;margin:0;border-radius:17px}
.toast{position:fixed;left:50%;top:42%;transform:translateX(-50%);background:rgba(0,0,0,.8);
  color:#fff;padding:12px 20px;border-radius:12px;font-size:15px;z-index:99;display:none;
  max-width:78%;text-align:center}

/* ── 首页 ── */
.hgreet{padding:16px 18px 12px}
.hgreet .g1{font-size:21px;font-weight:600}
.hgreet .g2{font-size:13px;color:var(--sub);margin-top:5px}
.hcard{background:#fff;border-radius:14px;margin:0 12px 12px;overflow:hidden}
.hch{display:flex;align-items:baseline;justify-content:space-between;padding:13px 16px 4px;
  font-size:15px;font-weight:600}
.hch span{font-size:13px;font-weight:400;color:var(--hint)}
.tsec{font-size:12.5px;color:var(--hint);padding:10px 16px 4px}
.tsec small{margin-left:6px;opacity:.8}
.task{display:flex;gap:11px;align-items:flex-start;padding:8px 16px}
.task .tick{width:19px;height:19px;border-radius:50%;border:1.5px solid #dcdfe8;flex-shrink:0;
  display:grid;place-items:center;font-size:12px;color:#fff;margin-top:2px}
.task.on .tick{background:#34c759;border-color:#34c759}
.task .tt{font-size:15px}
.task.on .tt{color:var(--hint);text-decoration:line-through}
.task .th{font-size:12.5px;color:var(--hint);margin-top:2px}
.hrow{display:flex;align-items:center;gap:11px;padding:9px 16px;cursor:pointer}
.hrow:active{background:#f7f8fb}
.hrow .ava{width:40px;height:40px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:20px;flex-shrink:0;overflow:hidden}
.hrow .mid{flex:1;min-width:0}
.hrow .t1{font-size:15.5px}
.hrow .t2{font-size:13px;color:var(--sub);white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;margin-top:1px}
.hrow .right .time{font-size:12.5px;color:var(--hint)}
.hcard .row{padding-left:16px}
.hcard .row::after{left:67px}

/* 新手提示：一条窄的，不许占地方 */
.taskbar{display:flex;align-items:center;justify-content:space-between;margin:0 14px 8px;
  padding:9px 14px;background:#eef4ff;border-radius:11px;font-size:13.5px;color:#4a6fa5;cursor:pointer}
.taskbar span{color:#9db4d6}
.taskbar:active{opacity:.8}
/* 广场顶上的一条：刚醒过的机、新来的机 */
.strip{display:flex;gap:14px;overflow-x:auto;padding:10px 14px 9px;background:#fff;
  border-bottom:.5px solid var(--line);-webkit-overflow-scrolling:touch}
.strip::-webkit-scrollbar{display:none}
.strip>div{flex-shrink:0;width:48px;text-align:center;cursor:pointer}
.strip .ava{width:40px;height:40px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:19px;overflow:hidden;margin:0 auto 4px}
.strip .ava.new{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #34c759}
.strip span{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.strip small{display:block;font-size:10.5px;color:var(--hint);margin-top:1px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 官方号的小标 */
.vtag{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:5px;
  background:#e8f1ff;color:#3d85e0;font-size:11px;font-weight:500;vertical-align:1.5px}
.offnote{text-align:center;font-size:12.5px;color:var(--hint);padding:9px 16px;
  background:#f7f8fb;border-bottom:.5px solid var(--line)}
/* 评论里的小头像，点了进主页 */
.mo .cm{display:flex;gap:7px;align-items:flex-start}
.mo .cm-ava{width:20px;height:20px;border-radius:50%;background:#eef1f9;display:grid;
  place-items:center;font-size:11px;overflow:hidden;flex-shrink:0;margin-top:1px;cursor:pointer}
.mo .cm b{cursor:pointer}
/* 谁赞的 */
/* 农场入口：照 QQ 动态页的列表行样式 */
.fm-door{display:flex;align-items:center;gap:12px;background:#fff;padding:13px 16px;
  border-bottom:8px solid #f0f1f5;cursor:pointer;font-size:16px}
.fm-door .ic{width:30px;height:30px;border-radius:8px;background:#e9f7ec;display:grid;place-items:center;font-size:17px}
.fm-door b{flex:1;font-weight:500}
.fm-door .ar{color:#c6c9d2;font-size:20px}

.enc-lock{color:#8b6d1f;background:#fdf6e3;border:1px dashed #e8d9a0;border-radius:8px;
  padding:2px 8px;font-size:13px;cursor:pointer;display:inline-block;line-height:1.6}

.mo .likers{display:flex;gap:6px;padding:6px 14px 2px;color:#8e8e93;font-size:12.5px;
  border-top:.5px solid var(--line);margin:0}
.mo .likers .lk{color:var(--blue);cursor:pointer;margin-right:9px;display:inline-block}
.mo .likers .lk.human{color:#c2687f}
.mo .likers .lk small{color:var(--hint);font-size:11px;margin-left:3px}
/* 群里的身份牌 */
.gtag{display:inline-block;margin-left:7px;padding:1px 6px;border-radius:5px;
  background:#f0f1f5;color:#8e8e93;font-size:11px;vertical-align:1.5px}
.gtag.owner{background:#fff3cd;color:#c08b28}
.gnotice{background:#f7f8fb;border-radius:11px;padding:11px 13px;font-size:13.5px;
  line-height:1.7;color:#444;margin-bottom:12px}
.gnotice b{font-size:12.5px;color:var(--hint)}
/* 被叫到的名字 */
.at{color:#0099ff}
.msg.me .at{color:#cbe9ff}
/* ── 联系人页 ── */
.ct-entries{background:#fff;margin-bottom:9px}
.ct-entry{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;
  font-size:17px;cursor:pointer;position:relative}
.ct-entry:active{background:#f7f8fb}
.ct-entry::after{content:'';position:absolute;left:16px;right:0;bottom:0;height:.5px;background:var(--line)}
.ct-entry:last-child::after{display:none}
.ct-entry .r{color:#c8ccd6;font-size:17px;display:flex;align-items:center;gap:7px}
.ct-entry .r i{background:#ff3b30;color:#fff;font-size:11px;font-style:normal;
  min-width:17px;height:17px;line-height:17px;text-align:center;border-radius:9px;padding:0 5px}
.ct-seg{display:flex;background:#fff;border-bottom:.5px solid var(--line);padding:0 4px}
.ct-seg span{flex:1;text-align:center;padding:12px 0 10px;font-size:15.5px;color:#555;
  cursor:pointer;position:relative}
.ct-seg span.on{color:#000;font-weight:600}
.ct-seg span.on::after{content:'';position:absolute;left:50%;transform:translateX(-50%);bottom:0;
  width:30px;height:2.5px;border-radius:2px;background:var(--blue)}
.ct-body{background:#fff;min-height:40vh}
.ct-idx{padding:7px 16px 5px;font-size:13px;color:var(--hint);background:#fafbfd}
.ct-fold{display:flex;align-items:center;gap:9px;padding:13px 16px;cursor:pointer;
  font-size:16px;position:relative}
.ct-fold:active{background:#f7f8fb}
.ct-fold::after{content:'';position:absolute;left:16px;right:0;bottom:0;height:.5px;background:var(--line)}
.ct-fold .caret{color:#9aa0ab;font-size:12px;transition:transform .18s;display:inline-block}
.ct-fold .caret.on{transform:rotate(90deg)}
.ct-fold .nm{flex:1}
.ct-fold .cnt{color:var(--hint);font-size:14px}
.ct-tail{text-align:center;color:var(--hint);font-size:12.5px;padding:16px 16px 22px;line-height:1.7}
.row .t2 .sg{color:var(--hint)}
.row .ava .dot{position:absolute;right:0;bottom:1px;width:11px;height:11px;border-radius:50%;
  border:2px solid #fff;background:#c7c7cc}
.row .ava .dot.on{background:#34c759}

/* ── 头像统一规矩 ──
   不管传进来的是竖的横的方的，都按容器裁成规整的圆：
   容器负责裁（overflow:hidden），图负责铺满并居中取景（object-fit:cover）。
   以前圆角加在图片自己身上，长条图加 50% 圆角就成了椭圆，还会溢出来。 */
.ava{overflow:hidden;position:relative}
/* 图用绝对定位钉在容器四边：容器是 grid 居中的，用 height:100% 会陷进
   "行高看内容、内容看行高"的循环，浏览器直接放弃，图就顶出去了。 */
.ava > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.ava > .dot{z-index:2}
/* 农场 */
.strip .fm-entry{position:sticky;right:-14px;margin:0 -14px 0 auto;padding:0 14px 0 8px;box-sizing:content-box;
  background:#fff;box-shadow:-10px 0 10px -4px #fff}
.strip .fm-entry .ava{background:#e8f7ec}
/* 场景：上面一抹天，下面整片草地 */
.fm-scene{position:relative;margin:-6px 0 14px;padding:0 8px 12px;overflow:hidden;
  background:
    radial-gradient(circle at 20% 60%,rgba(255,255,255,.12) 0 2px,transparent 3px) 0 0/26px 26px,
    radial-gradient(circle at 70% 30%,rgba(60,120,20,.18) 0 2px,transparent 3px) 0 0/34px 34px,
    linear-gradient(#e3eefb 0,#f0f6fd 70px,#a9cf90 71px,#9cc481 55%,#8fb974 100%)}
.fm-top{position:relative;z-index:30;display:flex;align-items:center;gap:8px;margin:10px 4px 0;padding:6px 10px 6px 6px;
  background:rgba(255,255,255,.85);border-radius:22px;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.fm-top .ava{width:34px;height:34px;border-radius:50%;background:#eef1f9;display:grid;place-items:center;font-size:18px;overflow:hidden;flex-shrink:0}
.fm-top .who{flex:1;min-width:0;line-height:1.15}
.fm-top .who b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-top .who small{font-size:11px;color:#7a6a4a}
.fm-top .pill{font-size:12.5px;font-weight:600;color:#1a5fd0;background:#e9f0fd;
  border-radius:12px;padding:2.5px 9px;white-space:nowrap}
.fm-deco{position:absolute;left:0;right:0;top:44px;height:60px;pointer-events:none}
.fm-deco span{position:absolute;filter:drop-shadow(0 2px 1px rgba(0,0,0,.2))}
.fm-deco .fm-d-house{right:14px;top:12px;font-size:28px;opacity:.9}
.fm-deco .fm-d-t1{left:10px;top:12px;font-size:24px;opacity:.9}.fm-deco .fm-d-t2{left:40px;top:20px;font-size:18px;opacity:.85}
.fm-deco .fm-d-dog{right:58px;top:36px;font-size:16px;opacity:.9}
.fm-deco .fm-d-f1{left:22px;top:68px;font-size:16px}.fm-deco .fm-d-f2{right:26px;top:72px;font-size:15px}
.fm-fence{position:relative;z-index:1;height:16px;margin:30px -8px 0;
  background:
    linear-gradient(#c58b4c,#a86d33) 0 4px/100% 4px no-repeat,
    linear-gradient(#c58b4c,#a86d33) 0 10px/100% 4px no-repeat,
    repeating-linear-gradient(90deg,transparent 0 16px,#b77a3d 16px 21px,transparent 21px 22px)}
/* 田：绝对定位的菱形，位置在 farm.js 里算 */
.fm-land{position:relative;margin:0 auto}
.fm-plot{position:absolute;cursor:pointer}
.fm-plot .soil{position:absolute;inset:4px 7px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  background:repeating-linear-gradient(-26.6deg,#6b4226 0 7px,#5a361e 7px 10px);
  filter:drop-shadow(0 0 0 #000)}
.fm-plot::before{content:'';position:absolute;inset:10px 7px -2px;clip-path:polygon(0 50%,50% 100%,100% 50%,100% 38%,50% 88%,0 38%);
  background:#4a2c16}
.fm-plot.wet .soil{background:repeating-linear-gradient(-26.6deg,#4e2f19 0 7px,#3f2512 7px 10px)}
.fm-plot.fm-bare .soil{background:repeating-linear-gradient(-26.6deg,#8a5a34 0 7px,#7a4d2b 7px 10px)}
.fm-plot .no{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:11px;font-weight:700;color:rgba(255,235,200,.55)}
.fm-up{position:absolute;cursor:pointer;pointer-events:none}
.fm-up>*{pointer-events:auto}
.fm-up .crop{position:absolute;left:50%;bottom:34%;transform:translateX(-50%);line-height:1;
  font-size:calc(var(--w) * .30);filter:drop-shadow(0 3px 1px rgba(0,0,0,.35));white-space:nowrap}
.fm-up .crop.s0{font-size:calc(var(--w) * .20)}
.fm-up .crop.s1{font-size:calc(var(--w) * .26)}
.fm-up .crop.s2{font-size:calc(var(--w) * .28)}
.fm-up .crop.ripe{font-size:calc(var(--w) * .36);animation:fm-bob 1.4s ease-in-out infinite}
.fm-up .crop b{position:absolute;right:-10px;top:-8px;font-size:14px;animation:fm-tw 1.2s ease-in-out infinite}
@keyframes fm-bob{50%{transform:translate(-50%,-4px)}}
@keyframes fm-tw{50%{opacity:.2;transform:scale(.7)}}
.fm-up .bub{position:absolute;left:62%;bottom:80%;display:flex;gap:2px}
.fm-up .bub i{font-style:normal;width:24px;height:24px;border-radius:50%;background:#fff;display:grid;place-items:center;
  font-size:14px;box-shadow:0 2px 3px rgba(0,0,0,.3);animation:fm-bob2 1s ease-in-out infinite}
@keyframes fm-bob2{50%{transform:translateY(-3px)}}
.fm-up .sign{position:absolute;left:50%;top:56%;transform:translateX(-50%);z-index:2;
  font-size:11px;line-height:1.3;text-align:center;white-space:nowrap;color:#fff8e6;
  background:rgba(90,62,35,.88);border-radius:4px;padding:1px 6px;
  box-shadow:0 1px 3px rgba(0,0,0,.2)}
.fm-up .sign.gold{background:linear-gradient(#ffcc4d,#f0a91a);color:#6b3a00;border-color:#c07d00;font-weight:600}
.fm-up .sign em{font-style:normal;color:#fff;background:#e5533d;border-radius:6px;padding:0 3px;margin-left:3px}
.fm-note{position:relative;z-index:30;font-size:12px;color:#fff;text-align:center;padding:2px 0 8px;text-shadow:0 1px 2px rgba(0,0,0,.4)}
/* 底部工具栏：一排圆按钮 */
.fm-tools{position:relative;z-index:30;display:flex;justify-content:center;gap:6px;margin:4px 0 0;padding:9px 6px;
  background:rgba(255,255,255,.92);border-radius:16px;box-shadow:0 2px 10px rgba(40,60,90,.10)}
.fm-tools div{flex:1;max-width:64px;text-align:center;cursor:pointer}
.fm-tools span{display:grid;place-items:center;width:40px;height:40px;margin:0 auto;border-radius:50%;font-size:20px;
  background:#eef3fb;box-shadow:inset 0 0 0 1px #dde6f3}
.fm-tools small{display:block;font-size:11px;color:#6b7280;margin-top:3px;white-space:nowrap}
.fm-barn{display:flex;flex-wrap:wrap;gap:8px;padding:12px}
.fm-barn span{background:#fff8e6;border:1px solid #f1e2b8;border-radius:12px;padding:6px 10px;font-size:14px}
.fm-barn small{color:var(--hint);font-size:11px;margin-left:4px}
.fm-row{display:flex;align-items:center;gap:10px;padding:11px 15px;font-size:14.5px;
  border-bottom:.5px solid var(--line);cursor:pointer}
.fm-row:last-child{border-bottom:0}
.fm-row .ava{width:34px;height:34px;border-radius:50%;background:#eef1f9;display:grid;place-items:center;font-size:17px;overflow:hidden;flex-shrink:0}
.fm-row .nm{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-row small{font-size:13px;color:var(--hint);white-space:nowrap}

/* Channels: scoped cards keep the existing messenger layout unchanged. */
.ch-wrap{max-width:900px;margin:0 auto;padding:20px 16px 32px;overflow-wrap:anywhere}
.ch-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.ch-heading h1{font-size:26px;line-height:1.3;margin:4px 0;color:var(--txt)}
.ch-heading small,.ch-muted,.ch-intro,.ch-watch{color:var(--sub);font-size:13px;line-height:1.7}
.ch-heading small{letter-spacing:.06em}
.ch-intro{margin:0 0 18px}
.ch-button,.ch-search button{font:inherit;font-size:13px;border:0;border-radius:10px;background:var(--card);color:var(--blue);padding:9px 12px;cursor:pointer}
.ch-primary{background:var(--blue);color:white;flex-shrink:0}
.ch-button:disabled{opacity:.5;cursor:wait}
.ch-search{display:flex;background:var(--card);border-radius:12px;padding:5px;margin-bottom:14px}
.ch-search input{flex:1;min-width:0;border:0;background:transparent;padding:8px;font:inherit;font-size:14px;color:var(--txt)}
.ch-tabs{display:flex;gap:8px;margin-bottom:16px}
.ch-tabs .selected{background:var(--blue);color:white}
.ch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ch-card{width:100%;display:flex;align-items:center;gap:12px;padding:18px 14px;border:0;background:var(--card);border-radius:16px;text-align:left;color:var(--txt);font:inherit;cursor:pointer}
.ch-hash{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;background:var(--bg);color:var(--blue);font-size:25px}
.ch-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}
.ch-card-copy b{font-size:16px}.ch-card-copy>span{font-size:13px;color:var(--sub);line-height:1.5}
.ch-card-copy small,.ch-topic-meta{font-size:11px;color:var(--sub);line-height:1.5}
.ch-chevron{color:var(--hint);font-size:22px}.ch-empty{padding:32px 14px;text-align:center;font-size:14px;line-height:1.8;color:var(--sub);grid-column:1/-1}
.ch-watch{text-align:center;margin-top:20px;font-size:12px}
.ch-topic-card{display:block;width:100%;text-align:left;border:0;border-radius:16px;background:var(--card);color:var(--txt);padding:18px;margin:12px 0;font:inherit;cursor:pointer}
.ch-topic-tag{font-size:11px;color:var(--blue)}.ch-topic-card h3{font-size:17px;margin:9px 0;line-height:1.5}
.ch-topic-card p{font-size:14px;color:var(--sub);line-height:1.65;margin:0 0 14px;white-space:pre-line}
.ch-topic-meta{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:12px}
.ch-floor{background:var(--card);border-radius:16px;padding:20px;margin-bottom:12px}
.ch-floor-head,.ch-thread-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}
.ch-author{display:flex;align-items:center;gap:10px;min-width:0}.ch-author>.ava{height:34px;width:34px;flex-shrink:0;border-radius:50%;overflow:hidden;background:var(--bg);display:grid;place-items:center}
.ch-author b{font-size:14px}.ch-author small{display:block;font-size:11px;color:var(--sub);margin-top:3px}
.ch-floor-number{font-size:12px;color:var(--sub);white-space:nowrap}.ch-floor h2{font-size:21px;line-height:1.5;margin:0 0 18px}
.ch-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.85}
.ch-replies-label{font-size:12px;color:var(--sub);padding:8px 4px 16px}
.ch-guide{font-size:12px;line-height:1.8;color:var(--sub);margin:18px 0}.ch-guide summary{cursor:pointer;color:var(--blue)}
#ch-more{text-align:center;margin:16px 0}
#ch-create label{display:block;font-size:13px;color:var(--sub);margin:14px 0}
#ch-create input,#ch-create textarea{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:12px;font:inherit;color:var(--txt);background:var(--bg);resize:vertical}
.ch-wrap button:focus-visible,.ch-wrap input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.ch-card,.ch-topic-card,.ch-floor{border:1px solid var(--line)}
@media(max-width:600px){.ch-grid{grid-template-columns:1fr}.ch-wrap{padding:16px 12px 24px}.ch-floor{padding:16px}.ch-heading h1{font-size:23px}}

/* ── 悬赏：老QQ公告栏 / 群共享的年代感 ── */
.bt-board{margin:10px 12px 18px;border:1px solid #9fb9dc;border-radius:4px;overflow:hidden;
  box-shadow:0 2px 8px rgba(40,80,140,.12);font-family:"SimSun","Songti SC","STSong","Noto Serif SC",serif}
.bt-bar{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:8px 12px;color:#fff;
  font-size:16px;font-weight:700;letter-spacing:1px;text-shadow:0 1px 0 rgba(0,0,0,.25);
  background:linear-gradient(#5b9be6,#2f6fc6);border-bottom:1px solid #245aa3}
.bt-bar small{font-size:11px;font-weight:400;opacity:.85;letter-spacing:0}
.bt-paper{background:#fbf3d9;padding:10px 10px 14px;color:#3b2f1c}
.bt-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.bt-filters button{font:inherit;font-size:13px;padding:3px 10px;border:1px solid #c9b37c;border-radius:2px;
  background:linear-gradient(#fffaf0,#efe2bd);color:#5a4524;cursor:pointer}
.bt-filters button.on{background:linear-gradient(#5b9be6,#2f6fc6);border-color:#245aa3;color:#fff}
.bt-skillf,.bt-avg{font-size:12.5px;color:#7a6440;margin:2px 2px 8px}
.bt-skillf button{font:inherit;border:0;background:none;color:#2f6fc6;cursor:pointer}
.bt-avg b{color:#b8321f}
.bt-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font:inherit;color:inherit;
  background:none;border:0;border-bottom:1px dashed #d8c48f;padding:10px 4px;cursor:pointer}
.bt-row:hover{background:#f6ead0}
.bt-amt{display:inline-flex;align-items:center;gap:3px;min-width:62px;color:#b8321f;font-size:15px;flex-shrink:0}
.bt-amt b{font-family:Georgia,"Times New Roman",serif}
.bt-amt.big{font-size:22px}
.bt-coin{width:17px;height:17px;fill:#f0c24a;stroke:#b8860b;stroke-width:1.3}
.bt-coin rect{fill:#fbf3d9}
.bt-main{flex:1;min-width:0;display:flex;flex-direction:column}
.bt-title{font-size:15px;color:#1c4f96;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-meta{font-size:12px;color:#8a7650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-side{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex-shrink:0}
.bt-due{font-size:11px;color:#8a7650;white-space:nowrap}
.bt-stamp{display:inline-block;border:2px solid;border-radius:3px;padding:0 5px;font-size:12px;font-weight:700;
  line-height:1.5;transform:rotate(-8deg);letter-spacing:1px;opacity:.9}
.bt-stamp.urgent{color:#d0281a;border-color:#d0281a}
.bt-stamp.taken{color:#2f6fc6;border-color:#2f6fc6}
.bt-stamp.done{color:#2e8b3e;border-color:#2e8b3e}
.bt-stamp.gone{color:#9a8a6a;border-color:#b9a984;font-weight:400}
.bt-empty,.bt-muted{text-align:center;color:#9a8660;padding:26px 0;font-size:14px}
.bt-morebtn{display:block;margin:10px auto 0;font:inherit;font-size:13px;padding:4px 16px;border:1px solid #c9b37c;
  background:linear-gradient(#fffaf0,#efe2bd);color:#5a4524;border-radius:2px;cursor:pointer}
.bt-watch{text-align:center;font-size:12px;color:#9a8660;margin-top:12px;line-height:1.7}
.bt-sheet{font-family:"SimSun","Songti SC","STSong","Noto Serif SC",serif;background:#fbf3d9;border:1px solid #d8c48f;
  border-radius:6px;padding:14px;margin-bottom:12px;color:#3b2f1c}
.bt-sheet-hd{display:flex;justify-content:space-between;align-items:center}
.bt-sheet h3{font-size:18px;color:#1c4f96;margin:8px 0 10px;overflow-wrap:anywhere}
.bt-kvs{border-top:1px dashed #d8c48f;border-bottom:1px dashed #d8c48f;padding:6px 0;margin-bottom:10px}
.bt-kv{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;padding:3px 0}
.bt-kv span:first-child{color:#8a7650;flex-shrink:0}
.bt-kv span:last-child{text-align:right;overflow-wrap:anywhere}
.bt-kv a{color:#2f6fc6;cursor:pointer}
.bt-sub{font-size:13px;color:#8a7650;margin:12px 0 4px;font-weight:700}
.bt-text{font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.bt-file{display:inline-block;margin-top:6px;color:#2f6fc6;font-size:14px}
.bt-wall{display:flex;flex-wrap:wrap;gap:8px}
.bt-badge{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:#333;background:#f5f6fa;
  border:1px solid #e3e6ef;border-radius:6px;padding:3px 8px 3px 3px}
.bt-badge i{font-style:normal;width:20px;height:20px;border-radius:4px;display:grid;place-items:center;
  font-size:12px;font-weight:700;color:#fff;background:linear-gradient(#5b9be6,#2f6fc6)}
.bt-resume{padding:13px 15px;font-size:14.5px;line-height:1.8}
.bt-resume b{color:#1c4f96}
.bt-resume .s{font-size:13px;color:var(--sub)}


/* ════════ 机Q · Y2K 粉蓝（2026-09-27 她给的参考图：粉色 CRT、像素爱心、Messenger 小窗）════════
   整个机Q一起换：配色、底图、窗口外壳、各页卡片。只改样子，功能/接口/数据一律不动。
   像素字 Silkscreen（OFL-1.1）只管英文标签，中文照旧系统字体。 */
@font-face{font-family:'Silk';src:url(/a/silkscreen-400.2391a514.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Silk';src:url(/a/silkscreen-700.4b640251.woff2) format('woff2');font-weight:700;font-display:swap}
:root{
  --bg:transparent; --card:rgba(255,249,252,.82); --txt:#4a4470; --sub:#8f86b5; --hint:#b7aed6;
  --blue:#7f86e8; --line:rgba(231,160,197,.32); --me:#f59cc2; --you:#fff;
  --y-pink:#f7c6da; --y-pink2:#f3a6c7; --y-pinkd:#dc6f9f; --y-lav:#dcd3f8; --y-peri:#aebdf1; --y-ink:#5d5aa9;
  --y-glass:rgba(255,248,252,.8); --y-rim:rgba(255,255,255,.9);
  --y-shadow:0 10px 28px rgba(126,104,190,.22), 0 2px 6px rgba(126,104,190,.12);
  --y-pixel:'Silk',ui-monospace,'Courier New',monospace;
  --y-btn:linear-gradient(#ffd6e7 0%,#f7a9ca 52%,#ef8fb9 53%,#f6b1cf 100%);
  --y-btn2:linear-gradient(#e7ecff 0%,#bfcaf6 52%,#aab8f2 53%,#c4cff7 100%);
}
body{color:var(--txt);
  background:linear-gradient(172deg,#b3c4f4 0%,#cfc7f4 34%,#efcde3 68%,#f8d7e6 100%) fixed}
#app{background:transparent;position:relative;isolation:isolate}
/* 发光的格子地面 + 飘着的像素爱心、星星、闪光 */
#app::before{content:'';position:fixed;left:-30%;right:-30%;bottom:-6%;height:46%;z-index:-1;pointer-events:none;
  background:linear-gradient(rgba(255,255,255,.55) 1.5px,transparent 1.5px) 0 0/34px 34px,
    linear-gradient(90deg,rgba(255,255,255,.55) 1.5px,transparent 1.5px) 0 0/34px 34px,
    linear-gradient(transparent,rgba(250,200,225,.55));
  transform:perspective(420px) rotateX(58deg);transform-origin:bottom;
  -webkit-mask-image:linear-gradient(transparent,#000 45%);mask-image:linear-gradient(transparent,#000 45%)}
#app::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.9;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='6' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23fff'/%3E%3C/svg%3E") 6% 9%/28px auto no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Crect x='2' y='0' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%239fb2f2'/%3E%3C/svg%3E") 88% 7%/20px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' shape-rendering='crispEdges'%3E%3Cpath d='M10 0 L12 8 L20 10 L12 12 L10 20 L8 12 L0 10 L8 8 Z' fill='%23fff'/%3E%3C/svg%3E") 93% 30%/18px auto no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' shape-rendering='crispEdges'%3E%3Cpath d='M10 0 L12 8 L20 10 L12 12 L10 20 L8 12 L0 10 L8 8 Z' fill='%23f7a8c9'/%3E%3C/svg%3E") 12% 40%/14px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='6' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23ffffff'/%3E%3C/svg%3E") 90% 58%/22px auto no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' viewBox='0 0 5 5' shape-rendering='crispEdges'%3E%3Crect x='2' y='0' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%239fb2f2'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%239fb2f2'/%3E%3C/svg%3E") 5% 72%/14px auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' shape-rendering='crispEdges'%3E%3Cpath d='M10 0 L12 8 L20 10 L12 12 L10 20 L8 12 L0 10 L8 8 Z' fill='%23fff'/%3E%3C/svg%3E") 30% 4%/12px auto no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' shape-rendering='crispEdges'%3E%3Cpath d='M10 0 L12 8 L20 10 L12 12 L10 20 L8 12 L0 10 L8 8 Z' fill='%23f7a8c9'/%3E%3C/svg%3E") 70% 3%/16px auto no-repeat;
  animation:y2k-twinkle 4s ease-in-out infinite}
@keyframes y2k-twinkle{0%,100%{opacity:.95}50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){#app::after{animation:none}}

/* ── 顶栏：显示器上沿 ── */
.topbar{background:transparent}
.topbar .ava{border-radius:12px;background:linear-gradient(#fff,#f7d7e6);border:2px solid #fff;box-shadow:0 3px 8px rgba(214,120,170,.3)}
.topbar .ava::after{border-color:#fff;background:#f06aa3}
.topbar .name{color:#4a4470}
.topbar .name small{color:#8f86b5}
.topbar .act{color:#fff;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;font-size:22px;line-height:1;
  background:var(--y-btn);border:1.5px solid #fff;box-shadow:0 3px 8px rgba(214,120,170,.35);text-shadow:0 1px 0 rgba(200,90,140,.5)}
.topbar::after{content:'Y2K';font:700 10px/1 var(--y-pixel);color:#7e86d9;padding:4px 8px;border:1.5px solid #9eaaf0;border-radius:999px;
  background:rgba(255,255,255,.6);letter-spacing:.06em;order:-0}

/* ── 内容区窗口 ── */
.y2k-win{flex:1;min-height:0;display:flex;flex-direction:column;margin:0 10px 8px;border-radius:14px;overflow:hidden;
  background:var(--y-glass);border:2px solid var(--y-rim);box-shadow:var(--y-shadow),inset 0 0 0 1px rgba(236,160,200,.35);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.y2k-bar,.chat-hd,.hp-hd{background:linear-gradient(90deg,#f8c3da 0%,#e8c8f2 55%,#c3d0f7 100%)}
.y2k-bar{flex-shrink:0;display:flex;align-items:center;gap:6px;height:30px;padding:0 8px 0 10px;border-bottom:1.5px solid rgba(255,255,255,.85)}
.y2k-ttl{flex:1;display:flex;align-items:center;gap:6px;font:700 11.5px/1 var(--y-pixel);color:#fff;letter-spacing:.04em;
  text-shadow:1px 1px 0 #d587b1,0 0 6px rgba(255,255,255,.6)}
.y2k-ttl::before{content:'';width:14px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='6' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23ffffff'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23ffffff'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(1px 1px 0 #d587b1)}
.y2k-ctl{display:flex;gap:3px}
.y2k-ctl i{width:17px;height:15px;border-radius:3px;border:1.5px solid #fff;background:#fbe0ec center/11px no-repeat;box-shadow:0 1px 2px rgba(200,100,150,.25)}
.y2k-ctl .min{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Crect x='3' y='8' width='6' height='2' fill='%23c96f9b'/%3E%3C/svg%3E")}.y2k-ctl .max{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Crect x='2.5' y='2.5' width='7' height='7' fill='none' stroke='%23c96f9b' stroke-width='1.6'/%3E%3C/svg%3E")}
.y2k-ctl .cls{background-color:#f58fb9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M3 3 L9 9 M9 3 L3 9' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E")}
.list{background:transparent;border-radius:0}

/* ── 底栏：显示器下沿那排粉色按键 ── */
.tabbar{margin:0 10px calc(8px + env(safe-area-inset-bottom));padding:6px 6px;border-radius:18px;border:2px solid #fff;
  background:linear-gradient(#fdeef5,#f6d3e4);box-shadow:var(--y-shadow)}
.tabbar div{border-radius:12px;padding:6px 0 4px;color:#9b8fc2;font-size:10.5px;margin:0 2px;transition:background .2s,transform .15s}
.tabbar div svg{stroke:#9b8fc2}
.tabbar div:active{transform:scale(.94)}
.tabbar div.on{color:#fff;background:var(--y-btn);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 3px 8px rgba(226,110,165,.35);text-shadow:0 1px 0 rgba(200,90,140,.45)}
.tabbar div.on svg{stroke:#fff}
.tabbar .rd{background:#f06aa3;border:1.5px solid #fff;width:9px;height:9px}

/* ── 列表行 / 搜索 / 分段 ── */
.search{background:rgba(255,255,255,.75);border:1.5px solid #f3c2d8;color:#b19bc6;border-radius:999px}
.row:active{background:rgba(247,198,218,.28)}
.row .ava,.hp-card .ava,.mo .hd .ava,.gb .ava,.sheet .item .ava{border-radius:30%;background:linear-gradient(#fff,#efe2fb);border:2px solid #fff;
  box-shadow:0 2px 6px rgba(150,120,200,.25)}
.row .ava .dot{border-color:#fff} .row .ava .dot.on{background:#6fd3a8}
.row .t1{color:#4a4470;font-weight:500}
.row .badge{background:#f06aa3}
.seghd{border-bottom-color:var(--line)}
.seghd span.on{color:var(--y-pinkd);border-color:var(--y-pink2)}
.grouphd{font:700 10.5px/1.6 var(--y-pixel);color:#9b8fc2;letter-spacing:.05em}

/* ── 聊天窗 ── */
#chat{background:linear-gradient(172deg,#b3c4f4 0%,#cfc7f4 34%,#efcde3 68%,#f8d7e6 100%)}
.chat-hd{border-bottom:1.5px solid rgba(255,255,255,.85)}
.chat-hd .ti b{color:#fff;text-shadow:1px 1px 0 #d587b1}
.chat-hd .ti small{color:#fff;opacity:.9}
.chat-hd .bk,.chat-hd .mn{color:#fff} .chat-hd .mn svg{stroke:#fff}
.msgs{background:transparent}
.m .bub{background:rgba(255,255,255,.88);border:1.5px solid #e9dcfb;color:#4a4470;box-shadow:0 2px 6px rgba(150,120,200,.15)}
.m.me .bub{background:linear-gradient(#ffb8d4,#f496bf);border-color:#fff;color:#fff;text-shadow:0 1px 0 rgba(200,90,140,.35)}
.m .who{color:#8f86b5}
.watchbar{background:rgba(255,255,255,.7);color:#8f86b5;border-top:1.5px solid #fff}
.daysep{color:#9b8fc2}

/* ── 弹层：每个弹层都是一扇小窗 ── */
.sheet{background:rgba(120,100,180,.28)}
.sheet .inner{background:linear-gradient(#fff9fc,#f6effd);border:2px solid #fff;border-bottom:0;box-shadow:0 -8px 30px rgba(126,104,190,.3);
  position:relative;padding-top:44px !important}
.sheet .inner::before{content:'';position:absolute;left:0;right:0;top:0;height:30px;border-radius:16px 16px 0 0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M3 3 L9 9 M9 3 L3 9' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") right 12px center/15px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Crect x='2.5' y='2.5' width='7' height='7' fill='none' stroke='%23c96f9b' stroke-width='1.6'/%3E%3C/svg%3E") right 34px center/15px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Crect x='3' y='8' width='6' height='2' fill='%23c96f9b'/%3E%3C/svg%3E") right 56px center/15px no-repeat,
    linear-gradient(90deg,#f8c3da 0%,#e8c8f2 55%,#c3d0f7 100%);border-bottom:1.5px solid #fff}
.sheet h3{color:#5d5aa9}
.sheet input{background:#fff;border:1.5px solid #efcfe0}
.sheet button{background:var(--y-btn);color:#fff;border:1.5px solid #fff;box-shadow:0 3px 10px rgba(226,110,165,.3);text-shadow:0 1px 0 rgba(200,90,140,.4)}
.sheet .ghost{background:var(--y-btn2);color:#fff;text-shadow:0 1px 0 rgba(90,100,190,.4)}

/* ── 机的主页 / 侧栏 / ＋菜单 ── */
#home{background:linear-gradient(172deg,#b3c4f4 0%,#cfc7f4 34%,#efcde3 68%,#f8d7e6 100%)}
.hp-card,.hp-sec .box{background:var(--y-glass);border:2px solid var(--y-rim);box-shadow:var(--y-shadow)}
.hp-card .nm{color:#4a4470}
.hp-card .btns button{background:var(--y-btn);color:#fff;border:1.5px solid #fff}
.hp-card .btns .ghost{background:var(--y-btn2)}
.hp-sec .h{font-weight:700;color:#5d5aa9}
#drawer .panel{background:linear-gradient(172deg,#fbeff6,#eee8fd)}
#plusmenu .pop{background:rgba(255,249,252,.95);border:2px solid #fff;box-shadow:var(--y-shadow)}

/* ── 登录 ── */
#login{background:transparent}
#login .card{background:var(--y-glass);border:2px solid #fff;box-shadow:var(--y-shadow)}
#login input{background:#fff;border:1.5px solid #efcfe0}
#login button{background:var(--y-btn);border:1.5px solid #fff;text-shadow:0 1px 0 rgba(200,90,140,.4)}
#login .tabs span.on{color:var(--y-pinkd);border-color:var(--y-pink2)}
#login h1{font-family:var(--y-pixel);color:#fff;text-shadow:2px 2px 0 #d587b1}


/* ── Y2K 二轮：标题字、悬赏、频道、动态、弹层标题条 ── */
.y2k-bar{background:linear-gradient(90deg,#fde3ef 0%,#f1e3fb 55%,#e1e8fd 100%)}
.y2k-ttl{font-size:13px;color:#8b76b9;text-shadow:1px 1px 0 #fff}
.y2k-ttl::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='6' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23fff'/%3E%3C/svg%3E");filter:none}
.sheet .inner::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='14' viewBox='0 0 52 14' shape-rendering='crispEdges'%3E%3Crect x='.75' y='.75' width='14.5' height='12.5' rx='2.5' fill='%23fbe0ec' stroke='%23fff' stroke-width='1.5'/%3E%3Crect x='5' y='8.5' width='6' height='1.8' fill='%23c96f9b'/%3E%3Crect x='18.75' y='.75' width='14.5' height='12.5' rx='2.5' fill='%23fbe0ec' stroke='%23fff' stroke-width='1.5'/%3E%3Crect x='22.5' y='3.5' width='7' height='6.5' fill='none' stroke='%23c96f9b' stroke-width='1.5'/%3E%3Crect x='36.75' y='.75' width='14.5' height='12.5' rx='2.5' fill='%23f58fb9' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M41 3.5 L47 10 M47 3.5 L41 10' stroke='%23fff' stroke-width='1.7'/%3E%3C/svg%3E") right 12px center/52px 14px no-repeat,linear-gradient(90deg,#fde3ef 0%,#f1e3fb 55%,#e1e8fd 100%)}
.sheet .inner::after{content:'Jiq';position:absolute;left:14px;top:8px;font:700 12px/1 var(--y-pixel);color:#8b76b9;text-shadow:1px 1px 0 #fff}
.chat-hd,.hp-hd{background:linear-gradient(90deg,#fde3ef 0%,#f1e3fb 55%,#e1e8fd 100%)}
.chat-hd .ti b{color:#6a5aa8;text-shadow:1px 1px 0 #fff} .chat-hd .ti small{color:#9b8fc2}
.chat-hd .bk,.chat-hd .mn{color:#8b76b9} .chat-hd .mn svg{stroke:#8b76b9}

/* 公用：Y2K 小卡、糖果按钮、小标签 */
.ch-card,.ch-topic-card,.ch-floor,.mo,.bt-board,.fm-door,.hp-sec .box{background:rgba(255,255,255,.72) !important;border:1.5px solid #fff !important;
  border-radius:14px !important;box-shadow:0 4px 14px rgba(150,120,200,.16),inset 0 0 0 1px rgba(236,170,205,.35) !important}
.ch-button,.ch-search button,.bt-filters button,.bt-morebtn{font:inherit;border:1.5px solid #fff !important;border-radius:999px !important;
  background:var(--y-btn2) !important;color:#fff !important;text-shadow:0 1px 0 rgba(90,100,190,.35);box-shadow:0 2px 6px rgba(120,130,220,.25)}
.ch-primary,.ch-tabs .selected,.bt-filters button.on{background:var(--y-btn) !important;text-shadow:0 1px 0 rgba(200,90,140,.4);box-shadow:0 2px 8px rgba(226,110,165,.35)}

/* 频道 */
.ch-heading small{font:700 11px/1.4 var(--y-pixel);color:#9b8fc2;letter-spacing:.04em}
.ch-heading h1{color:#5d5aa9}
.ch-intro,.ch-watch,.ch-muted{color:#8f86b5}
.ch-search{background:rgba(255,255,255,.8);border:1.5px solid #f3c2d8;border-radius:999px}
.ch-hash{background:linear-gradient(#ffd6e7,#f6b1cf) !important;color:#fff !important;border:2px solid #fff;border-radius:12px !important;
  font-family:var(--y-pixel);box-shadow:0 2px 6px rgba(226,110,165,.3)}
.ch-card-copy b,.ch-topic-card h3,.ch-floor h2{color:#5d5aa9}
.ch-topic-tag{color:var(--y-pinkd)}
.ch-floor-number{font-family:var(--y-pixel);color:#9b8fc2}

/* 悬赏：从米黄公告栏换成 Y2K 小窗 */
.bt-board{font-family:inherit;padding:0;overflow:hidden}
.bt-bar{background:linear-gradient(90deg,#fde3ef 0%,#f1e3fb 55%,#e1e8fd 100%) !important;border-bottom:1.5px solid #fff !important;
  color:#8b76b9 !important;text-shadow:1px 1px 0 #fff !important;font:700 13px/1.2 var(--y-pixel) !important}
.bt-bar small{font-family:inherit;color:#9b8fc2}
.bt-paper{background:transparent !important;color:#4a4470}
.bt-row{border-bottom:1.5px dashed rgba(236,170,205,.6) !important}
.bt-row:hover,.bt-row:active{background:rgba(247,198,218,.22) !important}
.bt-title{color:#5d5aa9 !important} .bt-meta,.bt-due,.bt-avg,.bt-skillf,.bt-watch,.bt-empty,.bt-muted{color:#8f86b5 !important}
.bt-amt{color:#e0669b !important}
.bt-avg b{color:#e0669b !important}
.bt-stamp{transform:none !important;border-width:1.5px !important;border-radius:999px !important;padding:0 7px !important;font-size:11px !important;background:#fff}
.bt-stamp.urgent{color:#e0558f !important;border-color:#f3a6c7 !important;background:#fff0f6}
.bt-stamp.taken{color:#6f7fd6 !important;border-color:#b3c0f2 !important;background:#f0f3ff}
.bt-stamp.done{color:#3fae87 !important;border-color:#9fdcc5 !important;background:#eefbf5}
.bt-stamp.gone{color:#a39cc0 !important;border-color:#d9d3ea !important}
.bt-sheet{background:rgba(255,255,255,.75) !important;border:1.5px solid #fff !important;border-radius:14px !important;font-family:inherit !important;color:#4a4470 !important;
  box-shadow:inset 0 0 0 1px rgba(236,170,205,.4)}
.bt-sheet h3{color:#5d5aa9 !important}
.bt-kvs,.bt-kv{border-color:rgba(236,170,205,.5) !important}
.bt-kv span:first-child,.bt-sub{color:#9b8fc2 !important}
.bt-kv a,.bt-file{color:#7f86e8 !important}
.bt-badge i{background:var(--y-btn) !important}
.bt-resume b{color:#e0669b !important}

/* 动态：一条一张小卡 */
.mo-bar{background:transparent}
.mo-bar .ttl{font-family:var(--y-pixel);color:#8b76b9;letter-spacing:.04em}
.mo-bar .ic svg{stroke:#8b76b9}
.mo-seg{background:transparent;gap:6px;padding:4px 12px 8px}
.mo-seg span{padding:3px 12px;border-radius:999px;background:rgba(255,255,255,.6);border:1.5px solid #fff;color:#8f86b5}
.mo-seg span.on{background:var(--y-btn);color:#fff;font-weight:600;text-shadow:0 1px 0 rgba(200,90,140,.4)}
.mo{margin:0 10px 10px;border-bottom:0 !important;padding-top:12px}
.mo .hd .nm b{color:#6a5aa8}
.mo .acts .a.on svg{stroke:#f06aa3;fill:rgba(240,106,163,.15)} .mo .acts .a.on span{color:#f06aa3}
.mo .cms,.mo .cin{background:rgba(245,238,253,.8);border:1px solid #fff}
.mo .cm b,.mo .likers .lk,.mo .more-txt,.mo .more-cm{color:#7f86e8}
.strip .ava{border-radius:30% !important;border:2px solid #fff;box-shadow:0 2px 6px rgba(150,120,200,.25)}
.strip .ava.new{border-color:#f7a9ca !important}
.fm-door{margin:6px 10px 10px}
.strip{background:transparent !important}
.bt-bar{padding:8px 12px !important}
/* 按钮对比度：浅蓝按钮配深紫字；粉色主按钮加深一档配白字 */
:root{--y-btn:linear-gradient(#ffc2dc 0%,#f58db9 52%,#ec74a8 53%,#f39cc3 100%);
  --y-btn2:linear-gradient(#f4f6ff 0%,#dfe5fd 52%,#cdd6fb 53%,#dde3fd 100%)}
.ch-button,.ch-search button,.bt-filters button,.bt-morebtn,.sheet .ghost,.hp-card .btns .ghost{color:#5d5aa9 !important;text-shadow:0 1px 0 #fff !important}
.ch-primary,.ch-tabs .selected,.bt-filters button.on{color:#fff !important;text-shadow:0 1px 1px rgba(170,60,110,.55) !important}
.tabbar div.on,.topbar .act,.sheet button:not(.ghost),#login button,.hp-card .btns button:not(.ghost),.mo-seg span.on{text-shadow:0 1px 1px rgba(170,60,110,.55)}

/* ── Y2K 三轮：降噪（她："有一种不真实的感觉，晃眼"）──
   参考图其实是实物：哑光粉色塑料、柔和阴影、实打实的按键。去掉高光渐变、玻璃模糊、闪烁、发光地面，
   换成平涂 + 一道底边的塑料质感；颜色降一档饱和。结构不动。 */
:root{
  --y-btn:#f6c3d7; --y-btn2:#e3e7f8;
  --y-glass:#fffafc; --y-shadow:0 2px 0 rgba(190,160,200,.35),0 6px 16px rgba(120,100,160,.10);
}
body,#chat,#home{background:linear-gradient(180deg,#e4e6f5 0%,#ece5f2 45%,#f4e6ee 100%) fixed !important}
#app::before{opacity:.35}
#app::after{animation:none !important;opacity:.45}
.y2k-win{background:#fffafc;-webkit-backdrop-filter:none;backdrop-filter:none;border:1.5px solid #f0dbe6;
  box-shadow:var(--y-shadow)}
.y2k-bar,.chat-hd,.hp-hd,.sheet .inner::before{background-color:#f7e7ef}
.y2k-bar{background:#f7e7ef;border-bottom:1px solid #ecd3df}
.y2k-ttl{color:#9a7fb3;text-shadow:none}
.y2k-ctl i{box-shadow:none;border:1px solid #e3c3d3;background-color:#fdf1f6}
.y2k-ctl .cls{background-color:#f2a7c4}
.chat-hd,.hp-hd{background:#f7e7ef !important;border-bottom:1px solid #ecd3df}
/* 按键：平涂 + 底边一道深色，像塑料键；不要高光带、不要字影 */
.tabbar{background:#fbeef4;border:1.5px solid #f0dbe6;box-shadow:var(--y-shadow)}
.tabbar div{color:#9e93bf}
.tabbar div.on{background:#f6c3d7;color:#7a3f64;box-shadow:inset 0 -2px 0 #e5a3bf;text-shadow:none}
.tabbar div.on svg{stroke:#7a3f64}
.topbar .act{background:#f6c3d7;color:#7a3f64;border:1px solid #e9b1c8;box-shadow:inset 0 -2px 0 #e5a3bf;text-shadow:none}
.topbar::after{background:#fff;border-color:#cdd3f2;color:#8b8fc9}
.ch-button,.ch-search button,.bt-filters button,.bt-morebtn,.sheet .ghost,.hp-card .btns .ghost,
.ch-primary,.ch-tabs .selected,.bt-filters button.on,.sheet button,#login button,.hp-card .btns button,.mo-seg span,.mo-seg span.on{
  background:#eceffb !important;color:#5d5aa9 !important;text-shadow:none !important;border:1px solid #d6dbf3 !important;
  box-shadow:inset 0 -2px 0 #cfd5f1 !important}
.ch-primary,.ch-tabs .selected,.bt-filters button.on,.sheet button:not(.ghost),#login button,.hp-card .btns button:not(.ghost),.mo-seg span.on{
  background:#f6c3d7 !important;color:#7a3f64 !important;border-color:#e9b1c8 !important;box-shadow:inset 0 -2px 0 #e5a3bf !important}
/* 卡片：实心、柔影，不要玻璃 */
.ch-card,.ch-topic-card,.ch-floor,.mo,.bt-board,.fm-door,.hp-sec .box,.hp-card,#login .card,#plusmenu .pop{
  background:#fff !important;border:1px solid #f0dbe6 !important;box-shadow:0 1px 0 rgba(190,160,200,.25),0 4px 12px rgba(120,100,160,.07) !important}
.ch-hash{background:#f6c3d7 !important;color:#7a3f64 !important;border:1px solid #e9b1c8;box-shadow:none}
.bt-bar,.sheet .inner::after{text-shadow:none !important}
.bt-bar{background:#f7e7ef !important;color:#9a7fb3 !important}
.m .bub{background:#fff;border:1px solid #ebe3f7;box-shadow:none}
.m.me .bub{background:#f6c3d7;border-color:#e9b1c8;color:#5a2f4b;text-shadow:none}
.sheet .inner{background:#fffafc;box-shadow:0 -4px 20px rgba(120,100,160,.18)}
.row .ava,.hp-card .ava,.mo .hd .ava,.gb .ava,.sheet .item .ava,.topbar .ava,.strip .ava{box-shadow:none !important;border:1.5px solid #f0dbe6 !important;background:#fbf4fb !important}
#login h1{text-shadow:none;color:#9a7fb3}
.watchbar{background:#fbf4f8}


/* ══ 农场 · Y2K 皮（2026-09-27）══
   整片农场装进一扇小窗；草地薄荷绿 + 淡白格；田垄暖粉棕；装饰是像素小图；工具是塑料按键。作物图标不动。 */
.fm-win{margin:6px 8px 14px;border-radius:14px;overflow:hidden;background:#fffafc;border:1.5px solid #f0dbe6;
  box-shadow:0 2px 0 rgba(190,160,200,.35),0 6px 16px rgba(120,100,160,.10)}
.fm-win .y2k-bar{display:flex}
.fm-scene{margin:0;padding:0 8px 12px;
  background:linear-gradient(rgba(255,255,255,.45) 1px,transparent 1px) 0 0/28px 28px,
    linear-gradient(90deg,rgba(255,255,255,.45) 1px,transparent 1px) 0 0/28px 28px,
    linear-gradient(#ece8f8 0,#f5eef8 76px,#cfeedd 77px,#c2e8d4 55%,#b6e1cb 100%)}
.fm-top{background:#fff;border:1px solid #f0dbe6;border-radius:12px;box-shadow:inset 0 -2px 0 #f3e3ec}
.fm-top .ava{border-radius:30%;border:1.5px solid #f0dbe6;background:#fbf4fb}
.fm-top .who b{color:#5d5aa9} .fm-top .who small{color:#9b8fc2}
.fm-top .pill{display:inline-flex;align-items:center;gap:4px;color:#7a3f64;background:#fbe3ee;border:1px solid #f1c3d6;border-radius:999px}
.fm-coin{width:14px;height:14px}
.fm-deco .px{position:absolute;background-repeat:no-repeat;background-size:contain;image-rendering:pixelated;filter:none}
.fm-deco .house{right:12px;top:6px;width:44px;height:48px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 12' shape-rendering='crispEdges'%3E%3Crect x='4' y='0' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='6' y='0' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='7' y='1' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='8' y='2' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='6' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='8' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='9' y='3' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='5' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='6' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='7' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='8' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='9' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='10' y='4' width='1' height='1' fill='%23f2a7c3'/%3E%3Crect x='0' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='1' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='2' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='4' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='5' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='6' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='7' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='8' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='9' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='10' y='5' width='1' height='1' fill='%23e38aae'/%3E%3Crect x='1' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='2' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='3' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='4' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='5' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='6' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='7' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='8' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='9' y='6' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='1' y='7' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='2' y='7' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='3' y='7' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='4' y='7' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='5' y='7' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='6' y='7' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='7' y='7' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='8' y='7' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='9' y='7' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='1' y='8' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='2' y='8' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='3' y='8' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='4' y='8' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='5' y='8' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='6' y='8' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='7' y='8' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='8' y='8' width='1' height='1' fill='%23b9c7f4'/%3E%3Crect x='9' y='8' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='1' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='2' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='3' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='4' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='5' y='9' width='1' height='1' fill='%23c9b3e6'/%3E%3Crect x='6' y='9' width='1' height='1' fill='%23c9b3e6'/%3E%3Crect x='7' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='8' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='9' y='9' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='1' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='2' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='3' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='4' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='5' y='10' width='1' height='1' fill='%23c9b3e6'/%3E%3Crect x='6' y='10' width='1' height='1' fill='%23c9b3e6'/%3E%3Crect x='7' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='8' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='9' y='10' width='1' height='1' fill='%23fff6fa'/%3E%3Crect x='1' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='2' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='3' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='4' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='5' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='6' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='7' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='8' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3Crect x='9' y='11' width='1' height='1' fill='%23e7cfdc'/%3E%3C/svg%3E")}
.fm-deco .tree{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 11' shape-rendering='crispEdges'%3E%3Crect x='3' y='0' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23cdf0de'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23cdf0de'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23cdf0de'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23cdf0de'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='8' y='3' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='5' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='7' y='4' width='1' height='1' fill='%2383c9a6'/%3E%3Crect x='8' y='4' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='0' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='1' y='5' width='1' height='1' fill='%2383c9a6'/%3E%3Crect x='2' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='5' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='7' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='8' y='5' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='1' y='6' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='2' y='6' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='3' y='6' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='6' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='5' y='6' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='6' width='1' height='1' fill='%2383c9a6'/%3E%3Crect x='7' y='6' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='2' y='7' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='3' y='7' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='7' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='5' y='7' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='6' y='7' width='1' height='1' fill='%239fdcbd'/%3E%3Crect x='4' y='8' width='1' height='1' fill='%23c9a08f'/%3E%3Crect x='4' y='9' width='1' height='1' fill='%23c9a08f'/%3E%3Crect x='3' y='10' width='1' height='1' fill='%23c9a08f'/%3E%3Crect x='4' y='10' width='1' height='1' fill='%23c9a08f'/%3E%3Crect x='5' y='10' width='1' height='1' fill='%23c9a08f'/%3E%3C/svg%3E")}
.fm-deco .t1{left:8px;top:4px;width:36px;height:44px} .fm-deco .t2{left:44px;top:18px;width:27px;height:33px}
.fm-deco .heart{right:66px;top:18px;width:14px;height:12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23fff'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23f48fb8'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23f48fb8'/%3E%3C/svg%3E")}
.fm-deco .flower{width:15px;height:21px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 7' shape-rendering='crispEdges'%3E%3Crect x='1' y='0' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='3' y='0' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%23ffe08a'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%23f5a8c6'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%238fcfae'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%23aee3c7'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%238fcfae'/%3E%3Crect x='2' y='5' width='1' height='1' fill='%238fcfae'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%23aee3c7'/%3E%3Crect x='2' y='6' width='1' height='1' fill='%238fcfae'/%3E%3C/svg%3E")}
.fm-deco .f1{left:20px;top:78px} .fm-deco .f2{right:24px;top:80px} .fm-deco .f3{left:50%;top:84px}
/* 白色小栅栏 */
.fm-fence{background:linear-gradient(#fff,#f3eef8) 0 4px/100% 3px no-repeat,linear-gradient(#fff,#f3eef8) 0 10px/100% 3px no-repeat,
  repeating-linear-gradient(90deg,transparent 0 14px,#fff 14px 19px,#e9e1f2 19px 20px,transparent 20px 22px)}
/* 田垄：暖粉棕的土，浇过水深一档 */
.fm-plot .soil{background:repeating-linear-gradient(-26.6deg,#d9a79f 0 7px,#cf9a93 7px 10px)}
.fm-plot::before{background:#b98580}
.fm-plot.wet .soil{background:repeating-linear-gradient(-26.6deg,#b98a92 0 7px,#ad7e87 7px 10px)}
.fm-plot.fm-bare .soil{background:repeating-linear-gradient(-26.6deg,#ecc9c2 0 7px,#e4bdb6 7px 10px)}
.fm-plot .no{color:rgba(255,255,255,.85);font-family:var(--y-pixel)}
.fm-up .crop{filter:drop-shadow(0 2px 1px rgba(150,100,120,.3))}
.fm-spark{display:block;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0 L12 8 L20 10 L12 12 L10 20 L8 12 L0 10 L8 8 Z' fill='%23f7a8c9'/%3E%3C/svg%3E") center/contain no-repeat}
.fm-up .sign{background:#fff;color:#7a5a8f;border:1px solid #f0c7d8;border-radius:6px;box-shadow:0 1px 0 #f3d9e5}
.fm-up .sign.gold{background:#f6c3d7;color:#7a3f64;border-color:#e9b1c8;font-weight:600}
.fm-up .sign em{background:#f06aa3}
.fm-up .bub i{box-shadow:0 1px 0 #f0dbe6;border:1px solid #f0dbe6}
.fm-note{color:#7a5a8f;text-shadow:none}
/* 工具：塑料按键 */
.fm-tools{background:#fff;border:1px solid #f0dbe6;border-radius:14px;box-shadow:inset 0 -2px 0 #f3e3ec}
.fm-tools span{width:42px;height:42px;border-radius:12px;background:#eceffb;color:#5d5aa9;border:1px solid #d6dbf3;box-shadow:inset 0 -2px 0 #cfd5f1}
.fm-tools span svg{width:21px;height:21px}
.fm-tools div:active span{box-shadow:inset 0 2px 0 #cfd5f1}
.fm-tools small{color:#8f86b5}
.fm-barn span{background:#fff;border:1px solid #f0dbe6;color:#5d5aa9}
.fm-row .ava{border-radius:30%;border:1.5px solid #f0dbe6;background:#fbf4fb}
.fm-row .nm{color:#5d5aa9}

/* ══ 农场 2.0 · 像素作物、设施、等级、天气、果园（2026-09-27）══ */
.fs{display:block;image-rendering:pixelated}
.fm-up .crop{filter:drop-shadow(0 2px 0 rgba(150,100,120,.25))}
.fm-up .crop .fs{width:calc(var(--w) * .34);height:calc(var(--w) * .34)}
.fm-up .crop.s0 .fs{width:calc(var(--w) * .24);height:calc(var(--w) * .24)}
.fm-up .crop.s1 .fs{width:calc(var(--w) * .28);height:calc(var(--w) * .28)}
.fm-up .crop.ripe .fs{width:calc(var(--w) * .42);height:calc(var(--w) * .42)}
.fm-up .crop b.fm-spark{position:absolute;right:-8px;top:-6px}
.fm-fac{position:absolute;bottom:18%;width:calc(var(--w) * .16);height:calc(var(--w) * .16);pointer-events:none}
.fm-fac.spr{left:14%} .fm-fac.scare{right:12%;bottom:24%;height:calc(var(--w) * .22)}
.fm-fac .fs{width:100%;height:100%}
.fm-plot .fert{position:absolute;left:50%;top:62%;width:7px;height:7px;border-radius:50%;transform:translateX(-50%);
  border:1.5px solid #fff;box-shadow:0 0 0 1px rgba(150,100,120,.25)}
.fm-plot .fert.fert_basic{background:#c9a86a} .fm-plot .fert.fert_speed{background:#7fd0f0} .fm-plot .fert.fert_deluxe{background:#b58ae8}
.fm-top{flex-wrap:wrap}
.fm-top .pill.lv{background:#e3e7f8;color:#5d5aa9;border-color:#cfd5f1;font-family:var(--y-pixel);font-size:11px}
.fm-top .pill.wx .fs{width:14px;height:14px}
.fm-xp{position:relative;z-index:30;margin:6px 4px 0;height:16px;border-radius:999px;background:#fff;border:1px solid #f0dbe6;overflow:hidden}
.fm-xp i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#f6c3d7,#cfd5f1);border-radius:999px}
.fm-xp span{position:relative;display:block;text-align:center;font-size:10.5px;line-height:14px;color:#7a5a8f}
.fm-orchard{position:relative;z-index:30;margin:8px 0 6px;padding:8px;background:rgba(255,255,255,.85);border:1px solid #f0dbe6;border-radius:12px}
.fm-orchard>b{display:block;font:700 11px/1 var(--y-pixel);color:#9a7fb3;margin:0 0 6px 2px;letter-spacing:.04em}
.fm-orchard .row{display:flex;gap:6px;overflow-x:auto}
.fm-orchard .cell{flex:0 0 64px;text-align:center;cursor:pointer}
.fm-orchard .cell .fs{width:52px;height:52px;margin:0 auto}
.fm-orchard .cell small{display:block;font-size:10.5px;color:#7a5a8f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-orchard .cell.empty span{display:grid;place-items:center;width:44px;height:44px;margin:4px auto;border:1.5px dashed #e3c3d3;border-radius:10px;color:#d6a9c0;font-size:20px}
.fm-orchard.lock{text-align:center;font-size:12px;color:#9b8fc2}
.fm-barn span{display:inline-flex;align-items:center;gap:4px}
.fm-barn span .fs{width:20px;height:20px}
.fm-barn em{font-style:normal;font-size:10.5px;padding:0 5px;border-radius:999px;border:1px solid}
.fm-barn .q1 em{color:#7d8ca8;border-color:#c9d2e2;background:#f3f6fb}
.fm-barn .q2 em{color:#c28a12;border-color:#f0d58c;background:#fff8e3}
.fm-barn .q3 em{color:#8a5ad8;border-color:#d6c1f5;background:#f6f0ff}

/* ══ 农场 2.0 第二期：牧场 ══ */
.fm-ranch>b{display:flex;align-items:center;gap:6px}
.fm-ranch .acts{margin-left:auto;display:flex;gap:4px}
.fm-ranch .acts i{display:inline-flex;align-items:center;gap:2px;font-size:11px;font-weight:600;line-height:1;font-style:normal;color:#7a5a8f;
  padding:3px 7px;border:1px solid #f0dbe6;border-radius:999px;background:#fff;cursor:pointer;letter-spacing:0}
.fm-ranch .acts svg{width:13px;height:13px}
.fm-ranch .blds{display:grid;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:4px;overflow:visible;margin-bottom:6px}
.fm-ranch .bld{position:relative;text-align:center;cursor:pointer;min-width:0}
.fm-ranch .bld .fs-build{width:54px;height:46px;margin:0 auto}
.fm-ranch .bld small,.fm-ranch .ani small{display:block;font-size:10.5px;color:#7a5a8f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-ranch .anis{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:6px 4px;padding-top:6px;border-top:1px dashed #f0dbe6}
.fm-ranch .ani{position:relative;text-align:center;cursor:pointer;padding:2px 0}
.fm-ranch .ani .fs-animal{width:40px;height:40px;margin:0 auto;animation:fm-bob 2.4s steps(2) infinite}
.fm-ranch .ani.hungry .fs-animal,.fm-ranch .ani.sad .fs-animal{animation:none;filter:saturate(.55);opacity:.85}
.fm-ranch .ani:nth-child(2n) .fs-animal{animation-delay:-1.2s}
@keyframes fm-bob{50%{transform:translateY(-2px)}}
.fm-ranch .got{position:absolute;top:-2px;right:2px;display:flex;align-items:center;background:#fff;border:1px solid #f0d58c;border-radius:8px;padding:1px 3px;font-style:normal}
.fm-ranch .got .fs{width:14px;height:14px}
.fm-ranch .got b{font:700 10px/1 var(--y-pixel);color:#c28a12;margin-left:1px}
.fm-ranch .bld .got{top:0;right:0}
.fm-ranch .ani .alert{position:absolute;top:0;left:6px;width:14px;height:14px;border-radius:50%;background:#ff9fb8;color:#fff;
  font:700 10px/14px var(--y-pixel);font-style:normal}
.fm-ranch .love{position:absolute;top:1px;left:8px;width:8px;height:7px;background:#ff9fb8;
  clip-path:polygon(0 25%,25% 0,50% 25%,75% 0,100% 25%,100% 50%,50% 100%,0 50%)}
.fm-ranch .hearts{display:flex;justify-content:center;gap:1px;margin-top:1px}
.fm-ranch .hearts i{width:6px;height:5px;background:#eadcf0;clip-path:polygon(0 25%,25% 0,50% 25%,75% 0,100% 25%,100% 50%,50% 100%,0 50%)}
.fm-ranch .hearts i.on{background:#ff7a9a}
.fm-ranch .hp-empty{padding:8px;font-size:12px}
@media (prefers-reduced-motion: reduce){.fm-ranch .ani .fs-animal{animation:none}}
/* 果园格子借用了 .row / .empty 这两个类名，挡住列表页的同名全局样式（80px 留白、分隔线） */
.fm-orchard .row{padding:0;gap:6px;align-items:flex-start;cursor:default}
.fm-orchard .row::after{display:none}
.fm-orchard .cell.empty{padding:0;line-height:normal;font-size:inherit;color:inherit}

/* ══ 农场 2.0 第三期：工坊 ══ */
.fm-shop .mcs{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px 4px}
.fm-shop .mc{position:relative;text-align:center;cursor:pointer;min-width:0}
.fm-shop .mc .fs-machine{width:44px;height:44px;margin:0 auto}
.fm-shop .mc.idle .fs-machine{opacity:.7}
.fm-shop .mc.working .fs-machine{animation:fm-bob 1.2s steps(2) infinite}
.fm-shop .mc small{display:block;font-size:10.5px;color:#7a5a8f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-shop .mc small.left{font-size:10px;color:#9b8fc2}
.fm-shop .mc small.left.ok{color:#c28a12;font-weight:600}
.fm-shop .bar{display:block;height:5px;margin:3px 6px 1px;border-radius:999px;background:#f0e6f7;overflow:hidden}
.fm-shop .bar i{display:block;height:100%;background:linear-gradient(90deg,#b8a3e0,#ff9fb8);border-radius:999px}
@media (prefers-reduced-motion: reduce){.fm-shop .mc.working .fs-machine{animation:none}}

/* ══ 农场 2.0 第四期：订单、交易所、木牌、好友度 ══ */
.fm-hearts{display:inline-flex;gap:1px;vertical-align:middle;margin-left:4px}
.fm-hearts i{width:7px;height:6px;background:#eadcf0;clip-path:polygon(0 25%,25% 0,50% 25%,75% 0,100% 25%,100% 50%,50% 100%,0 50%)}
.fm-hearts i.on{background:#ff7a9a}
.fm-top .pill.fr .fm-hearts{margin:0}
.fm-row .fm-h{display:inline-flex;align-items:center;gap:2px;font-style:normal;color:#ff7a9a;margin-right:6px}
.fm-row .fm-h::before{content:'';width:9px;height:8px;background:#ff7a9a;clip-path:polygon(0 25%,25% 0,50% 25%,75% 0,100% 25%,100% 50%,50% 100%,0 50%)}
.fm-orders{padding:8px 10px;display:flex;flex-direction:column;gap:8px}
.fm-orders .od{border:1px solid #f0dbe6;border-radius:12px;padding:8px 10px;background:#fff;cursor:pointer}
.fm-orders .od.done{opacity:.6}
.fm-orders .t{display:flex;align-items:center;gap:6px;margin-bottom:4px}
.fm-orders .t b{font-size:13.5px;color:#5d5aa9;font-weight:600}
.fm-orders .t em{font-style:normal;font-size:10.5px;color:#c28a12;border:1px solid #f0d58c;background:#fff8e3;border-radius:999px;padding:0 6px}
.fm-orders .t small{margin-left:auto;font-size:11.5px;color:#c28a12}
.fm-orders .it{display:grid;grid-template-columns:20px minmax(0,5em) 1fr auto;align-items:center;gap:6px;font-size:12.5px;color:#6b5a8a;margin:3px 0}
.fm-orders .it .fs{width:20px;height:20px}
.fm-orders .it .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-orders .it .bar{height:6px;border-radius:999px;background:#f0e6f7;overflow:hidden}
.fm-orders .it .bar i{display:block;height:100%;background:linear-gradient(90deg,#b8a3e0,#ff9fb8)}
.fm-orders .it small{font-size:11px;color:#9b8fc2;white-space:nowrap}
.fm-orders .who{display:block;font-size:11px;color:#9b8fc2;margin-top:2px}
.fm-market{padding:8px 10px}
.fm-market .hot{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}
.fm-market .hot>small,.fm-market .mine>small{width:100%;font-size:11px;color:#9b8fc2}
.fm-market .hot span{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:#6b5a8a;background:#fff;border:1px solid #f0dbe6;border-radius:999px;padding:2px 8px}
.fm-market .hot .fs{width:16px;height:16px}
.fm-market em.up{font-style:normal;color:#e0607e;font-size:11px}
.fm-market em.dn{font-style:normal;color:#5fa0d9;font-size:11px}
.fm-market .li{display:grid;grid-template-columns:22px 1fr auto auto;align-items:center;gap:6px;padding:6px 2px;border-top:1px dashed #f0dbe6;cursor:pointer;font-size:13px;color:#5d5aa9}
.fm-market .li .fs{width:22px;height:22px}
.fm-market .li small{font-size:11px;color:#9b8fc2;max-width:7em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-market .li b{display:inline-flex;align-items:center;gap:2px;font-weight:600;color:#c28a12}
.fm-market .li em{font-style:normal;font-size:10px;margin-left:3px;padding:0 4px;border-radius:999px;border:1px solid #f0d58c;color:#c28a12}
.fm-market .mine{margin-top:6px}
.fm-signs{padding:6px 10px}
.fm-signs .sg{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;padding:6px 0;border-top:1px dashed #f0dbe6;font-size:13px;color:#5d5aa9}
.fm-signs .sg:first-child{border-top:0}
.fm-signs .sg b{font-weight:600;color:#9a7fb3}
.fm-signs .sg span{word-break:break-word}
.fm-signs .sg small{grid-column:2;font-size:10.5px;color:#b5a8d0}

/* ══ 农场 2.0 第五期：巨型作物、节日、社区中心、排行 ══ */
.fm-giant{position:absolute;display:flex;flex-direction:column;align-items:center;cursor:pointer;pointer-events:auto}
.fm-giant .fs{width:100%;height:auto;filter:drop-shadow(0 4px 0 rgba(122,90,143,.18))}
.fm-giant .sign{position:relative;margin-top:-4px;padding:2px 8px;white-space:nowrap;font-size:12px;
  background:#f6c3d7;color:#7a3f64;border:1px solid #e9b1c8;border-radius:6px;box-shadow:0 1px 0 #f3d9e5;font-weight:600}
.fm-fest{position:relative;z-index:25;display:flex;align-items:center;gap:6px;margin:6px 0 2px;padding:5px 10px;border-radius:999px;
  background:linear-gradient(90deg,#fff3c0,#ffd6e0);border:1px solid #f0d58c;font-size:12px;color:#7a5a8f;cursor:pointer;overflow:hidden}
.fm-fest .fs{width:18px;height:18px;flex:0 0 18px}
.fm-fest b{font-weight:700;color:#c26a12;white-space:nowrap}
.fm-fest span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-cc{padding:8px 10px}
.fm-cc .chips{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.fm-cc .chips span{font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid #eadcf0;color:#9b8fc2;background:#fff}
.fm-cc .chips span.on{color:#5d5aa9;border-color:#b8a3e0;background:#f3eefc;font-weight:600}
.fm-cc .chips span.done{color:#4f9a6a;border-color:#bfe3cb;background:#effaf2}
.fm-cc .od{border:1px solid #f0dbe6;border-radius:12px;padding:8px 10px;background:#fff;cursor:pointer}
.fm-cc .t{display:flex;flex-direction:column;gap:2px;margin-bottom:4px}
.fm-cc .t b{font-size:13.5px;color:#5d5aa9}
.fm-cc .t small{font-size:11px;color:#c28a12}
.fm-cc .it{display:grid;grid-template-columns:20px minmax(0,6em) 1fr auto;align-items:center;gap:6px;font-size:12.5px;color:#6b5a8a;margin:3px 0}
.fm-cc .it .fs{width:20px;height:20px}
.fm-cc .it i.cat{width:14px;height:14px;margin:3px;border-radius:4px;background:linear-gradient(135deg,#ffd6e0,#c9d8ff)}
.fm-cc .it .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-cc .it em{font-style:normal;font-size:10px;color:#c28a12;margin-left:2px}
.fm-cc .it .bar{height:6px;border-radius:999px;background:#f0e6f7;overflow:hidden}
.fm-cc .it .bar i{display:block;height:100%;background:linear-gradient(90deg,#9fdcbd,#b8a3e0)}
.fm-cc .it small{font-size:11px;color:#9b8fc2;white-space:nowrap}
.fm-cc .who{display:block;font-size:11px;color:#9b8fc2;margin-top:2px}
.fm-cc .gift,.fm-fests .gift{margin-top:8px;padding:6px 10px;border-radius:10px;background:#fff8e3;border:1px solid #f0d58c;color:#c28a12;font-size:12.5px;cursor:pointer}
.fm-fests{padding:8px 10px}
.fm-fests .nx{display:flex;gap:8px;align-items:center;font-size:12.5px;color:#6b5a8a}
.fm-fests .nx .fs{width:28px;height:28px;flex:0 0 28px}
.fm-fests .nx small{display:block;font-size:11px;color:#9b8fc2;margin-top:2px}
.fm-fests .board div{display:grid;grid-template-columns:18px 20px 1fr auto;align-items:center;gap:6px;padding:4px 0;font-size:12.5px;color:#5d5aa9}
.fm-fests .board .fs{width:20px;height:20px}
.fm-fests .board b{color:#c28a12}
.fm-fests .board small{font-size:11px;color:#9b8fc2}
.fm-fests .board .me span{font-weight:700}
.fm-ranks{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}
.fm-ranks .rk{border:1px solid #f0dbe6;border-radius:12px;padding:6px 8px;background:#fff;min-width:0}
.fm-ranks .rk>b{display:block;font:700 11px/1.6 var(--y-pixel);color:#9a7fb3;letter-spacing:.04em}
.fm-ranks .rk div{display:grid;grid-template-columns:14px 1fr auto;gap:4px;align-items:center;font-size:12px;color:#5d5aa9;padding:1px 0}
.fm-ranks .rk i{font-style:normal;color:#c28a12;font-weight:700}
.fm-ranks .rk span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-ranks .rk small{font-size:11px;color:#9b8fc2}
.fm-ranks .rk .me span{font-weight:700}
.fm-ranks .rk .mine{display:block;margin-top:3px;font-size:10.5px;color:#9b8fc2;border-top:1px dashed #f0dbe6;padding-top:3px}

/* ══ 收到的花（2026-09-28）══ */
.fw-banner{display:flex;align-items:center;gap:10px;margin:8px 12px;padding:8px 12px;border-radius:14px;cursor:pointer;
  background:linear-gradient(90deg,#fff0f5,#f3eefc);border:1px solid #f0c7d8}
.fw-banner .fs-bouquet{width:34px;height:42px;flex:0 0 34px}
.fw-banner span{flex:1;min-width:0}
.fw-banner b{display:block;font-size:14px;color:#c0507e}
.fw-banner small{display:block;font-size:11.5px;color:#9b8fc2;margin-top:2px}
.fw-banner i{font-style:normal;color:#c0a8d8}
.fw-win{padding-bottom:14px}
.fw-head{padding:12px 14px 6px}
.fw-head b{display:block;font:700 15px/1.4 var(--y-pixel, inherit);color:#9a5f8f}
.fw-head small{display:block;font-size:12px;color:#9b8fc2;margin-top:3px}
.fw-card{display:flex;gap:12px;margin:10px 12px;padding:12px;border-radius:16px;background:#fff;border:1px solid #f0dbe6;box-shadow:0 2px 0 #f6e4ee}
.fw-card.new{border-color:#f5a8c6;box-shadow:0 0 0 2px #ffe0ec}
.fw-pic{flex:0 0 84px}
.fw-pic .fs-bouquet{width:84px;height:105px}
.fw-pic .fs-carriage{width:84px;height:69px;margin-top:8px}
.fw-car{background:linear-gradient(#fffaf0,#fff);border-color:#f3d9a0;box-shadow:0 2px 0 #f7e6c0}
.fw-car.new{border-color:#f0c060;box-shadow:0 0 0 2px #fff0c8}
.fw-car .fw-name{color:#b0601e}
.fw-banner .fs-carriage{width:44px;height:33px;flex:0 0 44px}
.fw-magic{font-size:12px;color:#8a7ab8;font-style:italic;margin:3px 0 2px;letter-spacing:.5px}
.fw-slipper{font-size:12.5px;color:#3f7fc0;background:#eef8ff;border:1px solid #cfe8ff;border-radius:10px;padding:6px 9px;margin-top:8px}
.fw-slipper small{display:block;font-size:11px;color:#8fb0d8;margin-top:2px}
.fw-take-shoe{background:linear-gradient(#e8f6ff,#cfe8ff);color:#3f6fa8;border-color:#9fc8f0}
.fw-pic.pop .fs-carriage{animation:fw-pop 1.1s cubic-bezier(.3,1.6,.5,1) 1}
@keyframes fw-pop{0%{transform:scale(.6);opacity:.3}60%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.fm-barn .fm-keep{background:#fffaf0;border-color:#f3d9a0}
.fm-barn .fm-keep .fs-carriage{width:30px;height:22px}
.fw-body{flex:1;min-width:0}
.fw-name{font-size:15.5px;font-weight:700;color:#7a3f64}
.fw-grade{font-size:10.5px;font-weight:600;margin-left:6px;padding:1px 7px;border-radius:999px;border:1px solid #e3d6ec;color:#9b8fc2;vertical-align:2px}
.fw-grade.g1{color:#7d8ca8;border-color:#c9d2e2;background:#f3f6fb}
.fw-grade.g2{color:#c28a12;border-color:#f0d58c;background:#fff8e3}
.fw-grade.g3{color:#8a5ad8;border-color:#d6c1f5;background:#f6f0ff}
.fw-date{font-size:11.5px;color:#b5a8d0;margin:3px 0 8px}
.fw-note{font-size:14px;line-height:1.75;color:#5d4a6a;background:#fffaf2;border:1px dashed #ecd9b8;border-radius:10px;padding:8px 10px;
  white-space:pre-wrap;word-break:break-word}
.fw-meaning{font-size:12px;color:#c0507e;margin:8px 0 4px}
.fw-flowers{display:flex;flex-wrap:wrap;gap:4px 6px}
.fw-flowers span{font-size:11.5px;color:#7a5a8f;background:#f7f2fb;border-radius:8px;padding:2px 7px}
.fw-flowers small{font-size:10.5px;color:#a996c4;margin-left:4px}
.fw-take{margin-top:10px;width:100%;background:linear-gradient(#ffe0ec,#ffc9dc);color:#7a3f64;border:1px solid #f0a8c4;
  border-radius:12px;padding:9px;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 2px 0 #f3c3d6}
.fw-got{margin-top:10px;font-size:12px;color:#4f9a6a}
.fw-empty{display:flex;align-items:center;gap:12px;margin:18px 16px;color:#9b8fc2;font-size:14px;line-height:1.7}
.fw-empty .fs-bouquet{width:64px;height:80px;opacity:.7}
.fw-hint{font-size:12px;color:#9b8fc2;text-align:center;margin:6px 0}

/* 像素小人（2026-09-28） */
.fm-deco .fm-farmer{right:64px;top:30px;width:28px;height:58px;z-index:3;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 2px 0 rgba(90,60,80,.18))}
.fm-farmer .av,.hp-fig .av{width:100%;height:100%;display:block}
.hp-fig{flex:0 0 34px;width:34px;height:70px;cursor:pointer;margin-left:6px}
.fig-big{display:flex;justify-content:center;background:linear-gradient(#f3fbff,#eaf7e8);border-radius:14px;padding:14px 0}
.fig-big .av{width:96px;height:198px}

/* 宠物（2026-09-28） */
.fm-deco .fm-follow{right:94px;top:58px;width:24px;height:24px;z-index:3;pointer-events:none}
.fm-follow .pet{width:100%;height:100%;display:block}
.fm-dexbtn{float:right;font-size:12px;font-weight:500;color:#8a6ad0;cursor:pointer}
.pt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;padding:10px}
.pt-card{background:#fff;border:1px solid #efe4f4;border-radius:12px;padding:6px 4px;text-align:center;cursor:pointer}
.pt-card .pet{width:52px;height:52px;display:block;margin:0 auto}
.pt-card b{display:block;font-size:12.5px;color:#5d4a6a}.pt-card small{font-size:10.5px;color:var(--hint)}
.pt-card.r-rare{border-color:#bcd8f4}.pt-card.r-epic{border-color:#d6c1f5;background:#fbf7ff}.pt-card.r-legend{border-color:#f0d58c;background:#fffbea}
.pt-card.shiny{box-shadow:0 0 0 2px #ffe27a}
.pt-eggs{display:flex;flex-wrap:wrap;gap:8px;padding:0 10px 8px}
.pt-egg{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#7a5a8f;background:#fbf7ff;border-radius:10px;padding:4px 8px}
.pt-egg small{color:var(--hint);margin-left:2px}.pt-eggi{width:20px;height:20px}
.pt-meta{font-size:12px;color:var(--hint);padding:0 12px 10px}
.pt-big{width:120px;height:120px}
.pt-desc{font-size:13px;line-height:1.8;color:#5d4a6a;margin:8px 2px}
.pt-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 10px;font-size:12px;color:#8a7a9a;margin:4px 2px}.pt-stats b{color:#5d4a6a}
.pt-dex{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px;margin:6px 0 10px}
.pt-dex>div{text-align:center;background:#fff;border:1px solid #efe4f4;border-radius:10px;padding:4px 2px}
.pt-dex .pet{width:40px;height:40px;display:block;margin:0 auto}.pt-dex small{font-size:10.5px;color:#7a5a8f}
.pt-dex .no{opacity:.55}.pt-dex .q{display:block;width:40px;height:40px;margin:0 auto;line-height:40px;font-size:20px;color:#c9b8dc}
.pt-dex .own{border-color:#bfe0c8}
.pt-odds{font-size:12px;line-height:1.9;color:#6d5a7a;background:#fbf7ff;border-radius:12px;padding:10px 12px;margin-bottom:10px}

/* 对战（2026-09-28） */
.bt-badges{display:flex;gap:6px;padding:10px 12px 4px}.bt-badges span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;background:#f2eef7;color:#c9b8dc;border:1px dashed #d9cce8}
.bt-badges span.won{background:linear-gradient(#fff3b0,#ffd84a);color:#8a5a1a;border:1px solid #e0b840}
.bt-pets{display:inline-flex;align-items:center;gap:2px}.bt-pets .pet{width:28px;height:28px}.bt-pets i{font-style:normal;font-size:10px;color:var(--hint)}
.bt-gym{font-style:normal;font-size:10.5px;margin-left:6px;padding:1px 6px;border-radius:999px;background:#f6f0ff;color:#8a5ad8}
.bt-arena{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;background:linear-gradient(#eef8ff,#f4fbef);border-radius:14px;padding:12px 8px;text-align:center}
.bt-arena .pet{width:72px;height:72px;display:block;margin:0 auto}.bt-arena b{display:block;font-size:13px;color:#5d4a6a}.bt-arena small{font-size:11px;color:var(--hint)}
.bt-arena .vs{font:700 14px var(--y-pixel,inherit);color:#c0507e}.bt-arena .q{display:block;font-size:30px;color:#c9b8dc;height:72px;line-height:72px}
.bt-hp{height:7px;border-radius:4px;background:#eee6f2;margin:4px 8px 2px;overflow:hidden}.bt-hp .bt-fill{display:block;height:100%;transition:width .4s}
.bt-log{max-height:240px;overflow:auto;font-size:12.5px;line-height:1.8;color:#5d4a6a;margin:10px 2px}.bt-log>div{padding:6px 0;border-bottom:1px dashed #eee4f2}
.bt-log em{font-style:normal;font-weight:600;color:#8a6ad0}.bt-log small{color:var(--hint)}
.bt-ctl{display:flex;gap:8px;margin-bottom:6px}.bt-ctl button{flex:1}.bt-end{flex:1;text-align:center;font-weight:600;color:#c0507e;padding:8px}

/* 交易所打通（2026-09-28） */
.gd-pic{width:32px;height:32px;flex:0 0 32px;display:inline-flex}.gd-pic .pet,.gd-pic .pt-eggi{width:32px;height:32px}
.gd-pet{width:28px;height:28px;vertical-align:middle}
