/* ============================================
   从模板循环中提取的内联样式（避免重复输出）
   优化页面加载速度 - 2026-09-22
   ============================================ */

/* === 来自 index.html news 循环 - img-mask-text === */
.img-mask-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 15px;
    box-sizing: border-box;
    z-index: 999;
}

/* === 来自 index.html news 循环 - ratesli === */
.ratesli {
    margin-right: 73px;
    margin-top: -7px;
    cursor: pointer;
    background: #00000026;
    transition: all 0.3s ease 0s;
    font-weight: normal;
    display: inline-block;
    padding: 9px 22px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 0;
    font-family: 'Akrobat';
    font-size: 16px;
    line-height: 1;
}

/* === 来自 index.html dance 循环 - ai-glow === */
.ai-glow {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 10px;
}

/* === 来自 index.html - allegro 专题卡片 === */
.allegro-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.allegro-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.allegro-item {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.allegro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #ff5a00;
}
.allegro-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.allegro-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.allegro-item:hover .allegro-img-wrapper img {
    transform: scale(1.1);
}
.allegro-text {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.allegro-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.allegro-action {
    display: inline-block;
    margin-top: 10px;
    color: #ff5a00;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .allegro-grid {
        flex-direction: column;
        gap: 15px;
    }
    .allegro-item {
        flex-direction: row;
        height: 110px;
        align-items: center;
    }
    .allegro-img-wrapper {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
    }
    .allegro-text {
        text-align: left;
        padding: 10px;
    }
    .allegro-name {
        font-size: 13px;
    }
}

/* === 来自 head.html - playlista 按钮 === */
.playlista {
    cursor: pointer;
    transition: all 0.3s ease 0s;
    color: #fff;
    font-weight: normal;
    display: inline-block;
    padding: 10px 18px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 0;
    background: #c57235;
    font-family: 'Akrobat';
    font-size: 16px;
    height: 37px;
    line-height: 1;
}

/* === 来自 bottom.html - button-container === */
.button-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-family: sans-serif;
    font-weight: bold;
    transition: opacity 0.3s;
}
.btn-link i {
    margin-right: 10px;
}
.btn-link:hover {
    opacity: 0.85;
}
.btn-playlist {
    background-color: #9c27b0;
}
.btn-contact {
    background-color: #00bcd4;
}
.btn-music {
    background-color: #0866FF;
}
.btn-ads {
    background-color: #ff9800;
}

/* === 来自 left.html - species-cat === */
.species-cat {
    cursor: pointer;
    height: 35px;
    box-shadow: none;
    width: 93px;
    background-color: #00000026;
    color: #000;
    margin-bottom: 4px;
    padding: 1px 1px;
}

/* === 来自 left.html - mp3 列表 === */
.mp3-list-row-final {
    display: block !important;
    position: relative !important;
    height: 88px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    text-align: left !important;
    overflow: hidden !important;
    font-family: 'Segoe UI', system-ui, sans-serif !important;
}
.mp3-list-row-final:hover {
    background: #f8fafc !important;
    border-color: #2196f3 !important;
}
.mp3-final-cover {
    position: absolute !important;
    left: 14px !important;
    top: 15px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mp3-final-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.mp3-final-details {
    position: absolute !important;
    left: 84px !important;
    top: 14px !important;
    width: calc(100% - 144px) !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.mp3-final-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    height: 34px !important;
}
.mp3-list-row-final:hover .mp3-final-title {
    color: #2196f3 !important;
}
.mp3-final-meta {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 18px !important;
    font-size: 11px !important;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mp3-final-meta span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
}
.mp3-cat-style {
    max-width: 65% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.mp3-final-meta i {
    color: #94a3b8 !important;
    font-size: 11px !important;
}
.mp3-likes-style {
    font-weight: 600 !important;
}
.mp3-final-btn {
    position: absolute !important;
    right: 14px !important;
    top: 24px !important;
    width: 38px !important;
    height: 38px !important;
    background: #10b981 !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    display: block !important;
    text-align: center !important;
    line-height: 38px !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mp3-final-btn:hover {
    background: #059669 !important;
}
.mp3-final-btn i {
    font-size: 14px !important;
    color: #ffffff !important;
    display: inline-block !important;
    line-height: 38px !important;
}

/* === 来自 left.html - aside_bl_modern === */
.aside_bl_modern {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.aside_title_modern {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.text_blue_modern {
    color: #2196f3 !important;
}
.btn_modern_link {
    text-decoration: none !important;
    display: inline-block !important;
    width: 100% !important;
}
.btn_modern {
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    border: 1px solid #e2e8f0 !important;
}
.btn_modern:hover {
    background: #2196f3 !important;
    color: #ffffff !important;
    border-color: #2196f3 !important;
}
