/* 角色手机保持独立的桌面语言，不继承玩家的壁纸或应用布局。 */
#twinphone {
  --twin-ink: #283933;
  --twin-muted: #65786f;
  --twin-glass: rgba(255, 255, 255, .58);
  --twin-line: rgba(52, 79, 63, .12);
  background: radial-gradient(ellipse at 93% 15%, #f4eddd 0, transparent 56%), radial-gradient(ellipse at 5% 72%, #aac5b1 0, transparent 58%), #dbe5d6;
  color: var(--twin-ink);
  isolation: isolate;
}
#twinphone.twin-dark {
  --twin-ink: #f1eee2;
  --twin-muted: #b1bdb4;
  --twin-glass: rgba(229, 238, 216, .09);
  --twin-line: rgba(224, 236, 215, .13);
  background: radial-gradient(ellipse at 100% 3%, #516355 0, transparent 62%), radial-gradient(ellipse at -20% 92%, #384c41 0, transparent 52%), #1b2925;
}
#twinphone .twin-status {
  min-height: var(--sb-h); flex-shrink: 0; height: var(--sb-h);
  padding: 0 25px 8px; align-items: flex-end; color: var(--twin-ink);
  font-size: 13px; font-variant-numeric: tabular-nums;
}
#twinphone .twin-status-icons { display: flex; align-items: center; gap: 6px; height: 16px; }
#twinphone .twin-status-icons > svg { width: 16px; height: 14px; }
#twinphone .twin-status-icons > svg:nth-child(2) { width: 21px; height: 20px; }
#twinphone .twin-battery { position: relative; width: 23px; height: 11px; border: 1px solid currentColor; border-radius: 3px; opacity: .9; }
#twinphone .twin-battery::before { content: ''; position: absolute; inset: 2px 4px 2px 2px; background: currentColor; border-radius: 1px; }
#twinphone .twin-battery::after { content: ''; position: absolute; width: 2px; height: 5px; top: 2px; right: -4px; background: currentColor; border-radius: 0 1px 1px 0; }
/* 主人标识已移除：偷翻手机时，屏幕上不该写着这是谁的手机 */
#twinphone .twin-body { min-height: 0; background: #f4f5f1; color: #28372f; overscroll-behavior: contain; padding-top: 6px; }
#twinphone #twin-back { position: absolute; top: calc(var(--sb-h) + 10px); right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--twin-line); background: var(--twin-glass); color: var(--twin-ink); display: grid; place-items: center; z-index: 6; backdrop-filter: blur(8px); }
#twinphone #twin-back svg { width: 17px; height: 17px; }
#twinphone #twin-back:active { transform: scale(.9); }
#twinphone .twin-body { min-height: 0; background: #f4f5f1; color: #28372f; overscroll-behavior: contain; }
#twinphone .twin-body.is-desktop { background: transparent; overflow: hidden; color: var(--twin-ink); }
#twinphone .twin-desktop { display: flex; flex-direction: column; height: 100%; min-height: 0; }
#twinphone .twin-pages { display: flex; flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
#twinphone .twin-pages.is-dragging { scroll-snap-type: none; cursor: grabbing; }
#twinphone .twin-page { flex: 0 0 100%; width: 100%; min-width: 0; overflow-y: auto; overflow-x: hidden; scroll-snap-align: start; scroll-snap-stop: always; padding: 2px 22px 8px; scrollbar-width: none; }
#twinphone .twin-widget-eyebrow { font: 9px/1.6 var(--font-mono); letter-spacing: 1.7px; display: block; }
#twinphone .twin-music-widget { border-radius: 24px; padding: 19px 18px 8px; background: #efeddf; color: #2c3930; box-shadow: 0 8px 30px rgba(0, 0, 0, .05); border: 1px solid rgba(255, 255, 255, .35); }
#twinphone .twin-music-top { display: flex; align-items: center; gap: 13px; min-width: 0; }
#twinphone .twin-vinyl { width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #202b25 0 2px, #3c473d 3px 4px); box-shadow: 0 2px 8px #1e302127; }
#twinphone .twin-vinyl i { width: 24px; height: 24px; border: 9px solid #cab581; border-radius: 50%; background: #efeddf; }
#twinphone .is-playing .twin-vinyl { animation: twin-record-spin 10s linear infinite; }
#twinphone .twin-track { flex: 1; text-align: left; min-width: 0; min-height: 60px; }
#twinphone .twin-track .twin-widget-eyebrow { color: #6c7769; font-size: 8px; }
#twinphone .twin-track b { display: block; margin: 4px 0 2px; font-size: 17px; font-weight: 650; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#twinphone .twin-track > span:last-child { display: block; font-size: 11px; color: #626f64; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
#twinphone .twin-music-mark { align-self: flex-start; color: #6f795d; font-size: 20px; }
#twinphone .twin-player-bottom { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-top: 9px; }
#twinphone [data-twin-player-status] { color: #687261; font-size: 9px; line-height: 1.65; flex: 1; max-width: 120px; }
#twinphone .twin-player-controls { display: flex; align-items: center; }
#twinphone .twin-player-controls button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
#twinphone .twin-player-controls svg { width: 25px; height: 25px; }
#twinphone [data-player="toggle"] { background: #dce1d1; }
#twinphone [data-player="prev"] svg { transform: rotate(180deg); }
#twinphone .twin-widget-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 13px; margin-top: 15px; }
#twinphone .twin-network-widget, #twinphone .twin-calendar-widget { height: 148px; border-radius: 23px; padding: 15px 15px 13px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
#twinphone .twin-network-widget { background: var(--twin-glass); border: 1px solid var(--twin-line); }
#twinphone .twin-network-symbol { width: 33px; height: 33px; margin-bottom: 5px; }
#twinphone .twin-network-symbol svg { width: 100%; height: 100%; }
#twinphone .twin-network-widget .twin-widget-eyebrow { color: var(--twin-muted); font-size: 8px; letter-spacing: 1.4px; }
#twinphone .twin-network-widget b { font-size: 17px; margin-top: 5px; font-weight: 600; }
#twinphone .twin-network-widget > span:last-child { font-size: 9px; color: var(--twin-muted); margin-top: 4px; }
#twinphone .twin-calendar-widget { background: #ead7bb; color: #463c2f; justify-content: space-between; }
#twinphone .twin-calendar-widget .twin-widget-eyebrow { font-family: inherit; letter-spacing: .2px; font-size: 11px; }
#twinphone .twin-calendar-widget b { font: 300 58px/.98 var(--font-display); letter-spacing: -3px; }
#twinphone .twin-calendar-widget > span:last-child { font-size: 9px; color: #695d4e; }
#twinphone .twin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px 10px; padding: 24px 0 4px; }
#twinphone .twin-app { min-width: 0; position: relative; gap: 7px; padding: 0; min-height: 78px; border-radius: 15px; }
#twinphone .twin-app .ti { position: relative; width: min(100%, 58px); height: auto; aspect-ratio: 1; border-radius: 15px; box-shadow: 0 3px 7px rgba(8, 19, 14, .14), 0 1px 1px rgba(255, 255, 255, .16); flex-shrink: 0; }
#twinphone .twin-app .ti > svg { width: 100%; height: 100%; display: block; border-radius: inherit; }
#twinphone .twin-app .twin-app-label { font-size: 10px; color: var(--twin-ink); line-height: 1.4; white-space: nowrap; }
#twinphone .twin-badge { top: -5px; right: -5px; color: white; font-size: 10px; background: #ef545b; min-width: 18px; height: 18px; border-radius: 9px; z-index: 1; }
#twinphone .twin-desktop-whisper { text-align: center; color: var(--twin-muted); font-size: 10px; padding: 24px 0 6px; letter-spacing: .8px; }
#twinphone .twin-page-heading { padding: 3px 0 17px; }
#twinphone .twin-page-heading > span { color: var(--twin-muted); }
#twinphone .twin-page-heading h2 { font-size: 25px; font-weight: 500; letter-spacing: 1px; margin-top: 3px; }
#twinphone .twin-note-widget { width: 100%; padding: 17px 18px 12px; text-align: left; border-radius: 23px; background: #e9e5ce; color: #3d4131; display: flex; flex-direction: column; }
#twinphone .twin-note-widget > b { font-size: 18px; margin: 8px 0; font-weight: 550; }
#twinphone .twin-note-excerpt { font-family: Georgia, 'Songti SC', 'SimSun', serif; font-size: 13px; line-height: 1.9; min-height: 48px; white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
#twinphone .twin-note-footer { margin-top: 12px; padding-top: 9px; border-top: 1px solid #3d413122; display: flex; justify-content: space-between; width: 100%; font-size: 10px; }
#twinphone .twin-note-footer i { font-size: 14px; font-style: normal; }
#twinphone .twin-archive-widget { margin-top: 16px; width: 100%; padding: 13px 12px; display: flex; align-items: center; gap: 10px; background: var(--twin-glass); border: 1px solid var(--twin-line); border-radius: 17px; text-align: left; }
#twinphone .twin-archive-widget > span:nth-child(2) { min-width: 0; flex: 1; }
#twinphone .twin-archive-widget b { display: block; font-size: 12px; font-weight: 550; }
#twinphone .twin-archive-widget small { display: block; font-size: 10px; color: var(--twin-muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#twinphone .twin-archive-symbol { font-size: 25px; width: 32px; text-align: center; }
#twinphone .twin-archive-widget > i { font-size: 22px; font-style: normal; }
#twinphone .twin-page-dots { display: flex; justify-content: center; flex-shrink: 0; gap: 0; height: 44px; align-items: center; }
#twinphone .twin-page-dots button { width: 44px; height: 44px; display: grid; place-items: center; }
#twinphone .twin-page-dots i { width: 6px; height: 6px; background: var(--twin-ink); opacity: .25; border-radius: 99px; transition: width .2s, opacity .2s; }
#twinphone .twin-page-dots [aria-current="true"] i { width: 17px; opacity: .85; }
#twinphone .twin-dock { flex-shrink: 0; margin: 0 18px; padding: 12px 13px 9px; width: auto; border-radius: 27px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; background: var(--twin-glass); border: 1px solid var(--twin-line); backdrop-filter: blur(18px); }
#twinphone .twin-dock .twin-app { width: auto; min-height: 74px; }
#twinphone .twin-dock .twin-app .ti { width: 53px; max-width: 100%; border-radius: 14px; }
#twinphone .twin-dock .twin-app-label { font-size: 9px; }
#twinphone .twin-home-indicator { width: 100%; height: 29px; flex-shrink: 0; display: grid; place-items: center; padding-bottom: 3px; }
#twinphone .twin-home-indicator i { width: 106px; height: 4px; border-radius: 3px; background: var(--twin-ink); opacity: .6; }
#twinphone button:focus-visible, #twinphone .twin-pages:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
#twinphone button:active { filter: brightness(.94); }
#twinphone .twin-head-bar { min-height: 58px; padding: 4px 12px; gap: 5px; color: #25362d; border-bottom: 1px solid #263b3012; }
#twinphone .twin-head-bar .back { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 12px; color: #466b57; cursor: pointer; }
#twinphone .twin-head-bar b { font-size: 16px; overflow-wrap: anywhere; }
#twinphone .twin-local { padding: 20px; }
#twinphone .twin-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
#twinphone .twin-month-head button { min-width: 44px; min-height: 44px; border-radius: 50%; font-size: 27px; background: #e7ece4; }
#twinphone .twin-month-head h2 { font-size: 18px; font-weight: 600; }
#twinphone .twin-month-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 9px; font-size: 13px; text-align: center; }
#twinphone .twin-month-grid span { width: 31px; height: 31px; margin: auto; display: grid; place-items: center; }
#twinphone .twin-month-grid .weekday { font-size: 10px; color: #768278; }
#twinphone .twin-month-grid .outside { opacity: .32; }
#twinphone .twin-month-grid .today { background: #45664f; color: white; border-radius: 50%; }
#twinphone .twin-local-heading { margin-top: 30px; padding-top: 20px; border-top: 1px solid #263b301b; }
#twinphone .twin-local-heading h3 { font-size: 18px; font-weight: 600; margin: 4px 0; }
#twinphone .twin-local-heading p { font-size: 11px; color: #6d7b70; }
#twinphone .twin-local-empty { font-size: 12px; line-height: 1.9; color: #6d7b70; margin-top: 17px; }
#twinphone .twin-calendar-event { padding: 15px 0; display: flex; gap: 14px; border-bottom: 1px solid #263b3012; font-size: 12px; }
#twinphone .twin-calendar-event time { color: #718375; flex: 0 0 64px; font-family: var(--font-mono); font-size: 10px; }
#twinphone .twin-calendar-event p { overflow-wrap: anywhere; }
#twinphone .twin-connection-hero { padding: 22px 0 30px; text-align: center; }
#twinphone .twin-connection-hero svg { width: 55px; height: 55px; color: #648770; }
#twinphone .twin-connection-hero h2 { font-size: 25px; font-weight: 550; margin: 10px 0 5px; }
#twinphone .twin-connection-hero p { font-size: 11px; color: #6d7b70; }
#twinphone .twin-connection-list { background: #fff; padding: 0 16px; border-radius: 20px; }
#twinphone .twin-connection-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 17px 0; font-size: 12px; border-bottom: 1px solid #263b3012; }
#twinphone .twin-connection-list > div:last-child { border: 0; }
#twinphone .twin-connection-list dd { text-align: right; overflow-wrap: anywhere; }
#twinphone.twin-dark .twin-body:not(.is-desktop) { background: #f4f5f1; color: #28372f; }
#twinphone.twin-dark .twin-list-cell { background: #fff; color: #28372f; }
#twinphone.twin-dark .twin-list-cell .body span { color: #728077; }
#twinphone.twin-dark .twin-section-title { color: #728077; }
#twinphone .twin-gen-loading, #twinphone.twin-dark .twin-gen-loading { color: #65786b; text-align: center; font-size: 13px; }
#twinphone .twin-list-cell .body b { overflow-wrap: anywhere; }
#twinphone .twin-chat-bubble { white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }

/* ---- TA 手机里各 App 的独立版式（微信头像体系 / 网易云歌曲行 / 抖音竖卡 / 淘宝订单 / 美团 / 邮件 / 备忘录） ---- */
#twinphone .twin-ava { width: 40px; height: 40px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; font-size: 20px; color: #fff; }
#twinphone .twin-ava.txt { font-size: 16px; font-weight: 600; }
#twinphone .twin-list-cell { align-items: center; }
#twinphone .twin-list-cell.real { background: #eaf6ef; }
#twinphone .twin-list-cell.npc { background: #fff; }
#twinphone .twin-list-cell .twin-cell-time { font-size: 10px; color: #8aa094; flex-shrink: 0; }
#twinphone .twin-badge.inline { position: static; margin-left: 6px; }
#twinphone .twin-rel-tag { font-style: normal; font-size: 9px; color: #6a8a7c; border: 1px solid #b9d2c7; border-radius: 4px; padding: 0 4px; margin-left: 6px; vertical-align: 1px; }
#twinphone .twin-head-bar.wechat b { display: flex; align-items: center; }
#twinphone .twin-wx-search { margin-left: auto; font-size: 14px; color: #718375; }
#twinphone .twin-foot-note { text-align: center; font-size: 10px; color: #8aa094; padding: 18px 0 26px; letter-spacing: 1px; }
/* 网易云歌曲行 */
#twinphone .twin-head-bar.music b { color: #d5495a; }
#twinphone .twin-song-list { padding: 4px 0; }
#twinphone .twin-song-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #263b3010; }
#twinphone .twin-song-row .cover { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(30,50,40,.18); }
#twinphone .twin-song-row .body { flex: 1; min-width: 0; }
#twinphone .twin-song-row .body b { font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#twinphone .twin-song-row .body span { font-size: 11px; color: #718375; display: block; margin-top: 2px; }
#twinphone .twin-song-row .dur { font-size: 10px; color: #9db0a5; font-variant-numeric: tabular-nums; }
/* 抖音竖屏卡 */
#twinphone .twin-video-feed { display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 26px; }
#twinphone .twin-video-card .cover { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: #fff; }
#twinphone .twin-video-card .play { font-size: 30px; opacity: .9; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
#twinphone .twin-video-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(10,20,15,.72)); }
#twinphone .twin-video-card .meta b { display: block; font-size: 14px; line-height: 1.5; }
#twinphone .twin-video-card .meta span { font-size: 11px; opacity: .85; }
/* 淘宝订单 + 胶囊 */
#twinphone .twin-chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 10px; }
#twinphone .twin-chip { font-size: 11px; color: #8a5a3c; background: #fff2e8; border: 1px solid #f0dcc8; border-radius: 999px; padding: 5px 12px; }
#twinphone .twin-chip-row.gray .twin-chip { color: #6d7b70; background: #f0f3ef; border-color: #dde5df; }
#twinphone .twin-order-list { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
#twinphone .twin-order-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 4px rgba(30,50,40,.06); }
#twinphone .twin-order-card .pic { width: 48px; height: 48px; border-radius: 9px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
#twinphone .twin-order-card .body { flex: 1; min-width: 0; }
#twinphone .twin-order-card .body b { font-size: 13.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#twinphone .twin-order-card .state { font-size: 10px; display: inline-block; margin-top: 4px; border-radius: 4px; padding: 1px 6px; }
#twinphone .twin-order-card .state.done { color: #4a7261; background: #e3efe8; }
#twinphone .twin-order-card .state.moving { color: #a8742c; background: #f7ecd8; }
#twinphone .twin-order-card .price { font-size: 14px; font-weight: 700; color: #c46a4a; flex-shrink: 0; }
/* 备忘录行式便签 */
#twinphone .twin-note-list { margin: 10px 16px 26px; background: #fffbe8; border-radius: 12px; overflow: hidden; border: 1px solid #efe3b8; }
#twinphone .twin-note-row { position: relative; padding: 12px 14px 13px; border-bottom: 1px solid #efe3b8; }
#twinphone .twin-note-row:last-child { border-bottom: 0; }
#twinphone .twin-note-row b { font-size: 14px; color: #4a4030; }
#twinphone .twin-note-row pre { font: 12.5px/1.8 inherit; white-space: pre-wrap; color: #6b6250; margin-top: 5px; font-family: inherit; }
#twinphone .twin-note-row .twin-note-line { position: absolute; left: 14px; right: 14px; bottom: -1px; height: 0; border-bottom: 1px dashed #e5d8ae; }
/* 浏览器 */
#twinphone .twin-head-bar.plain b { font-weight: 500; }
#twinphone .twin-search-bar { display: flex; align-items: center; gap: 8px; margin: 12px 16px 4px; padding: 11px 14px; border-radius: 999px; background: #fff; border: 1px solid #dde5df; color: #9db0a5; font-size: 13px; }
#twinphone .twin-search-bar i { font-style: normal; }
#twinphone .twin-hist-flow { padding: 4px 16px 26px; display: flex; flex-direction: column; }
#twinphone .twin-hist-item { display: flex; align-items: center; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #263b300d; }
#twinphone .twin-hist-item .dot { width: 6px; height: 6px; border-radius: 50%; background: #9db0a5; flex-shrink: 0; }
#twinphone .twin-hist-item b { font-size: 13px; font-weight: 400; color: #35443b; }
/* 美团订单卡 */
#twinphone .twin-mt-list { padding: 12px 16px 26px; display: flex; flex-direction: column; gap: 12px; }
#twinphone .twin-mt-card { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 4px rgba(30,50,40,.06); }
#twinphone .twin-mt-card .shop { display: flex; align-items: center; justify-content: space-between; }
#twinphone .twin-mt-card .shop b { font-size: 14px; }
#twinphone .twin-mt-card .state.done { font-size: 10px; color: #4a7261; background: #e3efe8; border-radius: 4px; padding: 2px 7px; }
#twinphone .twin-mt-card .dish { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#twinphone .twin-mt-card .dish .pic { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
#twinphone .twin-mt-card .dish .line { flex: 1; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, #eef1ed 0 14px, transparent 14px 20px); }
#twinphone .twin-mt-card .foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 9px; border-top: 1px solid #263b300d; font-size: 11px; color: #718375; }
#twinphone .twin-mt-card .again { color: #c46a4a; }
/* 邮件两行式 */
#twinphone .twin-mail-list { padding: 2px 0 26px; }
#twinphone .twin-mail-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #263b300d; }
#twinphone .twin-mail-row .body { flex: 1; min-width: 0; }
#twinphone .twin-mail-row .body b { font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#twinphone .twin-mail-row .body span { font-size: 11px; color: #718375; display: block; margin-top: 2px; }
#twinphone .twin-mail-row.unread .body b { font-weight: 700; }
#twinphone .twin-mail-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a9d6e; flex-shrink: 0; }

/* ---- v134 查手机细分：Telegram / B站 / X ---- */
#twinphone .twin-tg-list { padding: 2px 0 26px; }
#twinphone .twin-tg-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #263b300d; }
#twinphone .twin-tg-row .body { flex: 1; min-width: 0; }
#twinphone .twin-tg-row .body b { font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#twinphone .twin-tg-row .body span { font-size: 11px; color: #718375; display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#twinphone .twin-tg-row .tg-badge { flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #4a9d6e; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
#twinphone .twin-video-card .bplay { position: absolute; left: 10px; bottom: 8px; font-size: 10px; color: #fff; opacity: .85; font-family: var(--font-mono); }
#twinphone .twin-x-list { padding: 2px 0 10px; }
#twinphone .twin-x-post { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #263b300d; }
#twinphone .twin-x-post .body { flex: 1; min-width: 0; }
#twinphone .twin-x-post .head b { font-size: 13.5px; }
#twinphone .twin-x-post .head span { font-size: 11px; color: #718375; margin-left: 4px; }
#twinphone .twin-x-post p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; color: #1e2a24; }
#twinphone .twin-x-post .acts { display: block; margin-top: 7px; font-size: 11px; color: #718375; }

/* ---- TA 的微信完整壳（tabbar / 通讯录 / 发现 / 我 / 朋友圈 / 表情收藏） ---- */
#twinphone .twin-wx-body { flex: 1; min-height: 0; overflow-y: auto; background: #fff; }
#twinphone .twin-body { display: flex; flex-direction: column; }
#twinphone .twin-ava.group { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: #e7ece4; border-radius: 7px; overflow: hidden; }
#twinphone .twin-ava.group i { background: #7c9a8b; color: #fff; font-style: normal; font-size: 10px; display: grid; place-items: center; font-weight: 600; }
#twinphone .twin-wx-tabbar { flex-shrink: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #263b301a; background: rgba(250, 251, 249, .96); padding-bottom: 4px; }
#twinphone .twin-wx-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 5px; color: #8aa094; font-size: 10px; position: relative; }
#twinphone .twin-wx-tabbar button svg { width: 23px; height: 23px; }
#twinphone .twin-wx-tabbar button.on { color: #3d6b52; }
#twinphone .twin-wx-tabbar button em { position: absolute; top: 4px; right: 22%; min-width: 15px; height: 15px; border-radius: 8px; background: #ef545b; color: #fff; font-size: 9px; font-style: normal; display: grid; place-items: center; padding: 0 4px; }
#twinphone .twin-sec-head { padding: 14px 16px 8px; font-size: 12px; color: #718375; }
#twinphone .twin-disco-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #fff; border-bottom: 1px solid #263b300d; cursor: pointer; }
#twinphone .twin-disco-row.inert { cursor: default; }
#twinphone .twin-disco-ico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
#twinphone .twin-disco-row .body { flex: 1; min-width: 0; }
#twinphone .twin-disco-row b { font-size: 14px; display: block; }
#twinphone .twin-disco-row span { font-size: 11px; color: #718375; display: block; margin-top: 2px; }
#twinphone .twin-back-inline { display: flex; align-items: center; gap: 6px; padding: 14px 16px; font-size: 14px; color: #466b57; background: #fff; border-bottom: 1px solid #263b300d; }
#twinphone .twin-profile-card { display: flex; gap: 14px; padding: 26px 18px 24px; background: #fff; align-items: center; }
#twinphone .twin-profile-card .twin-ava { width: 62px; height: 62px; font-size: 28px; }
#twinphone .twin-profile-card .twin-ava.txt { font-size: 24px; border-radius: 10px; }
#twinphone .twin-profile-card .info { flex: 1; min-width: 0; }
#twinphone .twin-profile-card b { font-size: 19px; display: block; }
#twinphone .twin-profile-card .info > span { display: block; font-size: 11px; color: #718375; margin-top: 4px; }
#twinphone .twin-profile-card .temper, #twinphone .twin-profile-card .topics { overflow-wrap: anywhere; }
#twinphone .twin-me-card { display: flex; gap: 15px; padding: 30px 18px 22px; background: #fff; align-items: center; border-bottom: 1px solid #263b300d; }
#twinphone .twin-me-card .big-ava { width: 66px; height: 66px; border-radius: 11px; background: var(--twin-glass); border: 1px solid var(--twin-line); display: grid; place-items: center; font-size: 32px; }
#twinphone .twin-me-card .info b { font-size: 20px; display: block; }
#twinphone .twin-me-card .sign { display: block; font-size: 12px; color: #5b6f64; margin-top: 5px; }
#twinphone .twin-me-card .wxid { display: block; font-size: 10px; color: #8aa094; margin-top: 4px; font-family: var(--font-mono); }
#twinphone .twin-me-rows { margin-top: 10px; }
#twinphone .twin-head-bar.sub { background: #fff; border-bottom: 1px solid #263b300d; }
/* 对话气泡区 + 表情栏 */
#twinphone .twin-bubble-area { padding: 12px 0 16px; min-height: 0; }
#twinphone .twin-emo-bar { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-top: 1px solid #263b301a; background: rgba(250, 251, 249, .96); }
#twinphone .twin-emo-toggle { width: 34px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid #dde5df; color: #a8746e; font-size: 15px; flex-shrink: 0; }
#twinphone .twin-emo-panel { flex: 1; }
#twinphone .twin-emo-panel .cap { display: block; font-size: 9px; color: #8aa094; margin-bottom: 5px; }
#twinphone .twin-emo-panel .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#twinphone .twin-emo-panel .grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid #263b3012; }
/* TA 的朋友圈 */
#twinphone .twin-moments { background: #fff; min-height: 100%; }
#twinphone .twin-mo-cover { height: 150px; position: relative; }
#twinphone .twin-mo-cover .me { position: absolute; right: 16px; bottom: -22px; display: flex; align-items: center; gap: 11px; }
#twinphone .twin-mo-cover .ava-big { width: 58px; height: 58px; border-radius: 10px; background: #fff; border: 2px solid #fff; display: grid; place-items: center; font-size: 28px; box-shadow: var(--shadow-sm); }
#twinphone .twin-mo-cover .me b { color: #fff; font-size: 16px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
#twinphone .twin-mo-item { display: flex; gap: 11px; padding: 16px 16px 6px; }
#twinphone .twin-mo-item > .twin-ava { width: 36px; height: 36px; border-radius: 7px; font-size: 17px; }
#twinphone .twin-mo-item > .twin-ava.txt { font-size: 14px; }
#twinphone .twin-mo-item .body { flex: 1; min-width: 0; border-bottom: 1px solid #263b300d; padding-bottom: 12px; }
#twinphone .twin-mo-item b { font-size: 14px; color: #4a6e8a; font-weight: 600; }
#twinphone .twin-mo-item b.ta { color: #3d6b52; }
#twinphone .twin-mo-item p { font-size: 14px; line-height: 1.7; margin-top: 3px; color: #28372f; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
#twinphone .twin-mo-item .imgs { display: flex; gap: 5px; margin-top: 8px; }
#twinphone .twin-mo-item .imgs span { width: 56px; height: 56px; border-radius: 6px; background: #eef1ed; display: grid; place-items: center; font-size: 24px; }
#twinphone .twin-mo-item .meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: #9db0a5; }
#twinphone .twin-mo-item .cmts { margin-top: 7px; background: #f4f6f3; border-radius: 7px; padding: 7px 10px; }
#twinphone .twin-mo-item .cmts p { font-size: 12px; line-height: 1.7; margin: 0; }
#twinphone .twin-mo-item .cmts b { color: #4a6e8a; font-weight: 500; }
@keyframes twin-record-spin { to { transform: rotate(360deg); } }
@media (max-width: 350px) {
  #twinphone .twin-page { padding-left: 16px; padding-right: 16px; }
  #twinphone .twin-music-widget { padding-left: 13px; padding-right: 13px; }
  #twinphone .twin-music-top { gap: 10px; }
  #twinphone .twin-vinyl { width: 54px; height: 54px; }
  #twinphone .twin-music-mark { display: none; }
  #twinphone .twin-network-widget, #twinphone .twin-calendar-widget { padding-left: 12px; padding-right: 12px; }
  #twinphone .twin-grid { gap: 17px 10px; }
  #twinphone .twin-app .ti { width: 53px; }
}
@media (max-height: 710px) {
  #twinphone .twin-widget-pair { margin-top: 12px; }
  #twinphone .twin-network-widget, #twinphone .twin-calendar-widget { height: 137px; }
  #twinphone .twin-desktop-whisper { padding-top: 16px; }
  #twinphone .twin-dock { padding-top: 10px; padding-bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #twinphone, #twinphone .twin-page-dots i { transition: none; }
  #twinphone .is-playing .twin-vinyl { animation: none; }
  #twinphone .twin-pages { scroll-behavior: auto; }
}
