/* 作者排行榜小工具样式（原 widgets-author.php 内联 <style> 提取） */
@media (max-width:768px) 
{
    .home-authors .item, .home-authors .group-item .item-images .img-item {
        width: 100%!important;
    }
    .item-author:nth-child(n+4) {
        display:none;
    }
 }

.home-authors .item-tobe-author .meta-avatars img {
    display: inline-block;
    width: 30px;
    height:30px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    overflow: hidden;
    margin-left: -10px;
    border-radius: 50%;
    transform: translateX(0px);
    overflow: hidden;
    border: 3px solid var(--main-bg-color);
}

.ap-item-meta .cat:before {
    content: '#';
    /* top: 2px; */
    line-height: 19px;
    width: 19px;
    height: 19px;
    margin-right: 5px;
    color: #fe2c55;
    text-align: center;
    float: left;
    background: rgba(254, 44, 85, 0.2);
    border-radius: 50%;
    display: block;
    /* position: absolute; */
    left: 0;
}

.item-author .author-btn .looo {
    line-height: 13px;
    font-size: 13px;
    width: 100%;
    color: #333;
    background: var(--body-bg-color);
}


.item-author .item-wrap:hover .item-top .author-btn,.home-authors .item-tobe-author .item-wrap:hover .item-top .author-btn {
    display: block;
}


.item-author .author-btn {
    position: absolute;
    right: 0;
    top: 90px!important;
    display: none;
    width: 100%
}


.item-author .author-btn .user-s-follow {
   padding:10px;
    text-align: center
}

.looo .msg-icon,.looo .top{
    display:none;
}

.home-authors .part-title{
    font-size: 18px;
}
.home-authors .author-items {
    margin: 0 auto;
    display:flex;
    flex-wrap:wrap;
}
.home-authors .part-title, .part-hot-channel .part-title, .part-zt .part-title, .archive-list-see .part-title, .post-related .part-title, .hunter-recent-hot .part-title, .hunter-last-week .part-title {
    font-size: 21px;
    color: #333333;
    margin-bottom: 50px;
}
.home-authors .part-title .sub-link .icon-btn-bang, .hunter-recent-hot .part-title .sub-link .icon-btn-bang, .hunter-last-week .part-title .sub-link .icon-btn-bang {
    color: #ff6000;
}

.home-authors .item, .home-authors .group-item .item-images .img-item {
    margin-bottom: 30px;
}

.home-authors .item, .home-authors .group-item .item-images .img-item {
    padding: 0 5px;
}

.home-authors .item, .home-authors .group-item .item-images .img-item {
    width: calc(25% - 0px);
}

.author-name .text-ellipsis{
    max-width:80px;
}

.item-author .item-wrap, .home-authors .item-tobe-author .item-wrap {
    padding: 30px 15px 10px;
}

.item-author .item-wrap, .home-authors .item-tobe-author .item-wrap {
    background-color: var(--main-bg-color);
  height:390px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.item-author .item-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding-top: 100%;
    overflow: hidden;
}

.item-author .item-bg::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 54%;
    background-color: var(--main-bg-color);
    z-index: 1;
}

.item-author .item-bg .thumb-1 {
    background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}

.item-author .item-bg .thumb-2 {
   background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    
}

.item-author .item-bg .thumb-3 {
    background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}

.item-author .item-bg .thumb-4 {
 background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
}

.item-author .item-bg .thumb-5 {
   background-image: linear-gradient(180deg, #2af598 0%, #009efd 100%);
}

.item-author .item-bg .thumb-6{
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
}

.item-author .item-bg .thumb-7 {
     background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
}

.item-author .item-bg .thumb {
    padding-top: 100%;
    position: absolute;
    left: -50px;
    right: -50px;
    top: -50px;
    width: auto;
  
}

.thumb {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 0;
}

.item-author .item-bg::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 54%;
    padding-top: 11%;
   
}

.item-author .item-top {
    padding: 15px;
}

.item-author .item-top {
    position: relative;
    -webkit-box-shadow: 0 20px 40px 0 rgba(0,0,0,0.02);
    box-shadow: 0 20px 40px 0 rgba(0,0,0,0.02);
    padding: 15px;
     background: var(--main-bg-color);
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
    z-index: 1;
}
 
.item-author .author-avatar {
    font-size: 50px;
    top: 0;
}

.home-authors .item  .author-avatar .avatar, .home-authors .group-item .item-images .img-item  .author-avatar .avatar {
    border-color: #ff6000;
}

.item-author .author-avatar .avatar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 0;
    height: 50px;
    border: 2px solid #ffbc00;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    overflow: hidden;
}

.home-authors .item:nth-child(1) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(1) .author-avatar:after {
    content: '01';
     
}

.home-authors .item:nth-child(2) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(2) .author-avatar:after {
    content: '02';
   
}

.home-authors .item:nth-child(3) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(3) .author-avatar:after {
    content: '03';
     
}

.home-authors .item:nth-child(4) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(4) .author-avatar:after {
    content: '04';
   
}

.home-authors .item:nth-child(5) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(5) .author-avatar:after {
    content: '05';
     
}

.home-authors .item:nth-child(6) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(6) .author-avatar:after {
    content: '06';
   
}

.home-authors .item:nth-child(7) .author-avatar:after, .home-authors .group-item .item-images .img-item:nth-child(7) .author-avatar:after {
    content: '07';
   
}

.item-author .author-avatar 
{
    position: absolute;
    width: 50px;
}

.author-main {
    padding-left: 58px;
}

.item-author .author-name {
    font-size: 20px;
    color:var(--key-color);
    margin-bottom: 25px;
    white-space: nowrap;
}

.item-author .author-info {
    font-size: 13px;
    margin-top: 25px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0px 16px;
    color: var(--muted-color);
    text-align: center;
    line-height: 30px;
    background: var(--body-bg-color);
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.item-author .author-avatar:after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    bottom: 75%;
    margin-left: -25%;
    width: 50%;
    height: 33.3333%;
     background-image: url("../../img/65afe5b99031b.png");
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    color: #ffffff;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
    -webkit-transform: scale(.8);
    -ms-transform: scale(.8);
    transform: scale(.8);
    -webkit-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    transform-origin: center bottom;
}

.item-author .author-name {
          font-size: 15px;
    
    display: flex;
    white-space: nowrap;
    margin-bottom: 20px;
    
}

.item-author .author-name .uname {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-author .author-meta {
    font-size: 13px;
}

.item-author .author-meta {
    font-size: 12px;
    line-height: 1.5;
    height: 20px;
    overflow: hidden;
    font-weight: normal;
    color: var(--muted-color);
}

.item-author .author-meta span:first-child {
    position: relative;
    margin-right: 5px;
}

.item-author .author-meta {
    font-size: 13px;
}

.btn-orange, .widget-talk .talk-item .talk-wrap:hover .btn, .list-item-home-news .widget-btns .btn:hover, .listitem-widget-job .widget-btns .btn:hover, .list-item-home-job .widget-btns .btn:hover, .search-widget-hotsearch .widget-btns .btn:hover, .group-sidebar .widget-talk .widget-btns .btn {
    background: #ff6000;
    color: #fff;
}
.author-name count{
    display:none;
}
 
.item-author .item-bottom-title {
    font-size: 14px;
    color: #b5b5b5;
    font-weight: normal;
    
}

.item-author .item-bottom {
    font-size: 14px;
    position: relative;
    z-index: 1;
   margin-top:10px;
    height: auto;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.item-author .ap-item {
    font-size: 14px;
}

.home-authors .item-tobe-author .item-btns a:first-child {
    color: #fff!important;
}

.home-authors .item-tobe-author .item-btns a:last-child {
    color: #ff6000!important;
}

.home-authors .item-tobe-author .item-btns a:visited {
    color: inherit;
}
.item-author .ap-item {
    font-size: 12px;
    
}
 
.item-author .ap-item-wrap.has-thumb {
    padding-left: 42%;
     
}
.item-author .ap-item-wrap {
    display: block;
    position: relative;
}
 
.item-author .ap-item-wrap .ap-item-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    height:100%;
}

.item-author .ap-item-wrap .ap-item-thumb .thumb {
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    padding-top: 70%;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.item-author .ap-item-wrap.has-thumb .ap-item-title {
   height: 40px;
    overflow: hidden;
    font-weight: normal;
    line-height: 20px;
}
 
.item-author .ap-item-wrap .ap-item-title {
    font-size: 14px;
}

.item-author .ap-item-wrap .ap-item-meta {
    font-size: 11px;
}

.home-authors .item-tobe-author .item-wrap {
    background-image: url("../../img/65afe5b993334.jpg");
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-background-origin: top center;
    background-origin: top center;
    background-repeat: no-repeat;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
}

.home-authors .item-tobe-author .tobe-author-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 30px 20px 20px;
}

.home-authors .item-tobe-author .tobe-author {
    background-color: var(--main-bg-color) ;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.home-authors .item-tobe-author .item-title {
      color: #ff6000;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.home-authors .item-tobe-author .item-title a {
    display: block;
    color: var(--muted-color);
}

.home-authors .item-tobe-author .item-cont {
    font-size: 16px;
    line-height: 28px;
}

.home-authors .item-tobe-author .item-cont .meta-views{
    font-size:14px;
}

.home-authors .item-tobe-author .item-cont {
    font-size: 16px;
    color: var(--muted-color);
    line-height: 24px;
}
 
.home-authors .item-tobe-author .item-cont .count {
    margin-bottom: 10px;
}

.home-authors .item-tobe-author .item-cont .count strong {
    font-size: 40px;
    color: #ff6000;
}

.home-authors .item-tobe-author .item-cont .count span {
    font-size: 16px;
}

.home-authors .item-tobe-author .item-btns {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    text-align: center;
}

.home-authors .item-tobe-author .item-btns .btn:first-child {
    padding:10px;
     
}

.home-authors .item-tobe-author .item-btns .btn:last-child {
       width: 46%;
    display: inline-block;
    line-height: 20px;
    border: 1px #ff6000 solid;
    padding: 10px;
    
    
}

.btn-orange, .widget-talk .talk-item .talk-wrap:hover .btn, .list-item-home-news .widget-btns .btn:hover, .listitem-widget-job .widget-btns .btn:hover, .list-item-home-job .widget-btns .btn:hover, .search-widget-hotsearch .widget-btns .btn:hover, .group-sidebar .widget-talk .widget-btns .btn {
    background: #ff6000;
    color: #fff;
}

.home-authors .item-tobe-author .item-btns .btn {
    width: 46%;
    display: inline-block;
    line-height: 20px;
}

.btn-orange-border, .talk-singular-prev-next .item-backhome .item-content .btn {
    background-color: transparent;
    color: #ff6000;
    border: 1px solid #ff6000;
}

.ap-item-meta .cat:before {
    content: '#';
    line-height: 19px;
    width: 19px;
    height: 19px;
    margin-right: 5px;
    color: #fe2c55;
    text-align: center;
    float: left;
    background: rgba(254, 44, 85, 0.2);
    border-radius: 50%;
    display: block;
    left: 0;
}

/* ===== 人气作者榜 头像 + 头像框 优化 =====
 * 头像框通过 ::after 用 transform 外扩渲染，需要比头像本体更大的可见空间。
 * 旧样式用 overflow:hidden 与固定的 50px 圆框裁剪，导致外扩的头像框被裁掉、
 * 排名角标压住头像框、VIP 徽章盖在头像框左下角装饰上。
 * 这里给头像区留出内边距，统一头像框容器尺寸，并重新摆放角标与 VIP 徽章。 */

/* 头像容器：保留绝对定位（贴合右侧作者信息），留出外扩空间、允许框溢出 */
.item-author .author-avatar {
    width: 58px;
    height: auto;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    isolation: isolate;
}

/* 头像框容器铺满 58px；不再被旧圆框的 border/box-sizing 干扰 */
.item-author .author-avatar .panda-avatar-frame {
    --paf-size: 58px;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
}

/* 头像框内部头像：去掉旧的黄色 2px 圆框，避免出现"框中框" */
.item-author .author-avatar .panda-avatar-frame .avatar {
    height: 100%;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
}

/* 兼容未佩戴头像框的普通头像：沿用 58px 圆形外观，不再裁剪。
 * 选择器与旧规则 .home-authors .item .author-avatar .avatar 对齐，
 * 避免旧的橙色描边 (--theme) 覆盖，统一为与头像框协调的金色描边。 */
.item-author .author-avatar > .avatar,
.home-authors .item .author-avatar > .avatar,
.home-authors .item .author-avatar .avatar {
    width: 58px;
    height: 58px;
    padding: 0;
    border: 2px solid #ffbc00;
    border-color: #ffbc00;
    border-radius: 50%;
    box-sizing: border-box;
    object-fit: cover;
}

/* 排名角标（01~07）：显示在头像正上方水平居中。
 * 背景为 60x41 的橙色皇冠图；用固定尺寸的方形容器，背景 contain 居中，
 * 文字用 flex 居中并略微下移，落在皇冠主体的视觉中心。
 * 定位：left:50% + translateX(-50%) 让角标相对头像水平居中；top 负值使其骑在头像上边线上。
 * 注：01~07 的编号文案仍由上方 .home-authors .item:nth-child(n) 规则提供，此处不再设置 content。 */
.item-author .author-avatar::after {
    position: absolute;
    left: 50%;
    top: -15px;
    bottom: auto;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    width: 26px;
    height: 26px;
    padding-bottom: 6px;
    background-image: url("../../img/65afe5b99031b.png");
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transform-origin: center top;
    -ms-transform-origin: center top;
    transform-origin: center top;
    z-index: 5;
    pointer-events: none;
}

/* 佩戴头像框时：无需额外抬高，角标与普通头像保持同样的位置（头像正上方居中），
 * 仅靠更高的 z-index 保证始终显示在头像框之上即可，直接压在框体上也自然。 */

/* VIP 徽章定位到头像右下角，避免遮挡头像框左下角的装饰 */
.item-author .author-avatar > .avatar-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    left: auto;
    top: auto;
    width: 22px;
    height: 22px;
    z-index: 4;
    border: 2px solid var(--main-bg-color);
    border-radius: 50%;
    background-color: var(--main-bg-color);
    box-sizing: border-box;
    object-fit: contain;
}

/* 头像放大后，作者名/信息区同步留出与头像等宽的间距，避免文字压到头像框 */
.item-author .author-main {
    padding-left: 66px;
}

/* 卡片内部裁切改由右侧圆角容器负责，但不能裁掉头像框：
 * 让 item-top 允许溢出，仅由最外层 item-wrap 的圆角做整体裁切（下方已关闭）。 */
.item-author .item-top {
    overflow: visible;
}

/* 头像框外扩高度有限，整体卡片保留圆角但放开 overflow，
 * 这样头像框上沿不会被卡片顶部切掉。 */
.item-author .item-wrap {
    overflow: visible;
    padding-top: 26px;
}

/* 放开裁切后，用圆角背景元素本身承接视觉边界，避免内容溢出卡片圆角 */
.item-author .item-bg {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

/* ===== 「人气作者」卡内的叠排小头像（meta-avatars）优化 =====
 * 该处混排了「带头像框的 span + 若干普通 img」。旧规则只针对 img，
 * 导致头像框尺寸/描边/叠排位移都与普通头像不一致，视觉错位。
 * 这里统一：所有项同一 30px 圆环 + 白边 + 左侧叠压；
 * 头像框项作为占位 30px、其外扩装饰允许溢出显示。 */

/* 容器：改为 flex 行，垂直居中，统一相邻叠压的层叠顺序 */
.item-tobe-author .meta-avatars {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 0;
}

/* 普通头像：与旧规则一致的 30px 白边圆环、左侧 -10px 叠排 */
.item-tobe-author .meta-avatars > img {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-left: -10px;
    border: 3px solid var(--main-bg-color);
    border-radius: 50%;
    box-sizing: border-box;
    object-fit: cover;
    overflow: hidden;
    vertical-align: middle;
    background-color: var(--main-bg-color);
}

/* 带头像框项：作为 30px 的占位盒子，参与同样的叠排与白边，
 * 内部头像填满，外扩的头像框装饰通过 overflow:visible 溢出显示。 */
.item-tobe-author .meta-avatars > .panda-avatar-frame {
    --paf-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-left: -10px;
    padding: 0;
    border-radius: 50%;
    overflow: visible;
    vertical-align: middle;
}

/* 带白边圆形分隔，叠压时相邻头像之间更清爽：让靠左的项压在上面 */
.item-tobe-author .meta-avatars > * {
    position: relative;
    border-radius: 50%;
    z-index: 3;
}
.item-tobe-author .meta-avatars > *:nth-child(2) { z-index: 2; }
.item-tobe-author .meta-avatars > *:nth-child(3) { z-index: 1; }
.item-tobe-author .meta-avatars > *:nth-child(n+4) { z-index: 0; }

/* 头像框项同样带一圈与其它头像一致的白边，并保持在最上层，装饰完整不被相邻项盖住 */
.item-tobe-author .meta-avatars > .panda-avatar-frame {
    box-shadow: 0 0 0 3px var(--main-bg-color);
    z-index: 4;
    background: var(--main-bg-color);
}

/* 头像框内的头像撑满占位、圆形裁切，并保证在框内居中（消除默认 margin 造成的偏移） */
.item-tobe-author .meta-avatars > .panda-avatar-frame > .avatar {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
}

/* 叠排首项不左移，避免被容器裁掉 */
.item-tobe-author .meta-avatars > *:first-child {
    margin-left: 0;
}
