html,body{overscroll-behavior:none}
.content,.modal,.modal-overlay,.modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.content{overflow-anchor:auto;touch-action:pan-y pinch-zoom}
#rail .channel{width:46px}
#rail .channel-icon{width:47px;height:47px}
#rail .channel.active .channel-icon{transform:none}
#rail .channel-icon.has-account-avatar,#rail .has-account-avatar{border:0!important;box-shadow:none!important;background:transparent!important}
.api-live-post{animation:none!important}
.app-discussion{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.app-discussion .comments-head{display:flex;gap:10px;align-items:baseline;margin-bottom:18px;font-size:16px}
.app-discussion .comments-head span{font-size:12px;color:var(--muted)}
.app-thread{padding:16px 12px;margin:0 0 14px;border-radius:14px;background:#f8f9fc;min-width:0}
.app-comment{min-width:0}
.app-comment-head{display:flex;align-items:center;gap:8px;min-width:0}
.app-comment-head .author-link{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0;font-size:13px;font-weight:600}
.app-comment-head .mini-avatar{width:36px;height:36px;flex:0 0 36px;border:0!important;border-radius:50%;overflow:hidden;background:#e9edfa;display:grid;place-items:center}
.app-comment-head .mini-avatar img{width:100%;height:100%;object-fit:cover}
.app-comment-head .author-name{overflow-wrap:anywhere;min-width:0;white-space:normal}
.app-floor{margin-left:auto;color:#9ba2af;font-size:10px;white-space:nowrap}
.app-comment-text{margin:8px 0 8px 45px;font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.app-comment-meta{display:flex;gap:14px;align-items:center;margin-left:45px;color:#939bad;font-size:11px}
.app-comment-meta button{padding:6px 0;color:#657cb5;min-height:30px}
.app-replies{margin:10px 0 0 24px;padding:12px 10px;background:#eef1f7;border-radius:10px}
.app-replies .app-comment+.app-comment{margin-top:16px}
.app-replies .mini-avatar{width:28px;height:28px;flex-basis:28px}
.app-replies .app-comment-text,.app-replies .app-comment-meta{margin-left:37px}
.app-replies .app-comment-text{font-size:13px}
.app-reply-to{font-size:11px;color:#7384ab}
.app-expand,.app-more-comments{display:block;min-height:40px;padding:10px;margin:8px auto 0;color:var(--blue);font-size:12px}
.app-reply-target{display:flex;gap:10px;align-items:center;font-size:12px;color:#75809a;padding:8px 0}
.app-reply-target[hidden]{display:none}
.app-reply-target button{margin-left:auto;padding:6px}
.app-discussion .comment-compose{display:flex;align-items:flex-end;gap:8px;margin-top:8px;position:sticky;bottom:0;background:white;padding:10px 0 max(10px,env(safe-area-inset-bottom))}
.app-discussion .comment-compose textarea{flex:1;min-width:0;resize:vertical;min-height:44px;max-height:140px;border:1px solid #e1e6f0;border-radius:12px;background:#f5f7fb;color:var(--ink);font:inherit;font-size:14px;padding:11px 12px;line-height:1.5;outline:none}
.app-discussion .comment-compose textarea:focus{border-color:#9eaff7;background:white}
.app-discussion .comment-compose textarea{touch-action:pan-y pinch-zoom}
.app-discussion .comment-compose button{min-height:44px;min-width:55px;border-radius:11px;background:var(--blue);color:white;font-size:13px;white-space:nowrap;padding:10px}
button:disabled{opacity:.55;cursor:default}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.api-live-post .message-head .mini-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:11px}
.api-live-post .message-head .author-link{font-size:13px;gap:9px;flex-wrap:wrap}
.api-discover-card .mini-avatar{width:27px!important;height:27px!important;flex:0 0 27px}
.api-discover-card .dynamic-author .author-link{flex-wrap:wrap;font-size:10px;row-gap:5px}
.custom-title{display:inline-flex;align-items:center;max-width:100%;border-radius:5px;background:#eef1ff;color:#7182bc;padding:3px 5px;font-size:9px;font-weight:500;line-height:1.4;overflow-wrap:anywhere;white-space:normal}
.app-social,.community-actions,.message-reactions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.app-social button,.community-actions button,.message-reactions button{font-size:12px;min-height:36px;padding:6px 3px;white-space:nowrap}
.app-social{margin-top:8px;color:#8c99b2}
.app-social button[aria-pressed="true"]{color:var(--blue)}
.app-view-count{font-size:10px;margin-left:auto;color:#a2aabd;white-space:nowrap}
.app-card-views,.app-detail-views{font-size:10px;color:#9aa5b9}
.app-gift label{display:flex;gap:12px;align-items:center;margin:20px 0}
.app-gift input{min-width:0;width:120px;border:1px solid #dfe5f2;border-radius:10px;padding:12px;font:inherit}
.app-editor-hint{text-align:center;color:#9ba6bd;font-size:10px;line-height:1.9;margin:35px 0 15px;animation:hint-breathe 4s ease-in-out infinite}
@keyframes hint-breathe{0%,100%{opacity:.45}50%{opacity:.95}}
.channel-card,#rail .channel{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-y}
.content:has(.clean-channel-grid){display:flex;flex-direction:column}
.content:has(.clean-channel-grid)>*{flex-shrink:0}
.content:has(.clean-channel-grid)>.app-editor-hint{margin-top:auto;padding-top:28px}
.message-reactions button{font-size:12px;min-height:36px;padding:6px}
.message>.avatar{width:36px;height:36px;flex:0 0 36px;font-size:17px}
