@charset "utf-8";
/* ==================================================
   苹果CMS 系统基础功能扩展 完整兜底官方原生JS组件
   ================================================== */
.lazy { 
    background: url('../images/home/loading.gif') center no-repeat; 
}


.down-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
}

.down-title-left {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sort-order-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    background: #f1f5f9 !important;
    border: 1px solid transparent !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

.sort-order-btn svg {
    width: 12px !important;
    height: 12px !important;
    stroke: #64748b !important;
    stroke-width: 2.2 !important;
    transition: stroke 0.2s ease, transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

.sort-order-btn:hover,
.sort-order-btn:active {
    background: #e2e8f0 !important;
    color: #1481eb !important;
}

.sort-order-btn:hover svg,
.sort-order-btn:active svg {
    stroke: #1481eb !important;
    transform: scale(1.08) !important;
}

.sort-order-btn:active {
    transform: scale(0.93) !important;
}


.mac_pop_bg { 
    position: fixed; 
    z-index: 99998; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, .5); 
}

.mac_pop {
    z-index: 99999 !important;
    display: none;
    width: calc(100vw - 32px) !important;
    max-width: 320px !important;
    height: auto !important;
    min-height: unset !important;
    max-height: 90vh !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 16px !important;
    border-radius: 14px !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
.mac_pop .pop_top { display: none !important; }
.mac_pop .pop_content { padding: 0 !important; margin: 0 !important; width: 100% !important; }


.mac_drop_box {
    text-align: left; 
    padding: 8px; 
    margin-top: 8px; 
    border: 1px solid #edf0f5; 
    border-radius: 8px;
    clear: both; 
    display: none; 
    position: absolute; 
    background-color: #ffffff; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
}
.mac_user_box { width: 110px; margin-left: -20px; }
.mac_user_box ul li { margin: 4px 0; font-size: 13px; }

.mac_history_box { width: 200px; margin-left: -20px; }
.mac_history_box dt { 
    text-align: right; 
    padding-right: 10px; 
    height: 26px; 
    line-height: 26px; 
    border-bottom: 1px solid #f1f5f9; 
    cursor: pointer; 
    font-size: 12px;
}
.mac_history_box dt a { color: #334155; }
.mac_history_box dd { 
    clear: both; 
    margin: 0px; 
    height: 26px; 
    line-height: 26px; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    overflow: hidden; 
    padding: 0 6px; 
    font-size: 12px;
}
.mac_history_box dd a { color: #334155; text-decoration: none; display: block; }
.mac_history_box dd a:hover { color: #1481eb; }


.mac_comment i.icon-ding, .mac_digg i.icon-ding { 
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/home/up1.png") center/contain no-repeat; 
}
.mac_comment i.icon-ding:hover, .mac_digg i.icon-ding:hover { 
    background: url("../images/home/up2.png") center/contain no-repeat; 
}
.mac_comment i.icon-dw, .mac_digg i.icon-dw { 
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/home/dw1.png") center/contain no-repeat; 
}
.mac_comment i.icon-dw:hover, .mac_digg i.icon-dw:hover { 
    background: url("../images/home/dw2.png") center/contain no-repeat; 
}
.mac_comment .expression { 
    background: url("../images/home/emotion2.png") no-repeat 0px 0px !important; 
    width: 18px !important; 
    height: 16px !important; 
    display: block !important; 
    cursor: pointer !important; 
}
.mac_digg a { margin-right: 10px; color: #94a3b8; text-decoration: none; font-size: 12px; }
.mac_digg a:hover { color: #1481eb; }


.mac_star { font-weight: normal; }
.mac_star dt { color: #94a3b8; font-size: 13px; float: left; margin-top: 2px; }
.mac_star .star_tips { font-size: 16px; color: #ffaa00; font-weight: bold; margin-left: 6px; }
.mac_star i { 
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../images/home/starrating.gif") no-repeat; 
    cursor: pointer; 
    vertical-align: middle; 
}
.mac_star i.star-half-png, .mac_star i.star-on-png { background-position: 0 -35px; }


.mac_art_digg { width: 100%; max-width: 380px; margin: 15px auto; clear: both; overflow: hidden; }
.mac_art_digg .digg_artup, .mac_art_digg .digg_artdown { 
    background: url('../images/home/digg_art.gif') no-repeat -189px 0; 
    border: 0; 
    cursor: pointer; 
    float: left; 
    height: 48px; 
    position: relative; 
    width: 48%; 
}
#digg_artup_num, #digg_artdown_num { 
    color: #333333; 
    font-family: inherit; 
    font-size: 11px; 
    left: 70px; 
    line-height: 12px; 
    position: absolute; 
    top: 28px; 
}
.mac_art_digg .digg_bar { 
    background-color: #ffffff; 
    border: 1px solid #40a300; 
    height: 5px; 
    left: 9px; 
    position: absolute; 
    top: 32px; 
    width: 55px; 
}
.mac_art_digg.digg_bar div { 
    background: transparent url('../images/home/digg_art_bg.gif') repeat-x scroll 0 -265px; 
    height: 5px; 
}
.mac_art_digg .digg_artdown { 
    background-position: -378px 0; 
    float: right; 
}
.mac_art_digg .digg_artdown .dig_bar { border-color: #555555; }