/* ============= 推荐区样式 ============= */
#qc {
    padding: 0;
    display: flex;
    min-height: 0;
    margin-bottom: 0;
    background: transparent;
    border: none;
    align-items: center;
    background: rgba(245, 245, 245, 0.7);
    border-radius: 10px;
    padding: 1px;
}

.qc_ren {
    width: 25px;
    background: #e6009a41;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 5px;
    height: 110px;
}

.qc_ren_inner {
    writing-mode: vertical-rl;
    letter-spacing: 5px;
    font-size: 12px;
    color: rgb(88, 58, 77);
    text-align: center;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    padding: 10px 0;
    white-space: nowrap;
    line-height: 1.2;
}

.jhlist {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    gap: 0;
    flex: 1;
    padding: 0;
    align-items: center;
}

.qc_apg_item {
    width: 25%;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 5px;
}

.qc_apg_icon {
    width: 53px;  /* 增大3px */
    height: 53px;  /* 增大3px */
    border-radius: 9px;
    overflow: hidden;
    background: #f5f5f5;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.qc_apg_icon img {
    width: 93%;
    height: auto;
    max-height: 93%;
    object-fit: contain;
}

.qc_apg_text h2 {
    font-size: 0.7rem;
    font-weight: normal;
    color: #444;
    margin-top: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* ============= 文字按钮 ============= */
.fontlist {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: none;
    background: rgba(245, 245, 245, 0.7);
    border-radius: 10px;
    padding: 10px 5px;
}

.fontlistson {
    flex: 0 0 25%;
    padding: 2px;
    box-sizing: border-box;
}

.button {
    margin: 0; 
    text-decoration: none;            
    font: 600 15px "Microsoft YaHei", sans-serif;
    display: block;             
    color: #fff;                         
    border: none;                                  
    width: 100%;
    height: 30px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    line-height: 30px;
}

.button-green { background: #428739; }
.button-blue { background: #4477a1; }
.button-orange { background: #f09c15; }
.button-red { background: #D82741; }
.button-purple { background: #6F50E7; }
.button-black { background: #141414; }
.button-silver { 
    background: #c5c5c5; 
    color: #333;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

/* ============= 公告栏 ============= */
.scrolling-notice {
    background-color: #000;
    border: 2px solid #FF69B4;
    height: 30px;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    border-radius: 999px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.4);
}

.scrolling-content {
    display: inline-block;
    white-space: nowrap;
    line-height: 30px;
    font-size: 18px;
    padding-left: 100%;
    background: linear-gradient(90deg, 
        #FF0000, #FF69B4, #00FFFF, #00FF00, #FFFF00, #FF0000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 600% 100%;
    position: absolute;
    top: 0;
    font-weight: bold;
    animation: scroll 15s linear infinite, colorFlash 1.5s linear infinite;
}

/* 动画定义 */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes colorFlash {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ============= 响应式调整 ============= */
@media (max-width: 480px) {
    .fontlistson {
        flex: 0 0 50%;
        padding: 1px;
        box-sizing: border-box;
    }
    
    .button {
        height: 20px;
        line-height: 20px;
        font-size: 13px;
        border-radius: 5px;
    }
    
    .qc_ren { 
        width: 18px;
        height: 80px;
    }
    .qc_ren_inner {
        font-size: 10px;
        padding: 6px 0;
    }
    .qc_apg_text h2 {
        font-size: 0.6rem;
    }
    .qc_apg_item {
        width: 25%;
    }
    .qc_apg_icon {
        width: 50px;
        height: 50px;
    }
}