.tagcloud a,
.post-tags a,
.entry-tags a {
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

/* 墨星风格：在 RiPro 原搜索组件上仅增强外观，保留原分类/全站搜索逻辑 */
.home-search-box .ripro-search-modern {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    isolation: isolate;
}

.home-search-box .ripro-search-modern .search-bg-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, .34), rgba(38, 51, 77, .5));
}

.home-search-box .ripro-search-modern .search-warp {
    position: relative;
    z-index: 3;
    max-width: 980px;
    padding-top: 76px;
    padding-bottom: 96px;
    text-align: center;
}

.home-search-box .ripro-search-modern .search-title {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(25px, 2.25vw, 34px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .025em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .24);
}

.home-search-box .ripro-search-modern .search-desc {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    letter-spacing: .02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.home-search-box .ripro-search-modern .search-form {
    max-width: 940px;
    margin: 0 auto;
}

.home-search-box .ripro-search-modern .search-form form {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 5px 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 34px rgba(18, 34, 65, .22);
    backdrop-filter: blur(12px);
}

.home-search-box .ripro-search-modern .search-select {
    flex: 0 0 148px;
    position: relative;
    border-right: 1px solid rgba(40, 49, 67, .12);
}

.home-search-box .ripro-search-modern .search-select .form-select {
    height: 42px;
    padding-top: 0;
    padding-bottom: 0;
    color: #4b5563;
    border: 0;
    border-radius: 999px 0 0 999px;
    background-color: transparent;
    box-shadow: none;
}

.home-search-box .ripro-search-modern .search-fields {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
}

.home-search-box .ripro-search-modern .search-fields input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 18px;
    color: #303746;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
}

.home-search-box .ripro-search-modern .search-fields input::placeholder {
    color: #9ba3b1;
}

.home-search-box .ripro-search-modern .search-fields button {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #18b78d;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.home-search-box .ripro-search-modern .search-fields button:hover {
    color: #fff;
    background: #18b78d;
    transform: rotate(6deg) scale(1.04);
}

.home-search-box .ripro-search-modern .search-hots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-height: 66px;
    margin: 13px auto 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .82);
}

.home-search-box .ripro-search-modern .search-hots > span {
    margin: 0 !important;
}

.home-search-box .ripro-search-modern .search-hots > span:first-child {
    padding: 5px 9px;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;
    background: rgba(10, 18, 38, .34);
}

.home-search-box .ripro-search-modern .search-hots a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    color: #596272;
    font-size: 12px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 5px;
    background: rgba(255, 255, 255, .78);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.home-search-box .ripro-search-modern .search-hots a:hover {
    color: #fff;
    background: #18b78d;
    transform: translateY(-2px);
}

.ripro-search-wave {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 92px;
    overflow: hidden;
    pointer-events: none;
}

.ripro-search-wave svg {
    display: block;
    width: calc(100% + 180px);
    max-width: none;
    min-width: 720px;
    height: 100%;
    margin-left: -90px;
    overflow: visible;
}

.ripro-search-parallax > use {
    animation: ripro-search-wave-move 30s cubic-bezier(.55, .5, .45, .5) infinite;
    will-change: transform;
}

.ripro-search-parallax > use:nth-child(1) {
    fill: rgba(var(--ri-body-bg-rgb), .45);
    opacity: .5;
    animation-delay: -2s;
    animation-duration: 7s;
}

.ripro-search-parallax > use:nth-child(2) {
    fill: rgba(var(--ri-body-bg-rgb), .62);
    opacity: .68;
    animation-delay: -3s;
    animation-duration: 10s;
}

.ripro-search-parallax > use:nth-child(3) {
    fill: rgba(var(--ri-body-bg-rgb), .8);
    opacity: .82;
    animation-delay: -4s;
    animation-duration: 13s;
}

.ripro-search-parallax > use:nth-child(4) {
    fill: var(--ri-body-bg);
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes ripro-search-wave-move {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* Global footer skin: keep the original footer content and structure. */
.site-footer-pet-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: #eef0f4;
    box-shadow: 0 -8px 30px rgba(35, 44, 62, .06);
}

.site-footer-pets {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #eef0f4;
}

.site-footer-pets img {
    position: absolute;
    bottom: -121px;
    left: 50%;
    width: 1120px;
    max-width: none;
    transform: translateX(-50%);
    user-select: none;
}

.site-footer-pet-wrap .site-footer-pet-theme {
    margin: 0 !important;
    color: #fff;
    border-radius: 0;
    background: linear-gradient(135deg, #e77f84 0%, #e9878c 55%, #df747b 100%);
}

.site-footer-pet-wrap .site-footer-pet-theme,
.site-footer-pet-wrap .site-footer-pet-theme p,
.site-footer-pet-wrap .site-footer-pet-theme .small,
.site-footer-pet-wrap .site-footer-pet-theme .widget-title,
.site-footer-pet-wrap .site-footer-pet-theme .widget-links a,
.site-footer-pet-wrap .site-footer-pet-theme a {
    color: rgba(255, 255, 255, .94) !important;
}

.site-footer-pet-wrap .site-footer-pet-theme .widget-links a:hover {
    color: #fff !important;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .site-footer-pet-wrap {
        margin-bottom: 53px;
        border-radius: 14px;
    }

    .site-footer-pets {
        height: 160px;
    }

    .site-footer-pets img {
        bottom: -84px;
        width: 780px;
    }

    .site-footer-pet-wrap .site-footer-pet-theme {
        margin-bottom: 0 !important;
    }
}

/* 后台可编辑的产品中心图片菜单 */
.ripro-product-center-menu {
    position: relative;
}

.ripro-product-mega {
    position: fixed;
    z-index: 1100;
    top: var(--ripro-product-top, 72px);
    right: 0;
    left: 0;
    width: 100vw;
    padding: 32px max(42px, calc((100vw - 1280px) / 2));
    visibility: hidden;
    opacity: 0;
    border: 0;
    border-top: 1px solid rgba(32, 42, 61, .06);
    border-radius: 0;
    background: var(--ri-body-bg, #fff);
    box-shadow: 0 18px 42px rgba(20, 31, 55, .16);
    transform: translateY(10px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.ripro-product-mega::before {
    display: none;
}

.ripro-product-center-menu.is-open > .ripro-product-mega,
.ripro-product-center-menu:hover > .ripro-product-mega,
.ripro-product-center-menu:focus-within > .ripro-product-mega {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.main-menu .ripro-product-center-menu > .sub-menu {
    display: none !important;
}

.ripro-product-mega-grid {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.ripro-product-mega-grid::-webkit-scrollbar {
    display: none;
}

.ripro-product-mega-card {
    display: block;
    flex: 0 0 clamp(150px, calc((100% - 140px) / 6), 190px);
    min-width: 0;
    color: var(--ri-body-color) !important;
    text-align: center;
    scroll-snap-align: start;
}

.ripro-product-mega-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 11px;
    background: var(--ri-secondary-bg);
}

.ripro-product-mega-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ripro-product-mega-card:hover .ripro-product-mega-image img {
    transform: scale(1.08);
}

.ripro-product-mega-card strong {
    display: block;
    overflow: hidden;
    margin-top: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ri-muted-color, #8a8f98);
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease;
}

.ripro-product-mega-card:hover strong,
.ripro-product-mega-card:focus-visible strong {
    color: #12b886;
}

.ripro-product-mega-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 34px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background: rgba(31, 38, 50, .46);
    transform: translateY(-62%);
    transition: background .2s ease;
}

.ripro-product-mega-nav:hover {
    background: rgba(31, 38, 50, .72);
}

.ripro-product-mega-nav.is-prev {
    left: max(6px, calc((100vw - 1360px) / 2));
}

.ripro-product-mega-nav.is-next {
    right: max(6px, calc((100vw - 1360px) / 2));
}

@media (max-width: 991px) {
    .mobile-menu .ripro-product-center-menu > .sub-menu {
        display: none !important;
    }

    .mobile-menu .ripro-product-mega {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0 10px;
        visibility: hidden;
        opacity: 0;
        overflow: hidden;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
        transition: max-height .28s ease, padding .28s ease, opacity .2s ease, visibility .2s ease;
    }

    .mobile-menu .ripro-product-center-menu.is-open > .ripro-product-mega {
        max-height: 1600px;
        padding-top: 10px;
        padding-bottom: 14px;
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu .ripro-product-mega-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        overflow: visible;
    }

    .mobile-menu .ripro-product-mega-card {
        min-width: 0;
    }

    .mobile-menu .ripro-product-mega-card strong {
        margin-top: 6px;
        font-size: 13px;
    }

    .mobile-menu .ripro-product-mega-nav {
        display: none;
    }
}

/* 复用后台“文章内容底部版权信息”，升级为墨星风格版权卡片 */
.post-content .entry-copyright.entry-copyright-moxing {
    margin: 34px 0 8px;
    padding: 0;
    color: var(--ri-body-color);
    border: 0;
    border-radius: 0;
    background: transparent;
}

.entry-copyright-bars {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.entry-copyright-bar {
    padding: 10px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    background-size: 220% 100%;
    box-shadow: 0 7px 18px rgba(45, 50, 90, .1);
    animation: ripro-copyright-gradient 7s ease infinite alternate;
}

.entry-copyright-bar-1 { background-image: linear-gradient(110deg, #5b13dc, #ec54b3, #5b13dc); }
.entry-copyright-bar-2 { background-image: linear-gradient(110deg, #ff9900, #ff5916, #ffb11b); }
.entry-copyright-bar-3 { background-image: linear-gradient(110deg, #94c511, #4a9a16, #b3d31d); }

@keyframes ripro-copyright-gradient {
    from { background-position: 0 50%; }
    to { background-position: 100% 50%; }
}

.entry-copyright-label {
    margin: 0 0 -12px 2px;
    color: #9ba3af;
    font-size: 13px;
}

.entry-copyright-panel {
    position: relative;
    padding: 31px 28px 20px;
    border: 1px solid rgba(99, 102, 241, .16);
    border-radius: 14px;
    background: rgba(var(--ri-body-bg-rgb), .35);
    box-shadow: 0 8px 30px rgba(43, 52, 84, .05);
}

.entry-copyright-panel h3 {
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    padding: 8px 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f7df3, #7b4de3);
    box-shadow: 0 8px 20px rgba(93, 80, 222, .22);
    transform: translate(-50%, -50%);
}

.entry-copyright-panel ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: copyright-item;
}

.entry-copyright-panel li {
    position: relative;
    min-height: 22px;
    padding-left: 34px;
    color: var(--ri-body-color);
    font-size: 14px;
    line-height: 1.65;
    counter-increment: copyright-item;
}

.entry-copyright-panel li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    background: #6366f1;
    content: counter(copyright-item);
}

.entry-copyright-panel a {
    color: #4169df;
}

.entry-copyright-end {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 17px;
    color: #a4aab5;
    font-size: 12px;
    letter-spacing: .08em;
}

.entry-copyright-end::before,
.entry-copyright-end::after {
    flex: 1 1 auto;
    height: 1px;
    content: '';
    background: linear-gradient(90deg, transparent, rgba(100, 110, 130, .2));
}

.entry-copyright-end::after {
    background: linear-gradient(90deg, rgba(100, 110, 130, .2), transparent);
}

@media (max-width: 767.98px) {
    .home-search-box .ripro-search-modern {
        border-radius: 0 0 12px 12px;
    }

    .home-search-box .ripro-search-modern .search-warp {
        padding: 42px 14px 72px;
    }

    .home-search-box .ripro-search-modern .search-desc {
        display: block;
        margin-bottom: 16px;
        font-size: 13px;
    }

    .home-search-box .ripro-search-modern .search-form form {
        min-height: 48px;
        padding: 4px 5px;
    }

    .home-search-box .ripro-search-modern .search-select {
        flex-basis: 92px;
    }

    .home-search-box .ripro-search-modern .search-select .form-select,
    .home-search-box .ripro-search-modern .search-fields input,
    .home-search-box .ripro-search-modern .search-fields button {
        height: 38px;
    }

    .home-search-box .ripro-search-modern .search-fields input {
        padding: 0 10px;
        font-size: 13px;
    }

    .home-search-box .ripro-search-modern .search-fields button {
        flex-basis: 38px;
        width: 38px;
    }

    .home-search-box .ripro-search-modern .search-hots {
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-height: none;
        padding-bottom: 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .home-search-box .ripro-search-modern .search-hots::-webkit-scrollbar {
        display: none;
    }

    .home-search-box .ripro-search-modern .search-hots > span {
        flex: 0 0 auto;
    }

    .ripro-search-wave {
        height: 48px;
    }

    .ripro-product-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ripro-product-mega {
        width: min(420px, calc(100vw - 24px));
        max-height: 70vh;
        overflow-y: auto;
    }

    .mobile-menu .ripro-product-mega,
    .slicknav_nav .ripro-product-mega {
        position: static;
        display: block;
        width: 100%;
        max-height: none;
        margin: 8px 0 14px;
        padding: 10px;
        visibility: visible;
        opacity: 1;
        border-radius: 10px;
        background: var(--ri-secondary-bg, #f6f7f8);
        box-shadow: none;
        transform: none;
    }

    .mobile-menu .ripro-product-mega::before,
    .slicknav_nav .ripro-product-mega::before {
        display: none;
    }

    .entry-copyright-bar {
        padding: 9px 12px;
        font-size: 12px;
    }

    .entry-copyright-panel {
        padding: 29px 15px 16px;
    }

    .entry-copyright-panel li {
        padding-left: 29px;
        font-size: 12px;
    }
}

/* V9 组合模块可配置布局：覆盖早期固定高度版 */
.zibll-v9-combo-wrap {
    --zv9-slider-width: 60%;
    --zv9-slider-ratio: 50;
    --zv9-card-cols: 2;
    --zv9-card-rows: 2;
    --zv9-mobile-cols: 2;
    --zv9-mobile-ratio: 45;
    --zv9-mask: .48;
    --zv9-font-color: #fff;
}

.zibll-v9-combo-wrap .zibll-v9-combo {
    display: grid;
    grid-template-columns: minmax(0, var(--zv9-slider-width)) minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    height: auto;
}

.zibll-v9-combo-wrap .zibll-v9-combo.zv9-no-slider,
.zibll-v9-combo-wrap .zibll-v9-combo.zv9-no-cards {
    grid-template-columns: minmax(0, 1fr);
}

.zibll-v9-combo-wrap .zibll-v9-slider {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 100 / var(--zv9-slider-ratio);
}

.zibll-v9-combo-wrap .zibll-v9-slider .owl-stage-outer,
.zibll-v9-combo-wrap .zibll-v9-slider .owl-stage,
.zibll-v9-combo-wrap .zibll-v9-slider .owl-item,
.zibll-v9-combo-wrap .zibll-v9-slider .zibll-v9-slide {
    height: 100%;
}

.zibll-v9-combo-wrap .zibll-v9-cover-grid {
    display: grid;
    grid-template-columns: repeat(var(--zv9-card-cols), minmax(0, 1fr));
    grid-template-rows: repeat(var(--zv9-card-rows), minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
    min-height: 0;
}

.zibll-v9-combo-wrap .zibll-v9-slide,
.zibll-v9-combo-wrap .zibll-v9-cover-card {
    isolation: isolate;
    transform: translateZ(0);
}

.zibll-v9-combo-wrap .zibll-v9-media-image,
.zibll-v9-combo-wrap .zibll-v9-media-video,
.zibll-v9-combo-wrap .zibll-v9-media-placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .75, .25, 1);
}

.zibll-v9-combo-wrap .zibll-v9-media-video {
    z-index: 1;
}

.zibll-v9-combo-wrap .zibll-v9-media-image {
    z-index: 0;
}

.zibll-v9-combo-wrap .zibll-v9-media-placeholder {
    background: linear-gradient(135deg, #e8edf3, #d7e0ea);
}

.zibll-v9-combo-wrap .zibll-v9-slide:hover .zibll-v9-media-image,
.zibll-v9-combo-wrap .zibll-v9-slide:hover .zibll-v9-media-video,
.zibll-v9-combo-wrap .zibll-v9-cover-card:hover .zibll-v9-media-image,
.zibll-v9-combo-wrap .zibll-v9-cover-card:hover .zibll-v9-media-video {
    transform: scale(1.045);
}

.zibll-v9-combo-wrap .zibll-v9-cover-shade {
    z-index: 2;
    background: linear-gradient(180deg, rgba(8, 13, 23, .02) 25%, rgba(8, 13, 23, var(--zv9-mask)) 100%);
}

.zibll-v9-combo-wrap .zibll-v9-slide-content,
.zibll-v9-combo-wrap .zibll-v9-cover-content,
.zibll-v9-combo-wrap .zibll-v9-video-icon {
    z-index: 3;
    color: var(--zv9-font-color);
}

.zibll-v9-combo-wrap .zibll-v9-slide-content h2,
.zibll-v9-combo-wrap .zibll-v9-cover-content h3 {
    color: var(--zv9-font-color);
}

.zibll-v9-combo-wrap .u-permalink {
    z-index: 4;
}

.zibll-v9-combo-wrap.zv9-animate {
    opacity: 0;
    transition: opacity .72s ease, transform .72s cubic-bezier(.2, .75, .25, 1), filter .72s ease;
    will-change: opacity, transform;
}

.zibll-v9-combo-wrap.zv9-animate-fade { transform: none; }
.zibll-v9-combo-wrap.zv9-animate-slide-up { transform: translate3d(0, 45px, 0); }
.zibll-v9-combo-wrap.zv9-animate-slide-down { transform: translate3d(0, -45px, 0); }
.zibll-v9-combo-wrap.zv9-animate-slide-right { transform: translate3d(-55px, 0, 0); }
.zibll-v9-combo-wrap.zv9-animate-slide-left { transform: translate3d(55px, 0, 0); }
.zibll-v9-combo-wrap.zv9-animate-zoom-in { transform: scale(.92); }
.zibll-v9-combo-wrap.zv9-animate-zoom-out { transform: scale(1.08); }
.zibll-v9-combo-wrap.zv9-animate.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.zibll-v9-combo-wrap .zv9-hide-desktop {
    display: none;
}

@media (max-width: 767.98px) {
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-stack,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_slider,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .zibll-v9-combo-wrap .zibll-v9-slider {
        height: auto;
        aspect-ratio: 100 / var(--zv9-slider-ratio);
    }

    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-stack .zibll-v9-cover-grid,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_slider .zibll-v9-cover-grid {
        grid-template-columns: repeat(var(--zv9-mobile-cols), minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 8px;
    }

    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-stack .zibll-v9-cover-card,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_slider .zibll-v9-cover-card {
        height: auto;
        aspect-ratio: 100 / var(--zv9-mobile-ratio);
    }

    .zibll-v9-combo-wrap .zv9-mobile-hide_slider .zibll-v9-slider,
    .zibll-v9-combo-wrap .zv9-mobile-hide_cards .zibll-v9-cover-grid,
    .zibll-v9-combo-wrap .zv9-hide-mobile {
        display: none;
    }

    .zibll-v9-combo-wrap .zv9-hide-desktop {
        display: block;
    }

    .zibll-v9-combo-wrap .zibll-v9-media-video {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zibll-v9-combo-wrap.zv9-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* RiPro resource platform: user cover, social profile and follow */
.ripro-user-home-card,
.ripro-author-profile {
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(20, 29, 45, .05);
}

.ripro-user-cover,
.ripro-author-cover {
    position: relative;
    min-height: 190px;
    background-color: #dfe6ee;
    background-position: center;
    background-size: cover;
}

.ripro-user-home-info,
.ripro-author-summary {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    padding: 0 28px 24px;
}

.ripro-user-home-avatar > img,
.ripro-author-avatar {
    width: 112px;
    height: 112px;
    margin-top: -46px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(25, 35, 50, .18);
    z-index: 1;
}

.ripro-user-home-avatar { position: relative; z-index: 2; flex: 0 0 112px; margin-top: -46px; }
.ripro-user-home-avatar > img { display: block; width: 112px; height: 112px; margin: 0; object-fit: cover; border: 5px solid #fff; border-radius: 50%; box-shadow: 0 6px 18px rgba(25, 35, 50, .18); cursor: pointer; }
.ripro-user-home-avatar > label { position: absolute; right: 2px; bottom: 5px; display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: #1677ff; border: 3px solid #fff; border-radius: 50%; cursor: pointer; }
.ripro-user-home-avatar > label.is-uploading { opacity: .6; pointer-events: none; }

.ripro-author-avatar-link {
    position: relative;
    z-index: 2;
    display: block;
    flex: 0 0 112px;
    margin-top: -46px;
    border-radius: 9px;
}
.ripro-author-avatar-link .ripro-author-avatar {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0;
    object-fit: cover;
    border-radius: 9px;
}
.ripro-author-actions {
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
}
.ripro-author-actions:empty { display: none; }
.ripro-profile-follow-btn {
    min-width: 96px;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}
.ripro-author-card-avatar { display: block; }
.ripro-author-card-avatar img { transition: transform .2s ease, box-shadow .2s ease; }
.ripro-author-card-avatar:hover img { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 29, 45, .18) !important; }
.ripro-author-card-name { color: inherit; }

.ripro-user-home-copy,
.ripro-author-copy { flex: 1; padding-top: 16px; }
.ripro-user-home-copy h2,
.ripro-author-copy h2 { margin: 0; font-size: 24px; }
.ripro-user-home-copy p,
.ripro-author-copy p { margin: 7px 0 8px; color: #667085; }
.ripro-user-identity,
.ripro-user-menu-identity { display: flex; gap: 8px; flex-wrap: wrap; color: #8a94a6; font-size: 12px; }
.ripro-user-identity span,
.ripro-user-menu-identity span { padding: 2px 7px; background: #f2f4f7; border-radius: 4px; }
.ripro-user-menu-identity { justify-content: center; }
.ripro-user-home-counts,
.ripro-author-counts { display: flex; gap: 24px; font-size: 14px; color: #667085; }
.ripro-user-home-counts a,
.ripro-author-counts a { color: inherit; }
.ripro-user-home-counts b,
.ripro-author-counts b { color: #111827; font-size: 16px; }
.ripro-author-stat-link { color: inherit; }
.ripro-author-stat-link:hover,
.ripro-author-counts a:hover { color: #1677ff; }

.ripro-profile-cover-editor .ripro-user-cover { min-height: 160px; border-radius: 10px; }
.ripro-cover-upload {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 14px;
    color: #fff;
    background: rgba(17, 24, 39, .76);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(6px);
}
.ripro-cover-upload-top { right: 20px; bottom: auto; top: 20px; border: 1px solid rgba(255,255,255,.9); border-radius: 5px; background: rgba(0,119,204,.86); }
.ripro-cover-upload-top:hover { color: #fff; background: #087bb8; }
.ripro-cover-upload.is-uploading { opacity: .6; pointer-events: none; }
.ripro-cover-crop-open { overflow: hidden; }
.ripro-cover-crop-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .66);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    backdrop-filter: blur(3px);
}
.ripro-cover-crop-modal[hidden] { display: none; }
.ripro-cover-crop-modal.is-open { opacity: 1; visibility: visible; }
.ripro-cover-crop-dialog {
    width: min(820px, 100%);
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}
.ripro-cover-crop-head {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid #edf0f3;
}
.ripro-cover-crop-head h2 { margin: 0; color: #172033; font-size: 17px; font-weight: 500; }
.ripro-cover-crop-close {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    color: #536174;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
}
.ripro-cover-crop-close:hover { color: #172033; background: #f1f4f7; }
.ripro-cover-picker-view[hidden],
.ripro-cover-editor-view[hidden] { display: none; }
.ripro-cover-picker-view { padding: 24px 24px 28px; text-align: center; }
.ripro-cover-picker-illustration { width: 150px; margin: 0 auto 8px; }
.ripro-cover-picker-illustration svg { display: block; width: 100%; height: auto; }
.ripro-cover-picker-view h3 { margin: 4px 0 7px; color: #172033; font-size: 18px; font-weight: 600; }
.ripro-cover-picker-view > p { margin: 0 0 26px; color: #677489; font-size: 14px; }
.ripro-cover-picker {
    display: flex;
    width: 100%;
    min-height: 168px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    color: #59708e;
    background: #fff;
    border: 2px dashed #2f66a3;
    border-radius: 12px;
}
.ripro-cover-picker:hover { color: #1677ff; background: #f8fbff; border-color: #1677ff; }
.ripro-cover-picker-plus { color: #2f66a3; font-size: 36px; font-weight: 300; line-height: 1; }
.ripro-cover-picker strong { font-size: 15px; font-weight: 500; }
.ripro-cover-picker small { color: #8a95a7; font-size: 13px; font-weight: 400; line-height: 1.55; }
.ripro-cover-crop-tip { margin: 14px 20px 10px; color: #758196; font-size: 13px; text-align: center; }
.ripro-cover-crop-stage {
    position: relative;
    width: calc(100% - 40px);
    aspect-ratio: 40 / 9;
    margin: 0 20px;
    overflow: hidden;
    background: #111827;
    border-radius: 6px;
    cursor: grab;
    touch-action: none;
    user-select: none;
}
.ripro-cover-crop-stage.is-dragging { cursor: grabbing; }
.ripro-cover-crop-stage::after { position: absolute; inset: 0; content: ''; border: 1px solid rgba(255,255,255,.58); box-shadow: inset 0 0 0 1px rgba(15,23,42,.22); pointer-events: none; }
.ripro-cover-crop-stage img { position: absolute; display: block; max-width: none; max-height: none; pointer-events: none; user-select: none; }
.ripro-cover-crop-zoom { display: flex; align-items: center; gap: 12px; padding: 18px 26px 8px; }
.ripro-cover-crop-zoom input { flex: 1; accent-color: #1677ff; cursor: pointer; }
.ripro-cover-crop-zoom button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    color: #5d6a7e;
    background: #f2f4f7;
    border: 0;
    border-radius: 50%;
    font-size: 20px;
}
.ripro-cover-crop-zoom button:hover { color: #1677ff; background: #eaf3ff; }
.ripro-cover-crop-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px 20px; }
.ripro-cover-crop-actions button { min-width: 76px; height: 38px; padding: 0 18px; border: 0; border-radius: 5px; font-size: 14px; }
.ripro-cover-crop-cancel { color: #536174; background: #eef1f4; }
.ripro-cover-crop-apply { color: #fff; background: #1677ff; }
.ripro-cover-crop-apply:hover { background: #0969da; }
.ripro-cover-crop-apply:disabled { opacity: .65; cursor: wait; }
.ripro-author-profile { position: relative; }
.ripro-author-owner-actions { display: flex; justify-content: flex-end; padding: 12px 0; }

.ripro-people-list { display: grid; gap: 16px; }
.ripro-person-card { display: flex; align-items: flex-start; gap: 16px; padding: 0; border: 0; border-radius: 0; background: #fff; }
.ripro-person-avatar { display: block; flex: 0 0 100px; }
.ripro-person-avatar img { display: block; width: 100px; height: 100px; object-fit: cover; border-radius: 4px; background: #f2f4f7; }
.ripro-person-copy { min-width: 0; flex: 1; padding-top: 1px; }
.ripro-person-name { display: inline-block; color: #20242b; font-size: 18px; font-weight: 500; line-height: 1.4; }
.ripro-person-name:hover { color: #1677ff; }
.ripro-person-description { display: table; max-width: 100%; overflow: hidden; margin: 8px 0 10px; padding: 6px 10px; color: #666; border-radius: 3px; background: #f5f5f5; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.ripro-person-stats { display: flex; flex-wrap: wrap; gap: 20px; color: #444; font-size: 13px; line-height: 1.5; }
.ripro-person-stats a { color: inherit; }
.ripro-person-stats a:hover { color: #1677ff; }
.ripro-person-stats b { margin-right: 2px; font-weight: 400; }

/* Unread messages pulse instead of showing a fixed dot. */
.site-notice-link.has-unread > i { animation: ripro-bell-ring 1.8s ease-in-out infinite; transform-origin: 50% 10%; }
.site-notice-link.has-unread .badge { animation: ripro-notice-pulse 1.5s ease-out infinite; }
@keyframes ripro-bell-ring { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(14deg); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-5deg); } }
@keyframes ripro-notice-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); } 70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

/* B2-style publish launcher and click-to-open account menu. */
.ripro-create-toggle { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; color: #152237; background: transparent; border: 0; }
.ripro-add-circle-icon { position: relative; display: block; width: 19px; height: 19px; border: 2px solid currentColor; border-radius: 50%; }
.ripro-add-circle-icon::before,
.ripro-add-circle-icon::after { position: absolute; top: 50%; left: 50%; width: 8px; height: 2px; content: ''; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.ripro-add-circle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ripro-create-open { overflow: hidden; }
.ripro-create-layer { position: fixed; inset: 0; z-index: 10999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(247, 248, 250, .94); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; backdrop-filter: blur(4px); }
.ripro-create-layer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.ripro-create-panel { position: relative; width: min(320px, 100%); padding: 20px; color: #31343a; background: #fff; border-radius: 6px; box-shadow: 0 0 26px rgba(95, 102, 114, .28); transform: translateY(12px) scale(.98); transition: transform .22s ease; }
.ripro-create-layer.is-open .ripro-create-panel { transform: translateY(0) scale(1); }
.ripro-create-close { position: absolute; top: 40px; right: 40px; z-index: 2; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; color: #111827; background: transparent; border: 0; border-radius: 50%; font-size: 25px; }
.ripro-create-close:hover { color: #17191e; background: #f3f5f8; }
.ripro-create-heading { display: none; }
.ripro-create-heading h3 { margin-bottom: 6px; font-size: 22px; font-weight: 600; }
.ripro-create-heading p { margin: 0; color: #9aa2ae; font-size: 13px; }
.ripro-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.ripro-create-item { display: flex; min-height: 52px; align-items: center; gap: 10px; padding: 9px; color: #343841; border: 0; border-radius: 5px; transition: background .18s; }
.ripro-create-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ripro-create-item:hover { color: #22252a; background: #f5f6f7; }
.ripro-create-item > span:last-child { min-width: 0; }
.ripro-create-item b, .ripro-create-item small { display: block; }
.ripro-create-item b { margin-bottom: 4px; font-size: 14px; }
.ripro-create-item small { display: none; }
.ripro-create-icon { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; color: #fff; border-radius: 50%; font-size: 14px; }
.ripro-create-item.is-resource .ripro-create-icon { background: #27bfd2; }
.ripro-create-item.is-question .ripro-create-icon { background: #a850e8; }
.ripro-create-item.is-ticket .ripro-create-icon { background: #8d98a7; }
.ripro-avatar-submit a { display: flex; height: 40px; align-items: center; justify-content: center; color: #22262d; border: 1px solid #22262d; border-radius: 5px; font-weight: 600; }
.ripro-avatar-submit a:hover { color: #fff !important; background: #22262d; }
.navbar .action-hover-menu .ripro-official-quick { flex-wrap: nowrap; align-items: flex-start; gap: 8px; }
.navbar .action-hover-menu .ripro-official-quick > a { min-width: 0; flex: 1 1 0; color: #45484f; font-size: 12px; white-space: nowrap; }
.navbar .action-hover-menu .hover-item .ripro-official-quick > a > i { width: 44px; height: 44px; margin: 0 0 7px; color: #fff; border-radius: 13px; background: #6b61da; font-size: 18px; line-height: 44px; box-shadow: 0 6px 14px rgba(67, 70, 92, .12); }
.navbar .action-hover-menu .hover-item .ripro-official-quick > a:nth-child(1) > i { background: linear-gradient(135deg, #766be4, #5a50cf); }
.navbar .action-hover-menu .hover-item .ripro-official-quick > a:nth-child(2) > i { background: linear-gradient(135deg, #ef58a5, #ff7dc1); }
.navbar .action-hover-menu .hover-item .ripro-official-quick > a:nth-child(3) > i { background: linear-gradient(135deg, #25b7e9, #27cef2); }
.navbar .action-hover-menu .hover-item .ripro-official-quick > a:nth-child(4) > i { background: linear-gradient(135deg, #2fd680, #42e7a0); }
.navbar .action-hover-menu .hover-item .ripro-official-quick > a:nth-child(5) > i { background: linear-gradient(135deg, #ff738d, #ffad5d); }
.navbar .action-hover-menu .ripro-official-quick > a:hover { color: #24272d; opacity: 1; transform: translateY(-1px); }

/* Resource contribution form */
.ripro-tougao-page { padding-top: 18px; padding-bottom: 44px; }
.ripro-write-card { overflow: hidden !important; border: 0 !important; border-radius: 6px !important; box-shadow: 0 1px 12px rgba(30, 36, 48, .04); }
.ripro-write-message { padding: 18px 18px 0; }
.ripro-write-message .alert { margin-bottom: 0; }
.ripro-write-heading { padding: 24px 24px 18px; border-bottom: 1px solid #eef0f2; }
.ripro-write-heading h1 { display: flex; align-items: center; gap: 9px; margin: 0; color: #20242b; font-size: 28px; font-weight: 600; line-height: 1.3; }
.ripro-write-heading h1 i { color: #ef3e45; font-size: 23px; }
.ripro-write-heading p { margin: 7px 0 0 32px; color: #9299a5; font-size: 13px; }
.ripro-write-field-label { display: block; margin: 0; padding: 20px 20px 9px; color: #20242b; font-size: 14px; font-weight: 600; }
.ripro-write-field-label span,
.ripro-write-meta-label span { color: #ef3e45; }
.ripro-accent-label::before { display: inline-block; width: 5px; height: 20px; flex: 0 0 5px; content: ''; border-radius: 999px; background: linear-gradient(180deg, #2ed9ae, #13bea1); box-shadow: 0 0 0 4px rgba(35, 205, 169, .08); }
.ripro-write-field-label.ripro-accent-label { display: flex; align-items: center; gap: 9px; }
.ripro-write-meta-label.ripro-accent-label { width: 96px; justify-content: flex-start; gap: 8px; padding-right: 8px; padding-left: 20px; }
.ripro-write-tag-label.ripro-accent-label { display: flex; width: 96px; flex-basis: 96px; align-items: center; gap: 8px; color: #20242b; font-size: 14px; font-weight: 600; }
.ripro-write-settings .ripro-accent-switch { display: inline-flex; align-items: center; gap: 8px; color: #20242b; font-weight: 600; }
.ripro-write-settings .ripro-accent-switch::before { height: 18px; }
.ripro-write-cover-field { padding-bottom: 20px; }
.ripro-write-cover { min-height: 300px; margin: 0 20px; overflow: hidden; border: 1px dashed #dfe3e8; border-radius: 6px; }
.ripro-tougao-cover { position: relative; display: flex; width: 100%; min-height: 300px; align-items: center; justify-content: center; overflow: hidden; color: rgba(26, 26, 26, .2); cursor: pointer; background: #fafbfc; }
.ripro-tougao-cover:focus-visible { outline: 2px solid #246bfd; outline-offset: -2px; }
.ripro-write-cover-empty { display: flex; align-items: center; flex-direction: column; }
.ripro-write-cover-empty svg { fill: currentColor; }
.ripro-write-cover-empty small { margin-top: -4px; opacity: 0; transform: translateY(-6px); transition: .2s; }
.ripro-tougao-cover:hover .ripro-write-cover-empty small { opacity: 1; transform: translateY(8px); }
.ripro-tougao-cover > img { display: block; width: 100%; min-height: 300px; max-height: 440px; object-fit: cover; }
.ripro-write-cover-change { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px; padding: 7px 11px; color: #fff; background: rgba(0, 0, 0, .58); border-radius: 4px; font-size: 12px; opacity: 0; transition: opacity .2s; }
.ripro-tougao-cover:hover .ripro-write-cover-change { opacity: 1; }
.ripro-write-meta-row { display: flex; min-height: 50px; align-items: stretch; border-top: 1px solid #ebebeb; }
.ripro-write-meta-label { display: flex; width: 64px; align-items: center; justify-content: flex-end; padding-right: 11px; color: #20242b; border-right: 1px solid #ebebeb; font-size: 14px; font-weight: 600; }
.ripro-write-meta-spacer { flex: 1; }
.ripro-write-category { display: flex; align-items: center; padding: 10px; }
.ripro-write-category select { min-width: 160px; height: 30px; padding: 2px 30px 2px 10px; color: #555; background-color: #fff; border: 1px solid #ebebeb; border-radius: 3px; font-size: 13px; }
.ripro-write-title-label { border-top: 1px solid #eef0f2; }
.ripro-write-title-row { position: relative; padding: 0 20px 20px; }
.ripro-write-title-row::after { position: absolute; right: 20px; bottom: 20px; left: 20px; z-index: 2; height: 2px; content: ''; pointer-events: none; border-radius: 999px; background: linear-gradient(90deg, #2675ff, #20c8d8); transform: scaleX(0); transform-origin: left center; transition: transform 1.15s cubic-bezier(.22, .61, .36, 1); }
.ripro-write-title-row:hover::after,
.ripro-write-title-row:focus-within::after { transform: scaleX(1); }
.ripro-write-title-row textarea { display: block; width: 100%; min-height: 52px; padding: 10px 12px; overflow: hidden; color: #25282e; background: #fff; border: 1px solid #e2e5e9; border-radius: 5px; outline: 0; resize: none; font-size: 18px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.ripro-write-title-row textarea:focus { border-color: #8aaaf7; box-shadow: 0 0 0 3px rgba(36, 107, 253, .08); }
.ripro-write-title-row textarea::placeholder { color: #d2d5da; }
.ripro-write-content-label { border-top: 1px solid #eef0f2; }
.ripro-write-editor { margin: 0 20px 20px; overflow: hidden; border: 1px solid #e2e5e9; border-radius: 5px; }
.ripro-editor-shell { overflow: hidden; background: #fff; border: 0; border-radius: 0; }
.ripro-editor-menubar { display: flex; height: 42px; align-items: center; padding: 0 11px; border-bottom: 1px solid #ebebeb; }
.ripro-editor-menubar button { height: 32px; padding: 0 8px; color: #364152; background: transparent; border: 0; font-size: 13px; }
.ripro-editor-menubar button:hover { background: #f5f6f7; border-radius: 3px; }
.ripro-editor-toolbar { display: flex; min-height: 37px; align-items: center; gap: 2px; padding: 2px 8px; background: #fafbfc; border-bottom: 1px solid #ebebeb; }
.ripro-editor-toolbar button { display: inline-flex; width: 37px; height: 31px; align-items: center; justify-content: center; padding: 0; color: #7f8ba2; background: transparent; border: 0; border-radius: 3px; }
.ripro-editor-toolbar button:hover { color: #343c49; background: #edf0f4; }
.ripro-editor-toolbar button b { font-size: 16px; }
.ripro-editor-toolbar button i { font-size: 15px; }
.ripro-editor-separator { width: 1px; height: 22px; margin: 0 4px; background: #e4e7eb; }
.ripro-editor-shortcode { height: 31px; max-width: 105px; padding: 0 25px 0 8px; color: #7f8ba2; background-color: transparent; border: 0; border-radius: 3px; font-size: 13px; }
.ripro-editor-shell .wp-editor-tools { display: none !important; }
.ripro-editor-shell .wp-editor-wrap,
.ripro-editor-shell .wp-editor-container { border: 0 !important; }
.ripro-editor-shell .mce-top-part { display: block !important; border-bottom: 1px solid #ebebeb; box-shadow: none !important; }
.ripro-editor-shell .mce-menubar { padding: 3px 8px 2px; background: #fff; border-bottom: 1px solid #ebebeb; }
.ripro-editor-shell .mce-toolbar-grp { padding: 2px 6px; background: #fafbfc; }
.ripro-editor-shell .mce-toolbar .mce-btn { background: transparent; border-color: transparent; box-shadow: none; }
.ripro-editor-shell .mce-toolbar .mce-btn:hover,
.ripro-editor-shell .mce-toolbar .mce-btn:focus { background: #edf0f4; border-color: #e4e7eb; }
.ripro-editor-shell .mce-statusbar { display: none !important; }
.ripro-editor-shell .mce-edit-area { border: 0 !important; }
.ripro-editor-shell iframe { min-height: 400px; }
.ripro-write-tag-row { display: flex; min-height: 62px; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid #ebebeb; }
.ripro-write-tag-label { width: 70px; flex: 0 0 70px; color: #555f6d; font-size: 13px; }
.ripro-write-tag-field { display: flex; min-width: 0; flex: 1; align-items: center; border: 1px solid #ebebeb; border-radius: 4px; }
.ripro-write-tag-field i { padding-left: 12px; color: #aab1bb; font-size: 13px; }
.ripro-write-tag-field input { width: 100%; height: 38px; padding: 0 12px 0 8px; color: #3f4753; background: transparent; border: 0; outline: 0; font-size: 13px; }
.ripro-write-tag-row > small { color: #aaaeb3; font-size: 12px; }
.ripro-write-settings { margin-top: 20px; padding: 22px; border-top: 1px solid #f0f1f3; }
.ripro-write-settings:empty { display: none; }
.ripro-tougao-actions { display: flex; gap: 10px; justify-content: flex-end; margin: 0; padding: 20px 22px; border-top: 1px solid #eef1f5; }
.ripro-tougao-rules { margin: 0; padding-left: 18px; color: #545f70; font-size: 14px; line-height: 1.8; }
.ripro-shortcode-guide p { position: relative; padding-bottom: 12px; border-bottom: 1px solid #f0f1f3; }
.ripro-shortcode-guide code { display: block; overflow-wrap: anywhere; margin-top: 6px; padding: 8px; color: #d92d20; background: #fff5f4; border-radius: 5px; }
.ripro-copy-shortcode { margin-top: 6px; padding: 3px 8px; color: #667085; background: #fff; border: 1px solid #d9dee7; border-radius: 4px; font-size: 12px; }

/* B2-style image and video dialog. */
body.ripro-tougao-media-open { overflow: hidden; }
.ripro-media-dialog { position: fixed; inset: 0; z-index: 160000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(56, 58, 60, .62); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
.ripro-media-dialog.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.ripro-media-dialog-box { position: relative; width: 352px; min-height: 350px; padding: 20px; background: #fff; border-radius: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, .17); }
.ripro-media-dialog-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; padding: 0; color: #adb5c0; background: transparent; border: 0; font-size: 27px; font-weight: 200; line-height: 1; }
.ripro-media-dialog-close:hover { color: #5d6673; background: #f6f7f8; }
.ripro-media-dialog h2 { margin: 40px 0 18px; color: #1a1a1a; text-align: center; font-size: 24px; font-weight: 500; }
.ripro-media-tabs { display: flex; justify-content: center; gap: 2px; margin-bottom: 25px; }
.ripro-media-tabs button { position: relative; padding: 5px 10px; color: #333; background: transparent; border: 0; border-radius: 3px; font-size: 12px; }
.ripro-media-tabs button.is-active::after { position: absolute; bottom: -4px; left: 50%; width: 5px; height: 5px; content: ''; background: #f33; border-radius: 50%; transform: translateX(-50%); }
.ripro-media-panel { display: none; }
.ripro-media-panel.is-active { display: block; }
.ripro-media-upload-box { display: flex; min-height: 160px; align-items: center; justify-content: center; flex-direction: column; color: #aeb5bf; border: 2px dashed #ebebeb; border-radius: 10px; cursor: pointer; text-align: center; }
.ripro-media-upload-box:hover { color: #778397; border-color: #8590a6; }
.ripro-media-upload-box i { margin-bottom: 13px; color: #e6e8ec; font-size: 60px; }
.ripro-media-upload-box:hover i { color: #aab1bc; }
.ripro-media-upload-box span { font-size: 13px; }
.ripro-media-upload-input { display: none; }
.ripro-media-dialog.is-uploading .ripro-media-upload-box { opacity: .65; pointer-events: none; }
.ripro-media-dialog.is-uploading .ripro-media-upload-box i { animation: ripro-media-uploading .8s linear infinite; }
@keyframes ripro-media-uploading { to { transform: translateY(-8px); } }
.ripro-media-library { display: grid; max-height: 178px; overflow-y: auto; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ripro-media-library > p { grid-column: 1 / -1; }
.ripro-media-library-item { position: relative; width: 100%; padding: 100% 0 0; overflow: hidden; background: #f4f5f6; border: 1px solid #fff; }
.ripro-media-library-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ripro-media-video-thumb { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: #5b6471; font-size: 20px; }
.ripro-media-library-item.is-selected::after { position: absolute; top: 5px; right: 5px; display: grid; width: 20px; height: 20px; place-items: center; content: '✓'; color: #fff; background: #f44336; border: 1px solid #fff; border-radius: 50%; }
.ripro-media-empty { margin: 0; padding: 52px 0; color: #aaaeb3; text-align: center; font-size: 13px; }
.ripro-media-link-input { width: 100%; height: 120px; padding: 10px; border: 1px solid #ebebeb; border-radius: 3px; resize: none; }
.ripro-media-panel[data-media-panel="link"] small { display: block; margin-top: 5px; color: #c2c7cf; text-align: right; font-size: 11px; }
.ripro-media-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.ripro-media-dialog-actions button { min-width: 58px; height: 36px; padding: 0 13px; background: #fff; border: 1px solid #0969ff; border-radius: 4px; font-size: 13px; }
.ripro-media-dialog-actions .ripro-media-insert { color: #fff; background: #0969ff; }

/* Purchase history and expiring downloads */
.ripro-order-list { display: grid; gap: 12px; }
.ripro-order-item { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 15px; border: 1px solid #edf0f4; border-radius: 10px; }
.ripro-order-item.is-expired { background: #fafafa; }
.ripro-order-thumb { width: 132px; height: 86px; background-position: center; background-size: cover; border-radius: 8px; }
.ripro-order-main h6 { margin-bottom: 7px; }
.ripro-order-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #8a94a6; font-size: 12px; }
.ripro-order-expiry { margin-top: 8px; font-size: 13px; font-weight: 600; }
.ripro-order-action { min-width: 118px; text-align: right; }
.ripro-order-pagination .page-numbers { display: flex; gap: 5px; justify-content: center; margin: 24px 0 0; padding: 0; list-style: none; }
.ripro-order-pagination a,
.ripro-order-pagination span { display: grid; min-width: 34px; height: 34px; place-items: center; padding: 0 8px; border: 1px solid #e3e7ed; border-radius: 6px; }
.ripro-order-pagination .current { color: #fff; background: #e3343e; border-color: #e3343e; }

/* Standalone help center */
.ripro-help-page { background: #f7f8fa; min-height: 70vh; }
.ripro-help-hero { padding: 70px 0 78px; text-align: center; color: #fff; background: linear-gradient(135deg, #171c2b, #28395b); }
.ripro-help-kicker { display: inline-block; margin-bottom: 12px; padding: 6px 12px; color: #ffc4c8; background: rgba(255,255,255,.1); border-radius: 999px; }
.ripro-help-hero h1 { margin-bottom: 12px; color: #fff; font-size: clamp(30px, 5vw, 48px); }
.ripro-help-hero p { color: rgba(255,255,255,.72); }
.ripro-help-search-wrap { position: relative; max-width: 660px; margin: 30px auto 0; }
.ripro-help-search-wrap i { position: absolute; top: 50%; left: 20px; color: #98a2b3; transform: translateY(-50%); }
.ripro-help-search-wrap input { width: 100%; height: 58px; padding: 0 22px 0 52px; border: 0; border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.ripro-help-content { padding-top: 44px; padding-bottom: 70px; }
.ripro-help-nav { position: sticky; top: 90px; padding: 20px; background: #fff; border: 1px solid #edf0f4; border-radius: 10px; }
.ripro-help-nav h5 { margin-bottom: 14px; }
.ripro-help-nav a { display: block; padding: 10px 8px; color: #596579; border-radius: 6px; }
.ripro-help-nav a:hover { color: #e3343e; background: #fff4f4; }
.ripro-help-nav .ripro-help-ticket { margin-top: 12px; color: #fff; text-align: center; background: #e3343e; }
.ripro-help-group { margin-bottom: 30px; }
.ripro-help-group h2 { margin-bottom: 14px; font-size: 22px; }
.ripro-help-item { margin-bottom: 10px; overflow: hidden; background: #fff; border: 1px solid #e8ebf0; border-radius: 9px; }
.ripro-help-question { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 18px 20px; text-align: left; background: none; border: 0; font-weight: 600; }
.ripro-help-question i { color: #98a2b3; transition: transform .2s; }
.ripro-help-item.is-open .ripro-help-question i { transform: rotate(45deg); }
.ripro-help-answer { display: none; padding: 0 20px 18px; color: #667085; line-height: 1.8; }

/* Ticket submit success animation */
.ripro-ticket-success { position: fixed; inset: 0; z-index: 999999; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: rgba(11, 15, 23, .78); opacity: 0; transition: opacity .22s; backdrop-filter: blur(5px); }
.ripro-ticket-success.is-visible { opacity: 1; }
.ripro-ticket-success h3 { margin: 20px 0 8px; color: #fff; }
.ripro-ticket-success p { color: rgba(255,255,255,.75); }
.ripro-ticket-ring { width: 96px; height: 96px; padding: 8px; border: 4px solid rgba(255,255,255,.2); border-top-color: #ff3b45; border-radius: 50%; animation: ripro-ticket-spin .7s linear 1; }
.ripro-ticket-ring span { position: relative; display: block; width: 100%; height: 100%; background: #ff3b45; border-radius: 50%; transform: scale(0); animation: ripro-ticket-pop .45s .65s ease-out forwards; }
.ripro-ticket-ring span:after { position: absolute; top: 21px; left: 18px; width: 34px; height: 18px; content: ''; border-bottom: 5px solid #fff; border-left: 5px solid #fff; transform: rotate(-45deg); }
@keyframes ripro-ticket-spin { to { transform: rotate(360deg); } }
@keyframes ripro-ticket-pop { to { transform: scale(1); } }

@media (max-width: 767.98px) {
    .ripro-user-cover, .ripro-author-cover { min-height: 130px; }
    .ripro-user-home-info, .ripro-author-summary { align-items: flex-start; padding: 0 16px 18px; }
    .ripro-user-home-info > img, .ripro-author-avatar { width: 84px; height: 84px; margin-top: -30px; }
    .ripro-author-summary { flex-wrap: wrap; }
    .ripro-author-avatar-link { flex-basis: 84px; margin-top: -30px; }
    .ripro-author-avatar-link .ripro-author-avatar { width: 84px; height: 84px; margin: 0; }
    .ripro-author-actions { display: flex; width: 100%; justify-content: flex-end; margin-top: 4px; }
    .ripro-user-home-copy h2, .ripro-author-copy h2 { font-size: 20px; }
    .ripro-user-home-counts, .ripro-author-counts { gap: 14px; }
    .ripro-order-item { grid-template-columns: 92px 1fr; gap: 12px; }
    .ripro-order-thumb { width: 92px; height: 72px; }
    .ripro-order-action { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
    .ripro-help-hero { padding: 48px 15px 60px; }
    .ripro-create-panel { padding: 18px; }
    .ripro-create-close { top: 16px; right: 16px; }
    .ripro-create-grid { grid-template-columns: 1fr; }
    .ripro-create-item:last-child:nth-child(odd) { grid-column: auto; }
    .ripro-write-heading { padding: 19px 15px 15px; }
    .ripro-write-heading h1 { font-size: 24px; }
    .ripro-write-heading p { margin-left: 30px; }
    .ripro-write-field-label { padding: 17px 14px 8px; }
    .ripro-write-cover { margin-right: 14px; margin-left: 14px; }
    .ripro-write-cover, .ripro-tougao-cover { min-height: 180px; }
    .ripro-tougao-cover > img { min-height: 180px; }
    .ripro-write-title-row { padding: 0 14px 16px; }
    .ripro-write-title-row::after { right: 14px; bottom: 16px; left: 14px; }
    .ripro-write-editor { margin: 0 14px 16px; }
    .ripro-write-meta-spacer { display: none; }
    .ripro-write-category { flex: 1; }
    .ripro-write-category select { width: 100%; min-width: 0; }
    .ripro-write-title-row textarea { font-size: 17px; }
    .ripro-editor-toolbar { overflow-x: auto; }
    .ripro-editor-toolbar button { flex: 0 0 34px; }
    .ripro-editor-shortcode { flex: 0 0 100px; }
    .ripro-media-dialog { padding: 10px; }
    .ripro-media-dialog-box { width: min(352px, 100%); }
    /* Keep the Crisp launcher above RiPro's mobile bottom navigation. */
    #crisp-chatbox [aria-label="开放式聊天"],
    #crisp-chatbox [aria-label*="Open chat" i] { bottom: 76px !important; }
}

.tagcloud a:hover,
.post-tags a:hover,
.entry-tags a:hover {
    transform: translateY(-2px);
    opacity: .9;
    color: #fff !important;
}

.uc-template-wrap {
    max-width: 1200px;
}

.uc-template-panel {
    min-height: 770px;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
}

.uc-template-side {
    background: #fafafa;
    border-right: 1px solid #f1f1f1;
}

.uc-template-main {
    padding: 52px 60px;
    background: #fff;
}

.uc-template-profile {
    padding: 22px 20px 16px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.uc-template-avatar {
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

.uc-template-avatar:after {
    position: absolute;
    right: 2px;
    bottom: 8px;
    width: 16px;
    height: 16px;
    color: #fff;
    font-family: "Font Awesome 5 Free";
    font-size: 9px;
    font-weight: 900;
    line-height: 16px;
    content: "\f030";
    background: #595d69;
    border-radius: 50%;
}

.uc-template-name {
    color: #111;
    font-size: 18px;
    font-weight: 400;
}

.uc-template-profile sub {
    display: inline-block;
    margin-top: 2px;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
}

.uc-template-profile .badge {
    background: #e93434 !important;
    border-radius: 15px;
    font-weight: 500;
}

.uc-template-quota {
    margin-top: 12px;
    padding: 12px;
}

.uc-template-menu {
    padding: 16px;
    background: #fafafa;
}

.uc-template-menu .uc-menu-warp {
    margin: 0;
    padding: 0;
    list-style: none;
}

.uc-template-menu .uc-menu-warp li {
    margin-bottom: 8px;
}

.uc-template-menu .uc-menu-warp a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    color: #65738a;
    font-size: 15px;
    border-radius: 5px;
}

.uc-template-menu .uc-menu-warp i {
    width: 24px;
    color: #1976ff;
    font-size: 18px;
}

.uc-template-menu .uc-menu-warp a > span {
    flex: 1;
}

.uc-template-menu .uc-menu-warp .uc-menu-arrow {
    width: auto;
    color: #111827;
    font-size: 12px;
}

.uc-template-menu .uc-menu-warp .current-menu-item a {
    color: #1677ff;
    background: #eef5ff;
}

.uc-template-menu .uc-menu-warp .current-menu-item i,
.uc-template-menu .uc-menu-warp .current-menu-item a:hover i {
    color: #1677ff;
}

/* B2-style personal center overview. */
.ripro-uc-overview {
    display: grid;
    gap: 16px;
}

.ripro-overview-card {
    padding: 20px;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: #fff;
}

.ripro-overview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ripro-overview-card-head h5 {
    position: relative;
    margin: 0;
    padding-bottom: 9px;
    color: #151a23;
    font-size: 19px;
    font-weight: 700;
}

.ripro-overview-card-head h5:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    content: '';
    background: #2478ff;
}

.ripro-overview-card-head > a {
    color: #1677ff;
    font-size: 13px;
}

.ripro-overview-card-head > a i {
    margin-left: 6px;
}

.ripro-overview-fields {
    display: grid;
    gap: 0;
    margin: 0;
}

.ripro-overview-fields > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 50px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid #f3f4f6;
}

.ripro-overview-fields > div:last-child {
    border-bottom: 0;
}

.ripro-overview-fields dt {
    color: #8290a6;
    font-weight: 400;
}

.ripro-overview-fields dd {
    margin: 0;
    color: #111827;
    line-height: 1.65;
}

.ripro-overview-verify {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ripro-overview-verify i {
    color: #ff4160;
}

.ripro-overview-wealth {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ripro-overview-wealth > a {
    display: flex;
    min-height: 86px;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    color: #111827;
    border-radius: 6px;
    background: #f7f8fa;
}

.ripro-overview-wealth > a > i {
    color: #4a5568;
    font-size: 22px;
}

.ripro-overview-wealth span,
.ripro-overview-wealth small {
    display: block;
}

.ripro-overview-wealth span {
    flex: 1;
}

.ripro-overview-wealth b {
    font-size: 22px;
    font-weight: 500;
}

.ripro-overview-wealth small {
    margin-top: 2px;
    color: #8a94a6;
}

.ripro-overview-wealth em {
    color: #1677ff;
    font-size: 13px;
    font-style: normal;
}

.ripro-overview-wealth em i {
    margin-left: 6px;
}

.ripro-overview-interactions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ripro-overview-interactions > a {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    color: #242a35;
    border-radius: 6px;
    background: #f7f8fa;
}

.ripro-overview-interactions > a > i:first-child {
    color: #2478ff;
    font-size: 18px;
}

.ripro-overview-interactions > a:nth-child(2) > i:first-child { color: #a43bff; }
.ripro-overview-interactions > a:nth-child(3) > i:first-child { color: #24bd7b; }
.ripro-overview-interactions > a:nth-child(4) > i:first-child { color: #ff9f24; }
.ripro-overview-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: #fff;
}

.ripro-overview-stats > a,
.ripro-overview-stats > div {
    position: relative;
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 18px 20px;
    color: #2f3743;
    background: #f7f8fa;
}

.ripro-overview-stats > a > span,
.ripro-overview-stats > div > span,
.ripro-overview-stats b,
.ripro-overview-stats small {
    position: relative;
    z-index: 1;
}

.ripro-overview-stats b {
    margin: 9px 0 7px;
    color: #262d37;
    font-size: 24px;
}

.ripro-overview-stats small {
    color: #a2a9b3;
    font-size: 12px;
}

.ripro-overview-stats > a > i,
.ripro-overview-stats > div > i {
    position: absolute;
    right: 12px;
    top: 25px;
    color: #eaf3fc;
    font-size: 56px;
}

.ripro-public-overview .ripro-overview-interactions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ripro-public-overview-stats > div { cursor: default; }

.ripro-public-profile-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.ripro-public-profile-nav {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: #fff;
}

.ripro-public-profile-nav > a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #657084;
    border-radius: 5px;
    transition: color .2s ease, background .2s ease;
}

.ripro-public-profile-nav > a > i:first-child {
    color: #ff6245;
    font-size: 19px;
    text-align: center;
}

.ripro-public-profile-nav > a > i:last-child {
    color: #a7afbb;
    font-size: 11px;
}

.ripro-public-profile-nav > a:hover,
.ripro-public-profile-nav > a.active {
    color: #e84c2a;
    background: #fff5f2;
}

.ripro-public-profile-nav > a.active > i:last-child { color: #e84c2a; }
.ripro-public-overview .ripro-overview-card { box-shadow: 0 8px 24px rgba(20, 29, 45, .035); }
.ripro-public-list-card { min-height: 420px; }
.ripro-public-list-card .ripro-people-list { margin-top: 0; }
.ripro-public-list-card .posts-warp { margin-top: 0; }
.ripro-public-list-card .page-nav ul { justify-content: center; }

@media (max-width: 1199.98px) {
    .ripro-overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .ripro-public-profile-layout { grid-template-columns: 1fr; }
    .ripro-public-profile-nav {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
    }
    .ripro-public-profile-nav > a { min-width: 145px; flex: 1 0 145px; }
}

@media (max-width: 575.98px) {
    .ripro-overview-card { padding: 16px; }
    .ripro-overview-wealth,
    .ripro-overview-interactions,
    .ripro-overview-stats { grid-template-columns: 1fr; }
    .ripro-overview-fields > div { grid-template-columns: 64px minmax(0, 1fr); }
    .ripro-public-profile-nav > a { min-width: 132px; flex-basis: 132px; min-height: 52px; padding: 0 10px; }
    .ripro-public-overview .ripro-overview-interactions { grid-template-columns: 1fr; }
    .ripro-people-list { gap: 14px; }
    .ripro-person-card { gap: 12px; }
    .ripro-person-avatar { flex-basis: 78px; }
    .ripro-person-avatar img { width: 78px; height: 78px; }
    .ripro-person-name { font-size: 16px; }
    .ripro-person-description { display: -webkit-box; margin: 6px 0 8px; padding: 4px 8px; overflow: hidden; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .ripro-person-stats { gap: 12px; }
}

.uc-ticket-new {
    position: relative;
    min-height: 650px;
    color: #555;
}

.uc-ticket-title {
    margin: 0 0 46px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
}

.uc-ticket-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.uc-ticket-label {
    flex: 0 0 80px;
    padding-top: 8px;
    color: #555;
    font-weight: 400;
    text-align: right;
}

.uc-ticket-field {
    flex: 1;
    min-width: 0;
    margin-left: 16px;
}

.uc-ticket-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: 16px;
    padding-top: 7px;
    color: #666;
}

.uc-ticket-radio-group input {
    accent-color: #e93434;
}

.uc-ticket-new .form-control {
    color: #555;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
}

.uc-ticket-new textarea.form-control {
    min-height: 174px;
    resize: vertical;
}

.uc-ticket-email-field {
    max-width: 238px;
}

.uc-ticket-help {
    margin: 8px 0 0;
    color: #8a8a8a;
    font-size: 13px;
}

.uc-ticket-help a {
    color: #2e5d88;
}

.uc-ticket-upload-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 16px;
}

.uc-ticket-upload-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    overflow: hidden;
    color: #b8b8b8;
    cursor: pointer;
    border: 1px dashed #cfcfcf;
    background: #fff;
}

.uc-ticket-upload-box input {
    display: none;
}

.uc-ticket-plus {
    color: #b6b6b6;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.uc-ticket-upload-box img {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uc-ticket-upload-box.has-image img {
    display: block;
}

.uc-ticket-upload-box.has-image .uc-ticket-plus {
    display: none;
}

.uc-ticket-submit {
    position: absolute;
    right: 0;
    bottom: 54px;
    text-align: center;
}

.uc-ticket-submit .btn {
    min-width: 110px;
    padding: 9px 22px;
    font-weight: 700;
    background: #e93434;
    border-color: #e93434;
    border-radius: 5px;
}

.uc-ticket-submit p {
    margin: 12px 0 0;
    color: #8a8a8a;
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .uc-template-panel {
        min-height: auto;
        display: block;
    }

    .uc-template-main {
        padding: 24px 18px;
    }

    .uc-ticket-new {
        min-height: auto;
    }

    .uc-ticket-submit {
        position: static;
        margin-top: 28px;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .uc-ticket-row {
        display: block;
    }

    .uc-ticket-label {
        display: block;
        margin-bottom: 8px;
        padding-top: 0;
        text-align: left;
    }

    .uc-ticket-field,
    .uc-ticket-radio-group,
    .uc-ticket-upload-list {
        margin-left: 0;
    }

    .uc-ticket-email-field {
        max-width: none;
    }
}

.uc-notice-list .uc-notice-unread {
    background: rgba(214, 41, 62, .04);
}

.uc-notice-list .uc-notice-unread h6 {
    font-weight: 700;
}

.uc-notice-content {
    color: var(--ri-body-color);
    line-height: 1.9;
}

.uc-notice-content p:last-child {
    margin-bottom: 0;
}

.site-notice-link .badge {
    font-size: 10px;
    line-height: 1;
}

.uc-withdraw-page .card-body {
    min-height: 360px;
}

.uc-withdraw-form {
    max-width: 620px;
    padding-top: 4px;
}

.uc-withdraw-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.uc-withdraw-row > label {
    flex: 0 0 120px;
    margin: 0;
    padding-top: 9px;
    color: var(--ri-body-color);
    text-align: right;
}

.uc-withdraw-row > .form-control,
.uc-withdraw-field {
    flex: 1 1 auto;
    margin-left: 16px;
}

.uc-withdraw-text span {
    display: inline-block;
    margin-left: 16px;
    padding-top: 9px;
    color: var(--ri-secondary-color);
}

.uc-withdraw-actions {
    margin-left: 16px;
}

.uc-withdraw-field small {
    margin-top: 7px;
}

.uc-withdraw-records code {
    white-space: nowrap;
}

.uc-twitter-aff {
    padding: 22px;
    border: 1px solid rgba(21, 101, 192, .12);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(232, 247, 255, .78), rgba(255, 255, 255, .98));
}

.uc-twitter-aff-title {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.uc-twitter-aff-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: #111;
    font-size: 23px;
    font-weight: 700;
}

.uc-twitter-aff-list {
    display: grid;
    gap: 16px;
}

.uc-twitter-aff-item {
    padding: 16px;
    border: 1px solid rgba(35, 89, 120, .12);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(34, 67, 87, .06);
}

.uc-twitter-aff-label {
    margin-bottom: 9px;
    color: #263238;
    font-weight: 700;
}

.uc-twitter-aff-copybox {
    padding: 15px 17px;
    border: 2px dashed #ff6464;
    border-radius: 8px;
    background: #f2fdff;
    color: #34434b;
    line-height: 1.8;
    word-break: break-word;
}

.uc-twitter-aff-copybox p {
    margin: 0 0 8px;
}

.uc-twitter-aff-copybox a {
    color: #0d6efd;
}

.uc-twitter-aff-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.uc-twitter-aff-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    min-height: 40px;
    border-radius: 8px;
}

.uc-twitter-share-x {
    margin-right: 7px;
    font-size: 18px;
    font-weight: 800;
}

.uc-aff-existing {
    padding-top: 24px;
    border-top: 1px solid #e6e9ec;
}

.uc-rebate-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.uc-rebate-card {
    position: relative;
    min-height: 158px;
    overflow: hidden;
    padding: 22px 24px;
    color: #fff;
    border-radius: 13px;
    box-shadow: 0 12px 28px rgba(47, 79, 110, .12);
}

.uc-rebate-card::before,
.uc-rebate-card::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
}

.uc-rebate-card::before {
    width: 220px;
    height: 220px;
    right: -75px;
    top: -135px;
}

.uc-rebate-card::after {
    width: 160px;
    height: 160px;
    right: -55px;
    bottom: -105px;
}

.uc-rebate-card-rate {
    background: linear-gradient(135deg, #ff6259, #ff494e);
}

.uc-rebate-card-money {
    background: linear-gradient(135deg, #3cb8f5, #318be9);
}

.uc-rebate-card > span,
.uc-rebate-card > strong,
.uc-rebate-card > b,
.uc-rebate-money-meta,
.uc-rebate-card-money button {
    position: relative;
    z-index: 1;
}

.uc-rebate-card > span {
    display: block;
    font-weight: 600;
}

.uc-rebate-card > strong {
    display: block;
    margin: 7px 0 5px;
    font-size: 40px;
    line-height: 1.1;
}

.uc-rebate-card > strong small {
    margin-right: 3px;
    font-size: 18px;
}

.uc-rebate-card > b,
.uc-rebate-money-meta {
    font-size: 13px;
    font-weight: 500;
}

.uc-rebate-card-money button {
    position: absolute;
    right: 22px;
    top: 58px;
    padding: 8px 15px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    transition: background-color .2s ease, transform .2s ease;
}

.uc-rebate-card-money button:hover {
    background: rgba(255, 255, 255, .26);
    transform: translateX(2px);
}

.uc-rebate-panel {
    overflow: hidden;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fff;
}

.uc-rebate-panel-head {
    padding: 24px 26px 16px;
}

.uc-rebate-panel-head h5 {
    margin: 0 0 5px;
    font-weight: 700;
}

.uc-rebate-panel-head p {
    margin: 0;
    color: #9aa0aa;
}

.uc-rebate-tabs {
    display: flex;
    gap: 24px;
    padding: 0 26px;
    border-bottom: 1px solid #eef0f3;
}

.uc-rebate-tabs button {
    position: relative;
    padding: 12px 0 14px;
    color: #4c5058;
    border: 0;
    background: none;
    font-weight: 700;
}

.uc-rebate-tabs button::after {
    position: absolute;
    content: "";
    left: 50%;
    right: 50%;
    bottom: -1px;
    height: 2px;
    background: #26c6b1;
    transition: left .22s ease, right .22s ease;
}

.uc-rebate-tabs button.active {
    color: #14ad98;
}

.uc-rebate-tabs button.active::after {
    left: 0;
    right: 0;
}

.uc-rebate-tabs em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    margin-left: 5px;
    padding: 0 5px;
    color: #8b919b;
    border-radius: 99px;
    background: #f0f2f5;
    font-size: 11px;
    font-style: normal;
}

.uc-rebate-tab {
    display: none;
    padding: 23px 26px 28px;
}

.uc-rebate-tab.active {
    display: block;
}

.uc-rebate-details {
    margin: 0;
}

.uc-rebate-details > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 50px;
}

.uc-rebate-details dt {
    color: #a4a8b0;
    font-weight: 500;
}

.uc-rebate-details dd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    min-width: 0;
}

.uc-rebate-details code {
    max-width: 100%;
    padding: 7px 10px;
    overflow: hidden;
    color: #ff4c72;
    border-radius: 5px;
    background: #fff0f3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-aff-text-btn {
    padding: 7px 11px;
    color: #ff7c3a;
    border: 0;
    border-radius: 5px;
    background: #fff3e9;
    line-height: 1.2;
}

.uc-aff-text-btn:last-child {
    color: #20ac9f;
    background: #e8faf8;
}

.uc-aff-text-btn.copied {
    color: #fff;
    background: #22b59f;
}

.uc-rebate-badge {
    display: inline-flex;
    padding: 6px 10px;
    color: #72767e;
    border-radius: 5px;
    background: #f1f2f4;
}

.uc-rebate-badge-red {
    color: #ff476a;
    background: #ffedf1;
}

.uc-rebate-badge-blue {
    color: #238cf0;
    background: #eaf5ff;
}

.uc-rebate-explain {
    margin-top: 22px;
    padding-top: 20px;
    color: #6f737b;
    border-top: 1px solid #eef0f3;
    line-height: 1.9;
}

.uc-rebate-explain h6 {
    display: inline-block;
    margin: 0 0 12px;
    padding-bottom: 7px;
    border-bottom: 2px solid #27c7b3;
    font-weight: 700;
}

.uc-rebate-explain p:last-child {
    margin-bottom: 0;
}

.uc-rebate-records article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f1f3;
}

.uc-rebate-records article:last-child {
    border-bottom: 0;
}

.uc-rebate-records strong,
.uc-rebate-records b,
.uc-rebate-records small {
    display: block;
}

.uc-rebate-records b {
    color: #ff526d;
}

.uc-rebate-records small {
    margin-top: 4px;
    color: #a1a5ad;
}

.uc-rebate-users {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.uc-rebate-users a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    color: #383c43;
    border: 1px solid #edf0f3;
    border-radius: 10px;
}

.uc-rebate-users a:hover {
    color: #17ad9a;
    border-color: rgba(23, 173, 154, .3);
}

.uc-rebate-users img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
}

.uc-rebate-users span {
    min-width: 0;
    flex: 1;
}

.uc-rebate-users strong,
.uc-rebate-users small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-rebate-users small {
    margin-top: 4px;
    color: #a0a4ab;
    font-size: 12px;
}

.uc-rebate-empty {
    padding: 46px 15px;
    color: #b2b6bd;
    text-align: center;
}

.uc-rebate-empty i {
    font-size: 36px;
}

.uc-rebate-empty p {
    margin: 12px 0 0;
}

.uc-aff-poster-modal {
    position: fixed;
    z-index: 1065;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, .72);
}

.uc-aff-poster-modal.show {
    display: flex;
}

.uc-aff-poster-dialog {
    position: relative;
    width: min(430px, 100%);
    max-height: calc(100vh - 40px);
    padding: 22px;
    overflow-y: auto;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.uc-aff-poster-dialog > h5 {
    margin: 0 0 5px;
    font-weight: 700;
}

.uc-aff-poster-dialog > p {
    color: #9ca0a8;
}

.uc-aff-poster-close:first-child {
    position: absolute;
    right: 14px;
    top: 9px;
    color: #a6abb3;
    border: 0;
    background: none;
    font-size: 28px;
}

.uc-aff-poster-stage {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    border-radius: 10px;
    background: #f2f4f7;
}

.uc-aff-poster-stage img {
    display: none;
    width: 100%;
}

.uc-aff-poster-loading {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    color: #a2a7af;
    transform: translateY(-50%);
}

.uc-aff-poster-modal.ready .uc-aff-poster-stage img {
    display: block;
}

.uc-aff-poster-modal.ready .uc-aff-poster-loading {
    display: none;
}

.uc-aff-poster-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

@media (max-width: 575.98px) {
    .uc-twitter-aff {
        padding: 15px;
        border-radius: 12px;
    }

    .uc-twitter-aff-actions .btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .uc-rebate-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .uc-rebate-card {
        min-height: 145px;
        padding: 19px;
    }

    .uc-rebate-card > strong {
        font-size: 34px;
    }

    .uc-rebate-card-money button {
        right: 17px;
        top: 52px;
    }

    .uc-rebate-panel-head,
    .uc-rebate-tab {
        padding-left: 16px;
        padding-right: 16px;
    }

    .uc-rebate-tabs {
        gap: 17px;
        padding: 0 16px;
        overflow-x: auto;
    }

    .uc-rebate-tabs button {
        flex: 0 0 auto;
    }

    .uc-rebate-details > div {
        display: block;
        padding: 10px 0;
    }

    .uc-rebate-details dt {
        margin-bottom: 8px;
    }

    .uc-rebate-users {
        grid-template-columns: 1fr;
    }

    .uc-aff-poster-dialog {
        padding: 18px;
    }

    .uc-aff-poster-stage {
        min-height: 350px;
    }

    .uc-withdraw-row {
        display: block;
    }

    .uc-withdraw-row > label {
        display: block;
        margin-bottom: 7px;
        padding-top: 0;
        text-align: left;
    }

    .uc-withdraw-row > .form-control,
    .uc-withdraw-field,
    .uc-withdraw-text span,
    .uc-withdraw-actions {
        margin-left: 0;
    }
}

.price-difference-card {
    width: min(680px, 100%);
    margin: 24px auto 72px;
    padding: 34px;
    background: var(--ri-white);
    border: 1px solid var(--ri-border-color);
    border-radius: 8px;
    box-shadow: var(--ri-box-shadow-sm);
}

.price-difference-head {
    text-align: center;
}

.price-difference-head h2 {
    margin: 14px 0 8px;
    font-size: 26px;
    font-weight: 700;
}

.price-difference-head p {
    margin: 0;
    color: var(--ri-secondary-color);
}

.price-difference-amount {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    align-items: center;
    max-width: 420px;
    margin: 32px auto 18px;
}

.price-difference-step {
    width: 48px;
    height: 48px;
    color: var(--ri-body-color);
    background: var(--ri-light);
    border: 1px solid var(--ri-border-color);
    border-radius: 8px;
}

.price-difference-input-wrap {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 14px;
    background: var(--ri-light);
    border: 1px solid var(--ri-border-color);
    border-radius: 8px;
}

.price-difference-input-wrap span {
    flex: 0 0 auto;
    margin-right: 8px;
    color: var(--ri-danger);
    font-size: 22px;
    font-weight: 700;
}

.price-difference-input-wrap .form-control {
    height: 48px;
    padding: 0;
    color: var(--ri-heading-color, inherit);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.price-difference-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 26px;
}

.price-difference-preset.active {
    color: var(--ri-white);
    background: var(--ri-danger);
    border-color: var(--ri-danger);
}

.price-difference-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--ri-border-color);
}

.price-difference-summary small,
.price-difference-summary strong {
    display: block;
}

.price-difference-summary strong {
    color: var(--ri-danger);
    font-size: 24px;
}

.price-difference-remark {
    margin-top: 20px;
}

.price-difference-remark label {
    margin-bottom: 8px;
    color: var(--ri-body-color);
    font-weight: 700;
}

.price-difference-remark .form-control {
    min-height: 86px;
    resize: vertical;
}

@media (max-width: 575.98px) {
    .price-difference-card {
        margin-top: 16px;
        padding: 22px 16px;
    }

    .price-difference-head h2 {
        font-size: 22px;
    }

    .price-difference-amount {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .price-difference-step {
        width: 42px;
        height: 46px;
    }

    .price-difference-summary {
        display: block;
        text-align: center;
    }

    .price-difference-summary .btn {
        width: 100%;
        margin-top: 16px;
    }

    .price-difference-remark {
        margin-top: 18px;
    }
}

.ri-cart-toggle {
    position: relative;
}

.ri-cart-count {
    display: none;
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    color: #fff;
    background: var(--ri-danger);
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.ri-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0 !important;
    line-height: 1;
    white-space: nowrap;
}

.ri-add-cart i {
    margin: 0 !important;
    font-size: 16px;
    line-height: 1;
}

.ri-add-cart.is-added,
.ri-add-cart.is-added:disabled {
    width: 42px;
    min-width: 42px;
    color: #fff !important;
    background: #9aa0a6 !important;
    border-color: #9aa0a6 !important;
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: .92;
}

.ri-add-cart.is-added i {
    color: #fff !important;
}

.ri-cart-balance-popup {
    padding: 22px 18px 18px;
    text-align: center;
}

.ri-cart-balance-popup h5 {
    margin-bottom: 10px;
    color: var(--ri-heading-color, inherit);
    font-weight: 700;
}

.ri-cart-balance-popup p {
    margin-bottom: 18px;
    color: var(--ri-secondary-color);
    line-height: 1.7;
}

.ri-cart-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(0, 0, 0, .34);
}

.ri-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1091;
    display: flex;
    flex-direction: column;
    width: min(390px, 92vw);
    height: 100vh;
    background: var(--ri-white);
    box-shadow: -10px 0 30px rgba(15, 15, 16, .12);
    transform: translateX(105%);
    transition: transform .22s ease;
}

.ri-cart-open .ri-cart-mask {
    display: block;
}

.ri-cart-open .ri-cart-panel {
    transform: translateX(0);
}

.ri-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--ri-border-color);
}

.ri-cart-head strong {
    color: var(--ri-heading-color, inherit);
    font-size: 18px;
}

.ri-cart-close,
.ri-cart-clear-btn,
.ri-cart-remove {
    padding: 0;
    color: var(--ri-secondary-color);
    background: transparent;
    border: 0;
}

.ri-cart-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.ri-cart-close:hover,
.ri-cart-remove:hover,
.ri-cart-clear-btn:hover {
    color: var(--ri-danger);
}

.ri-cart-clear {
    padding: 12px 22px 0;
    text-align: right;
}

.ri-cart-items {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 22px 18px;
}

.ri-cart-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--ri-border-color);
}

.ri-cart-thumb {
    display: block;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--ri-light);
}

.ri-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ri-cart-title {
    display: block;
    overflow: hidden;
    color: var(--ri-heading-color, inherit);
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ri-cart-price {
    margin-top: 7px;
    color: var(--ri-danger);
    font-size: 18px;
    font-weight: 700;
}

.ri-cart-remove {
    width: 28px;
    height: 28px;
}

.ri-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    gap: 12px;
    color: var(--ri-secondary-color);
    text-align: center;
}

.ri-cart-empty i {
    font-size: 28px;
}

.ri-cart-foot {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--ri-border-color);
    background: var(--ri-white);
}

.ri-cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ri-cart-total strong {
    color: var(--ri-danger);
    font-size: 22px;
}

.ri-cart-total em {
    margin-right: 2px;
    font-style: normal;
}

.ri-cart-continue {
    margin-bottom: 10px;
    color: #111827;
    border: 1px solid #e7e9ee;
    background: #f7f8f9;
}

.ri-cart-continue:hover {
    color: #e63135;
    border-color: rgba(230, 49, 53, .28);
    background: #fff5f5;
}

@media (max-width: 575.98px) {
    .ri-cart-panel {
        width: 100vw;
    }
}

/* Shane/模板兔风格增强 */
.logo-wrapper a {
    position: relative;
    display: inline-flex;
    overflow: hidden;
}

.logo-wrapper a::after {
    position: absolute;
    top: -40%;
    left: -70%;
    width: 42%;
    height: 180%;
    content: "";
    pointer-events: none;
    transform: rotate(24deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
    animation: ri-logo-sweep 3.6s ease-in-out infinite;
}

@keyframes ri-logo-sweep {
    0%, 48% {
        left: -70%;
    }
    72%, 100% {
        left: 130%;
    }
}

.entry-tags > a {
    margin: 0 8px 8px 0;
    padding: 5px 10px;
    color: #fff !important;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.3;
}

.entry-tags > a:nth-child(7n) {
    background-color: #ff5722;
}

.entry-tags > a:nth-child(7n+1) {
    background-color: #ffb800;
}

.entry-tags > a:nth-child(7n+2) {
    background-color: #16baaa;
}

.entry-tags > a:nth-child(7n+3) {
    background-color: #1e9fff;
}

.entry-tags > a:nth-child(7n+4) {
    background-color: #31bdec;
}

.entry-tags > a:nth-child(7n+5) {
    background-color: #a233c6;
}

.entry-tags > a:nth-child(7n+6) {
    background-color: #16b777;
}

#comments.entry-comments {
    margin-top: 20px;
}

#comments .comment-form-comment {
    position: relative;
}

#comments .comment-form-comment textarea {
    min-height: 126px;
    padding-right: 190px;
}

#comments .comment-say-tip {
    position: absolute;
    right: 24px;
    top: 50%;
    color: #8a5d50;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    pointer-events: none;
    transform: translateY(-50%);
}

#comments .comment-say-tip::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    content: "\f4ad";
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb347, #ff5a5f);
    font-family: "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
}

.ri-comment-bought {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    padding: 1px 6px;
    color: #fff;
    border-radius: 3px;
    background: #37b24d;
    font-size: 12px;
    font-weight: 600;
}

.ri-corner-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
}

.post-item > .tips-badge {
    display: block;
    width: 74px;
    height: 74px;
    overflow: hidden;
    margin: 0 !important;
    pointer-events: none;
}

.post-item > .tips-badge .ri-corner-badge {
    position: absolute;
    top: 13px;
    left: -28px;
    justify-content: center;
    width: 98px;
    height: 24px;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
    font-size: 12px;
    line-height: 24px;
    transform: rotate(-45deg);
}

.post-item > .tips-badge .ri-corner-badge:nth-child(2) {
    top: 38px;
}

.ri-corner-sticky {
    background: #343a40;
}

.ri-corner-vip {
    background: linear-gradient(135deg, #ff8a00, #ff3d3d);
}

.ri-corner-free {
    background: linear-gradient(135deg, #20c997, #16a34a);
}

.entry-meta .ri-corner-badge {
    margin-right: 6px;
}

.ri-archive-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 4px;
    vertical-align: middle;
}

.ri-archive-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    color: #59616d;
    border: 1px solid #e7e9ee;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
    line-height: 1;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.entry-meta .ri-archive-action.ri-add-cart,
.entry-footer .ri-archive-action.ri-add-cart {
    width: auto;
    min-width: 34px;
    min-height: 28px;
    height: 28px;
    padding: 0 8px !important;
    vertical-align: middle;
}

.ri-archive-action em {
    font-style: normal;
}

.ri-cart-img {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.ri-archive-action:hover {
    color: #e63135;
    border-color: rgba(230, 49, 53, .28);
    background: #fff5f5;
}

.ri-archive-action.is-added,
.ri-archive-action.disabled {
    color: #8b929c;
    border-color: #e1e4e8;
    background: #f1f3f5;
    cursor: default;
}

.entry-meta .ri-archive-action.is-added,
.entry-meta .ri-archive-action.is-added:disabled,
.entry-footer .ri-archive-action.is-added,
.entry-footer .ri-archive-action.is-added:disabled {
    width: auto;
    min-width: 58px;
    min-height: 28px;
    height: 28px;
    padding: 0 8px !important;
    color: #fff !important;
    border-color: #9aa0a6 !important;
    background: #9aa0a6 !important;
}

.entry-meta .ri-archive-action.is-added em,
.entry-footer .ri-archive-action.is-added em {
    display: inline;
}

.buy-btns .ri-add-cart,
.down-buy-warp .ri-add-cart,
.entry-shop .ri-add-cart {
    height: 42px;
    vertical-align: middle;
}

.ri-cart-svg {
    display: inline-block;
    width: 17px;
    height: 17px;
    background-color: currentColor;
    -webkit-mask: url("../img/shopcar.svg") center / contain no-repeat;
    mask: url("../img/shopcar.svg") center / contain no-repeat;
}

.rollbar .actions {
    overflow: hidden;
    border-radius: 8px;
    background: #ef3338;
    box-shadow: 0 8px 22px rgba(239, 51, 56, .26);
}

.rollbar .actions li a {
    color: #fff;
    background: #ef3338;
}

.rollbar .actions li a:hover {
    color: #fff;
    background: #d9272c;
}

.rollbar .actions li + li {
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.widget .ranking-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ri-border-color);
}

.widget .ranking-num {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 5px;
    line-height: 24px;
    text-align: center;
}

.widget .ranking-title {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-meta,
.entry-footer {
    overflow: visible;
}

.ri-archive-actions {
    flex: 0 0 auto;
    white-space: nowrap;
}

.entry-meta .ri-archive-action.ri-add-cart,
.entry-footer .ri-archive-action.ri-add-cart,
.entry-meta .ri-archive-action.ri-add-cart.is-added,
.entry-meta .ri-archive-action.ri-add-cart.is-added:disabled,
.entry-footer .ri-archive-action.ri-add-cart.is-added,
.entry-footer .ri-archive-action.ri-add-cart.is-added:disabled {
    width: 34px;
    min-width: 34px;
    padding: 0 !important;
    color: #59616d !important;
    border-color: #e7e9ee !important;
    background: #fff !important;
}

.entry-meta .ri-archive-action.ri-add-cart.is-added,
.entry-meta .ri-archive-action.ri-add-cart.is-added:disabled,
.entry-footer .ri-archive-action.ri-add-cart.is-added,
.entry-footer .ri-archive-action.ri-add-cart.is-added:disabled {
    color: #8b929c !important;
    background: #f1f3f5 !important;
}

.ri-archive-cart-action em {
    display: none !important;
}

.ri-fav-login-popup {
    padding: 8px 4px 2px;
    text-align: center;
}

.ri-fav-login-popup h5 {
    margin-bottom: 8px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.ri-fav-login-popup p {
    margin-bottom: 16px;
    color: #6f7785;
    font-size: 14px;
}

.ri-fav-login-actions {
    display: flex;
    gap: 10px;
}

.ri-fav-login-actions .btn {
    flex: 1 1 0;
}

@media (max-width: 575.98px) {
    #comments .comment-form-comment textarea {
        padding-right: 12px;
    }

    #comments .comment-say-tip {
        display: none;
    }

    .ri-archive-actions {
        margin-top: 6px;
        margin-left: 0;
        gap: 4px;
    }

    .ri-archive-action em {
        display: none;
    }

    .ri-archive-action,
    .entry-meta .ri-archive-action.ri-add-cart,
    .entry-footer .ri-archive-action.ri-add-cart,
    .entry-meta .ri-archive-action.ri-add-cart.is-added,
    .entry-footer .ri-archive-action.ri-add-cart.is-added {
        width: 30px;
        min-width: 30px;
        height: 28px;
        padding: 0 !important;
    }

    .ri-cart-img {
        width: 16px;
        height: 16px;
    }
}

.zb-jump-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zb-jump-pagination .zb-page-btn,
.zb-jump-pagination .zb-page-select,
.zb-jump-pagination .zb-page-jump input,
.zb-jump-pagination .zb-page-jump button {
    min-height: 32px;
    padding: 0 12px;
    color: #e93434;
    font-size: 13px;
    line-height: 30px;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 4px;
}

.zb-jump-pagination .zb-page-btn:hover,
.zb-jump-pagination .zb-page-jump button:hover {
    color: #fff;
    background: #e93434;
    border-color: #e93434;
}

.zb-jump-pagination .zb-page-btn.disabled {
    color: #a1a1a8;
    pointer-events: none;
    background: #f7f8f9;
}

.zb-jump-pagination .zb-page-select {
    min-width: 118px;
    color: #111827;
    line-height: 1.2;
}

.zb-jump-pagination .zb-page-jump {
    display: inline-flex;
    gap: 6px;
}

.zb-jump-pagination .zb-page-jump input {
    width: 62px;
    color: #111827;
}

@media (max-width: 575.98px) {
    .zb-jump-pagination {
        gap: 6px;
    }

    .zb-jump-pagination .zb-page-btn,
    .zb-jump-pagination .zb-page-select,
.zb-jump-pagination .zb-page-jump input,
.zb-jump-pagination .zb-page-jump button {
    padding: 0 9px;
    font-size: 12px;
    }
}

/* 404 page */
.ripro-404-page {
    min-height: 70vh;
    background: #f6f8fc;
}

.ripro-404-hero {
    position: relative;
    min-height: 346px;
    padding: 38px 0 42px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 54% 22%, rgba(142, 54, 192, .2), transparent 35%),
        linear-gradient(105deg, #080a0e 0%, #0b0b11 38%, #24122f 100%);
}

.ripro-404-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 266px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ripro-404-heart {
    position: relative;
    width: 190px;
    height: 152px;
    margin: -10px auto 0;
}

.ripro-404-heart img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ripro-404-kicker {
    position: absolute;
    top: 52%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.055em;
    text-shadow: 0 0 6px #fff, 0 0 18px rgba(191, 90, 255, .9), 0 0 30px rgba(91, 224, 255, .6);
    transform: translate(-50%, -50%);
}

.ripro-404-hero h1 {
    margin: 6px 0 10px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(185, 109, 255, .25);
}

.ripro-404-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #aeb0b8;
    font-size: 15px;
    line-height: 1.7;
}

.ripro-404-main {
    padding-top: 30px;
    padding-bottom: 76px;
}

.ripro-404-panel {
    padding: 22px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(16, 24, 40, .05);
}

.ripro-404-panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ripro-404-panel-head h2 {
    margin: 0;
    color: #101828;
    font-size: 22px;
    font-weight: 800;
}

.ripro-404-panel-head small {
    color: #98a2b3;
}

.ripro-404-post {
    display: block;
    height: 100%;
    padding: 12px;
    color: #101828;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    background: #f8fafc;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.ripro-404-post:hover {
    color: #101828;
    background: #fff;
    box-shadow: 0 12px 26px rgba(16, 24, 40, .08);
    transform: translateY(-2px);
}

.ripro-404-post-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background-color: #e5e7eb;
}

.ripro-404-post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ripro-404-post-title {
    display: block;
    min-height: 2.9em;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.ripro-404-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    color: #98a2b3;
    font-size: 12px;
}

.ripro-404-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ripro-404-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #344054;
    border: 1px solid #edf0f4;
    border-radius: 999px;
    background: #f8fafc;
}

.ripro-404-tag:hover {
    color: #e3343e;
    background: #fff4f4;
    border-color: rgba(227, 52, 62, .18);
}

.ripro-404-tag b {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #e3343e;
    border-radius: 50%;
    background: rgba(227, 52, 62, .1);
    font-size: 12px;
    font-weight: 700;
}

.ripro-404-tag small {
    color: #98a2b3;
}

@media (max-width: 767.98px) {
    .ripro-404-hero {
        min-height: 292px;
        padding: 28px 16px 34px;
    }

    .ripro-404-hero-inner {
        min-height: 230px;
    }

    .ripro-404-heart {
        width: 158px;
        height: 126px;
    }

    .ripro-404-kicker {
        font-size: 48px;
    }

    .ripro-404-hero h1 {
        margin-top: 8px;
        font-size: 24px;
    }

    .ripro-404-hero p {
        font-size: 14px;
    }

    .ripro-404-main {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .ripro-404-panel {
        padding: 16px;
    }

    .ripro-404-panel-head {
        display: block;
    }

    .ripro-404-panel-head small {
        display: inline-block;
        margin-top: 6px;
    }

    .ripro-404-post-title {
        font-size: 13px;
    }
}

/* 子比 V9 风格：首页幻灯片 + 图文视频封面组合 */
.home-zibll-v9-combo {
    margin-top: 22px;
    margin-bottom: 24px;
}

.zibll-v9-combo-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 15px;
}

.zibll-v9-combo-heading h3 {
    margin: 0;
    color: var(--bs-emphasis-color, #20232a);
    font-size: 22px;
    font-weight: 800;
}

.zibll-v9-combo-heading p {
    margin: 5px 0 0;
    color: #9ba0aa;
}

.zibll-v9-combo {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 12px;
    height: 430px;
}

.zibll-v9-ratio-8-4 {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.zibll-v9-ratio-6-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zibll-v9-slider,
.zibll-v9-slider .owl-stage-outer,
.zibll-v9-slider .owl-stage,
.zibll-v9-slider .owl-item,
.zibll-v9-slider .zibll-v9-slide {
    height: 100%;
}

.zibll-v9-slider {
    overflow: hidden;
    border-radius: 14px;
    background: #e8ebef;
    box-shadow: 0 12px 30px rgba(28, 38, 55, .09);
}

.zibll-v9-slide,
.zibll-v9-cover-card {
    position: relative;
    overflow: hidden;
    background: #e8ebef;
}

.zibll-v9-slide > img,
.zibll-v9-cover-card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.zibll-v9-slide:hover > img,
.zibll-v9-cover-card:hover > img {
    transform: scale(1.035);
}

.zibll-v9-cover-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 22, .03) 32%, rgba(10, 14, 22, .82) 100%);
    pointer-events: none;
}

.zibll-v9-slide-content {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 30px;
    bottom: 29px;
    color: #fff;
    pointer-events: none;
}

.zibll-v9-slide-content > span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(24, 181, 155, .9);
    font-size: 12px;
}

.zibll-v9-slide-content h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.2vw, 34px);
    font-weight: 800;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.zibll-v9-slide-content p {
    display: -webkit-box;
    overflow: hidden;
    max-width: 82%;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.zibll-v9-slider .owl-nav {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 20px;
    display: flex;
    gap: 7px;
}

.zibll-v9-slider .owl-nav button.owl-prev,
.zibll-v9-slider .owl-nav button.owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    color: #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(7px);
}

.zibll-v9-slider .owl-dots {
    position: absolute;
    z-index: 4;
    left: 28px;
    top: 22px;
}

.zibll-v9-slider .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 4px;
    background: rgba(255, 255, 255, .55);
}

.zibll-v9-slider .owl-dots .owl-dot.active span {
    width: 22px;
    border-radius: 99px;
    background: #fff;
}

.zibll-v9-cover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.zibll-v9-cover-card {
    min-height: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(28, 38, 55, .08);
}

.zibll-v9-cover-content {
    position: absolute;
    z-index: 2;
    left: 15px;
    right: 15px;
    bottom: 13px;
    color: #fff;
    pointer-events: none;
}

.zibll-v9-cover-content h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.zibll-v9-cover-content span {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
}

.zibll-v9-video-icon {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(16, 22, 32, .35);
    transform: translate(-50%, -62%);
    backdrop-filter: blur(5px);
}

@media (max-width: 991.98px) {
    .zibll-v9-combo,
    .zibll-v9-ratio-8-4,
    .zibll-v9-ratio-6-6 {
        grid-template-columns: 1fr;
        height: auto;
    }

    .zibll-v9-slider {
        height: 390px;
    }

    .zibll-v9-cover-grid {
        grid-auto-rows: 190px;
    }
}

@media (max-width: 575.98px) {
    .home-zibll-v9-combo {
        margin-top: 12px;
        margin-bottom: 18px;
    }

    .zibll-v9-combo {
        gap: 8px;
    }

    .zibll-v9-slider {
        height: 270px;
        border-radius: 11px;
    }

    .zibll-v9-slide-content {
        left: 18px;
        right: 18px;
        bottom: 20px;
    }

    .zibll-v9-slide-content h2 {
        font-size: 21px;
    }

    .zibll-v9-slide-content p {
        display: none;
    }

    .zibll-v9-slider .owl-nav {
        display: none;
    }

    .zibll-v9-slider .owl-dots {
        left: 14px;
        top: 12px;
    }

    .zibll-v9-cover-grid {
        gap: 8px;
        grid-auto-rows: 132px;
    }

    .zibll-v9-cover-card {
        border-radius: 9px;
    }

    .zibll-v9-cover-content {
        left: 10px;
        right: 10px;
        bottom: 8px;
    }

    .zibll-v9-cover-content h3 {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }
}

/* 可配置组合模块最终布局优先级 */
.zibll-v9-combo-wrap .zibll-v9-combo {
    grid-template-columns: minmax(0, var(--zv9-slider-width)) minmax(0, 1fr);
    align-items: stretch;
    height: auto;
}

.zibll-v9-combo-wrap .zibll-v9-combo.zv9-no-slider,
.zibll-v9-combo-wrap .zibll-v9-combo.zv9-no-cards {
    grid-template-columns: minmax(0, 1fr);
}

.zibll-v9-combo-wrap .zibll-v9-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 100 / var(--zv9-slider-ratio);
}

.zibll-v9-combo-wrap .zibll-v9-cover-grid {
    grid-template-columns: repeat(var(--zv9-card-cols), minmax(0, 1fr));
    grid-template-rows: repeat(var(--zv9-card-rows), minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
}

.zibll-v9-combo-wrap .zibll-v9-cover-shade {
    z-index: 2;
    background: linear-gradient(180deg, rgba(8, 13, 23, .02) 25%, rgba(8, 13, 23, var(--zv9-mask)) 100%);
}

.zibll-v9-combo-wrap .zibll-v9-slide-content,
.zibll-v9-combo-wrap .zibll-v9-cover-content,
.zibll-v9-combo-wrap .zibll-v9-video-icon {
    z-index: 3;
    color: var(--zv9-font-color);
}

.zibll-v9-combo-wrap .zibll-v9-slide-content h2,
.zibll-v9-combo-wrap .zibll-v9-cover-content h3 {
    color: var(--zv9-font-color);
}

.zibll-v9-combo-wrap .u-permalink {
    z-index: 4;
}

@media (max-width: 767.98px) {
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-stack,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_slider,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_cards {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
    }

    .zibll-v9-combo-wrap .zibll-v9-slider {
        height: auto;
        aspect-ratio: 100 / var(--zv9-slider-ratio);
    }

    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-stack .zibll-v9-cover-grid,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_slider .zibll-v9-cover-grid {
        grid-template-columns: repeat(var(--zv9-mobile-cols), minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
    }

    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-stack .zibll-v9-cover-card,
    .zibll-v9-combo-wrap .zibll-v9-combo.zv9-mobile-hide_slider .zibll-v9-cover-card {
        height: auto;
        aspect-ratio: 100 / var(--zv9-mobile-ratio);
    }
}

/* 全站用户头像旋转：顶部、评论、用户中心、作者卡片及问答区 */
img.avatar,
img.avatar-img,
.avatar img,
.ap-avatar img,
.ap-modown-avatar img,
.ap-modown-answer-avatar img,
.ripro-user-home-avatar > img,
.ripro-author-avatar,
.ripro-person-avatar img {
    backface-visibility: hidden;
    transform: rotate(0deg);
    transition: transform .7s cubic-bezier(.22, .61, .36, 1), box-shadow .25s ease;
    will-change: transform;
}

img.avatar:hover,
img.avatar-img:hover,
.avatar:hover img,
.ap-avatar:hover img,
.ap-modown-avatar:hover img,
.ap-modown-answer-avatar:hover img,
.ripro-user-home-avatar > img:hover,
.ripro-author-avatar:hover,
.ripro-person-avatar:hover img,
img.avatar:active,
img.avatar-img:active,
.avatar:active img,
.ap-avatar:active img,
.ap-modown-avatar:active img,
.ap-modown-answer-avatar:active img,
.ripro-user-home-avatar > img:active,
.ripro-author-avatar:active,
.ripro-person-avatar:active img {
    transform: rotate(360deg) !important;
}

/* 子比风格资源价格区：不显示普通会员行，主价格与会员入口保持独立 */
.ripro-zibll-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 10px 0 14px;
}

.ripro-zibll-main-price {
    display: inline-flex;
    align-items: baseline;
    color: #ff5470;
    line-height: 1;
}

.ripro-zibll-main-price span {
    margin-right: 5px;
    font-size: 12px;
    font-weight: 700;
}

.ripro-zibll-main-price strong {
    color: #ff5470;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.ripro-zibll-member-prices {
    display: inline-flex;
    max-width: 100%;
    padding: 6px 10px;
    overflow: hidden;
    background: #f4f4f5;
    border-radius: 6px;
}

.ripro-zibll-member-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0 9px;
    color: #727782;
    border: 0;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}

.ripro-zibll-member-price:first-child { padding-left: 0; }
.ripro-zibll-member-price:last-child { padding-right: 0; }
.ripro-zibll-member-price + .ripro-zibll-member-price { border-left: 1px solid #e6e7e9; }
.ripro-zibll-member-price:hover { color: #16b58f; transform: translateY(-1px); }
.ripro-zibll-member-icon { font-size: 15px; line-height: 1; }
.ripro-zibll-member-name { color: inherit; }
.ripro-zibll-member-value { color: #69707b; }

.ripro-zibll-sold-badge {
    position: absolute;
    z-index: 3;
    top: 2px;
    right: 0;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: #fff;
    background: linear-gradient(135deg, #48b9f7, #168ee8);
    border-radius: 6px 6px 6px 13px;
    box-shadow: 0 6px 14px rgba(31, 150, 230, .2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.archive-shop .ripro-zibll-resource-buy {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    padding-top: 5px;
}

.archive-shop .ripro-zibll-resource-buy > .buy-desc { margin: 0; }
.archive-shop .ripro-zibll-resource-buy > .buy-btns {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: auto;
}

.ri-hide-warp .ripro-zibll-price-box { align-items: center; }
.post-buy-widget .ripro-zibll-price-box { align-items: center; margin: 0; padding: 15px 10px; }
.post-buy-widget .ripro-zibll-member-prices { justify-content: center; }

@media (max-width: 767.98px) {
    .ripro-zibll-price-box { gap: 12px; }
    .ripro-zibll-main-price strong { font-size: 32px; }
    .ripro-zibll-member-prices { padding: 6px 8px; }
    .ripro-zibll-member-price { gap: 3px; padding: 0 6px; font-size: 12px; }
    .ripro-zibll-member-icon { font-size: 13px; }
    .archive-shop .ripro-zibll-resource-buy { min-height: 132px; }
}

@media (max-width: 390px) {
    .ripro-zibll-member-name { max-width: 58px; overflow: hidden; text-overflow: ellipsis; }
    .ripro-zibll-member-price { padding: 0 5px; font-size: 11px; }
}

/* 支付选择弹窗 */
.ripro-pay-popup-body {
    width: 600px !important;
    max-width: calc(100vw - 24px) !important;
    padding-top: 12px;
    padding-bottom: 12px;
}

.ripro-pay-popup-body .ri-popup-content {
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 22px 65px rgba(20, 28, 45, .24);
}

.ripro-pay-popup-body .ri-popup-close {
    z-index: 20;
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #fff4f5;
    border: 2px solid #ff5968;
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(255, 70, 88, .24);
    transform: none;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ripro-pay-popup-body .ri-popup-close .svg-close {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: none !important;
}

.ripro-pay-popup-body .ri-popup-close .svg-close::before,
.ripro-pay-popup-body .ri-popup-close .svg-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 3px;
    content: "";
    background: #f23f52;
    border-radius: 2px;
}

.ripro-pay-popup-body .ri-popup-close .svg-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.ripro-pay-popup-body .ri-popup-close .svg-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.ripro-pay-popup-body .ri-popup-close:hover {
    background: #ff5968;
    box-shadow: 0 7px 20px rgba(255, 70, 88, .35);
    transform: scale(1.06);
}

.ripro-pay-popup-body .ri-popup-close:hover .svg-close::before,
.ripro-pay-popup-body .ri-popup-close:hover .svg-close::after {
    background: #fff;
}

.ripro-pay-dialog {
    padding: 16px;
    color: #525b69;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
}

.ripro-pay-user {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 52px;
    padding: 0 38px 12px 2px;
    border-bottom: 1px solid #f0f1f3;
}

.ripro-pay-user img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 3px solid #e9f4ff;
    border-radius: 50%;
}

.ripro-pay-user strong,
.ripro-pay-user small { display: block; }
.ripro-pay-user strong { color: #313946; font-size: 15px; }
.ripro-pay-user small { margin-top: 2px; color: #9aa1ab; font-size: 12px; }
.ripro-vip-pay-user { min-height: 48px; padding-bottom: 10px; border-bottom: 0; }
.ripro-vip-pay-user img { flex-basis: 38px; width: 38px; height: 38px; border-width: 2px; }
.ripro-vip-pay-user small { color: #999; font-size: 12.6px; line-height: 18px; }

.ripro-pay-product {
    padding: 13px 2px 7px;
}

.ripro-pay-product small,
.ripro-pay-product strong { display: block; }
.ripro-pay-product small { margin-bottom: 3px; color: #ff6478; font-size: 12px; }
.ripro-pay-product strong { overflow: hidden; color: #343b47; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }

.ripro-pay-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 10px;
    padding: 11px 13px;
    background: #fff5f6;
    border: 1px solid #ffe0e4;
    border-radius: 10px;
}

.ripro-pay-current > span { color: #7c8490; font-size: 13px; }
.ripro-pay-current > div { display: flex; align-items: baseline; gap: 7px; }
.ripro-pay-current strong { color: #ff4f6d; font-size: 26px; line-height: 1; }
.ripro-pay-current small { color: #ff4f6d; font-size: 13px; font-weight: 700; }
.ripro-pay-current del { color: #aab0b8; font-size: 12px; }
.ripro-pay-current > div > span { padding: 2px 6px; color: #fff; background: #ff6c80; border-radius: 9px 9px 9px 2px; font-size: 10px; }

.ripro-pay-levels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 13px;
}

.ripro-pay-level {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 67px;
    padding: 9px 11px;
    border: 1px solid;
    border-radius: 10px;
}

.ripro-pay-level > i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    font-size: 17px;
}

.ripro-pay-level span b,
.ripro-pay-level span small { display: block; }
.ripro-pay-level span b { font-size: 14px; }
.ripro-pay-level span small { margin-top: 3px; opacity: .72; font-size: 10px; }
.ripro-pay-level > strong { font-size: 18px; }
.ripro-pay-level > small { margin-left: 2px; font-size: 11px; }
.ripro-pay-level.vip { color: #9e7410; background: linear-gradient(135deg, #fff8dc, #fff0ca); border-color: #f4d796; }
.ripro-pay-level.vip > i { color: #efaa00; background: rgba(255, 255, 255, .72); }
.ripro-pay-level.ssvip { color: #1677c8; background: linear-gradient(135deg, #e8f7ff, #dceaff); border-color: #acd6f5; }
.ripro-pay-level.ssvip > i { color: #168ee1; background: rgba(255, 255, 255, .72); }

.ripro-pay-package {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 13px 0;
    padding: 14px;
    border: 1px solid #f0cf8d;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff9e5, #fff0cb);
}

.ripro-pay-package.ssvip { color: #1677c8; border-color: #aed6f3; background: linear-gradient(135deg, #edf9ff, #dfeeff); }
.ripro-pay-package > i { display: grid; width: 50px; height: 50px; place-items: center; color: #e9a400; background: #fff; border-radius: 50%; font-size: 22px; }
.ripro-pay-package.ssvip > i { color: #168ee1; }
.ripro-pay-package div > * { display: block; }
.ripro-pay-package div small { opacity: .7; font-size: 11px; }
.ripro-pay-package div strong { margin: 2px 0; color: inherit; font-size: 17px; }
.ripro-pay-package div span { font-size: 12px; }
.ripro-pay-package > strong { font-size: 25px; }
.ripro-pay-package > small { font-size: 12px; }

.ripro-vip-tier-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 13px 0 10px;
}

.ripro-vip-tier {
    position: relative;
    display: flex;
    min-height: 74px;
    padding: 9px 14px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: #906e18;
    background: linear-gradient(120deg, #f7b5d9, #b7dcff);
    border: 2px solid transparent;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
}

.ripro-vip-tier.ssvip { color: #fff; background: linear-gradient(135deg, #bc4ee7, #2e91f1 58%, #55d8b7); }
.ripro-vip-tier-icon { position: relative; z-index: 2; flex: 0 0 58px; width: 58px; height: 50px; object-fit: contain; }
.ripro-vip-tier-bg { position: absolute; z-index: 0; right: -2px; bottom: -28px; width: 142px; opacity: .2; pointer-events: none; }
.ripro-vip-tier span > * { display: block; }
.ripro-vip-tier > span { position: relative; z-index: 2; }
.ripro-vip-tier span b { color: inherit; font-size: 17px; font-weight: 700; line-height: 1.25; }
.ripro-vip-tier span small { margin-top: 2px; opacity: .88; font-size: 11px; }
.ripro-vip-tier.is-active { border-color: #fff; box-shadow: 0 0 0 2px #27a8ec, 0 8px 18px rgba(35, 139, 211, .13); }
.ripro-vip-tier.is-active::after { position: absolute; top: 5px; right: 6px; width: 18px; height: 18px; color: #fff; content: "\f00c"; background: #29a8ea; border-radius: 50%; font-family: "Font Awesome 5 Free"; font-size: 9px; font-weight: 900; line-height: 18px; text-align: center; }

.ripro-vip-package-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 13px;
}

.ripro-vip-benefit-panels { min-width: 0; }

.ripro-vip-benefits {
    position: relative;
    display: flex;
    min-height: 245px;
    padding: 17px 12px 14px;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    color: #d17f08;
    background: linear-gradient(160deg, #fffaf1, #fff3e5);
    border: 1px solid #f3d79f;
    border-radius: 10px;
    text-align: center;
}

.ripro-vip-benefits[hidden] { display: none !important; }
.ripro-vip-benefits.ssvip { color: #d57900; background: linear-gradient(160deg, #fffaf2, #fff5e8); border-color: #f3d2a4; }
.ripro-vip-benefit-icon { position: relative; z-index: 2; width: 72px; height: 60px; object-fit: contain; }
.ripro-vip-benefits > strong { position: relative; z-index: 2; margin-top: 3px; color: inherit; font-size: 18px; line-height: 1.25; }
.ripro-vip-benefits > small { position: relative; z-index: 2; margin-top: 1px; color: inherit; font-size: 11px; }
.ripro-vip-benefits > ul { position: relative; z-index: 2; margin: 12px 0 0; padding: 0; list-style: none; }
.ripro-vip-benefits > ul li { margin-top: 5px; color: inherit; font-size: 12px; line-height: 1.35; }
.ripro-vip-benefit-bg { position: absolute; z-index: 1; right: -42px; bottom: -68px; width: 255px; opacity: .09; pointer-events: none; }

.ripro-vip-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 9px;
}

.ripro-vip-package-choice {
    position: relative;
    display: flex;
    min-height: 76px;
    padding: 9px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #68717f;
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 9px;
    cursor: pointer;
}

.ripro-vip-package-choice[hidden] { display: none !important; }
.ripro-vip-price { display: flex; align-items: baseline; justify-content: center; color: #ff536f; line-height: 1; }
.ripro-vip-package-choice .ripro-vip-price strong { color: inherit; font-size: 23px; line-height: 1; }
.ripro-vip-package-choice .ripro-vip-price small { margin-right: 2px; color: inherit; font-size: 11px; font-weight: 700; }
.ripro-vip-package-choice > span { margin-top: 7px; padding: 2px 9px; color: #298dcc; background: #eaf7ff; border-radius: 10px; font-size: 11px; }
.ripro-vip-package-choice.is-active { background: #f1fbff; border-color: #21a7e9; box-shadow: 0 0 0 1px rgba(33, 167, 233, .1); }
.ripro-vip-package-choice.is-active::before { position: absolute; top: -6px; left: -6px; width: 20px; height: 20px; color: #fff; content: "\f00c"; background: #20a7e9; border: 2px solid #fff; border-radius: 50%; font-family: "Font Awesome 5 Free"; font-size: 8px; font-weight: 900; line-height: 16px; text-align: center; }

.ripro-pay-method-title {
    margin: 2px 0 8px;
    color: #8b929c;
    font-size: 12px;
}

.ripro-pay-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.ripro-pay-choice {
    position: relative;
    display: flex;
    min-width: 0;
    height: 58px;
    padding: 8px 10px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #525a66;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ripro-pay-choice:hover { transform: translateY(-1px); border-color: #6dc6ff; }
.ripro-pay-choice.is-active { color: #1878c9; background: #eff9ff; border-color: #20a5ec; box-shadow: 0 0 0 1px rgba(32, 165, 236, .12); }
.ripro-pay-choice > span { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ripro-pay-choice > i { display: inline-block; flex: 0 0 29px; width: 29px; height: 29px; background-position: center !important; background-repeat: no-repeat !important; background-size: contain !important; }
.ripro-pay-choice > i.alipay,
.ripro-pay-choice > i.epay_alipay,
.ripro-pay-choice > i.hupijiao_alipay,
.ripro-pay-choice > i.xunhu_alipay { background-image: url(../img/alipay-i.png); }
.ripro-pay-choice > i.weixinpay,
.ripro-pay-choice > i.epay_weixin,
.ripro-pay-choice > i.hupijiao_weixin,
.ripro-pay-choice > i.xunhu_weixin { background-image: url(../img/weixinpay-i.png); }
.ripro-pay-choice > i.paypal { background-image: url(../img/paypal-i.png); }
.ripro-pay-choice > i.site_coin_pay { background-image: url(../img/coinpay-i.png); }
.ripro-pay-choice > i.trc20_usdt_pay { background-image: url(../img/usdt-i.png); }

.ripro-pay-choice-check {
    position: absolute;
    top: -6px;
    left: -6px;
    display: none;
    width: 20px;
    height: 20px;
    color: #fff;
    background: #19a7ec;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 9px;
    line-height: 16px;
    text-align: center;
}

.ripro-pay-choice.is-active .ripro-pay-choice-check { display: block; }

.ripro-pay-submit {
    display: flex;
    width: 100%;
    height: 48px;
    margin-top: 13px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(90deg, #ff7463, #ff3546);
    border: 0;
    border-radius: 24px;
    box-shadow: 0 9px 18px rgba(255, 67, 79, .18);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ripro-pay-submit:hover { color: #fff; transform: translateY(-1px); }
.ripro-pay-submit:disabled { opacity: .65; cursor: wait; }
.ripro-pay-note { margin: 9px 0 0; color: #a1a7af; font-size: 10px; text-align: center; }
.ripro-pay-note i { margin-right: 5px; color: #46b88a; }

[data-bs-theme="dark"] .ripro-pay-dialog { color: #c3c8d0; background: #22262d; }
[data-bs-theme="dark"] .ripro-pay-user { border-bottom-color: #343a43; }
[data-bs-theme="dark"] .ripro-pay-user strong,
[data-bs-theme="dark"] .ripro-pay-product strong { color: #f4f5f7; }
[data-bs-theme="dark"] .ripro-pay-current { background: #30262b; border-color: #52343c; }
[data-bs-theme="dark"] .ripro-pay-choice { color: #c6cbd2; background: #292e36; border-color: #3b424c; }
[data-bs-theme="dark"] .ripro-pay-choice.is-active { color: #74cbff; background: #193446; border-color: #2a9ddd; }

@media (max-width: 575.98px) {
    .ripro-pay-popup-body { max-width: calc(100vw - 16px) !important; }
    .ripro-pay-dialog { padding: 13px; }
    .ripro-pay-level { grid-template-columns: 31px minmax(0, 1fr); min-height: 62px; padding: 8px; }
    .ripro-pay-level > i { width: 30px; height: 30px; font-size: 14px; }
    .ripro-pay-level > strong,
    .ripro-pay-level > small { grid-column: 2; }
    .ripro-pay-level > strong { margin-top: -5px; font-size: 16px; }
    .ripro-pay-level > small { margin-top: -8px; }
    .ripro-pay-choice { height: 54px; padding: 7px 5px; gap: 4px; }
    .ripro-pay-choice > span { font-size: 12px; }
    .ripro-pay-choice > i { flex-basis: 25px; width: 25px; height: 25px; }
    .ripro-pay-current strong { font-size: 22px; }
    .ripro-vip-tier { min-height: 65px; padding: 7px 8px; gap: 5px; }
    .ripro-vip-tier-icon { flex-basis: 44px; width: 44px; height: 42px; }
    .ripro-vip-tier span b { font-size: 14px; }
    .ripro-vip-tier span small { font-size: 9px; }
    .ripro-vip-package-layout { grid-template-columns: 132px minmax(0, 1fr); }
    .ripro-vip-benefits { min-height: 232px; padding: 11px 6px; }
    .ripro-vip-benefit-icon { width: 54px; height: 49px; }
    .ripro-vip-benefits > strong { font-size: 15px; }
    .ripro-vip-benefits > ul { margin-top: 8px; }
    .ripro-vip-benefits > ul li { font-size: 9px; }
    .ripro-vip-package-grid { gap: 7px; }
    .ripro-vip-package-choice { min-height: 72px; padding: 7px 4px; }
    .ripro-vip-package-choice strong { font-size: 19px; }
}
