.b2child-xhs-article {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    padding: 0;
}

.b2child-xhs-shell {
    display: grid;
    grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.b2child-xhs-no-media .b2child-xhs-shell {
    display: block;
}

.b2child-xhs-media {
    position: sticky;
    top: 86px;
    align-self: start;
    overflow: hidden;
    background: #f6f6f7;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.b2child-xhs-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f6f6f7;
}

.b2child-xhs-gallery {
    position: relative;
    height: 100%;
}

.b2child-xhs-gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.b2child-xhs-gallery-slider::-webkit-scrollbar {
    display: none;
}

.b2child-xhs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
}

.b2child-xhs-layout-grid .b2child-xhs-frame {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
}

.b2child-xhs-layout-grid .b2child-xhs-media {
    overflow: visible;
}

.b2child-xhs-figure {
    margin: 0;
    overflow: hidden;
    background: #f1f1f2;
}

.b2child-xhs-gallery-slider .b2child-xhs-figure {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: center;
}

.b2child-xhs-gallery-grid .b2child-xhs-figure {
    aspect-ratio: 3 / 4;
    border-radius: var(--b2radius);
}

.b2child-xhs-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f6f6f7;
}

.b2child-xhs-gallery-grid .b2child-xhs-image {
    object-fit: cover;
}

.b2child-xhs-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #222;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s ease, background .2s ease;
}

.b2child-xhs-frame:hover .b2child-xhs-nav,
.b2child-xhs-nav:focus-visible {
    opacity: 1;
}

.b2child-xhs-nav:hover {
    background: #fff;
}

.b2child-xhs-nav[disabled] {
    cursor: default;
    opacity: 0;
}

.b2child-xhs-prev {
    left: 14px;
}

.b2child-xhs-next {
    right: 14px;
}

.b2child-xhs-nav i {
    margin: 0;
    font-size: 24px;
}

.b2child-xhs-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 999px;
}

.b2child-xhs-main {
    min-width: 0;
    padding: 34px 38px 28px;
}

.b2child-xhs-header h1 {
    margin-top: 0;
    line-height: 1.28;
}

.b2child-xhs-caption {
    margin: -4px 0 18px;
    padding: 12px 14px;
    color: #666;
    line-height: 1.8;
    background: var(--b2lightcolor, #f7f8fa);
    border-left: 3px solid var(--b2color);
    border-radius: var(--b2radius);
}

.b2child-xhs-article #post-meta,
.b2child-xhs-article .post-meta-row,
.b2child-xhs-article .post-user-info {
    min-width: 0;
}

.b2child-xhs-article .post-meta-row {
    align-items: flex-start;
    gap: 12px;
}

.b2child-xhs-article .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-width: 0;
    line-height: 1.45;
}

.b2child-xhs-article .post-meta li {
    max-width: 100%;
    margin: 0;
    word-break: keep-all;
}

.b2child-xhs-article .entry-header .post-list-cat {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.b2child-xhs-article .entry-header .post-list-cat a {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-width: max-content;
    height: 28px;
    padding: 0 12px;
    line-height: 28px;
    white-space: nowrap;
}

.b2child-xhs-article .post-meta li span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.b2child-xhs-article .single-edit {
    flex: 0 0 auto;
}

.b2child-xhs-article .single-edit a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    white-space: nowrap;
    background: var(--b2lightcolor, #f7f8fa);
    border-radius: 999px;
}

.b2child-xhs-article .post-user-info {
    margin-top: 18px;
}

.b2child-xhs-content {
    margin-top: 22px;
}

.b2child-xhs-content img {
    border-radius: var(--b2radius);
}

.b2child-xhs-article .content-footer.post-content-footer {
    position: static !important;
    display: flex;
    width: auto;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.b2child-xhs-article .post-content-footer-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    transform: none !important;
}

.b2child-xhs-article .content-footer-poster,
.b2child-xhs-article .post-content-footer .content-footer-poster {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}

.b2child-xhs-article .post-content-footer .content-footer-poster button,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 34px;
    min-width: 34px;
    margin: 0;
    padding: 0 12px;
    line-height: 34px;
    color: #4b5563;
    background: #f7f7f8;
    border-radius: 999px;
    box-shadow: none;
}

.b2child-xhs-article .post-content-footer button i,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai i {
    display: inline-block;
    margin-right: 5px;
    color: inherit;
    font-size: 18px;
}

.b2child-xhs-article .post-content-footer .mobile-show {
    display: inline;
}

.b2child-xhs-article .post-content-footer .favorite-button.sc,
.b2child-xhs-article .post-content-footer .favorite-button.sc i,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span.picked,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span.picked i {
    color: #f0445f !important;
    background: rgba(240, 68, 95, 0.09);
}

.b2child-xhs-article .post-content-footer .content-footer-zan-cai {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
}

.b2child-xhs-article .post-content-footer .content-footer-zan-cai span:last-child {
    display: inline-flex;
}

.b2child-xhs-article .post-content-footer .content-footer-zan-cai span b {
    font-weight: normal;
}

@media (max-width: 920px) {
    .b2child-xhs-article {
        max-width: 100%;
    }

    .b2child-xhs-shell {
        display: block;
    }

    .b2child-xhs-media {
        position: relative;
        top: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .b2child-xhs-frame {
        min-height: 0;
    }

    .b2child-xhs-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .b2child-xhs-nav {
        opacity: 1;
        width: 34px;
        height: 34px;
    }

    .b2child-xhs-main {
        padding: 22px 18px 24px;
    }

    .b2child-xhs-article .post-meta-row,
    .b2child-xhs-article .post-content-footer-in {
        display: block;
    }

    .b2child-xhs-article .single-button-download {
        margin-top: 12px;
    }

    .b2child-xhs-article .post-content-footer .content-footer-zan-cai {
        justify-content: flex-start;
        margin-top: 12px;
    }
}

/* XHS detail refinements */
.post-style-xhs .b2-single-content.wrapper {
    display: block;
    max-width: 1180px;
}

.post-style-xhs #primary-home.content-area {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.post-style-xhs #secondary.widget-area {
    display: none;
}

.b2child-xhs-article {
    max-width: 1120px;
}

.b2child-xhs-shell {
    grid-template-columns: minmax(420px, 540px) minmax(0, 1fr);
}

.b2child-xhs-main {
    padding: 40px 48px 32px;
}

.b2child-xhs-nav:active,
.b2child-xhs-nav:focus:active {
    top: 50%;
    transform: translateY(-50%) !important;
}

.b2child-xhs-nav[disabled] {
    cursor: pointer;
    opacity: 1;
}

.b2child-xhs-article .content-footer.post-content-footer {
    margin-top: 26px;
    padding-top: 16px;
}

.b2child-xhs-article .post-content-footer-in {
    justify-content: flex-start;
    gap: 10px;
}

.b2child-xhs-article .content-footer-poster,
.b2child-xhs-article .post-content-footer .content-footer-poster,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai {
    flex-flow: row nowrap;
    gap: 10px;
    margin: 0;
}

.b2child-xhs-article .post-content-footer .content-footer-poster button,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    line-height: 40px;
}

.b2child-xhs-article .post-content-footer button i,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai i {
    margin-right: 0;
    font-size: 20px;
}

.b2child-xhs-article .post-content-footer button b,
.b2child-xhs-article .post-content-footer .mobile-show,
.b2child-xhs-article .post-content-footer .jubao-button,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span:last-child {
    display: none !important;
}

.b2child-xhs-article .post-content-footer .mobile-hidden {
    display: inline-flex !important;
}

@media (max-width: 920px) {
    .post-style-xhs .b2-single-content.wrapper {
        max-width: 100%;
    }

    .b2child-xhs-shell {
        display: block;
    }

    .b2child-xhs-main {
        padding: 24px 18px 24px;
    }

    .b2child-xhs-article .post-content-footer-in {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .b2child-xhs-article .post-content-footer .content-footer-zan-cai {
        margin-top: 0;
    }
}

/* XHS right-column detail layout */
.post-style-xhs .b2child-xhs-shell {
    align-items: stretch;
}

.post-style-xhs .b2child-xhs-main {
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    height: min(720px, calc((100vw - 96px) * .48 * 1.3333));
    min-height: 560px;
    max-height: calc(100vh - 110px);
    padding: 0;
    background: #fff;
}

.post-style-xhs .b2child-xhs-no-media .b2child-xhs-main {
    height: auto;
    min-height: 0;
    max-height: none;
}

.b2child-xhs-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 26px 34px 18px;
    scrollbar-width: thin;
}

.b2child-xhs-scroll::-webkit-scrollbar {
    width: 6px;
}

.b2child-xhs-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .16);
    border-radius: 999px;
}

.b2child-xhs-header {
    margin: 0;
}

.b2child-xhs-header h1 {
    margin: 22px 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.36;
    color: #202124;
}

.b2child-xhs-caption {
    margin: 0 0 16px;
    padding: 0;
    color: #6b7280;
    line-height: 1.75;
    background: transparent;
    border-left: 0;
}

.b2child-xhs-article .post-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
}

.b2child-xhs-article .post-meta-left {
    min-width: 0;
}

.b2child-xhs-article .post-meta-left .avatar {
    width: 38px;
    height: 38px;
}

.b2child-xhs-article .post-user-name {
    min-width: 0;
}

.b2child-xhs-article .post-user-name b {
    display: block;
    overflow: hidden;
    max-width: 170px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2child-xhs-article .post-user-name .user-title {
    display: block;
    overflow: hidden;
    max-width: 170px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.b2child-xhs-article .post-meta-right > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2child-xhs-article .post-meta-right button {
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 30px;
}

.b2child-xhs-article .post-meta-right button.empty {
    display: none;
}

.b2child-xhs-article .post-meta-row {
    display: flex;
    margin-top: 8px;
}

.b2child-xhs-article .post-meta-row .post-meta > li:not(.single-edit),
.b2child-xhs-article .single-button-download {
    display: none;
}

.b2child-xhs-content {
    margin-top: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.85;
}

.b2child-xhs-content .content-excerpt {
    margin-bottom: 14px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.b2child-xhs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.b2child-xhs-tags a {
    color: #2f5fa8;
    font-size: 13px;
    line-height: 1.5;
}

.b2child-xhs-tags a:hover {
    color: var(--b2color);
}

.b2child-xhs-time {
    margin-top: 14px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.5;
}

.b2child-xhs-comments-panel {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.b2child-xhs-comment-placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.post-style-xhs .b2child-xhs-comments-panel .b2child-xhs-comment-placeholder:only-child {
    display: block;
}

.post-style-xhs .b2child-xhs-comments-panel .comments-box + .b2child-xhs-comment-placeholder,
.post-style-xhs .b2child-xhs-comments-panel .comments-box ~ .b2child-xhs-comment-placeholder {
    display: none;
}

.post-style-xhs .b2child-xhs-comments-panel .comments-box {
    margin: 0;
}

.post-style-xhs .b2child-xhs-comments-panel #comments,
.post-style-xhs .b2child-xhs-comments-panel .comments-area {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.post-style-xhs .b2child-xhs-comments-panel .comments-title {
    margin-bottom: 12px;
    padding: 0;
    border-bottom: 0;
}

.post-style-xhs .b2child-xhs-comments-panel .comment-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.post-style-xhs .b2child-xhs-comments-panel .comment-count {
    color: #222;
    font-size: 15px;
    font-weight: 700;
}

.post-style-xhs .b2child-xhs-comments-panel .comment-info span:not(.comment-count) {
    display: none;
}

.post-style-xhs .b2child-xhs-comments-panel .comment-form {
    margin-bottom: 16px;
}

.post-style-xhs .b2child-xhs-comments-panel .respond,
.post-style-xhs .b2child-xhs-comments-panel .com-form > .b2-radius,
.post-style-xhs .b2child-xhs-comments-panel .com-form-textarea {
    border-radius: 8px;
}

.post-style-xhs .b2child-xhs-comments-panel .comment-list {
    margin: 0;
}

.b2child-xhs-actions {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 12px 30px 14px;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(0, 0, 0, .06);
    backdrop-filter: blur(10px);
}

.b2child-xhs-actions .content-ds,
.b2child-xhs-actions .post-tags-meat {
    display: none !important;
}

.b2child-xhs-article .content-footer.post-content-footer {
    position: static !important;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 0;
    background: transparent;
}

.b2child-xhs-article .post-content-footer-in {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    transform: none !important;
}

.b2child-xhs-article .post-content-footer .content-footer-zan-cai {
    order: 1;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
}

.b2child-xhs-article .content-footer-poster,
.b2child-xhs-article .post-content-footer .content-footer-poster {
    order: 2;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.b2child-xhs-article .post-content-footer .favorite-button {
    order: 1;
}

.b2child-xhs-article .post-content-footer .comment-span {
    order: 2;
}

.b2child-xhs-article .post-content-footer .poster-span {
    order: 3;
}

.b2child-xhs-article .post-content-footer [data-title="举报"],
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span:last-child {
    display: none !important;
}

.b2child-xhs-article .post-content-footer .content-footer-poster button,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 38px;
    background: transparent;
    border-radius: 999px;
    box-shadow: none;
}

.b2child-xhs-article .post-content-footer .content-footer-poster button:hover,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span:hover {
    background: #f5f5f5;
}

.b2child-xhs-article .post-content-footer button i,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai i {
    margin: 0;
    color: inherit;
    font-size: 22px;
}

.b2child-xhs-article .post-content-footer button b,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span b,
.b2child-xhs-article .post-content-footer .mobile-show {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.b2child-xhs-article .post-content-footer .favorite-button.sc,
.b2child-xhs-article .post-content-footer .favorite-button.sc i,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span.picked,
.b2child-xhs-article .post-content-footer .content-footer-zan-cai span.picked i {
    color: #ff2442 !important;
    background: rgba(255, 36, 66, .08);
}

@media (max-width: 920px) {
    .post-style-xhs .b2child-xhs-main {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .b2child-xhs-scroll {
        overflow: visible;
        padding: 22px 18px 18px;
    }

    .b2child-xhs-actions {
        position: sticky;
        bottom: 0;
        z-index: 20;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    }

    .b2child-xhs-header h1 {
        font-size: 20px;
    }

    .b2child-xhs-article .post-content-footer-in {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
    }
}
/* XHS title edit and copy action refinements */
.b2child-xhs-article .post-meta-row {
    display: none;
}

.b2child-xhs-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    margin: 22px 0 12px;
}

.b2child-xhs-title-row h1,
.b2child-xhs-header .b2child-xhs-title-row h1 {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.b2child-xhs-title-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 44px;
    padding: 0 12px;
    color: #6b7280;
    font-size: 12px;
    line-height: 28px;
    white-space: nowrap;
    background: #f5f5f5;
    border-radius: 999px;
}

.b2child-xhs-title-edit:hover {
    color: var(--b2color);
    background: var(--b2lightcolor, #f7f8fa);
}

.b2child-xhs-article .post-content-footer .b2child-xhs-copy-button {
    order: 2;
}

.b2child-xhs-article .post-content-footer .poster-span {
    order: 3;
}

.b2child-xhs-article .post-content-footer .comment-span,
.b2child-xhs-article .post-content-footer [data-title="举报"] {
    display: none !important;
}

.b2child-xhs-article .post-content-footer .b2child-xhs-copy-button.b2child-xhs-copy-done,
.b2child-xhs-article .post-content-footer .b2child-xhs-copy-button.b2child-xhs-copy-done i {
    color: #ff2442 !important;
    background: rgba(255, 36, 66, .08);
}

@media (max-width: 920px) {
    .b2child-xhs-title-row {
        gap: 10px;
        margin-top: 18px;
    }

    .b2child-xhs-title-edit {
        height: 26px;
        min-width: 40px;
        padding: 0 10px;
        line-height: 26px;
    }
}
/* XHS fixed author header: only the middle detail area scrolls */
.b2child-xhs-fixed-meta {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    padding: 18px 34px 13px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .055);
}

.b2child-xhs-fixed-meta .post-user-info {
    margin: 0;
}

.b2child-xhs-fixed-meta .post-meta-row {
    display: none;
}

.b2child-xhs-fixed-meta .post-meta-left {
    flex: 1 1 auto;
}

.b2child-xhs-fixed-meta .post-meta-right {
    flex: 0 0 auto;
}

.b2child-xhs-fixed-meta + .b2child-xhs-scroll {
    padding-top: 20px;
}

.b2child-xhs-fixed-meta + .b2child-xhs-scroll .b2child-xhs-title-row {
    margin-top: 0;
}

@media (max-width: 920px) {
    .b2child-xhs-fixed-meta {
        padding: 16px 18px 12px;
    }

    .b2child-xhs-fixed-meta + .b2child-xhs-scroll {
        padding-top: 18px;
    }
}
/* XHS title meta row and header dropdown layering */
.post-style-xhs .site-header-in {
    z-index: 1000;
}

.post-style-xhs .top-user-box {
    z-index: 1002;
}

.post-style-xhs .top-user-box-drop {
    z-index: 1003;
}

.post-style-xhs .post-box-content {
    z-index: 1005;
}

.b2child-xhs-title-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: -2px 0 16px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
}

.b2child-xhs-title-cats {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.b2child-xhs-title-cats a,
.b2child-xhs-title-views,
.b2child-xhs-title-meta .b2child-xhs-title-edit {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    color: #6b7280;
    background: #f6f6f7;
    border-radius: 999px;
}

.b2child-xhs-title-cats a:hover,
.b2child-xhs-title-meta .b2child-xhs-title-edit:hover {
    color: var(--b2color);
    background: var(--b2lightcolor, #f7f8fa);
}

.b2child-xhs-title-views i {
    margin-right: 4px;
    font-size: 14px;
}

.b2child-xhs-title-views b {
    margin-right: 2px;
    font-weight: 500;
}

.b2child-xhs-title-meta .b2child-xhs-title-edit {
    height: 24px;
    min-width: 0;
    font-size: 12px;
    line-height: 24px;
}

.b2child-xhs-title-row {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 920px) {
    .b2child-xhs-title-meta {
        gap: 7px;
        margin-bottom: 14px;
    }
}
/* Hide B2 comment tip link in XHS detail comments. */
.post-style-xhs .b2child-xhs-comments-panel .comment-tips {
    display: none !important;
    pointer-events: none !important;
}

.post-style-xhs .b2child-xhs-comments-panel .comments-title {
    justify-content: flex-start;
}
/* XHS edit link is rendered for cache safety and revealed by login state. */
.b2child-xhs-title-edit[data-xhs-login-edit] {
    display: none;
}

.b2child-xhs-title-edit[data-xhs-login-edit].b2child-xhs-edit-visible {
    display: inline-flex;
}