﻿/*!
 * Edition v2.0 Copyright 2016-2018 http://v.shoutu.cn
 * Email 726662013@qq.com,admin@shoutu.cn
 */
@charset "utf-8";

/* ==================== 全局暖色浪漫风格 ==================== */
body {
    background: #FFF8F5 !important;
    color: #5D4037 !important;
}

/* 文字颜色 */
a, h1, h2, h3, h4, h5, h6 {
    color: #5D4037 !important;
}
a:hover {
    color: #FF8C42 !important;
}
.text-red {
    color: #FF6B35 !important;
}
.text-muted {
    color: #8D6E63 !important;
}

/* 表单 */
.form-control {
    background-color: #FFE4E1 !important;
    color: #5D4037 !important;
    border: 1px solid #D7CCC8 !important;
}
.form-control.colorfff {
    background-color: #FFFFFF !important;
}
.form-control:focus {
    border-color: #FF8C42 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(255, 140, 66, .075), 0 0 8px rgba(255, 140, 66, .3) !important;
    box-shadow: inset 0 1px 1px rgba(255, 140, 66, .075), 0 0 8px rgba(255, 140, 66, .3) !important;
}

/* 按钮 */
.btn, .btn:hover, .btn .icon {
    color: #5D4037 !important;
}
.btn {
    border: 1px solid #D7CCC8 !important;
}
.btn-default {
    background-color: #FFE4E1 !important;
}
.btn-default:hover {
    background-color: #FFD1DC !important;
}
.btn-primary {
    background-color: #FF8C42 !important;
    border: 1px solid #FF8C42 !important;
    color: #FFFFFF !important;
}
.btn-primary .icon {
    color: #FFFFFF !important;
}
.btn-primary:hover {
    background-color: #FF6B35 !important;
    border: 1px solid #FF6B35 !important;
}

/* 下拉菜单 */
.dropdown-menu {
    background-color: #FFFFFF !important;
    border: 1px solid #D7CCC8 !important;
}
.dropdown-menu:before {
    background-color: #FFFFFF !important;
    border-color: #D7CCC8 !important;
}
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
    background-color: #FF8C42 !important;
    color: #FFFFFF !important;
}

/* 分割线 */
.split-line {
    background-color: #D7CCC8 !important;
}
.top-line:before {
    border-top: 1px solid #D7CCC8 !important;
}
.bottom-line:after {
    border-bottom: 1px solid #D7CCC8 !important;
}
.top-line-dot:before {
    border-top: 1px dotted #D7CCC8 !important;
}
.bottom-line-dot:before {
    border-bottom: 1px dotted #D7CCC8 !important;
}

/* 徽章 */
.badge {
    background-color: #FFE4E1 !important;
    color: #5D4037 !important;
}
.badge-first {
    background-color: #FF6B35 !important;
    color: #FFFFFF !important;
}
.badge-second {
    background-color: #FF8C42 !important;
    color: #FFFFFF !important;
}
.badge-third {
    background-color: #FFA726 !important;
    color: #FFFFFF !important;
}

/* 导航 */
.nav-head > li.active > a,
.nav-tabs > li.active > a {
    border-bottom: 2px solid #FF8C42 !important;
    color: #FF8C42 !important;
}
.nav-tag > li > a,
.nav-page > li > a {
    background-color: #FFFFFF !important;
    border: 1px solid #D7CCC8 !important;
    color: #5D4037 !important;
}
.nav-tag > li > a:hover,
.nav-tag > li.active a,
.nav-page > li > a:hover,
.nav-page > li.active > a {
    background-color: #FF8C42 !important;
    border: 1px solid #FF8C42 !important;
    color: #FFFFFF !important;
}

/* 标签 */
.tag-btn li a {
    background-color: #FFE4E1 !important;
    color: #8D6E63 !important;
}
.tag-btn li a:hover,
.tag li.active a {
    background-color: #FF8C42 !important;
    color: #FFFFFF !important;
}
.tag-type li a {
    background-color: #FFFFFF !important;
    border: 1px solid #D7CCC8 !important;
    color: #8D6E63 !important;
}
.tag-type li a:hover,
.tag-type li.active a {
    background-color: #FF8C42 !important;
    border: 1px solid #FF8C42 !important;
    color: #FFFFFF !important;
}

/* 图片标签 */
.pic-tag {
    background-color: rgba(93, 64, 55, 0.7) !important;
    color: #FFFFFF !important;
}
.pic-tag.active,
.pic-tag-h {
    background-color: #FF8C42 !important;
}
.pic-text {
    background-image: linear-gradient(transparent, rgba(93, 64, 55, 0.6)) !important;
}
.pic-text.active {
    background: rgba(93, 64, 55, 0.7) !important;
}

/* 面板与卡片 */
.stui-pannel-bg,
.stui-vodlist__bg {
    background-color: #FFE4E1 !important;
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.15) !important;
    border-radius: 12px !important;
}
.stui-vodlist__bg:hover {
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.25) !important;
}

/* 链接卡片 */
.stui-link__pic li a {
    background-color: #FFFFFF !important;
    border: 1px solid #FFE4E1 !important;
}
.stui-link__pic li a:hover {
    border: 1px solid #FF8C42 !important;
}

/* 弹窗 */
.popup {
    background-color: #FFF8F5 !important;
}
.popup-head {
    background-color: #FFE4E1 !important;
}

/* 搜索建议 */
.autocomplete-suggestions {
    background-color: #FFFFFF !important;
    border: 1px solid #D7CCC8 !important;
    box-shadow: 0 2px 10px rgba(255, 140, 66, 0.1) !important;
}
.autocomplete-suggestion {
    border-top: 1px solid #FFE4E1 !important;
}
.autocomplete-suggestion:hover {
    background-color: #FFE4E1 !important;
}

/* ==================== 移动端字体与布局优化 ==================== */
@media (max-width: 767px) {
    body {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    h1 { font-size: 22px !important; line-height: 1.4 !important; }
    h2 { font-size: 20px !important; line-height: 1.4 !important; }
    h3 { font-size: 18px !important; line-height: 1.4 !important; }
    h4 { font-size: 16px !important; line-height: 1.4 !important; }
    h5 { font-size: 15px !important; line-height: 1.4 !important; }
    h6 { font-size: 14px !important; line-height: 1.4 !important; }

    /* 卡片间距 */
    .col-pd, [class*=col-] {
        padding: 6px !important;
    }
    .stui-pannel {
        margin-bottom: 12px !important;
    }

    /* 缩略图圆角 */
    .stui-vodlist__thumb {
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    /* 分类标签圆角 */
    .tag-type li a {
        border-radius: 20px !important;
        padding: 6px 14px !important;
        background: #FFE4E1 !important;
        border: 1px solid #D7CCC8 !important;
    }
    .tag-type li.active a,
    .tag-type li a:hover {
        background: #FF8C42 !important;
        border-color: #FF8C42 !important;
        color: #fff !important;
    }

    /* 表单 */
    .form-control {
        background-color: #FFF8F5 !important;
        border: 0 !important;
    }

    /* 面板阴影移除 */
    .stui-pannel-bg,
    .stui-vodlist__bg,
    .stui-vodlist__bg:hover {
        box-shadow: none !important;
    }

    /* 移动端分割线 */
    .m-top-line:before {
        border-top: 1px solid #D7CCC8 !important;
    }
    .m-bottom-line:after {
        border-bottom: 1px solid #D7CCC8 !important;
    }
    .m-top-line-dot:before {
        border-top: 1px dotted #D7CCC8 !important;
    }
    .m-bottom-line-dot:before {
        border-bottom: 1px dotted #D7CCC8 !important;
    }
}

/* ==================== 头部导航暖色美化 ==================== */
.stui-header__top {
    background: linear-gradient(90deg, #FFE4E1 0%, #FFF8F5 100%) !important;
    border-bottom: 1px solid #D7CCC8 !important;
    border-radius: 0 0 15px 15px !important;
    box-shadow: 0 3px 10px rgba(255, 140, 66, 0.1) !important;
}
.stui-header__menu li a {
    color: #5D4037 !important;
    font-weight: 500 !important;
}
.stui-header__menu li.active a {
    color: #FF8C42 !important;
}
.stui-header__menu li.active a:before {
    background-color: #FF8C42 !important;
}

/* ==================== 友情链接呼吸灯暖色版 ==================== */
.link-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    clear: both;
    max-width: 1200px;
    margin: 0 auto;
}
.custom-link {
    width: calc(33.33% - 20px);
    margin: 10px;
    padding: 6px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    color: #5D4037 !important;
    transition: all 0.3s ease;
    border-radius: 10px;
    border: 1px solid #D7CCC8;
    background: linear-gradient(135deg, #FFE4E1 0%, #FFD1DC 100%);
    animation: breathe 2.5s infinite alternate;
}
@media screen and (max-width: 768px) {
    .custom-link {
        width: calc(50% - 20px);
    }
}
@keyframes breathe {
    0% {
        background-color: #FFE4E1;
        box-shadow: 0 0 8px rgba(255, 140, 66, 0.2);
    }
    100% {
        background-color: #FFD1DC;
        box-shadow: 0 0 15px rgba(255, 140, 66, 0.35);
    }
}
.custom-link:hover {
    background: #FF8C42 !important;
    color: #FFFFFF !important;
    border-color: #FF8C42 !important;
    box-shadow: 0 0 12px rgba(255, 140, 66, 0.4) !important;
}

/* ==================== 其他模块暖色适配 ==================== */
.stui-screen__list li.active a {
    background-color: #FF8C42 !important;
    color: #FFFFFF !important;
}
.stui-content__playlist li a:hover,
.stui-content__playlist li.active a {
    border: 1px solid #FF8C42 !important;
    background-color: #FF8C42 !important;
    color: #FFFFFF !important;
}
.stui-page li a:hover,
.stui-page li.active a,
.stui-page li.active .num {
    background-color: #FF8C42 !important;
    color: #FFFFFF !important;
    border: 1px solid #FF8C42 !important;
}
.stui-extra li a.backtop {
    background-color: rgba(93, 64, 55, 0.7) !important;
}