.zib-widget.widget-cxzzt-author-rank,
.widget.widget-cxzzt-author-rank,
.widget_cxzzt_author_rank {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.cxzzt-author-rank-block {
    position: relative;
    padding: 20px 0 16px;
    background: transparent;
}

.cxzzt-author-rank__heading {
    position: relative;
    margin-bottom: 14px;
    padding-left: 2px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
}

.cxzzt-author-rank__heading::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 8px;
    background: linear-gradient(90deg, #ff4d6d, #ff8f5a);
    flex: 0 0 100%;
}

.cxzzt-author-rank__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #222933;
}

.cxzzt-author-rank__subtitle {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #7d8794;
}

.cxzzt-author-rank {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 14px;
}

.cxzzt-author-rank__card {
    min-width: 0;
}

.cxzzt-author-rank__surface,
.cxzzt-author-rank__cta-surface {
    position: relative;
    height: 344px;
    border: 1px solid #e8ebf0;
    background: #ffffff;
    overflow: hidden;
}

.cxzzt-author-rank__colorbar {
    position: absolute;
    inset: 0 0 auto;
    height: 82px;
    background: linear-gradient(135deg, var(--cxzzt-rank-accent), var(--cxzzt-rank-accent-2));
}

.cxzzt-author-rank__panel {
    position: absolute;
    inset: 12px;
    background: #ffffff;
}

.cxzzt-author-rank__top {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 14px 8px;
}

.cxzzt-author-rank__avatar-wrap {
    position: relative;
}

.cxzzt-author-rank__avatar-wrap .avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.cxzzt-author-rank__rankline {
    display: flex;
    align-items: center;
    padding: 0 14px;
    min-height: 24px;
}

.cxzzt-author-rank__badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    background: #fff1c8;
    color: #9d6d00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.cxzzt-author-rank__meta {
    min-width: 0;
    padding-top: 3px;
}

.cxzzt-author-rank__name {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.cxzzt-author-rank__name a {
    color: #262d36;
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cxzzt-author-rank__name badge,
.cxzzt-author-rank__name .badg,
.cxzzt-author-rank__name .avatar-badge,
.cxzzt-author-rank__name .img-badge,
.cxzzt-author-rank__name img {
    flex: 0 0 auto;
    max-height: 16px;
    line-height: 1;
}

.cxzzt-author-rank__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.4;
    color: #687382;
}

.cxzzt-author-rank__swap {
    position: relative;
    height: 32px;
    margin: 4px 14px 0;
}

.cxzzt-author-rank__intro {
    position: absolute;
    inset: 0;
    padding: 8px 2px;
    font-size: 12px;
    line-height: 1.45;
    color: #8b95a4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity .16s ease, transform .18s ease;
}

.cxzzt-author-rank__actions {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.cxzzt-author-rank__action-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.cxzzt-author-rank__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid rgba(34, 41, 51, .08);
    background: #f4f8ff;
    color: #3087ff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cxzzt-author-rank__action.is-loading {
    opacity: .72;
    pointer-events: none;
}

.cxzzt-author-rank__action--follow {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cxzzt-rank-accent), var(--cxzzt-rank-accent-2));
}

.cxzzt-author-rank__action--follow.is-following {
    background: #f3f5f8;
    color: #566273;
    border-color: #e1e5ea;
}

.cxzzt-author-rank__action--message {
    background: #ffffff;
    color: #697588;
}

.cxzzt-author-rank__feed {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    top: 140px;
    padding-top: 10px;
}

.cxzzt-author-rank__surface,
.cxzzt-author-rank__cta-surface {
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cxzzt-author-rank__card:hover .cxzzt-author-rank__surface,
.cxzzt-author-rank__card:focus-within .cxzzt-author-rank__surface {
    border-color: rgba(76, 115, 255, .32);
    box-shadow: 0 14px 28px -20px rgba(42, 82, 196, .28);
}

.cxzzt-author-rank__card--cta:hover .cxzzt-author-rank__cta-surface,
.cxzzt-author-rank__card--cta:focus-within .cxzzt-author-rank__cta-surface {
    border-color: rgba(255, 128, 58, .42);
    box-shadow: 0 14px 28px -20px rgba(217, 96, 45, .3);
}

.cxzzt-author-rank__card:hover .cxzzt-author-rank__intro,
.cxzzt-author-rank__card:focus-within .cxzzt-author-rank__intro {
    opacity: 0;
    transform: translateY(-8px);
}

.cxzzt-author-rank__card:hover .cxzzt-author-rank__actions,
.cxzzt-author-rank__card:focus-within .cxzzt-author-rank__actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cxzzt-author-rank__feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.cxzzt-author-rank__feed-head strong {
    font-size: 13px;
    color: #7b8593;
    font-weight: 700;
}

.cxzzt-author-rank__tabs {
    display: inline-flex;
    border: 1px solid #eaedf1;
    background: #f7f9fb;
}

.cxzzt-author-rank__tab {
    min-width: 38px;
    height: 22px;
    padding: 0 7px;
    border: 0;
    background: transparent;
    color: #7f8a99;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.cxzzt-author-rank__tab.is-active {
    background: #ffffff;
    color: #2f3a47;
}

.cxzzt-author-rank__panel-list {
    display: none;
    gap: 8px;
}

.cxzzt-author-rank__panel-list.is-active {
    display: grid;
}

.cxzzt-author-rank__post {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 7px;
    background: #f5f7fa;
    transition: background-color .18s ease, transform .18s ease;
}

.cxzzt-author-rank__post:hover {
    background: #eef3f9;
    transform: translateY(-1px);
}

.cxzzt-author-rank__post-thumb {
    display: block;
    height: 44px;
    overflow: hidden;
    background: #eef1f5;
}

.cxzzt-author-rank__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cxzzt-author-rank__post-main {
    min-width: 0;
}

.cxzzt-author-rank__post-main strong,
.cxzzt-author-rank__post-main em {
    display: block;
}

.cxzzt-author-rank__post-main strong {
    font-size: 11px;
    line-height: 1.42;
    font-weight: 600;
    color: #262d36;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cxzzt-author-rank__post-main em {
    margin-top: 3px;
    font-style: normal;
    font-size: 10px;
    color: var(--cxzzt-rank-accent);
}

.cxzzt-author-rank__post-empty,
.cxzzt-author-rank__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 12px;
    font-size: 12px;
    color: #8d97a5;
    background: #f5f7fa;
}

.cxzzt-author-rank__cta-surface {
    position: relative;
    border-color: #ffd3b6;
    background: linear-gradient(180deg, #fff9f3, #ffffff 72%);
}

.cxzzt-author-rank__cta-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 166, 77, .24), transparent 24%),
        repeating-linear-gradient(
            135deg,
            rgba(255, 201, 140, .14) 0,
            rgba(255, 201, 140, .14) 16px,
            transparent 16px,
            transparent 38px
        );
    pointer-events: none;
}

.cxzzt-author-rank__cta-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 16px 16px;
}

.cxzzt-author-rank__cta-kicker {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    background: linear-gradient(135deg, #ff8a2a, #ff5d39);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.cxzzt-author-rank__cta-body h4 {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.25;
    color: #231f1a;
}

.cxzzt-author-rank__cta-body p {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: #82644d;
}

.cxzzt-author-rank__cta-avatars {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.cxzzt-author-rank__cta-avatars span {
    display: inline-flex;
    margin-left: -8px;
}

.cxzzt-author-rank__cta-avatars span:first-child {
    margin-left: 0;
}

.cxzzt-author-rank__cta-avatars .avatar {
    width: 28px;
    height: 28px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.cxzzt-author-rank__cta-count {
    margin-top: 16px;
}

.cxzzt-author-rank__cta-count strong {
    display: block;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    color: #ff6e2d;
}

.cxzzt-author-rank__cta-count span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #8a6d57;
}

.cxzzt-author-rank__cta-buttons {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.cxzzt-author-rank__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 128, 58, .18);
    font-size: 13px;
    font-weight: 700;
}

.cxzzt-author-rank__cta-btn--primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #ff8a2a, #ff5d39);
}

.cxzzt-author-rank__cta-btn--ghost {
    color: #ef6b2d;
    background: rgba(255, 255, 255, .9);
}

@media (max-width: 1399px) {
    .cxzzt-author-rank {
        grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
    }
}

@media (max-width: 991px) {
    .cxzzt-author-rank {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cxzzt-author-rank__surface,
    .cxzzt-author-rank__cta-surface {
        height: 336px;
    }
}

@media (max-width: 767px) {
    .cxzzt-author-rank-block {
        padding: 16px 12px 12px;
    }

    .cxzzt-author-rank {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cxzzt-author-rank__surface,
    .cxzzt-author-rank__cta-surface {
        height: auto;
        min-height: 0;
    }

    .cxzzt-author-rank__panel {
        position: relative;
        inset: auto;
        margin: 12px;
    }

    .cxzzt-author-rank__feed {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin: 0 16px 14px;
    }

    .cxzzt-author-rank__actions {
        position: relative;
        inset: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .cxzzt-author-rank__intro {
        opacity: 1 !important;
    }
}
