/* ===== 聊天列表、羽毛牆、「我」重新設計 ===== */
/* --- 聊天列表 --- */
header.top .pl-more{display:none!important}
.h2-online{margin:2px 12px 8px;padding:10px 12px 8px;background:var(--cu-card,#fff);border-radius:20px;box-shadow:var(--cu-sh,0 6px 18px rgba(110,80,50,.08))}
.h2-online small{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:800;color:var(--cu-mute,#8a7466);margin-bottom:6px;--ico-fill:#ffd9d2}
.h2-online>div{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:14px 4px 6px}
.h2-online button{flex:none;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:4px;width:78px;position:relative}
/* 帶翅膀：頭貼本體 44px，翅膀可以往外長到 78px 寬，不互相擠 */
.h2-oav{position:relative;display:grid;place-items:center;width:78px;height:52px}
.h2-oav>*:first-child{transform:scale(.92);transform-origin:center}
.h2-oav .hex.sm{width:44px!important;height:44px!important;font-size:21px!important}
.h2-oav>.h2-dot{position:absolute;left:calc(50% + 12px);top:34px;width:12px;height:12px;border-radius:50%;background:#2ec4a0;border:2px solid var(--cu-card,#fff);z-index:3}
.h2-online button>span:last-child{font-size:11px;color:var(--cu-ink,#3d2a20);max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srow.h2c .sbtn.pri{width:40px!important;height:40px!important;border-radius:14px!important;background:var(--cu-card,#fff)!important;color:var(--cu-ink,#3d2a20)!important;box-shadow:var(--cu-sh)!important;--ico-fill:#ffd9d2;display:grid;place-items:center}
#list .row .name{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.h2-st{font-style:normal;font-size:10px;font-weight:800;border-radius:999px;padding:1px 7px;background:#fff1e8;color:#c4513f;line-height:1.5}
.h2-st.s2{background:#e5f0ff;color:#2f6db5}.h2-st.s3{background:#efe6ff;color:#7258d6}.h2-st.s4{background:#fff3c4;color:#8a5d10}.h2-st.s5{background:linear-gradient(135deg,#ffe29a,#ff9f8a);color:#5a2a10}
.h2-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:40px 20px;text-align:center;color:var(--cu-mute,#8a7466);--ico-fill:#ffd9d2}
.h2-empty b{font-size:16px;color:var(--cu-ink,#3d2a20)}.h2-empty small{font-size:13px;margin-bottom:8px}
/* --- 羽毛牆 --- */
html[data-tab="moments"] #main .stories{display:none!important}
header.top .pl-wbtn:not(.pl-post){display:none!important}
header.top .ib.pl-post{position:fixed!important;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:60;height:52px!important;padding:0 18px 0 14px!important;border-radius:26px!important;background:linear-gradient(135deg,var(--cu-brand2,#ff8a74),var(--cu-brand,#e5576b))!important;color:#fff!important;box-shadow:0 10px 24px rgba(229,87,107,.35)!important;display:inline-flex!important;align-items:center;gap:6px;font-weight:900;font-size:15px;width:auto!important}
html:not([data-tab="moments"]) header.top .ib.pl-post{display:none!important}
.h2-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 14px 8px;margin:0}
.h2-chips .chip{flex:none;display:inline-flex;align-items:center;gap:4px;--ico-fill:#ffd9d2}
.h2-chips .chip.on{--ico-fill:#ffffff66}
.h2-chips .h2-tg{color:#c4513f!important}.h2-chips .h2-tg.on{color:#fff!important}
.h2-board{display:flex;align-items:center;gap:10px;width:calc(100% - 28px);margin:0 14px 10px;padding:10px 12px;border:0;border-radius:20px;background:linear-gradient(135deg,#fff7dd,#fff);box-shadow:var(--cu-sh,0 6px 18px rgba(110,80,50,.08));text-align:left;color:var(--cu-ink,#3d2a20)}
.h2-bi{width:36px;height:36px;border-radius:12px;background:#fff3c4;color:#8a5d10;display:grid;place-items:center;--ico-fill:#ffe29a;flex:none}
.h2-board>div{flex:1;min-width:0}.h2-board b{display:block;font-size:13.5px;font-weight:900}.h2-board small{display:block;font-size:12px;color:var(--cu-mute,#8a7466);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2-bavs{display:flex;flex:none}.h2-bavs .hex.sm{width:28px!important;height:28px!important;font-size:13px!important;margin-left:-8px;border:2px solid #fff;border-radius:50%}
.h2-board em{font-style:normal;color:var(--cu-mute,#8a7466);font-size:18px}
html.night .h2-board{background:linear-gradient(135deg,#3a3350,#221b3a);color:#f3ecff}
/* --- 我 --- */
#main.h2me .mlist,#main.h2me .gw-entry{display:none!important}
.mecard.h2c{padding-top:62px!important}
.mecard.h2c .pcov{height:96px}.mecard.h2c .pcov.img{height:120px}
.mecard.h2c .cvbtn{top:10px!important;right:12px!important;left:auto!important;width:34px!important;height:34px!important;padding:0!important;border-radius:12px!important;display:grid;place-items:center;font-size:0!important;--ico-fill:#ffd9d2}
.h2-head{display:flex;align-items:center;gap:14px;padding:0 4px}
.h2-head .avbtn{position:relative;flex:none;margin:0!important}
.h2-head .avbtn .hex.lg{width:84px!important;height:84px!important;font-size:40px!important}
.h2-ring{position:absolute;inset:-9px;width:calc(100% + 18px);height:calc(100% + 18px);transform:rotate(-90deg);pointer-events:none}
.h2-ring circle{fill:none;stroke-width:5;stroke-linecap:round}
.h2-ring .h2-rbg{stroke:#f3e8da}.h2-ring .h2-rfg{stroke:url(#h2grad),#e5576b;stroke:#e5576b;transition:stroke-dashoffset .6s ease}
.h2-ring.max .h2-rfg{stroke:#ffb21c}
.h2-right{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.h2-right .nmw{justify-content:flex-start!important;margin:0!important}
.h2-right .nmw .nmi{text-align:left!important;font-size:22px!important;padding:0!important;width:auto!important;max-width:170px}
.h2-right .meidl{margin:0!important;font-size:12px!important}
.h2-right .meidl #uidedit{display:none!important}
.h2-right .note{margin:4px 0 0!important;max-width:100%;text-align:left}
.h2-right .note span{font-size:13px!important}.h2-right .note small{display:none!important}
.h2-stage{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:999px;padding:4px 10px;background:#fff1e8;color:#c4513f;font-size:12px;font-weight:800;--ico-fill:#ffd9d2}
.h2-stage small{font-weight:600;color:#a8705f;margin-left:2px}
.mecard.h2c .mebg{justify-content:flex-start!important}
.h2-groups{display:flex;flex-direction:column;gap:12px;padding:0 14px 6px}
.h2-g{background:var(--cu-card,#fff);border-radius:22px;box-shadow:var(--cu-sh,0 6px 18px rgba(110,80,50,.08));padding:6px 6px 6px}
.h2-g h4{margin:0;padding:8px 12px 4px;font-size:12.5px;font-weight:900;color:var(--cu-mute,#8a7466);letter-spacing:.6px}
.h2-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;background:transparent;text-align:left;color:var(--cu-ink,#3d2a20);border-top:1px solid var(--cu-soft,#fff1e8);font:inherit}
.h2-g h4+.h2-row{border-top:0}
.h2-row:active{background:var(--cu-soft,#fff1e8)}
.h2-ic{width:36px;height:36px;border-radius:12px;background:var(--cu-soft,#fff1e8);display:grid;place-items:center;color:#c4513f;--ico-fill:#ffd9d2;flex:none}
.h2-t{flex:1;min-width:0}.h2-t b{display:block;font-size:15px;font-weight:800}.h2-t small{display:block;font-size:12.5px;color:var(--cu-mute,#8a7466);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2-row em{font-style:normal;color:var(--cu-mute,#8a7466);font-size:20px}
.h2-badge{font-style:normal;min-width:20px;height:20px;border-radius:10px;background:#e5576b;color:#fff;font-size:11.5px;font-weight:800;display:grid;place-items:center;padding:0 6px}
html.night .h2-row{border-top-color:#2e2650}html.night .h2-ic,html.night .h2-stage{background:#2b2346;color:#ffb3a7;--ico-fill:#4a3a66}html.night .h2-ring .h2-rbg{stroke:#2e2650}html.night .h2-st{filter:brightness(.85)}
/* 我：避免橫向溢出 */
.mecard.h2c{overflow:hidden}
.mecard.h2c .mebg,.mecard.h2c .ptags{flex-wrap:wrap!important;justify-content:flex-start!important;row-gap:6px}
.h2-right .nmw{display:flex;align-items:center;gap:6px;max-width:100%}
.h2-right .nmw .nmi{min-width:0;flex:1;max-width:150px!important;font-size:21px!important}
.h2-right .nmw .nmb{flex:none;width:28px!important;height:28px!important;padding:0!important;display:grid;place-items:center;font-size:0!important}
.h2-stage{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-flex}
.h2-stage small{display:none}
@media(min-width:400px){.h2-stage small{display:inline}}
.h2-right .note{max-width:100%;overflow:hidden}
.h2-right .note span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mecard.h2c .nmb::before{content:none!important}.mecard.h2c .nmb .ico{--ico-fill:#ffd9d2}
/* 聊天頁的想法／限時動態列拿掉：心情一句話改在「我」頁寫，限時動態與羽毛牆重疊 */
html[data-tab="chats"] #main .notes{display:none!important}
.h2-online{margin-top:10px}
/* ===== 新版26：我頁更可愛 ===== */
#main.h2me .tiles{display:none!important}
.mebg span.h2-chip{display:inline-flex!important;align-items:center;gap:5px;background:#fff6f0!important;color:#5a4035!important;font-weight:700!important;--ico-fill:#ffd9d2;padding:4px 11px 4px 8px!important}
.mebg span.h2-chip svg{width:14px;height:14px;color:var(--cu-brand,#c4513f);flex:none}
.mebg span.h2-chip em{font-style:normal}
html.night .mebg span.h2-chip{background:#2b2346!important;color:#f3ecff!important;--ico-fill:#4a3a66}
.h2-bio{display:flex;gap:10px;align-items:flex-start;text-align:left;margin:8px 0 2px;padding:10px 12px;border-radius:16px;background:linear-gradient(135deg,#fff6f0,#fffdfa);border:0;width:100%;color:var(--cu-ink,#3d2a20);box-shadow:inset 0 0 0 1px #f3e3da;font:inherit}
.h2-bio i{width:28px;height:28px;border-radius:10px;background:#ffe9e4;color:var(--cu-brand,#c4513f);display:grid;place-items:center;flex:none;--ico-fill:#ffd1c8}
.h2-bio p{margin:2px 0 0;font-size:14px;line-height:1.55;flex:1;min-width:0;word-break:break-word}
.h2-bio-empty p{color:var(--cu-mute,#8a7466)}
html.night .h2-bio{background:linear-gradient(135deg,#2b2346,#221b3a);box-shadow:inset 0 0 0 1px #3a2f5c;color:#f3ecff}html.night .h2-bio i{background:#3a2f5c;color:#ffb3a7;--ico-fill:#4a3a66}
.mecard.h2c .avbtn .cam{display:grid!important;place-items:center;--ico-fill:#ffd9d2;color:var(--cu-brand,#c4513f);font-size:0}
.mecard.h2c .avbtn .cam svg{width:15px;height:15px}
.mecard.h2c .note span svg{vertical-align:-3px;margin-right:2px;--ico-fill:#ffe9e4}
/* 選照片的小選單：圖示對齊 */
.sheet.pk-sheet .sh2 button svg{vertical-align:-5px;margin-right:6px;--ico-fill:#ffe9e4}
.h2-ci{display:inline-flex!important;align-items:center;gap:5px;--ico-fill:#ffe9e4}
.h2-ci svg{width:15px;height:15px;color:var(--cu-brand,#c4513f);flex:none}
.h2-ci.on svg{color:inherit}

/* 新版34：驗證徽章一排小標籤 */
.h2-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 2px}
.h2-badges .stb{margin:0!important;transform:none!important}
.h2-badges .vf{display:inline-flex!important;align-items:center;gap:3px;width:auto!important;height:auto!important;min-width:0!important;padding:3px 9px!important;border-radius:99px!important;font-size:11.5px!important;font-weight:800;line-height:1.3!important;background:#e9f6ee!important;color:#2c7a4b!important;box-shadow:none!important;flex-direction:row!important;transform:none!important}
html.night .h2-badges .vf{background:#1f3a2c!important;color:#a8e8c0!important}
/* 新版35：聊天頁頂部 */
.h3-bar{display:flex;align-items:center;gap:8px;margin:2px 16px 8px}
.h3-chips{display:flex;gap:6px;flex:1;overflow-x:auto;scrollbar-width:none}.h3-chips::-webkit-scrollbar{display:none}
.h3-chips button{flex:none;padding:7px 14px;border:0;border-radius:99px;background:var(--chip,#f3ece6);color:var(--mute,#7a6a5e);font:700 13.5px/1.2 inherit;cursor:pointer}
.h3-chips button.on{background:var(--ink,#2b2140);color:#fff}
.h3-ib{flex:none;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:14px;background:var(--chip,#f3ece6);color:inherit;cursor:pointer}
.h3-ib.pri{background:linear-gradient(135deg,#ff8a7a,#e2566b);color:#fff}
.h3-srow[hidden]{display:none!important}
.h3-strip .ntc{position:relative}
.h3-live .hex::after,.h3-live .av::after{content:'';position:absolute;right:2px;bottom:2px;width:12px;height:12px;border-radius:50%;background:#35c46b;border:2px solid var(--bg,#fff)}
.h3-live .hex,.h3-live .av{position:relative}
.h3-strip .nb.nbon{background:#e6f8ec;color:#23824a}
.h3-none{margin:18px 0;text-align:center;color:var(--mute,#8a7a6e);font-size:14px}
html.night .h3-chips button,html.night .h3-ib:not(.pri){background:#2a2240;color:#cfc4e6}
html.night .h3-chips button.on{background:#f3ecff;color:#2a2240}
html.night .h3-strip .nb.nbon{background:#1e3a2a;color:#a8ecc0}
html.night .h3-live .hex::after,html.night .h3-live .av::after{border-color:#1b1530}
.h3-qrov{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:20px;background:rgba(20,14,34,.55);opacity:0;transition:opacity .2s}.h3-qrov.in{opacity:1}
.h3-qr{position:relative;width:min(340px,100%);padding:22px 20px 18px;border-radius:26px;background:#fff;color:#2b2140;text-align:center;box-shadow:0 20px 50px -10px rgba(0,0,0,.4)}
.h3-x{position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f3eef8;display:grid;place-items:center;cursor:pointer;color:#2b2140}
.h3-qrme{display:flex;flex-direction:column;align-items:center;gap:4px;margin-bottom:10px}.h3-qrme b{font-size:18px}.h3-qrme small{color:#8a7a9e}
.h3-qrbox{margin:4px auto;width:220px;max-width:80%}.h3-qrbox svg{display:block;width:100%;height:auto;border-radius:12px}
.h3-qrt{margin:10px 0 14px;font-size:13.5px;color:#6f6385}
.h3-qra{display:flex;gap:8px}.h3-qra button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px;border:0;border-radius:14px;background:#f3eef8;color:#2b2140;font:800 14px inherit;cursor:pointer}.h3-qra button:first-child{background:linear-gradient(135deg,#ff8a7a,#e2566b);color:#fff}
.h3-chips button{padding:7px 12px}
.h3-qrme b{color:#2b2140!important}
.h3-row{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:34px 12px 6px;margin:0 0 2px}.h3-row::-webkit-scrollbar{display:none}
.h3-it{position:relative;flex:none;width:76px;display:flex;flex-direction:column;align-items:center;gap:5px;border:0;background:none;color:inherit;cursor:pointer;padding:0}
.h3-av{position:relative;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:28px;box-shadow:0 0 0 3px var(--bg,#fff)}
.h3-av img{width:100%;height:100%;border-radius:50%;object-fit:cover}.h3-av em{font-style:normal}
.h3-av.h3-ring{box-shadow:0 0 0 2px var(--bg,#fff),0 0 0 4px #d9cfe8}.h3-av.h3-ring.h3-new{box-shadow:0 0 0 2px var(--bg,#fff),0 0 0 4px #ff7a8a}
.h3-av.h3-on::after{content:'';position:absolute;right:0;bottom:1px;width:14px;height:14px;border-radius:50%;background:#35c46b;border:2.5px solid var(--bg,#fff)}
.h3-it small{max-width:72px;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.85}
.h3-bub{position:absolute;top:-28px;left:50%;transform:translateX(-50%);max-width:84px;padding:4px 8px;border-radius:12px;background:#fff;color:#4a3b5e;font-size:11px;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 3px 10px -4px rgba(40,20,60,.35);z-index:1}
.h3-bub.add{color:#e2566b}.h3-bub.on{background:#e6f8ec;color:#23824a}
html.night .h3-av{box-shadow:0 0 0 3px #1b1530}html.night .h3-av.h3-ring{box-shadow:0 0 0 2px #1b1530,0 0 0 4px #5a4c78}html.night .h3-av.h3-ring.h3-new{box-shadow:0 0 0 2px #1b1530,0 0 0 4px #ff7a8a}
html.night .h3-av.h3-on::after{border-color:#1b1530}html.night .h3-bub{background:#2e2548;color:#eee4ff}html.night .h3-bub.on{background:#1e3a2a;color:#a8ecc0}
/* 新版36：限時道具 */
.pslist{margin:0 14px 12px;border-radius:18px;background:var(--card,#fff);overflow:hidden}
.psrow{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line,#efe6dd)}.psrow:last-child{border-bottom:0}
.psrow .mid{flex:1;min-width:0}.psrow .name{font-weight:800}.psrow .sub{font-size:12.5px;opacity:.75}
.psrow .btn{flex:none;white-space:nowrap}.pson{color:#23824a;font-weight:800}.psfree{flex:none;font-size:12.5px;font-weight:800;color:#8a7a9e}
html.night .pslist{background:#241c3a}html.night .psrow{border-color:#2f2648}html.night .pson{color:#8fe3ad}
.lmgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px 8px}
.lmone{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border:0;border-radius:16px;background:var(--chip,#f6efe8);cursor:pointer;color:inherit}
.lmone i{width:54px;height:54px;border-radius:50%;background:hsl(var(--h) 70% 75%);filter:blur(6px)}
.lmone small{font-size:11.5px;font-weight:800}
html.night .lmone{background:#2a2240}
.hex{position:relative}.hx-crown{position:absolute;top:-14px;left:50%;transform:translateX(-50%) rotate(-8deg);font-size:18px;font-style:normal;line-height:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));pointer-events:none;z-index:3}
.st-days{flex-wrap:wrap}.st-days .st-primary{flex:1 1 45%}
.st-price small,.st-bundle-bottom small{font-size:11px;font-weight:600;opacity:.7}
.psall{background:linear-gradient(100deg,rgba(255,138,122,.12),rgba(255,210,94,.14))}
/* 新版41：頭像列顯示翅膀／耳朵／皇冠 */
.h3-av.h3-fx{background:none!important;box-shadow:none!important;overflow:visible}
.h3-av.h3-fx .h3-hx{display:grid;place-items:center;transform:scale(1.42);transform-origin:center}
.h3-av.h3-fx .h3-hx .hex.sm{box-shadow:0 0 0 2px var(--bg,#fff)}
.h3-row{gap:10px}
.h3-av.h3-fx.h3-on::after{z-index:3}
/* 好友上線時間 */
.lsx{display:inline-block;margin-left:6px;font-size:11px;font-weight:600;color:#9a8678;vertical-align:1px}
.lsx.on{color:#2e9b57}
.rls{color:#9a8678}
html.night .lsx{color:#b5a6cc}html.night .lsx.on{color:#7fe0a3}html.night .rls{color:#b5a6cc}
/* 新版42：孟德小翅官方訊息 */
.off-pk{max-height:80vh;display:flex;flex-direction:column}
.off-list{overflow:auto;display:flex;flex-direction:column;gap:8px;margin:6px 0 10px;max-height:52vh}
.off-m{background:#fff6ef;border-radius:14px;padding:10px 12px;text-align:left}
.off-m.new{box-shadow:inset 3px 0 0 #e57265}
.off-m p{margin:0 0 4px;white-space:pre-wrap;line-height:1.55}.off-m small{color:#9a8678}
html.night .off-m{background:#2a2142}
/* 新版43：聊天列表篩選時真的隱藏；翅膀／耳朵縮小一點，不會伸進上下兩列 */
#list .row[hidden]{display:none!important}
#list .row[data-id]>.av{transform:scale(.8);transform-origin:center}
#list .row[data-id]{overflow:visible}
/* 新版54：孟德小翅視窗在夜間模式字看不到——視窗本身是淺色，內容一律用淺底深字 */
.off-pk,html.night .off-pk{color:#4a3426}
.off-pk h3,html.night .off-pk h3{color:#4a3426!important}
html.night .off-m,.off-m{background:#fff6ef!important;color:#4a3426!important}
html.night .off-m p{color:#4a3426!important}html.night .off-m small{color:#9a8678!important}
html.night .off-pp{background:#fff!important;border-color:#f0dccd!important;color:#4a3426!important}
/* 新版122：陌生訊息的信任標記 */
.h3-trust{display:flex;gap:4px;flex-wrap:wrap;font-style:normal;margin-top:3px}
.h3-trust span{font-size:11px;font-weight:800;padding:1px 7px;border-radius:99px;background:#fff1d6;color:#9a5a00}
.h3-trust span:first-child:not(:only-child),.h3-trust span:only-child{}
html.night .h3-trust span{background:#3a2f1c;color:#ffd58a}
