/**
 * 社区模块：动态列表 / 详情 / 发布 / 通知 / 关注粉丝
 * 暗色样式依赖 html.theme-dark（主题类只挂在 documentElement）
 * --wb-co-hairline：列表/通知/关系等分隔线，随明暗切换
 * --wb-co-accent：社区强调色（与全站主色对齐，避免写死 indigo）
 */

html.theme-light {
    --wb-co-hairline: rgba(0, 0, 0, .06);
    --wb-co-accent: var(--wb-app-primary, #2563eb);
    --wb-co-accent-2: var(--wb-co-accent-2, #4f46e5);
}
html.theme-dark {
    --wb-co-hairline: rgba(255, 255, 255, .08);
    --wb-co-accent: var(--wb-app-primary, #60a5fa);
    --wb-co-accent-2: #818cf8;
}

/* ========== 动态列表（首页 / 空间 feed）========== */
.wb-co-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 6px 0 12px;
}
.wb-co-list .item {
    padding: 12px 12px 10px;
    border-bottom: 0;
    border-radius: 14px;
    background: var(--wb-app-card, #fff);
    border: 0;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
    overflow: hidden;
}
.wb-co-list .wb-co-feed-card {
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.wb-co-list .wb-co-feed-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}
.wb-co-list .wb-co-feed-card:active {
    transform: scale(.995);
}
.wb-co-list .wb-co-feed-card:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .2);
    outline-offset: 2px;
}
.wb-co-list .wb-co-feed-card__more {
    margin-left: auto;
    color: var(--wb-co-accent, #6366f1);
    font-weight: 500;
    white-space: nowrap;
}
.wb-co-list .wb-co-feed-card .wb-co-action-tip {
    margin-left: auto !important;
}
.wb-co-list .wb-co-gallery-grid--preview,
.wb-co-list .wb-co-feed-card .wb-co-list-video {
    pointer-events: none;
}
.wb-co-list .wb-co-gallery-grid--preview .wb-co-gallery-grid__cell {
    cursor: pointer;
}
html.theme-dark .wb-co-list .item {
    background: var(--wb-app-card, #0d1020);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
}
html.theme-dark .wb-co-list .wb-co-feed-card:hover {
    box-shadow: 0 8px 26px rgba(0, 0, 0, .3);
}
body.wb-co-community-index .wb-co-page-stack,
body.wb-co-community-space .wb-co-space-stack {
    background: var(--wb-app-card, #fff);
}
/* 通知页：壳用浅底，卡片各自独立，避免连成一整块 */
body.wb-co-notify-page .wb-co-page-stack {
    background: var(--wb-app-card-soft, #f1f5f9);
}
html.theme-dark body.wb-co-community-index .wb-co-page-stack,
html.theme-dark body.wb-co-community-space .wb-co-space-stack {
    background: rgba(15, 23, 42, .42);
}
html.theme-dark body.wb-co-notify-page .wb-co-page-stack {
    background: rgba(15, 23, 42, .55);
}
body.wb-co-community-index .wb-co-feed-body,
body.wb-co-community-space .wb-co-feed-body,
body.wb-co-notify-page .wb-co-feed-body {
    background: transparent !important;
}
.wb-co-list .item .wb-co-stats {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, .1);
}
html.theme-dark .wb-co-list .item .wb-co-stats {
    border-top-color: rgba(255, 255, 255, .08);
}
.wb-co-list .item .wb-co-list-video,
.wb-co-list .item .wb-co-gallery-grid {
    margin-top: 10px;
}
.wb-co-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    margin-right: 6px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    vertical-align: middle;
    font-weight: 400;
}
html.theme-dark .wb-co-badge {
    color: #fff;
}
.wb-co-badge--article {
    background: linear-gradient(135deg, #64748b, #475569) !important;
}
.wb-co-badge--gallery {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
}
.wb-co-badge--video {
    background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
}
.wb-co-badge--pinned {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 6px;
    background: #ef4444 !important;
    color: #fff !important;
    vertical-align: middle;
    line-height: 1.35;
}
html.theme-dark .wb-co-badge--pinned {
    background: #dc2626 !important;
    color: #fff !important;
}
.wb-co-role-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1), var(--wb-co-accent-2, #4f46e5));
    vertical-align: middle;
}
.wb-co-role-badge--super {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.wb-co-vip-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--wb-co-accent-2, #4f46e5) 0%, var(--wb-co-accent, #6366f1) 100%);
    box-shadow: none;
    vertical-align: middle;
}
html.theme-dark .wb-co-vip-badge {
    color: #fff;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1) 0%, #818cf8 100%);
}
.wb-co-vip-badge--guest {
    background: linear-gradient(135deg, #94a3b8, #64748b) !important;
}
.wb-co-vip-badge--normal {
    background: linear-gradient(135deg, #64748b, #475569) !important;
}
.wb-co-vip-badge--vip {
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1), var(--wb-co-accent-2, #4f46e5)) !important;
}
.wb-co-vip-badge--day {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
}
.wb-co-vip-badge--week {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}
.wb-co-vip-badge--month {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}
.wb-co-vip-badge--year {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
}
.wb-co-vip-badge--permanent {
    background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
}
.wb-co-vip-badge--official {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}
.wb-co-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.wb-co-list .wb-co-top {
    position: relative;
    isolation: isolate;
    margin: -6px -8px 8px;
    padding: 6px 8px;
    border-radius: 11px;
    transition: background-color .15s ease;
}
.wb-co-list .wb-co-top:hover,
.wb-co-list .wb-co-top:focus-within {
    background: rgba(79, 70, 229, .07);
}
html.theme-dark .wb-co-list .wb-co-top:hover,
html.theme-dark .wb-co-list .wb-co-top:focus-within {
    background: rgba(129, 140, 248, .1);
}
.wb-co-list .wb-co-top a.wb-co-usercell {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
}
.wb-co-list .wb-co-top a.wb-co-usercell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.wb-co-list .wb-co-top .wb-co-usercell > * {
    position: relative;
    z-index: 2;
}
.wb-co-list .wb-co-top .wb-co-follow-wrap {
    position: relative;
    z-index: 3;
}
.wb-co-usercell {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
a.wb-co-usercell {
    text-decoration: none !important;
    color: inherit;
    border-radius: 10px;
    margin: -4px -6px;
    padding: 4px 6px;
    transition: background .15s ease;
}
a.wb-co-usercell:hover {
    background: rgba(37, 99, 235, .08);
}
html.theme-dark a.wb-co-usercell:hover {
    background: rgba(94, 234, 212, .1);
}
.wb-co-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, .06);
}
html.theme-dark .wb-co-avatar {
    background: rgba(255, 255, 255, .08);
}
.wb-co-usermeta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.wb-co-uname {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}
html.theme-dark .wb-co-uname {
    color: #e8e8e8;
}
.wb-co-uaccount {
    font-size: 12px;
    color: #64748b;
    line-height: 1.25;
    word-break: break-all;
}
html.theme-dark .wb-co-uaccount {
    color: #94a3b8;
}
.wb-co-udate {
    font-size: 12px;
    color: #888;
    line-height: 1.25;
}
html.theme-dark .wb-co-udate {
    color: #999;
}
.wb-co-follow-wrap {
    flex-shrink: 0;
    padding-top: 2px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.wb-co-follow-wrap .wb-co-follow,
.wb-co-follow-wrap .wb-co-pm-btn,
.wb-co-follow-wrap a.wb-co-follow{
    min-width: 0;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box !important;
    font-weight: 500;
    text-decoration: none !important;
    margin: 0 !important;
}
.wb-co-detail-topbar__follow.wb-co-follow-wrap,
#wb-co-detail-root .wb-co-detail-topbar__follow {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    max-width: none;
}
.wb-co-follow-wrap .wb-co-pm-btn{
    text-align: center;
}
/* 私信：描边浅蓝，与关注实心区分；同高（含边框） */
body.wb-co-community-page a.wb-co-pm-btn.btn,
a.wb-co-pm-btn.btn,
a.wb-co-pm-btn{
    color: #2563eb !important;
    background: #eff6ff !important;
    background-image: none !important;
    border: 1px solid #93c5fd !important;
    box-shadow: none !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}
body.wb-co-community-page a.wb-co-pm-btn.btn .fa,
a.wb-co-pm-btn .fa{
    margin-right: 0 !important;
    color: inherit !important;
    font-size: 12px !important;
    line-height: 1 !important;
}
html.theme-dark body.wb-co-community-page a.wb-co-pm-btn.btn,
html.theme-dark a.wb-co-pm-btn{
    color: #93c5fd !important;
    background: rgba(59,130,246,.16) !important;
    border-color: rgba(147,197,253,.45) !important;
}
.wb-co-follow.btn,
a.wb-co-follow {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 12px !important;
    font-size: 12px;
    line-height: 1 !important;
    border-radius: 999px;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
    font-weight: 500;
    color: #fff !important;
    background: #2563eb !important;
    box-shadow: none;
}
.wb-co-follow.wb-co-follow-on,
.wb-co-follow-btn.wb-co-follow-on {
    color: #64748b !important;
    border: 0 !important;
    background: #e2e8f0 !important;
    box-shadow: none;
}
html.theme-dark .wb-co-follow.wb-co-follow-on,
html.theme-dark .wb-co-follow-btn.wb-co-follow-on {
    color: #cbd5e1 !important;
    border: 0 !important;
    background: rgba(255,255,255,.12) !important;
}
.wb-co-stats a.wb-co-stat-link {
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}
.wb-co-stats a.wb-co-stat-link:hover {
    color: #2563eb;
}
html.theme-dark .wb-co-stats a.wb-co-stat-link {
    color: #94a3b8;
}
html.theme-dark .wb-co-stats a.wb-co-stat-link:hover {
    color: #5eead4;
}
.wb-co-stats button.wb-co-stat-btn {
    border: 0;
    background: transparent;
    padding: 4px 6px;
    margin: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    touch-action: manipulation;
    min-height: 36px;
    box-sizing: border-box;
}
.wb-co-stats button.wb-co-stat-btn:hover {
    color: #2563eb;
}
html.theme-dark .wb-co-stats button.wb-co-stat-btn {
    color: #94a3b8;
}
html.theme-dark .wb-co-stats button.wb-co-stat-btn:hover {
    color: #5eead4;
}
.wb-co-stats .wb-co-tip-open.btn,
.wb-co-stats .wb-co-tip-open {
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 28px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0 !important;
    font-weight: 500 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%) !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, .3);
    cursor: pointer;
    touch-action: manipulation;
}
.wb-co-stats .wb-co-manage-btn,
.wb-co-manage-row .wb-co-manage-btn,
.wb-co-manage-row .wb-co-manage-edit,
a.wb-co-manage-edit.btn {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    line-height: 26px !important;
    border-radius: 999px !important;
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1), var(--wb-co-accent-2, #4f46e5)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    vertical-align: middle;
}
.wb-co-stats .wb-co-manage-btn--danger,
.wb-co-manage-row .wb-co-manage-btn--danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}
.wb-co-manage-row .wb-co-manage-edit,
a.wb-co-manage-edit.btn {
    background: linear-gradient(135deg, #64748b, #475569) !important;
}
.wb-co-stats .wb-co-tip-open:hover {
    filter: brightness(1.05);
}
.wb-co-tip-dialog {
    position: relative;
    padding: 14px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}
.wb-co-tip-dialog__avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    background: #f1f5f9;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
    display: block;
}
.wb-co-tip-dialog__avatar--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, #fb923c, #ea580c);
}
.wb-co-tip-dialog__title b {
    font-weight: 700;
    color: #0f172a;
}
.wb-co-tip-dialog__title {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 12px;
}
.wb-co-tip-dialog__quick {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}
.wb-co-tip-dialog__quick button {
    height: 30px;
    min-width: 70px;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, .32);
    color: #ea580c;
    background: #fff7ed;
    font-weight: 500;
}
.wb-co-tip-dialog__input,
.wb-co-tip-dialog__msg {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
    outline: none;
}
.wb-co-tip-dialog__msg {
    min-height: 76px;
    resize: vertical;
}
.wb-co-tip-dialog__submit {
    width: 100%;
    height: 36px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 24px rgba(249, 115, 22, .25);
}
html.theme-dark .wb-co-tip-dialog {
    background: #111827;
}
html.theme-dark .wb-co-tip-dialog__title {
    color: #f8fafc;
}
html.theme-dark .wb-co-tip-dialog__input,
html.theme-dark .wb-co-tip-dialog__msg {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #f8fafc;
}
.wb-co-stats .wb-co-share-js {
    color: #0d9488 !important;
}
.wb-co-stats .wb-co-share-js:hover {
    color: #0f766e !important;
}
html.theme-dark .wb-co-stats .wb-co-share-js {
    color: #2dd4bf !important;
}
.wb-co-stat-dim {
    color: #94a3b8;
}
html.theme-dark .wb-co-stat-dim {
    color: #64748b;
}
.wb-co-title-block {
    margin: 0 0 8px 0;
    line-height: 1.45;
}
.wb-co-post-mainlink {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
    border-radius: 10px;
    padding: 2px 0;
}
.wb-co-post-mainlink:hover .wb-co-title-link {
    color: var(--wb-co-accent-2, #4f46e5);
}
.wb-co-title-block .wb-co-badge {
    vertical-align: 0.1em;
}
.wb-co-title-link {
    font-weight: 400;
    font-size: 14px;
    word-break: break-word;
}
.wb-co-list .item .wb-co-title-block {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 1.4;
}
.wb-co-list .item .wb-co-title-block .wb-co-badge,
.wb-co-list .item .wb-co-title-block .wb-co-badge--pinned {
    flex: 0 0 auto;
}
.wb-co-list .item .wb-co-title-link {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: normal;
}
.wb-co-snippet {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: calc(1.5em * 3);
}
.wb-co-topic-row {
    margin: 8px 0 2px;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
}
.wb-co-topic-row--detail {
    margin: 10px 0 12px;
}
.wb-co-topic-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    word-break: break-all;
    cursor: pointer;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
.wb-co-topic-tag:hover,
.wb-co-topic-tag:active {
    color: #1d4ed8;
    text-decoration: underline;
}
html.theme-dark .wb-co-topic-tag {
    color: #60a5fa;
}
html.theme-dark .wb-co-topic-tag:hover,
html.theme-dark .wb-co-topic-tag:active {
    color: #93c5fd;
}
.wb-co-snippet--rich {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    max-height: calc(1.55em * 6);
}
.wb-co-snippet--rich p,
.wb-co-snippet--rich div {
    margin: 0 0 4px;
    padding: 0;
    line-height: inherit;
    font-size: inherit;
}
.wb-co-snippet--rich p:last-child,
.wb-co-snippet--rich div:last-child {
    margin-bottom: 0;
}
.wb-co-snippet--rich img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.wb-co-snippet--rich a {
    color: #2563eb;
    text-decoration: underline;
}
.wb-co-snippet--rich strong,
.wb-co-detail-content strong {
    font-weight: 500;
}
html.theme-dark .wb-co-snippet {
    color: #aaa;
}
html.theme-dark .wb-co-snippet--rich a {
    color: #60a5fa;
}
.wb-co-detail-content.content {
    margin-top: 2px;
}
.wb-co-detail-content p,
.wb-co-detail-content div {
    margin: 0 0 8px;
    line-height: 1.7;
}
.wb-co-detail-content p:last-child,
.wb-co-detail-content div:last-child {
    margin-bottom: 0;
}
.wb-co-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.wb-co-detail-content a {
    color: #2563eb;
    text-decoration: underline;
    word-break: break-all;
}
html.theme-dark .wb-co-detail-content a {
    color: #60a5fa;
}
.wb-co-manage-edit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
.wb-co-stats {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
    position: relative;
    isolation: isolate;
}
.wb-co-stats-left {
    display: none;
}
.wb-co-stats-right {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wb-co-manage-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.wb-co-action-btn {
    flex: 0 0 auto;
    min-width: 0;
    height: 24px !important;
    padding: 0 4px !important;
    border-radius: 0 !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 26px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
    white-space: nowrap;
    background: transparent !important;
}
.wb-co-stats .wb-co-action-btn,
.wb-co-stats .wb-co-action-btn.wb-co-tip-open,
#wb-co-detail-root .wb-co-action-btn.wb-co-tip-open {
    height: 24px !important;
    padding: 0 4px !important;
    font-size: 12px !important;
    line-height: 24px !important;
    box-shadow: none !important;
}
.wb-co-action-btn i {
    margin-right: 0 !important;
    font-size: 12px;
}
.wb-co-stats .wb-co-action-tip,
.wb-co-stats .wb-co-action-tip.wb-co-tip-open,
#wb-co-detail-root .wb-co-action-tip.wb-co-tip-open {
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%) !important;
    margin-left: auto !important;
    box-shadow: none !important;
}
.wb-co-action-btn:hover {
    color: var(--wb-co-accent-2, #4f46e5) !important;
    filter: none;
}
html.theme-dark .wb-co-action-btn {
    color: #94a3b8 !important;
}
html.theme-dark .wb-co-action-btn:hover {
    color: #c4b5fd !important;
}
.wb-co-stats a.wb-co-stat-link:active {
    opacity: .85;
}
.wb-co-stats i {
    margin-right: 4px;
    opacity: .9;
}
#wb-co-detail-root .wb-co-top {
    align-items: flex-start;
}
#wb-co-detail-root .wb-co-usercell {
    align-items: flex-start;
}
#wb-co-detail-root .wb-co-avatar {
    width: 52px;
    height: 52px;
}
#wb-co-detail-root .wb-co-follow-wrap {
    padding-top: 0;
    align-self: center;
}
/* 社区动态流：头像与右侧三行信息对齐（首页 / 个人主页） */
body.wb-co-community-page .wb-co-feed-body .wb-co-top {
    align-items: flex-start;
}
body.wb-co-community-page .wb-co-feed-body .wb-co-usercell {
    align-items: flex-start;
}
body.wb-co-community-page .wb-co-feed-body .wb-co-avatar {
    width: 52px;
    height: 52px;
}
body.wb-co-community-page .wb-co-feed-body .wb-co-follow-wrap {
    padding-top: 0;
    align-self: center;
}
.wb-co-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
}
.wb-co-detail-gallery__item {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    background: rgba(0, 0, 0, .04);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}
html.theme-dark .wb-co-detail-gallery__item {
    background: rgba(255, 255, 255, .06);
}
.wb-co-detail-gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    max-height: min(80vh, 900px);
    object-fit: contain;
    vertical-align: top;
    pointer-events: none;
}
.wb-co-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    position: relative;
    box-sizing: border-box;
}
.wb-co-gallery-grid--detail {
    margin-top: 12px;
}
.wb-co-gallery-grid--solo {
    max-width: 100%;
    width: 100%;
}
.wb-co-gallery-grid--detail.wb-co-gallery-grid--solo {
    max-width: 100%;
    width: 100%;
}
.wb-co-gallery-grid--c2 {
    grid-template-columns: repeat(2, 1fr);
}
.wb-co-gallery-grid--c4 {
    grid-template-columns: repeat(4, 1fr);
}
.wb-co-gallery-grid__cell {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, .06);
}
html.theme-dark .wb-co-gallery-grid__cell {
    background: rgba(255, 255, 255, .08);
}
button.wb-co-gallery-grid__cell {
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    width: 100%;
    height: 100%;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}
.wb-co-gallery-grid__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
    pointer-events: none;
}
.wb-co-gallery-grid--solo .wb-co-gallery-grid__cell--solo {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    aspect-ratio: auto;
    overflow: visible;
}
.wb-co-gallery-grid--solo .wb-co-gallery-grid__cell--solo img {
    width: 100%;
    height: auto;
    max-height: min(72vh, 720px);
    object-fit: contain;
    border-radius: 8px;
}
.wb-co-gallery-grid__countbadge {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    pointer-events: none;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .52);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}
html.theme-dark .wb-co-gallery-grid__countbadge {
    background: rgba(0, 0, 0, .45);
    color: #f5f5f5;
}
.wb-co-gallery-grid__more {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 999px;
    pointer-events: none;
}
html.theme-dark .wb-co-gallery-grid__more {
    background: #40cc92;
    color: #0d1117;
}
.wb-co-list-video {
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, .06);
}
html.theme-dark .wb-co-list-video {
    background: rgba(255, 255, 255, .08);
}
.wb-co-list-video__box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    /* 仅保留 16:9，勿再限高（max-height 会在宽屏上压扁区域） */
    background: #0f172a;
    overflow: hidden;
    border-radius: 12px;
}
.wb-co-list-video__box video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    background: #000;
}
.wb-co-list-video__box iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
}
.wb-co-embed-shell {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: #000;
}
.wb-co-list-video__box .wb-co-embed-iframe,
.wb-co-detail-video__box .wb-co-embed-iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    display: block;
}
.wb-co-list-video__box--thumb .wb-co-list-video__thumblink {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
}
.wb-co-list-video__box--thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
}
.wb-co-list-video__badge {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .38) 100%);
    color: #fff;
    font-size: 24px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    pointer-events: none;
}
.wb-co-list-video__badge i {
    opacity: .95;
}
.wb-co-list-video__box.is-playing .wb-co-list-video__badge {
    display: none;
}
.wb-co-list-video__box.is-playing .wb-co-list-video__detail {
    display: none;
}
.wb-co-stats .wb-co-stat-tip {
    color: #c2410c !important;
    font-weight: 400;
}
html.theme-dark .wb-co-stats .wb-co-stat-tip {
    color: #fb923c !important;
}
.wb-co-stats .wb-co-stat-sharecnt {
    color: #0f766e !important;
    font-weight: 400;
}
html.theme-dark .wb-co-stats .wb-co-stat-sharecnt {
    color: #2dd4bf !important;
}
.wb-co-list-video__detail {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(15, 23, 42, .55);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    -webkit-tap-highlight-color: transparent;
}
.wb-co-list-video__detail:hover {
    background: rgba(37, 99, 235, .75);
    border-color: rgba(255, 255, 255, .35);
}
html.theme-dark .wb-co-list-video__detail {
    background: rgba(0, 0, 0, .45);
}
.wb-co-list-video__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
    color: #2563eb;
    text-decoration: none !important;
}
/* ========== 社区白柱壳：hub + 筛选 + 主内容同一滚动上下文，sticky 才能贯穿列表 ========== */
.wb-co-page-stack {
    width: 100%;
    max-width: var(--wb-app-shell-max, 960px);
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 var(--wb-app-page-gutter, 10px);
}
/* 个人主页：资料卡 + 分类 Tab + 动态列表同一 960px 柱 */
.wb-co-space-stack {
    width: 100%;
    max-width: var(--wb-app-shell-max, 960px);
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 var(--wb-app-page-gutter, 10px);
}
body.wb-co-community-space .wb-co-space-stack {
    padding-top: 12px;
}
.wb-co-space-stack > .container,
.wb-co-space-stack .wb-co-space-hero-fixed > .container {
    width: 100%;
    max-width: 100%;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    min-height: 0 !important;
    box-sizing: border-box;
}
body.wb-co-community-space .wb-co-space-stack > .container.wb-co-feed-body {
    margin-top: 0 !important;
}
/* 与固定系统顶栏之间不留缝：频道 Tab 已 fixed 紧贴原生栏 */
body.wb-co-community-page .wb-co-page-stack {
    padding-top: 0;
}
@media (max-width: 767px) {
    body.wb-co-community-page .wb-co-page-stack {
        padding-top: 0;
    }
    .wb-co-page-stack {
        padding-left: var(--wb-app-page-gutter, 10px);
        padding-right: var(--wb-app-page-gutter, 10px);
    }
    body.wb-co-community-space .wb-co-space-stack {
        padding-top: 10px;
    }
    .wb-co-space-stack {
        padding-left: var(--wb-app-page-gutter, 10px);
        padding-right: var(--wb-app-page-gutter, 10px);
    }
}
/* 社区内容区：stack 内 container 不再叠横向 padding；独立页由 container 承担 gutter */
.wb-co-page-stack > .container,
.wb-co-page-stack .container.wb-co-feed-body,
body.wb-co-community-index .wb-co-page-stack .container,
body.wb-co-community-relations .wb-co-space-stack > .container,
body.wb-co-community-space .wb-co-space-stack > .container,
.wb-co-page-stack .container.wb-co-feed-body,
.wb-co-space-stack .container.wb-co-feed-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.wb-co-community-page > .container.wb-co-feed-body,
body.wb-co-community-page > .container.wb-co-pub-page {
    padding-left: var(--wb-app-page-gutter, 10px) !important;
    padding-right: var(--wb-app-page-gutter, 10px) !important;
}
.wb-co-feed-audit {
    margin-top: 8px;
}
/* 社区主内容区：替代 myui-panel / col-xs-1 套娃 */
.wb-co-main {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0 16px;
}
.wb-co-main.wb-co-space-panel-bd {
    padding-top: 8px;
}
.wb-co-comment-body {
    padding: 0 0 12px;
}
.wb-co-comment-composer {
    margin: 0 0 12px;
}
.wb-co-comment-feed {
    min-width: 0;
}
.wb-co-comment-form__label {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--wb-app-muted, #64748b);
}
.wb-co-comment-form__box {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    background: #eef2f7;
    border: 1px solid rgba(148, 163, 184, .35);
    box-sizing: border-box;
}
html.theme-dark .wb-co-comment-form__box {
    background: rgba(15, 23, 42, .72);
    border-color: rgba(148, 163, 184, .28);
}
.wb-co-comment-form__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    max-height: 132px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid rgba(100, 116, 139, .28);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wb-app-text, #0f172a);
    resize: vertical;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
    box-sizing: border-box;
}
.wb-co-comment-form__input::placeholder {
    color: #94a3b8;
    opacity: 1;
}
html.theme-dark .wb-co-comment-form__input {
    background: rgba(30, 41, 59, .92);
    border-color: rgba(148, 163, 184, .35);
    color: #e2e8f0;
    box-shadow: none;
}
html.theme-dark .wb-co-comment-form__input::placeholder {
    color: #64748b;
}
.wb-co-comment-form__input:focus {
    outline: none;
    border-color: var(--wb-co-accent, #4f6ef7);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, .18);
}
.wb-co-comment-form__submit {
    flex: 0 0 auto;
    height: 44px;
    min-width: 64px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--wb-co-accent, #4f6ef7) 0%, var(--wb-co-accent-2, #3b5bdb) 100%);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(59, 91, 219, .22);
}
.wb-co-comment-form__submit:active {
    opacity: .92;
    transform: translateY(1px);
}
.wb-co-comment-form__hint {
    margin: 8px 2px 0;
    font-size: 12px;
    color: #64748b;
}
.wb-co-comment-form__hint a {
    color: var(--wb-co-accent, #4f6ef7);
    text-decoration: none;
}
.wb-co-comment-gate {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px dashed rgba(148, 163, 184, .55);
    font-size: 13px;
    color: #64748b;
}
html.theme-dark .wb-co-comment-gate {
    background: rgba(15, 23, 42, .55);
    border-color: rgba(148, 163, 184, .3);
    color: #94a3b8;
}
body.wb-co-community-page .wb-co-notify-item.is-unread {
    margin-left: 0;
    margin-right: 0;
    padding-left: 14px;
    padding-right: 14px;
}
/* 顶区（旧结构，仅兼容）：与 stack 二选一 */
.wb-co-page-top {
    width: 100%;
    max-width: var(--wb-app-shell-max, 960px);
    margin: 0 auto;
    background: transparent;
    box-sizing: border-box;
}
.wb-co-page-top__pad {
    padding: 0 var(--wb-app-page-gutter, 10px);
    box-sizing: border-box;
}
body.wb-co-community-page .wb-co-page-top {
    padding-top: 12px;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    body.wb-co-community-page .wb-co-page-top {
        padding-top: 10px;
    }
    .wb-co-page-top__pad {
        padding-left: var(--wb-app-page-gutter, 10px);
        padding-right: var(--wb-app-page-gutter, 10px);
    }
}
.wb-co-page-stack .wb-co-feed-tabs,
.wb-co-page-top .wb-co-feed-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
body.wb-co-community-page {
    --wb-co-sticky-top: calc(env(safe-area-inset-top, 0px) + var(--top-floating-ad-height, 0px) + var(--myui-header-height, 60px));
}
.wb-co-hub__tabs {
    display: none !important;
}
.wb-co-feed-filter {
    display: none !important;
}
.wb-co-feed-tabs {
    display: none !important;
}
.wb-co-space-feed-panel {
    border-radius: 0;
    margin-top: 0;
}
/* 社区空状态 / 未登录提示 */
.wb-co-feed-empty {
    margin: 20px 0 28px;
    padding: 32px 20px 28px;
    text-align: center;
    border-radius: var(--wb-radius-panel, 12px);
    background: linear-gradient(180deg, rgba(37, 99, 235, .06) 0%, rgba(255, 255, 255, .98) 42%);
    border: 1px solid rgba(37, 99, 235, .10);
    box-shadow: var(--wb-shadow-card, 0 3px 12px rgba(15, 23, 42, .07));
}
html.theme-dark .wb-co-feed-empty {
    background: linear-gradient(180deg, rgba(59, 130, 246, .12) 0%, rgba(18, 21, 28, .96) 45%);
    border-color: rgba(96, 165, 250, .18);
    box-shadow: none;
}
.wb-co-feed-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 50%;
    color: var(--wb-app-primary, #2563eb);
    background: rgba(37, 99, 235, .12);
    font-size: 22px;
    line-height: 1;
}
html.theme-dark .wb-co-feed-empty__icon {
    color: #93c5fd;
    background: rgba(59, 130, 246, .16);
}
.wb-co-feed-empty__title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #0f172a;
}
html.theme-dark .wb-co-feed-empty__title {
    color: #f8fafc;
}
.wb-co-feed-empty__desc {
    margin: 0 auto 18px;
    max-width: 280px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
}
html.theme-dark .wb-co-feed-empty__desc {
    color: #94a3b8;
}
.wb-co-feed-empty__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.wb-co-feed-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 34px;
    padding: 0 16px;
    border-radius: var(--wb-radius-chip, 999px);
    font-size: 13px;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--wb-app-primary, #2563eb) 0%, var(--wb-app-primary-2, #1d4ed8) 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .28);
}
.wb-co-feed-empty__btn:active {
    opacity: .92;
}
.wb-co-feed-empty__link {
    font-size: 13px;
    font-weight: 400;
    color: var(--wb-app-primary, #2563eb) !important;
    text-decoration: none !important;
}
.wb-co-feed-empty__link:hover {
    color: var(--wb-app-primary-2, #1d4ed8) !important;
}
html.theme-dark .wb-co-feed-empty__link {
    color: #93c5fd !important;
}
.wb-co-feed-empty--inline {
    margin: 0 0 14px;
    padding: 16px 14px;
}
.wb-co-feed-empty--inline .wb-co-feed-empty__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    font-size: 22px;
}
.wb-co-feed-empty__desc--solo {
    margin-bottom: 0;
    max-width: none;
}
.wb-co-feed-empty__btn--sm {
    display: inline-flex;
    min-width: 0;
    height: 30px;
    padding: 0 14px;
    margin-left: 4px;
    font-size: 12px;
    vertical-align: middle;
}
.wb-co-space-empty {
    text-align: center;
    padding: 36px 16px 28px;
    color: #94a3b8;
}
.wb-co-space-empty i {
    font-size: 48px;
    opacity: .35;
    display: block;
    margin-bottom: 12px;
}
html.theme-dark .wb-co-space-empty {
    color: #64748b;
}

/* ========== 详情页 ========== */
.wb-co-reply {
    margin-left: 18px;
    padding-left: 12px;
    border-left: 2px solid rgba(37, 99, 235, .25);
}
html.theme-dark .wb-co-reply {
    border-left-color: rgba(64, 204, 146, .35);
}
.wb-co-detail-content.content {
    margin-top: 2px;
}
#wb-co-detail-root {
    position: relative;
    z-index: 10019;
    isolation: isolate;
    pointer-events: auto;
}
#wb-co-detail-root .wb-co-top,
#wb-co-detail-root .wb-co-detail-interact,
#wb-co-detail-root .wb-co-stats,
#wb-co-detail-root .wb-co-follow,
#wb-co-detail-root .wb-co-tip-open {
    position: relative;
    z-index: 2;
}
.wb-co-manga-pick {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px;
    border-radius: 12px;
    background: #f1f5f9;
}
.wb-co-manga-pick img {
    width: 52px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 auto;
}
.wb-co-manga-pick__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wb-co-manga-pick__meta strong {
    font-size: 14px;
    color: #0f172a;
}
.wb-co-manga-pick__meta span {
    font-size: 12px;
    color: #64748b;
}
.wb-co-detail-manga {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
    background: #f8fafc;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .45);
}
.wb-co-detail-manga img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
    background: #e2e8f0;
}
.wb-co-detail-manga__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wb-co-detail-manga__meta em {
    font-style: normal;
    font-size: 11px;
    color: #0f766e;
    font-weight: 700;
}
.wb-co-detail-manga__meta strong {
    font-size: 15px;
    color: #0f172a;
}
.wb-co-detail-manga__meta span {
    font-size: 12px;
    color: #64748b;
}
html.theme-dark .wb-co-manga-pick,
html.theme-dark .wb-co-detail-manga {
    background: #1e293b;
}
html.theme-dark .wb-co-manga-pick__meta strong,
html.theme-dark .wb-co-detail-manga__meta strong {
    color: #e2e8f0;
}
.wb-co-list-manga {
    margin: 8px 0 0;
}
.wb-co-list-manga__box {
    position: relative;
    width: 86px;
    height: 114px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
}
.wb-co-list-manga__thumblink,
.wb-co-list-manga__thumblink img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wb-co-list-manga__badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(15, 118, 110, .92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.wb-co-list-manga__name {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}
.wb-co-detail-video {
    margin-top: 8px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .45);
}
.wb-co-detail-video__box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    border-radius: 14px;
}
.wb-co-detail-video__box > a {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}
.wb-co-detail-video__box video,
.wb-co-detail-video__box iframe,
.wb-co-detail-video__poster {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
    background: #000;
}
.wb-co-detail-video__play {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
}
.wb-co-detail-video__play::after {
    content: "\f01d";
    font-family: "FontAwesome";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 54px;
    line-height: 1;
    text-shadow: 0 4px 16px rgba(0, 0, 0, .45);
}
.wb-co-detail-video__box.is-playing .wb-co-detail-video__play,
.wb-co-detail-video__box.is-playing .wb-co-detail-video__play::after {
    display: none;
}
.wb-co-detail-video__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    background: rgba(248, 250, 252, .94);
}
html.theme-dark .wb-co-detail-video__meta {
    background: rgba(15, 23, 42, .9);
}
.wb-co-detail-video__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1) 0%, var(--wb-co-accent-2, #4f46e5) 100%);
}
.wb-co-detail-video__meta--link {
    padding: 10px 12px;
    font-size: 12px;
    color: #94a3b8;
    background: rgba(15, 23, 42, .92);
}
.wb-co-detail-interact.wb-play-info {
    margin: 0;
    /* 父级 .container 已有页边距，避免再叠一层导致与上方标题/视频不对齐 */
    padding-left: 0;
    padding-right: 0;
}
#wb-co-detail-root .wb-co-detail-interact {
    position: relative;
    z-index: 2;
}
/* 帖子详情：底部评论模块（与播放页一致：无卡片边框） */
.wb-co-detail-comments {
    margin-top: 16px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}
html.theme-dark .wb-co-detail-comments {
    background: transparent;
    border: 0;
    box-shadow: none;
}
.wb-co-detail-comments__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}
html.theme-dark .wb-co-detail-comments__head {
    border-bottom-color: rgba(255, 255, 255, .08);
}
.wb-co-detail-comments__title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.wb-co-detail-comments__title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--wb-app-text, #0f172a);
    line-height: 1.3;
}
.wb-co-detail-comments__title .fa {
    margin-right: 4px;
    color: var(--wb-co-accent, #6366f1);
    font-weight: 400;
}
html.theme-dark .wb-co-detail-comments__title {
    color: #f8fafc;
}
.wb-co-detail-comments__count {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 400;
    color: var(--wb-co-accent, #6366f1);
    background: rgba(99, 102, 241, .1);
}
html.theme-dark .wb-co-detail-comments__count {
    color: #c4b5fd;
    background: rgba(129, 140, 248, .16);
}
.wb-co-detail-comments__body {
    padding: 8px 0 6px;
}
.wb-co-detail-comments__gate {
    margin-bottom: 12px;
    padding: 10px 0;
    border-radius: 0;
    font-size: 13px;
    color: #64748b;
    background: transparent;
}
html.theme-dark .wb-co-detail-comments__gate {
    color: #94a3b8;
    background: transparent;
}
.wb-co-detail-comments__list {
    margin-top: 4px;
}
.wb-co-comment-form__box {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}
html.theme-dark .wb-co-comment-form__box {
    background: transparent;
    border: 0;
}
.wb-co-comment-form__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    max-height: 120px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--wb-app-card, #fff);
    font-size: 14px;
    line-height: 1.45;
    color: var(--wb-app-text, #334155);
    resize: vertical;
    box-shadow: none;
}
html.theme-dark .wb-co-comment-form__input {
    background: rgba(15, 23, 42, .55);
    color: #e2e8f0;
}
.wb-co-comment-form__input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, .22);
}
.wb-co-comment-form__submit {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1) 0%, var(--wb-co-accent-2, #4f46e5) 100%);
    cursor: pointer;
}
.wb-co-comment-form__submit:active {
    opacity: .92;
}
.wb-co-comment-form__hint {
    margin: 8px 2px 0;
    font-size: 12px;
    color: #64748b;
}
.wb-co-comment-form__hint a {
    color: var(--wb-co-accent, #6366f1);
    text-decoration: none;
}
.wb-co-comment-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 12px 14px;
    text-align: center;
    color: #94a3b8;
}
.wb-co-comment-empty-state .fa {
    font-size: 22px;
    opacity: .55;
}
.wb-co-comment-empty-state p {
    margin: 0;
    font-size: 13px;
}
.wb-co-comment-card {
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
html.theme-dark .wb-co-comment-card {
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
}
.wb-co-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 4px;
}
.wb-co-comment-head__title {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
}
html.theme-dark .wb-co-comment-head__title {
    color: #f8fafc;
}
.wb-co-comment-form textarea {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .1);
    min-height: 88px;
    resize: vertical;
    box-shadow: none;
}
.wb-co-comment-submit {
    height: 34px !important;
    border-radius: 999px !important;
    padding: 0 16px !important;
    font-weight: 500 !important;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1), var(--wb-co-accent-2, #4f46e5)) !important;
    color: #fff !important;
    border: 0 !important;
}
.wb-co-comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wb-co-comment-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--wb-co-hairline, rgba(0, 0, 0, .06));
}
.wb-co-comment-item + .wb-co-comment-item {
    margin-top: 0;
}
/* 平铺回复：相对楼主略缩进，便于区分 */
.wb-co-comment-item--reply {
    margin-left: 28px;
    padding-left: 10px;
    border-left: 2px solid rgba(37, 99, 235, .12);
    max-width: calc(100% - 28px);
}
.wb-co-comment-replyto {
    display: inline;
    margin: 0 4px 0 0;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    background: rgba(148, 163, 184, .12);
    white-space: nowrap;
    vertical-align: baseline;
}
.wb-co-comment-replyto em {
    font-style: normal;
    color: var(--wb-co-accent, #2563eb);
    font-weight: 600;
}
html.theme-dark .wb-co-comment-replyto {
    color: #94a3b8;
    background: rgba(148, 163, 184, .16);
}
.wb-co-comment-item.is-flash .wb-co-comment-main {
    animation: wb-co-comment-flash 1.4s ease;
}
@keyframes wb-co-comment-flash {
    0%, 100% { background: transparent; }
    35% { background: color-mix(in srgb, var(--wb-co-accent, #2563eb) 12%, transparent); }
}
.wb-co-comment-item:last-child {
    border-bottom: 0;
}
.wb-co-comment-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.wb-co-comment-avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(148, 163, 184, .14);
    box-shadow: none;
}
html.theme-dark .wb-co-comment-avatar {
    box-shadow: none;
}
.wb-co-comment-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wb-co-comment-main {
    flex: 1 1 auto;
    min-width: 0;
}
.wb-co-comment-bubble {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}
html.theme-dark .wb-co-comment-bubble {
    background: transparent;
    border: 0;
}
.wb-co-comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 4px;
    min-width: 0;
}
.wb-co-comment-meta__who {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.wb-co-comment-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 2px;
}
.wb-co-comment-headline__left {
    min-width: 0;
}
.wb-co-comment-name {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-right: 0;
    text-decoration: none;
}
a.wb-co-comment-name:hover {
    color: var(--wb-co-accent, #2563eb);
}
html.theme-dark .wb-co-comment-name {
    color: #f8fafc;
}
.wb-co-comment-action.wb-co-manage-comment-btn--danger {
    color: #ef4444;
}
.wb-co-comment-action.wb-co-manage-comment-btn--danger:hover {
    color: #dc2626;
}
.wb-co-comment-time {
    flex: 0 0 auto;
    display: block;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.35;
    white-space: nowrap;
    margin: 0;
}
.wb-co-comment-content {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
    word-break: break-word;
}
html.theme-dark .wb-co-comment-content {
    color: #e2e8f0;
}
.wb-co-comment-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    padding-left: 0;
}
.wb-co-comment-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
    text-decoration: none !important;
}
.wb-co-comment-action:hover {
    color: var(--wb-co-accent, #2563eb);
}
/* 社区详情：评论底部弹层内样式 — 输入区固定置顶、评论列表可滚 */
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-composer {
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 14px 12px;
    background: #f3f5f9;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
}
html.theme-dark body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-composer {
    background: rgba(15, 23, 42, .55);
    border-bottom-color: rgba(255, 255, 255, .08);
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-form__box {
    margin: 0;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(100, 116, 139, .28);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
html.theme-dark body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-form__box {
    background: rgba(30, 41, 59, .88);
    border-color: rgba(148, 163, 184, .32);
    box-shadow: none;
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-form__input {
    min-height: 52px;
    max-height: 120px;
    padding: 12px 12px;
    font-size: 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .4);
}
html.theme-dark body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-form__input {
    background: rgba(15, 23, 42, .65);
    border-color: rgba(148, 163, 184, .35);
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-form__submit {
    height: 44px;
    min-width: 68px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-feed {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px calc(16px + env(safe-area-inset-bottom, 0px));
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-gate,
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-empty-state {
    margin-bottom: 0;
}
body.wb-co-community-page .wb-play-comment-sheet .wb-co-comment-item:first-child {
    padding-top: 0;
}
html.theme-dark .wb-co-comment-action {
    color: #94a3b8;
}
.wb-co-comment-box {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(248, 250, 252, .72);
}
html.theme-dark .wb-co-comment-box {
    background: rgba(255, 255, 255, .05);
}

/* ========== 发布页 ========== */
body.wb-co-publish-page {
    --wb-pub-rail: linear-gradient(160deg, #1d4ed8 0%, #5b21b6 45%, #0e7490 100%);
    --wb-pub-card-bg: rgba(255, 255, 255, .98);
    --wb-pub-muted: #64748b;
    --wb-pub-border: rgba(15, 23, 42, .08);
    /* 发布页无底栏：取消 Tab 占位，避免挡住表单/发布按钮 */
    --wb-tabbar-height: env(safe-area-inset-bottom, 0px) !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--bottom-floating-ad-height, 0px)) !important;
}
body.wb-co-publish-page .myui-nav__tabbar.wb-bottom-tabbar,
body.wb-co-publish-page .wb-co-publish-fab,
body.wb-co-publish-page .wb-co-publish-fab-overlay,
body.wb-co-publish-page .wb-co-publish-fab-dialog {
    display: none !important;
}
body.wb-co-publish-page::after {
    height: calc(var(--bottom-floating-ad-height, 0px) + env(safe-area-inset-bottom, 0px)) !important;
}
html.theme-dark body.wb-co-publish-page {
    --wb-pub-card-bg: rgba(18, 18, 28, .96);
    --wb-pub-muted: #94a3b8;
    --wb-pub-border: rgba(255, 255, 255, .1);
}
.wb-co-pub-page {
    padding-top: 0;
    padding-bottom: 16px;
    min-height: 0 !important;
}
.wb-co-pub-shell {
    max-width: 100%;
    margin: 0 auto;
    padding: 6px 4px 16px;
    box-shadow: none;
    border: 0;
    background: transparent;
    min-height: 0 !important;
}
@media (min-width: 768px) {
    .wb-co-pub-shell {
        padding: 10px 8px 20px;
    }
    .wb-co-vod-pick__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 10px;
    }
}
body.wb-co-publish-page .wb-co-pub-actions {
    margin-top: 14px;
}
.wb-co-pub-card {
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 4px 0 8px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-height: 0 !important;
}
.wb-co-pub-hero {
    border-radius: 0;
    padding: 8px 0 16px;
    margin-bottom: 8px;
    background: transparent;
    color: inherit;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border-bottom: 1px solid rgba(148,163,184,.16);
}
.wb-co-pub-hero::after {
    display: none;
}
.wb-co-pub-hero h1 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .01em;
    position: relative;
    z-index: 1;
    color: var(--wb-pub-text, #0f172a) !important;
    text-shadow: none;
}
.wb-co-pub-hero p {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--wb-pub-muted, #64748b);
    opacity: 1;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}
.wb-co-pub-hero .wb-co-pub-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--wb-co-accent, #6366f1);
    text-decoration: none !important;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    position: relative;
    z-index: 1;
    transition: opacity .15s ease;
}
.wb-co-pub-hero .wb-co-pub-back:hover {
    background: transparent;
    transform: none;
    opacity: .8;
}
html.theme-dark .wb-co-pub-card {
    box-shadow: none;
}
.wb-co-pub-card .wb-co-pub-tip {
    font-size: 13px;
    color: var(--wb-pub-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}
.wb-co-pub-card .wb-co-pub-tip a {
    font-weight: 400;
}
.wb-co-pub-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 46px;
    line-height: 1.35;
    background-color: var(--wb-pub-card-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
html.theme-dark .wb-co-pub-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
}
/* 发布页：选择话题触发行 */
.wb-co-pub-field--topic {
    margin-bottom: 8px;
}
.wb-co-pub-topic-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .14) !important;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--wb-pub-text, #0f172a);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}
html.theme-dark .wb-co-pub-topic-trigger {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14) !important;
}
.wb-co-pub-topic-trigger:active {
    opacity: .88;
}
.wb-co-pub-topic-trigger__label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--wb-pub-muted, #64748b);
}
.wb-co-pub-topic-trigger__label.is-picked {
    color: var(--wb-pub-text, #0f172a);
    font-weight: 400;
}
html.theme-dark .wb-co-pub-topic-trigger__label.is-picked {
    color: #f1f5f9;
}
.wb-co-pub-topic-trigger > .fa {
    flex-shrink: 0;
    font-size: 16px;
    color: #94a3b8;
}
/* 话题底部弹层 */
.wb-co-topic-overlay {
    position: fixed;
    inset: 0;
    z-index: 100130;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
}
html.theme-dark .wb-co-topic-overlay {
    background: rgba(0, 0, 0, .58);
}
.wb-co-topic-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .22s ease, visibility 0s linear 0s;
}
.wb-co-topic-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100131;
    max-height: min(78vh, 640px);
    transform: translateY(104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .3s;
}
.wb-co-topic-sheet.is-open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}
.wb-co-topic-sheet__panel {
    display: flex;
    flex-direction: column;
    max-height: min(78vh, 640px);
    border-radius: 18px 18px 0 0;
    background: var(--wb-surface, #fff);
    box-shadow: none;
    overflow: hidden;
}
html.theme-dark .wb-co-topic-sheet__panel {
    background: #1c1c1e;
}
.wb-co-topic-sheet__hd {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 44px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}
html.theme-dark .wb-co-topic-sheet__hd {
    border-bottom-color: rgba(255, 255, 255, .08);
}
.wb-co-topic-sheet__hd h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--wb-pub-text, #0f172a);
}
html.theme-dark .wb-co-topic-sheet__hd h3 {
    color: #f1f5f9;
}
.wb-co-topic-sheet__back,
.wb-co-topic-sheet__close,
.wb-co-topic-sheet__done {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wb-co-topic-sheet__back {
    left: 8px;
    font-size: 20px;
}
.wb-co-topic-sheet__close {
    right: 8px;
}
.wb-co-topic-sheet__done {
    right: 8px;
    width: auto;
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}
html.theme-dark .wb-co-topic-sheet__done {
    color: #60a5fa;
}
.wb-co-topic-sheet__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
}
.wb-co-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.wb-co-topic-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, .16);
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
html.theme-dark .wb-co-topic-chip {
    background: rgba(255, 255, 255, .08);
    color: #e2e8f0;
}
.wb-co-topic-chip.is-none {
    color: #64748b;
}
html.theme-dark .wb-co-topic-chip.is-none {
    color: #94a3b8;
}
.wb-co-topic-chip.is-on {
    background: rgba(99, 102, 241, .18);
    color: var(--wb-co-accent-2, #4f46e5);
    font-weight: 400;
}
html.theme-dark .wb-co-topic-chip.is-on {
    background: rgba(99, 102, 241, .28);
    color: #a5b4fc;
}
.wb-co-topic-chip:active {
    opacity: .85;
}
@media (prefers-reduced-motion: reduce) {
    .wb-co-topic-overlay,
    .wb-co-topic-sheet {
        transition: none !important;
    }
    .wb-co-topic-sheet.is-open,
    .wb-co-topic-sheet {
        transform: translateY(0);
    }
}
.wb-co-pub-file-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}
.wb-co-pub-file-btn {
    position: relative;
    overflow: hidden;
    margin: 0;
}
.wb-co-pub-file-native {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 32px;
    border: 0 !important;
}
.wb-co-pub-file-name {
    font-size: 12px;
    color: var(--wb-pub-muted);
    flex: 1;
    min-width: 0;
    word-break: break-all;
}
.wb-co-pub-textarea-auto {
    min-height: 72px;
    max-height: min(42vh, 360px);
    resize: vertical;
    overflow-y: auto;
    line-height: 1.5;
    field-sizing: content;
}
@supports not (field-sizing: content) {
    .wb-co-pub-textarea-auto {
        min-height: 88px;
    }
}
.wb-co-pub-field {
    margin-bottom: 8px;
}
.wb-co-pub-field.wb-co-pub-field--tight {
    margin-bottom: 6px;
}
.wb-co-pub-field > label,
.wb-co-pub-field-labelish {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #334155;
    margin-bottom: 6px;
    letter-spacing: .01em;
}
.wb-co-pub-field.is-placeholder-only > .wb-co-pub-field-labelish {
    display: none;
}
.wb-co-pub-field.is-placeholder-only {
    margin-bottom: 8px;
}
html.theme-dark .wb-co-pub-field > label,
html.theme-dark .wb-co-pub-field-labelish {
    color: #e2e8f0;
}
/* 覆盖全局 body:not(.wb-uc) input/textarea { border:none !important } */
body.wb-co-publish-page .wb-co-pub-card .form-control,
body.wb-co-publish-page .wb-co-pub-card .wb-co-pub-input,
body.wb-co-publish-page .wb-co-pub-card input.form-control,
body.wb-co-publish-page .wb-co-pub-card textarea.form-control {
    display: block;
    width: 100%;
    height: auto;
    min-height: 42px;
    border-radius: 10px !important;
    border: 1px solid rgba(15, 23, 42, .14) !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.45;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body.wb-co-publish-page .wb-co-pub-card textarea.form-control {
    min-height: 72px;
}
body.wb-co-publish-page .wb-co-pub-card .form-control:focus,
body.wb-co-publish-page .wb-co-pub-card .wb-co-pub-input:focus {
    border-color: rgba(99, 102, 241, .55) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12) !important;
    outline: 0;
}
html.theme-dark body.wb-co-publish-page .wb-co-pub-card .form-control,
html.theme-dark body.wb-co-publish-page .wb-co-pub-card .wb-co-pub-input,
html.theme-dark body.wb-co-publish-page .wb-co-pub-card input.form-control,
html.theme-dark body.wb-co-publish-page .wb-co-pub-card textarea.form-control {
    background: rgba(255, 255, 255, .06) !important;
    border-color: rgba(255, 255, 255, .14) !important;
    color: #f1f5f9;
}
html.theme-dark body.wb-co-publish-page .wb-co-pub-card .form-control:focus,
html.theme-dark body.wb-co-publish-page .wb-co-pub-card .wb-co-pub-input:focus {
    border-color: rgba(129, 140, 248, .55) !important;
    background: rgba(255, 255, 255, .09) !important;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, .14) !important;
}
body.wb-co-publish-page .wb-co-pub-card .form-control::placeholder,
body.wb-co-publish-page .wb-co-pub-card .wb-co-pub-input::placeholder {
    color: #94a3b8;
}
/* 统一按钮尺寸/风格 */
.wb-co-pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: opacity .12s ease, background .12s ease, border-color .12s ease;
}
.wb-co-pub-btn:active {
    transform: scale(.98);
}
.wb-co-pub-btn--primary {
    color: #fff !important;
    background: var(--wb-co-accent, #6366f1) !important;
    border-color: var(--wb-co-accent, #6366f1) !important;
}
.wb-co-pub-btn--primary:hover {
    opacity: .92;
}
.wb-co-pub-btn--ghost {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border-color: rgba(15, 23, 42, .12) !important;
}
html.theme-dark .wb-co-pub-btn--ghost {
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .12) !important;
}
.wb-co-pub-audit-tip {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    background: rgba(234, 179, 8, .15);
    border: 1px solid rgba(234, 179, 8, .45);
    color: #854d0e;
}
html.theme-dark .wb-co-pub-audit-tip {
    background: rgba(250, 204, 21, .12);
    border-color: rgba(250, 204, 21, .35);
    color: #fde68a;
}
.wb-co-pub-hint {
    font-size: 12px;
    color: var(--wb-pub-muted);
    margin: 4px 0 0;
    line-height: 1.45;
}
.wb-co-pub-hint--top {
    margin: 0 0 6px;
}
.wb-co-pub-actions {
    margin-top: 12px;
    padding-top: 2px;
}
.wb-co-pub-submit {
    width: 100%;
    border: 0 !important;
    border-radius: 10px !important;
    min-height: 38px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    color: #fff;
    cursor: pointer;
    background: var(--wb-co-accent, #6366f1);
    box-shadow: none;
    transition: opacity .12s ease;
}
.wb-co-pub-submit:hover:not(:disabled) {
    opacity: .92;
    box-shadow: none;
}
.wb-co-pub-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.wb-co-pub-gallery-wrap {
    position: relative;
}
.wb-co-pub-gallery-data {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.wb-co-pub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
    margin-bottom: 8px;
}
@media (min-width: 520px) {
    .wb-co-pub-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.wb-co-pub-gcell {
    position: relative;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--wb-pub-border);
    background: rgba(148, 163, 184, .12);
}
.wb-co-pub-gcell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}
.wb-co-pub-gcell__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wb-pub-muted);
    font-size: 22px;
    pointer-events: none;
    z-index: 1;
}
.wb-co-pub-gcell__rm {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(15, 23, 42, .55);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    z-index: 4;
}
.wb-co-pub-gcell__rm:active {
    transform: scale(.94);
}
.wb-co-pub-gadd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: 2px dashed rgba(100, 116, 139, .35);
    background: rgba(148, 163, 184, .08);
    color: var(--wb-pub-muted);
    font-size: 12px;
    font-weight: 500;
    transition: border-color .15s, background .15s;
}
.wb-co-pub-gadd:hover {
    border-color: rgba(37, 99, 235, .45);
    background: rgba(37, 99, 235, .06);
    color: #475569;
}
.wb-co-pub-gadd i {
    font-size: 26px;
    opacity: .85;
    line-height: 1;
}
.wb-co-pub-count-pill {
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--wb-pub-muted);
    border: 0;
}
html.theme-dark .wb-co-pub-count-pill {
    color: #94a3b8;
    border-color: transparent;
    background: transparent;
}
.wb-co-pub-gallery-status {
    min-height: 0;
    font-size: 12px;
    color: var(--wb-pub-muted);
    margin-top: 4px;
}
.wb-co-pub-advanced {
    margin-top: 8px;
    border-radius: 10px;
    border: 1px dashed rgba(148, 163, 184, .35);
    padding: 0 10px 10px;
    background: rgba(148, 163, 184, .06);
}
.wb-co-pub-advanced > summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--wb-pub-muted);
    padding: 8px 0;
    list-style: none;
    outline: none;
}
.wb-co-pub-advanced > summary::-webkit-details-marker {
    display: none;
}
.wb-co-pub-advanced .wb-co-pub-btn {
    margin-top: 8px;
}
.wb-co-pub-gallery-tools {
    display: none;
}
.wb-co-video-preview {
    max-width: 100%;
    max-height: 220px;
    border-radius: 10px;
    background: #000;
    margin-top: 8px;
    border: 1px solid var(--wb-pub-border);
}
/* 视频发布方式：双卡片，片库更显眼 */
.wb-co-video-mode {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}
.wb-co-video-mode__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 88px;
    padding: 12px 12px 10px;
    border-radius: 12px !important;
    border: 1.5px solid rgba(15, 23, 42, .12) !important;
    background: #f8fafc;
    color: #334155;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.wb-co-video-mode__card.is-active {
    border-color: var(--wb-co-accent, #6366f1) !important;
    background: linear-gradient(160deg, rgba(99, 102, 241, .12) 0%, rgba(99, 102, 241, .04) 100%);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, .18);
    color: #312e81;
}
.wb-co-video-mode__card[data-wb-co-video-tab="vod"].is-active {
    background: linear-gradient(145deg, var(--wb-co-accent-2, #4f46e5) 0%, var(--wb-co-accent, #6366f1) 55%, #818cf8 100%);
    border-color: var(--wb-co-accent-2, #4f46e5) !important;
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, .28);
}
.wb-co-video-mode__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    line-height: 1.3;
}
.wb-co-video-mode__card[data-wb-co-video-tab="vod"].is-active .wb-co-video-mode__badge {
    background: rgba(255, 255, 255, .22);
}
.wb-co-video-mode__ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, .12);
    color: var(--wb-co-accent, #6366f1);
    font-size: 14px;
    margin-bottom: 2px;
}
.wb-co-video-mode__card[data-wb-co-video-tab="vod"].is-active .wb-co-video-mode__ico {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}
.wb-co-video-mode__tit {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
}
.wb-co-video-mode__desc {
    font-size: 11px;
    line-height: 1.35;
    opacity: .78;
    font-weight: 500;
}
html.theme-dark .wb-co-video-mode__card {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .12) !important;
    color: #e2e8f0;
}
html.theme-dark .wb-co-video-mode__card.is-active:not([data-wb-co-video-tab="vod"]) {
    background: rgba(99, 102, 241, .16);
    color: #c7d2fe;
}
/* 兼容旧 tab 类名（若缓存残留） */
.wb-co-video-tabs {
    display: none;
}
.wb-co-video-pane {
    display: none;
}
.wb-co-video-pane.is-active {
    display: block;
}
.wb-co-vod-pick {
    margin-top: 0;
}
.wb-co-vod-pick__banner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(79, 70, 229, .1) 0%, rgba(14, 165, 233, .08) 100%);
    border: 1px solid rgba(99, 102, 241, .22);
}
.wb-co-vod-pick__banner > .fa {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wb-co-accent, #6366f1);
    color: #fff;
    font-size: 13px;
    margin-top: 1px;
}
.wb-co-vod-pick__banner strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #312e81;
    margin-bottom: 2px;
}
.wb-co-vod-pick__banner p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #475569;
}
html.theme-dark .wb-co-vod-pick__banner {
    background: rgba(99, 102, 241, .16);
    border-color: rgba(129, 140, 248, .28);
}
html.theme-dark .wb-co-vod-pick__banner strong {
    color: #c7d2fe;
}
html.theme-dark .wb-co-vod-pick__banner p {
    color: #94a3b8;
}
.wb-co-vod-pick__row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-top: 0;
}
.wb-co-vod-pick__row .form-control,
.wb-co-vod-pick__row .wb-co-pub-input {
    flex: 1;
    min-width: 0;
}
.wb-co-vod-pick__row .wb-co-pub-btn {
    flex-shrink: 0;
    white-space: nowrap;
}
.wb-co-vod-clear {
    margin-top: 8px;
}
.wb-co-vod-pick__note {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}
.wb-co-vod-pick__results {
    margin-top: 8px;
    max-height: none;
    overflow: visible;
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 0;
}
html.theme-dark .wb-co-vod-pick__results {
    background: transparent;
}
.wb-co-vod-pick__empty {
    padding: 14px 8px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}
.wb-co-vod-pick__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
}
@media (min-width: 640px) {
    .wb-co-vod-pick__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }
}
.wb-co-vod-pick__cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
}
.wb-co-vod-pick__cell:active {
    opacity: .86;
}
.wb-co-vod-pick__cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background-color: #e8edf3;
    background-image: var(--wb-lazy-ph-vod-url, url("/template/default/images/lazyload.png"));
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(15, 23, 42, .08);
}
html.theme-dark .wb-co-vod-pick__cover {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
}
.wb-co-vod-pick__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.wb-co-vod-pick__year {
    position: absolute;
    left: 6px;
    top: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    background: #1e80ff;
}
.wb-co-vod-pick__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.wb-co-vod-pick__play .fa { margin-left: 2px; }
.wb-co-vod-pick__more {
    width: 100%;
    height: 40px;
    margin-top: 10px;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
html.theme-dark .wb-co-vod-pick__more {
    background: #1e293b;
    color: #e2e8f0;
}
.wb-co-vod-pick__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: #0f172a;
    word-break: break-word;
}
html.theme-dark .wb-co-vod-pick__name {
    color: #e2e8f0;
}
/* 旧左右列表样式保留兼容，实际已改网格 */
.wb-co-vod-pick__item {
    display: none;
}
.wb-co-vod-pick__meta {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
}
.wb-co-vod-pick__meta strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
}
html.theme-dark .wb-co-vod-pick__meta strong {
    color: #f1f5f9;
}
.wb-co-vod-pick__selected {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, .25);
    background: rgba(37, 99, 235, .06);
}
.wb-co-vod-pick__selected img {
    width: 56px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--wb-pub-border);
}

/* ========== 通知 ========== */
.wb-co-notify-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--wb-app-card, #fff);
    border: 1px solid rgba(148, 163, 184, .14);
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}
html.theme-dark .wb-co-notify-toolbar {
    background: var(--wb-app-card, #0d1020);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
}
.wb-co-notify-tip {
    flex: 1 1 180px;
    min-width: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}
.wb-co-notify-tip strong {
    color: #334155;
    font-weight: 400;
}
html.theme-dark .wb-co-notify-tip {
    color: #94a3b8;
}
html.theme-dark .wb-co-notify-tip strong {
    color: #e2e8f0;
}
.wb-co-notify-all {
    flex: 0 0 auto;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 999px;
    border: 0;
    color: #fff !important;
    background: linear-gradient(135deg, var(--wb-co-accent, #6366f1) 0%, var(--wb-co-accent-2, #4f46e5) 100%);
    cursor: pointer;
    touch-action: manipulation;
    white-space: nowrap;
}
html.theme-dark .wb-co-notify-all {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}
.wb-co-notify-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 4px 0 10px;
    list-style: none;
}
.wb-co-notify-item {
    border-bottom: 0;
    border-radius: 14px;
    background: var(--wb-app-card, #fff);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
    padding: 14px;
    overflow: hidden;
}
html.theme-dark .wb-co-notify-item {
    background: var(--wb-app-card, #0d1020);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
}
.wb-co-notify-item.is-unread {
    background: rgba(37, 99, 235, .04);
    border-color: rgba(37, 99, 235, .22);
    box-shadow: 0 4px 18px rgba(37, 99, 235, .08);
}
html.theme-dark .wb-co-notify-item.is-unread {
    background: rgba(64, 204, 146, .08);
    border-color: rgba(64, 204, 146, .24);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
}
.wb-co-notify-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
a.wb-co-notify-av-link,
span.wb-co-notify-av-link {
    display: block;
    flex-shrink: 0;
    line-height: 0;
    border-radius: 50%;
    text-decoration: none !important;
}
a.wb-co-notify-av-link:active {
    opacity: .86;
    transform: scale(.96);
}
a.wb-co-notify-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
}
a.wb-co-notify-link:hover .wb-co-notify-title {
    color: #2563eb;
}
html.theme-dark a.wb-co-notify-link:hover .wb-co-notify-title {
    color: #5eead4;
}
.wb-co-notify-av {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, .06);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, .18);
}
html.theme-dark .wb-co-notify-av {
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
}
.wb-co-notify-body {
    flex: 1;
    min-width: 0;
}
.wb-co-notify-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    flex: 0 0 auto;
    margin: 0;
    align-self: center;
}
a.wb-co-notify-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    border: 1px solid rgba(148, 163, 184, .28);
    color: #475569;
    background: rgba(248, 250, 252, .9);
}
a.wb-co-notify-act--detail {
    border-color: rgba(37, 99, 235, .28);
    color: #1d4ed8;
    background: rgba(239, 246, 255, .95);
}
a.wb-co-notify-act:active {
    opacity: .88;
}
html.theme-dark a.wb-co-notify-act {
    border-color: rgba(255, 255, 255, .14);
    color: #cbd5e1;
    background: rgba(255, 255, 255, .04);
}
html.theme-dark a.wb-co-notify-act--detail {
    border-color: rgba(94, 234, 212, .28);
    color: #5eead4;
    background: rgba(45, 212, 191, .08);
}
.wb-co-notify-title {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wb-co-notify-title .wb-co-notify-user,
.wb-co-notify-title .text-muted {
    color: #334155 !important;
}
html.theme-dark .wb-co-notify-title {
    color: #e8e8e8;
}
html.theme-dark .wb-co-notify-title .wb-co-notify-user,
html.theme-dark .wb-co-notify-title .text-muted {
    color: #e2e8f0 !important;
}
.wb-co-notify-snippet {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
html.theme-dark .wb-co-notify-snippet {
    color: #94a3b8;
}
.wb-co-notify-time {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}
html.theme-dark .wb-co-notify-time {
    color: #777;
}
.wb-co-notify-empty {
    text-align: center;
    padding: 40px 16px;
    color: #94a3b8;
}
html.theme-dark .wb-co-notify-empty {
    color: #64748b;
}
.wb-co-notify-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff !important;
    font-size: 10px;
    font-weight: 500;
    line-height: 16px;
    vertical-align: middle;
}
/* 空间页：去掉原生顶栏，避免与空间头像区返回/通知双顶栏叠层 */
body.wb-co-community-space #wbNativeTopbar,
body.wb-co-community-space .wb-statusbar {
    display: none !important;
}
body.wb-co-community-space {
    --wb-native-topbar-h: 0px;
    padding-top: 0 !important;
}
body.wb-co-community-space .wb-co-channel-nav.wb-header-tv__nav {
    top: calc(env(safe-area-inset-top, 0px) + var(--top-floating-ad-height, 0px));
}
/* 空间页：确保头图返回可见（原生顶栏已隐藏） */
body.wb-co-community-space .wb-co-sph__back {
    display: flex !important;
    z-index: 6;
}
/* 列表页：原生顶栏 + 频道条视为一套顶栏，频道条紧贴原生栏无缝 */
body.wb-co-community-index:not(.wb-co-community-space) .wb-co-channel-nav.wb-header-tv__nav {
    box-shadow: none;
    border-bottom: 1px solid var(--wb-co-hairline, rgba(0,0,0,.06));
}
html.theme-dark body.wb-co-community-index:not(.wb-co-community-space) .wb-co-channel-nav.wb-header-tv__nav {
    border-bottom-color: var(--wb-co-hairline, rgba(255,255,255,.08));
}

.wb-co-channel-nav .wb-header-tv__nav-item.is-active .wb-co-notify-nav-badge {
    background: #ef4444;
    color: #fff !important;
}
.wb-co-notify-loading {
    margin: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}
.wb-co-notify-loading.is-error {
    color: #ef4444;
}
.wb-co-notify-infinite-stack.is-loading {
    min-height: 120px;
}

/* ========== 关注 / 粉丝 / 点赞列表 ========== */
.wb-co-rel-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wb-co-rel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--wb-co-hairline);
}
.wb-co-rel-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wb-co-rel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, .06);
}
html.theme-dark .wb-co-rel-avatar {
    background: rgba(255, 255, 255, .08);
}
.wb-co-rel-name {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    word-break: break-word;
}
html.theme-dark .wb-co-rel-name {
    color: #e8e8e8;
}
.wb-co-rel-time {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}
html.theme-dark .wb-co-rel-time {
    color: #999;
}
a.wb-co-rel-meta {
    text-decoration: none !important;
    color: inherit;
}
a.wb-co-rel-meta:hover .wb-co-rel-name {
    color: #2563eb;
}
html.theme-dark a.wb-co-rel-meta:hover .wb-co-rel-name {
    color: #5eead4;
}

/* =============================
   扁平简洁：社区模块去投影/描边
   ============================= */
.wb-co-follow.btn,
a.wb-co-follow,
.wb-co-follow.wb-co-follow-on,
.wb-co-follow-btn.wb-co-follow-on,
.wb-co-stats .wb-co-tip-open.btn,
.wb-co-stats .wb-co-tip-open,
.wb-co-tip-dialog__avatar,
.wb-co-tip-dialog__submit,
.wb-co-feed-tabs,
html.theme-dark .wb-co-feed-tabs,
.wb-co-feed-tabs__item,
html.theme-dark .wb-co-feed-tabs__item,
.wb-co-feed-tabs__item.is-active,
html.theme-dark .wb-co-feed-tabs__item.is-active,
.wb-co-post-card,
.wb-co-compose-bar,
.wb-co-pfab,
html.theme-dark .wb-co-pfab {
    box-shadow: none !important;
}
html.theme-dark .wb-co-feed-tabs {
    border: none !important;
}

/* 详情页沉浸式顶栏与固定评论栏 */
body.wb-co-detail-page {
    /* 本页自带 wb-co-detail-topbar，取消全局原生顶栏占位，避免与 feed-body 双重 padding */
    padding-top: 0 !important;
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
    --wb-native-topbar-h: 48px;
}
body.wb-co-detail-page #wbNativeTopbar,
body.wb-co-detail-page .wb-statusbar {
    display: none !important;
}
.wb-co-detail-page .wb-co-feed-body {
    /* 仅预留详情顶栏高度，与固定顶栏对齐 */
    padding-top: calc(var(--wb-native-topbar-h, 48px) + env(safe-area-inset-top, 0px));
}
.wb-co-detail-page .wb-co-main {
    padding-top: 0;
}
.wb-co-detail-page .myui-foot,
.wb-co-detail-page .wb-backtop-extra {
    display: none !important;
}
.wb-co-detail-page .wb-co-comment-form--page {
    display: none;
}
.wb-co-detail-topbar {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 10030;
    width: min(100%, var(--wb-app-shell-max, 960px));
    height: calc(var(--wb-native-topbar-h, 48px) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    /* 左：返回箭头与原生栏对齐；右：与正文 page gutter 一致，避免关注贴边 */
    padding-left: calc(var(--wb-topbar-inline-gutter, 2px) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--wb-app-page-gutter, 10px) + env(safe-area-inset-right, 0px));
    padding-bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
    box-sizing: border-box;
    background: var(--wb-topbar-bg, #ffffff);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html.theme-dark .wb-co-detail-topbar {
    background: var(--wb-topbar-bg, #0d1020);
    border-bottom: none;
}
.wb-co-detail-topbar__back {
    /* 箭头位置仍靠左对齐原生栏；收窄占位，避免头像被顶得太远 */
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 48px;
    margin: 0;
    padding: 0 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--wb-app-text, #172033);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.wb-co-detail-topbar__back .fa {
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    transform: scaleX(1.05);
}
.wb-co-detail-topbar__back:active {
    opacity: .72;
}
.wb-co-detail-topbar__author {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    color: inherit !important;
    text-decoration: none !important;
}
.wb-co-detail-topbar__avatar {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(148, 163, 184, .12);
}
.wb-co-detail-topbar__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wb-co-detail-topbar__name {
    display: flex;
    align-items: center;
    min-width: 0;
    color: var(--wb-app-text, #111827);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
}
.wb-co-detail-topbar__time {
    color: var(--wb-app-muted, #94a3b8);
    font-size: 11px;
    line-height: 1.2;
}
.wb-co-detail-topbar__follow {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.wb-co-detail-topbar__follow .wb-co-follow,
.wb-co-detail-topbar__follow .wb-co-pm-btn,
.wb-co-detail-topbar__follow a.wb-co-follow {
    padding: 0 8px !important;
    font-size: 11px !important;
    min-width: 0 !important;
}
.wb-co-detail-commentbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 10040;
    width: min(100%, var(--wb-app-shell-max, 960px));
    min-height: 62px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .06);
    transition: transform .22s ease, opacity .22s ease;
}
.wb-co-detail-commentbar.is-hidden {
    transform: translate(-50%, 110%);
    opacity: 0;
    pointer-events: none;
}
html.theme-dark .wb-co-detail-commentbar {
    background: rgba(8, 10, 17, .98);
    border-top-color: rgba(255, 255, 255, .08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .28);
}
.wb-co-detail-commentbar__avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(148, 163, 184, .12);
}
.wb-co-detail-commentbar__pill {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 3px 5px 3px 12px;
    border-radius: 22px;
    background: rgba(148, 163, 184, .12);
    box-sizing: border-box;
}
html.theme-dark .wb-co-detail-commentbar__pill {
    background: rgba(255, 255, 255, .08);
}
.wb-co-detail-commentbar__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 6px 0 2px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--wb-app-text, #0f172a);
    font-size: 13px;
    line-height: 34px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
button.wb-co-detail-commentbar__input {
    color: var(--wb-app-muted, #94a3b8);
    cursor: pointer;
}
input.wb-co-detail-commentbar__input::placeholder {
    color: var(--wb-app-muted, #94a3b8);
}
.wb-co-detail-commentbar__acts {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.wb-co-detail-commentbar__act {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 36px;
    height: 40px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--wb-app-text, #334155);
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
.wb-co-detail-commentbar__act i {
    font-size: 18px;
    line-height: 1;
}
.wb-co-detail-commentbar__act em {
    font-style: normal;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    color: var(--wb-app-muted, #94a3b8);
}
.wb-co-detail-commentbar__act.is-liked,
.wb-co-detail-commentbar__act[data-liked="1"] {
    color: var(--wb-co-accent, #6366f1);
}
.wb-co-detail-commentbar__act.is-liked em,
.wb-co-detail-commentbar__act[data-liked="1"] em {
    color: var(--wb-co-accent, #6366f1);
}
html.theme-dark .wb-co-detail-commentbar__act {
    color: #e2e8f0;
}
.wb-co-detail-commentbar__send {
    flex: 0 0 auto;
    height: 32px;
    min-width: 52px;
    padding: 0 12px;
    margin: 0 2px 0 2px;
    border: 0;
    border-radius: 16px;
    background: #1e80ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.wb-co-detail-subnav.wb-play-subnav {
    position: sticky;
    top: calc(var(--wb-native-topbar-h, 48px) + env(safe-area-inset-top, 0px));
    z-index: 20;
    margin: 8px 0 0;
}
.wb-co-detail-subnav .wb-play-subnav__tab {
    text-decoration: none !important;
}
.wb-co-detail-pane[hidden] {
    display: none !important;
}
.wb-co-detail-pane.is-active {
    display: block;
}
.wb-co-detail-chat-frame {
    display: block;
    width: 100%;
    min-height: 240px;
    height: 60vh;
    border: 0;
    background: #fff;
    border-radius: 0;
}
html.theme-dark .wb-co-detail-chat-frame {
    background: #0f172a;
}
.wb-co-detail-apps {
    padding: 8px 0 72px;
}
.wb-co-detail-page .wb-co-main {
    padding-bottom: 78px;
}
body.wb-co-detail-page.wb-co-chat-tab {
    overflow: hidden !important;
}
body.wb-co-detail-page.wb-co-chat-tab .wb-co-detail-pane[data-wb-co-pane="chat"] {
    margin: 0;
    padding: 0;
}
body.wb-co-detail-page.wb-co-chat-tab .wb-co-feed-body,
body.wb-co-detail-page.wb-co-chat-tab .wb-co-main {
    padding-bottom: 0 !important;
}
@media (min-width: 992px) {
    body.wb-co-detail-page.wb-co-chat-tab {
        overflow: auto !important;
    }
    body.wb-co-detail-page.wb-co-chat-tab .wb-co-detail-pane[data-wb-co-pane="chat"] {
        min-height: 72vh;
    }
    body.wb-co-detail-page.wb-co-chat-tab .wb-co-detail-chat-frame {
        min-height: 72vh !important;
        height: 72vh !important;
        max-height: none !important;
    }
    body.wb-co-detail-page.wb-co-chat-tab .wb-co-feed-body,
    body.wb-co-detail-page.wb-co-chat-tab .wb-co-main {
        padding-bottom: 24px !important;
    }
}
.wb-co-report-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100080;
}
.wb-co-report-sheet.is-open {
    display: block;
}
.wb-co-report-sheet__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
}
.wb-co-report-sheet__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(360px, calc(100vw - 36px));
    transform: translate(-50%, -50%);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    overflow: hidden;
}
html.theme-dark .wb-co-report-sheet__panel {
    background: #151a2b;
}
.wb-co-report-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.wb-co-report-sheet__head strong {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}
html.theme-dark .wb-co-report-sheet__head strong {
    color: #e2e8f0;
}
.wb-co-report-sheet__head button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
html.theme-dark .wb-co-report-sheet__head button {
    background: #1e293b;
    color: #94a3b8;
}
.wb-co-report-sheet__body {
    padding: 16px;
}
.wb-co-report-sheet__tip {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}
.wb-co-report-sheet__reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.wb-co-report-sheet__reason {
    height: 44px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.wb-co-report-sheet__reason:active {
    transform: scale(.98);
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}
html.theme-dark .wb-co-report-sheet__reason {
    background: #0f172a;
    border-color: rgba(255, 255, 255, .1);
    color: #e2e8f0;
}
.wb-co-detail-tubiao-wrap {
    margin: 10px 0 4px;
    min-height: 0;
}
.wb-co-detail-tubiao-wrap .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 767px) {
    .wb-co-detail-page .wb-co-feed-body {
        padding-top: calc(var(--wb-native-topbar-h, 48px) + env(safe-area-inset-top, 0px));
    }
    .wb-co-detail-page .wb-co-main {
        /* 水平边距由 .wb-co-feed-body 统一提供，避免与互动模块双重缩进 */
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }
    .wb-co-detail-topbar,
    .wb-co-detail-commentbar {
        max-width: none;
    }
}
.wb-co-feed-tabs__item,
html.theme-dark .wb-co-feed-tabs__item {
    border: none !important;
}

/* 社区动态无限滚动 */
.wb-co-infinite-stack > .wb-co-infinite__foot {
    padding: 8px 0 16px;
}
.wb-co-infinite__sentinel {
    width: 100%;
    height: 1px;
}
.wb-co-infinite__hint {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--wb-app-muted, #64748b);
}
.wb-co-infinite__hint[data-state="loading"] {
    color: #8b5cf6;
}
.wb-co-infinite__hint[data-state="error"] {
    color: #ef4444;
}
.wb-co-infinite__hint[data-state="done"] {
    opacity: .72;
}

/* 关注按钮最终覆盖：避免主题通用 .btn 样式重新填充背景 */
body.wb-co-community-page button.wb-co-follow.btn,
body.wb-co-community-page a.wb-co-follow.btn {
    min-width: 58px !important;
    width: auto !important;
    height: 25px !important;
    min-height: 25px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    outline: 0 !important;
    color: #fff !important;
    background: var(--wb-co-accent, #6366f1) !important;
    background-image: none !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    gap: 5px !important;
    appearance: none;
    -webkit-appearance: none;
}
body.wb-co-community-page .wb-co-follow .fa {
    margin-right: 0 !important;
    color: inherit !important;
}
body.wb-co-community-page button.wb-co-follow.wb-co-follow-on,
body.wb-co-community-page a.wb-co-follow.wb-co-follow-on {
    color: #64748b !important;
    border: 0 !important;
    background: #e2e8f0 !important;
    background-image: none !important;
}
html.theme-dark body.wb-co-community-page button.wb-co-follow.btn,
html.theme-dark body.wb-co-community-page a.wb-co-follow.btn {
    color: #fff !important;
    background: var(--wb-co-accent, #6366f1) !important;
}
html.theme-dark body.wb-co-community-page button.wb-co-follow.wb-co-follow-on,
html.theme-dark body.wb-co-community-page a.wb-co-follow.wb-co-follow-on {
    color: #cbd5e1 !important;
    background: rgba(255,255,255,.12) !important;
}

/* 社区：主分类下子分类（有封面=封面卡；无封面=紧凑居中胶囊） */
body.wb-co-community-index .wb-co-subcategories {
    margin: 0 0 6px;
    padding: 0;
}
body.wb-co-community-index .wb-co-subcategories[data-active-parent="0"],
body.wb-co-community-index .wb-co-subcategories:not([data-active-parent]),
body.wb-co-community-index .wb-co-subcategories[data-active-parent=""] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
body.wb-co-community-index .wb-co-subcategories__panel[hidden] {
    display: none !important;
}
body.wb-co-community-index .wb-co-subcategories__rail {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 4px;
    cursor: default;
}
body.wb-co-community-index .wb-co-subcategories__rail::-webkit-scrollbar {
    height: 4px;
}

/* 无封面：紧凑胶囊，文字居中 */
body.wb-co-community-index .wb-co-subcategories__item {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    min-width: 88px;
    max-width: 120px;
    height: 44px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 4px 10px;
    border: 0;
    border-radius: 10px;
    background: #e0f2fe;
    color: #075985 !important;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    cursor: pointer;
    pointer-events: auto !important;
    -webkit-user-select: none;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    z-index: 1;
}
body.wb-co-community-index .wb-co-subcategories__item:nth-child(4n + 2) {
    background: #ede9fe;
    color: #6d28d9 !important;
}
body.wb-co-community-index .wb-co-subcategories__item:nth-child(4n + 3) {
    background: #dcfce7;
    color: #15803d !important;
}
body.wb-co-community-index .wb-co-subcategories__item:nth-child(4n) {
    background: #ffedd5;
    color: #c2410c !important;
}

/* 有封面：封面底图 + 底部居中文字 */
body.wb-co-community-index .wb-co-subcategories__item.has-image {
    width: 104px;
    min-width: 104px;
    max-width: 104px;
    height: 56px;
    padding: 0 6px 6px;
    justify-content: flex-end;
    color: #fff !important;
    background: #334155;
}
body.wb-co-community-index .wb-co-subcategories__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: none;
    pointer-events: none;
    background: #334155;
}
body.wb-co-community-index .wb-co-subcategories__item.has-image .wb-co-subcategories__media {
    display: block;
}
body.wb-co-community-index .wb-co-subcategories__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .06) 25%, rgba(2, 6, 23, .72) 100%);
}
body.wb-co-community-index .wb-co-subcategories__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
body.wb-co-community-index .wb-co-subcategories__meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    min-width: 0;
    text-align: center;
    pointer-events: none;
}
body.wb-co-community-index .wb-co-subcategories__item:hover {
    filter: brightness(1.03);
}
body.wb-co-community-index .wb-co-subcategories__item:active {
    transform: scale(.97);
}
body.wb-co-community-index .wb-co-subcategories__item.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
    box-shadow: none;
}
body.wb-co-community-index .wb-co-subcategories__item.has-image.is-active {
    box-shadow: 0 0 0 2px #38bdf8;
}
body.wb-co-community-index .wb-co-subcategories__item.has-image.is-active .wb-co-subcategories__media::after {
    background: linear-gradient(135deg, rgba(37, 99, 235, .35), rgba(14, 165, 233, .18)),
        linear-gradient(180deg, rgba(15, 23, 42, .1), rgba(2, 6, 23, .78));
}
body.wb-co-community-index .wb-co-subcategories__name {
    display: block;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    text-align: center;
}
body.wb-co-community-index .wb-co-subcategories__item small {
    display: block;
    width: 100%;
    font-size: 10px;
    opacity: .72;
    line-height: 1.15;
    color: inherit;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.wb-co-community-index .wb-co-subcategories__item.has-image .wb-co-subcategories__name {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
}
body.wb-co-community-index .wb-co-subcategories__item.has-image small {
    color: rgba(255, 255, 255, .9);
    opacity: .9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}
html.theme-dark body.wb-co-community-index .wb-co-subcategories__item:not(.has-image) {
    background: rgba(14, 165, 233, .18);
    color: #7dd3fc !important;
}
html.theme-dark body.wb-co-community-index .wb-co-subcategories__item:not(.has-image):nth-child(4n + 2) {
    background: rgba(139, 92, 246, .2);
    color: #c4b5fd !important;
}
html.theme-dark body.wb-co-community-index .wb-co-subcategories__item:not(.has-image):nth-child(4n + 3) {
    background: rgba(34, 197, 94, .18);
    color: #86efac !important;
}
html.theme-dark body.wb-co-community-index .wb-co-subcategories__item:not(.has-image):nth-child(4n) {
    background: rgba(249, 115, 22, .2);
    color: #fdba74 !important;
}
html.theme-dark body.wb-co-community-index .wb-co-subcategories__item.is-active:not(.has-image) {
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
}

body.wb-co-community-index .wb-co-feed-sort {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 0 10px;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}
body.wb-co-community-index .wb-co-feed-sort::-webkit-scrollbar { display: none; }
body.wb-co-community-index .wb-co-feed-sort__item {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--wb-app-card-soft, #f3f4f6);
    color: var(--wb-app-muted, #64748b) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 32px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none !important;
}
body.wb-co-community-index .wb-co-feed-sort__item.is-on,
body.wb-co-community-index .wb-co-feed-sort__item.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: none !important;
}
html.theme-dark body.wb-co-community-index .wb-co-feed-sort__item {
    background: rgba(255,255,255,.08);
    color: #cbd5e1 !important;
    box-shadow: none !important;
}

/* 社区顶栏下方：横幅 + 图标轮播 */
body.wb-co-community-index .wb-co-hengfu-wrap {
    margin: 0;
    padding: 6px var(--wb-app-page-gutter, 10px) 0;
    box-sizing: border-box;
    max-width: var(--wb-app-shell-max, 960px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
body.wb-co-community-index .wb-co-hengfu-wrap > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    width: 100%;
    max-width: 100%;
}
body.wb-co-community-index .wb-co-hengfu-wrap .myui-panel,
body.wb-co-community-index .wb-co-hengfu-wrap .wb-hengfu-suiji-module {
    margin: 0 0 4px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
body.wb-co-community-index .wb-co-tubiao-wrap {
    margin: 0 0 2px;
    padding: 0;
}
body.wb-co-community-index .wb-co-tubiao-wrap > .container {
    padding-left: 0;
    padding-right: 0;
}
body.wb-co-community-index .wb-co-tubiao-wrap .wb-tubiao-lunbo {
    margin: 0;
    padding: 4px 0 0;
}
body.wb-co-community-index .wb-co-tubiao-wrap .wb-tubiao-lunbo__track {
    padding-bottom: 2px;
}
body.wb-co-community-index .wb-co-main {
    padding-top: 4px;
}

/* 解锁金币：发布输入 / 列表角标 / 详情付费墙 */
.wb-co-pub-field--unlock {
    margin-bottom: 8px;
}
.wb-co-pub-unlock {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid rgba(15, 23, 42, .14) !important;
    border-radius: 10px;
    background: #f8fafc;
    box-sizing: border-box;
}
html.theme-dark .wb-co-pub-unlock {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14) !important;
}
.wb-co-pub-unlock__ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    background: rgba(245, 158, 11, .14);
    flex-shrink: 0;
    font-size: 12px;
}
.wb-co-pub-unlock__text {
    font-size: 14px;
    font-weight: 400;
    color: var(--wb-pub-text, #0f172a);
    white-space: nowrap;
}
.wb-co-pub-unlock__input {
    margin-left: auto;
    width: 88px;
    min-width: 0;
    height: 32px;
    border: 0 !important;
    border-radius: 8px !important;
    background: rgba(148, 163, 184, .14) !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    color: inherit;
    text-align: right;
    box-shadow: none !important;
}
.wb-co-pub-unlock__input:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, .25) !important;
}
html.theme-dark .wb-co-pub-unlock__text {
    color: #f1f5f9;
}
.wb-co-badge--unlock {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 6px;
    background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
    color: #fff !important;
    vertical-align: middle;
}
.wb-co-badge--unlock.is-unlocked {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}
.wb-co-snippet.is-locked {
    color: #ea580c;
    font-weight: 400;
}
.wb-co-unlock-gate {
    margin: 14px 0 8px;
    padding: 28px 18px;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(180deg, rgba(245, 158, 11, .12), rgba(234, 88, 12, .06));
    border: 1px dashed rgba(234, 88, 12, .35);
}
html.theme-dark .wb-co-unlock-gate {
    background: linear-gradient(180deg, rgba(245, 158, 11, .16), rgba(15, 23, 42, .2));
    border-color: rgba(245, 158, 11, .35);
}
.wb-co-unlock-gate__ico {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}
.wb-co-unlock-gate__title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}
html.theme-dark .wb-co-unlock-gate__title {
    color: #f8fafc;
}
.wb-co-unlock-gate__desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}
html.theme-dark .wb-co-unlock-gate__desc {
    color: #94a3b8;
}
.wb-co-unlock-gate__desc b {
    color: #ea580c;
    font-weight: 500;
}
.wb-co-unlock-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    background: linear-gradient(135deg, #ea580c, #f59e0b);
}
.wb-co-unlock-gate__btn:active {
    opacity: .9;
}

/* ========== 排版收紧：更小 / 去粗 / 更紧凑 ========== */
.wb-co-list .item,
.wb-co-notify-item,
.wb-co-rel-item {
    font-weight: 400;
}
.wb-co-list .wb-co-feed-card__more,
.wb-co-feed-empty__title,
.wb-co-feed-empty__btn,
.wb-co-feed-empty__link,
.wb-co-detail-comments__title,
.wb-co-comment-head__title,
.wb-co-comment-name,
.wb-co-pub-hero h1,
.wb-co-topic-sheet__hd h3,
.wb-co-tip-dialog__title,
.wb-co-tip-dialog__quick button,
.wb-co-tip-dialog__submit,
.wb-co-unlock-gate__title,
.wb-co-unlock-gate__btn,
.wb-co-unlock-gate__desc b,
.wb-co-notify-item__title,
.wb-co-rel-item__name,
.wb-co-space-head__name,
.wb-co-detail-topbar__name {
    font-weight: 500 !important;
}
.wb-co-feed-empty {
    padding: 28px 14px 22px !important;
}
.wb-co-feed-empty__desc {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}
.wb-co-space-empty {
    padding: 24px 14px 18px !important;
}
.wb-co-space-empty i {
    font-size: 36px !important;
    margin-bottom: 8px !important;
}
.wb-co-list-video__badge {
    font-size: 20px !important;
}
.wb-co-list-video__detail {
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 4px 10px !important;
}
.wb-co-list-video__fallback {
    padding: 12px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}
.wb-co-comment-item {
    padding: 10px 0 !important;
}
.wb-co-comment-submit {
    height: 32px !important;
    padding: 0 14px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
.wb-co-stats button.wb-co-stat-btn,
.wb-co-stats a {
    font-weight: 400 !important;
    font-size: 12px !important;
}
.wb-co-pub-hero {
    padding: 6px 0 12px !important;
    margin-bottom: 6px !important;
}
.wb-co-pub-hero p {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
}
.wb-co-detail-topbar__back .fa {
    font-size: 22px !important;
}
.wb-co-detail-commentbar__act i {
    font-size: 16px !important;
}
.wb-co-detail-commentbar__send {
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.wb-co-rel-list {
    gap: 0 !important;
}
.wb-co-notify-list {
    gap: 10px !important;
}
.wb-co-notify-item {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin: 0 !important;
}
.wb-co-rel-item {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.wb-co-unlock-gate__desc {
    font-size: 12px !important;
    margin-bottom: 12px !important;
    font-weight: 400 !important;
}
