/**
 * default 模板全站统一视觉（克制版，与 genre-filter 同系）
 * 加载于 public.css 之后
 */
:root {
    --jy-panel-bg: transparent;
    --jy-panel-border: transparent;
    --jy-panel-radius: 0;
    --jy-panel-shadow: none;
    --jy-chip-bg: transparent;
    --jy-chip-border: transparent;
    --jy-chip-color: #999;
    --jy-chip-hover-bg: transparent;
    --jy-text-muted: #999;
    --jy-text-soft: #b8b8b8;
}

/* ========= 主内容区：扁平无外框 ========= */
.page_body:not(.mix-page) {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.sort_list_left_ct,
.sort_list_right {
    padding: 16px 18px;
}

/* ========= 面包屑 ========= */
.path_ico i {
    color: var(--primary-color, #db1d40);
    opacity: 0.85;
}

.path_ct {
    color: var(--jy-text-soft);
    line-height: 1.6;
}

.path_ct a:hover {
    color: var(--primary-color, #db1d40);
}

.lines {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ========= 筛选条 list_fenlei：扁平 ========= */
#f2 .list_fenlei {
    margin-bottom: 6px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

#f2 .list_fenlei:first-of-type {
    border-left: none;
}

#f2 .list_fenlei .list_tl {
    float: none;
    width: auto;
    height: auto;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-indent: 0;
    background: none;
    font-size: 12px;
    font-weight: normal;
    color: #999;
    border-bottom: none;
}

#f2 .list_fenlei .list_tl::before {
    display: none;
}

#f2 .list_fenlei .list_tr {
    width: auto;
    float: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
}

#f2 .list_fenlei .list_tr li {
    float: none;
    margin: 0;
    padding: 0;
    white-space: normal;
}

#f2 .list_fenlei .list_tr .flof,
#f2 .list_fenlei .list_tr .flon {
    float: none;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

#f2 .list_fenlei .list_tr a {
    display: inline-block;
    padding: 3px 8px;
    line-height: 1.35;
    font-size: 12px;
    color: #999;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

#f2 .list_fenlei .list_tr a:hover {
    color: #d1cfcf;
    background: none;
    border: none;
}

#f2 .list_fenlei .list_tr .flon a,
#f2 .list_fenlei .list_tr .flon a:link,
#f2 .list_fenlei .list_tr .flon a:visited,
#f2 .list_fenlei .list_tr .flon a:hover {
    color: #fff !important;
    background: var(--primary-color, #db1d40) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ========= 排序 Tab：扁平 ========= */
#f2 #hothaomenu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 10px;
}

#f2 #hothaomenu a {
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 3px 8px;
    line-height: 1.35;
    border-radius: 0;
    opacity: 1;
}

#f2 #hothaomenu .pxof {
    border: none;
    border-right: none;
    background: none;
}

#f2 #hothaomenu .pxof a:link,
#f2 #hothaomenu .pxof a:visited {
    color: #999;
}

#f2 #hothaomenu .pxof a:hover {
    color: #d1cfcf;
    background: none;
}

#f2 #hothaomenu .pxon {
    background: var(--primary-color, #db1d40);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#f2 #hothaomenu .pxon a:link,
#f2 #hothaomenu .pxon a:visited,
#f2 #hothaomenu .pxon a:hover {
    color: #fff !important;
}

/* ========= 歌曲列表表格：扁平 ========= */
#f2 .list_musiclist {
    border: none;
    border-radius: 0;
    overflow: visible;
    border-collapse: collapse;
    border-spacing: 0;
}

#f2 .list_musiclist th {
    background: transparent;
    color: var(--jy-text-soft);
    font-weight: 600;
    border-bottom: 1px solid #2a2a2a;
}

#f2 .list_musiclist tr.sbg td,
#f2 .list_musiclist tr.dbg td {
    transition: background 0.15s ease;
}

#f2 .list_musiclist tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

#f2 .list_controllbox {
    margin-top: 12px;
    padding: 8px 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* ========= 分页 ========= */
#f2 .list_split_page {
    margin-top: 16px;
}

#f2 .list_split_page li a,
#f2 .list_split_page li span {
    border-radius: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

#f2 .list_split_page li a:hover {
    color: var(--primary-color, #db1d40);
}

/* ========= 右侧榜单位：保留 public.css 奖杯标题，仅微调间距 ========= */
#f2 .sort_list_right .index-rank-title {
    float: left;
    width: auto;
    height: 44px;
    padding: 0;
    margin-bottom: 8px;
    background: url(../images/rank.png) no-repeat;
    background-size: 32px 32px;
    background-position: left top 6px;
    border: none;
    border-radius: 0;
    line-height: 0;
    box-sizing: border-box;
}

#f2 .sort_list_right .index-rank-title span {
    margin-left: 38px;
    font-size: 16px;
    line-height: 32px;
    color: var(--secondary-color, #e8e8e8);
}

#f2 .sort_list_right .index-rank-title p {
    margin-left: 38px;
    margin-top: 0;
    font-size: 10px;
    color: var(--jy-text-muted, #888);
}

#f2 .sort_list_right .list_hot_down {
    padding: 4px 0;
    overflow: visible;
}

#f2 .sort_list_right .list_hot_down dl {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    clear: both;
    height: auto;
    min-height: 40px;
    padding: 4px 6px;
    margin-bottom: 2px;
    overflow: hidden;
    border-radius: 0;
    transition: background 0.15s ease;
}

#f2 .sort_list_right .list_hot_down dl:hover {
    background: rgba(255, 255, 255, 0.04);
}

#f2 .sort_list_right .list_hot_down dl dt {
    float: none;
    flex: 0 0 38px;
    width: 38px;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

#f2 .sort_list_right .list_hot_down dl dd {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: none;
    margin: 0;
    height: auto;
    overflow: hidden;
}

#f2 .sort_list_right .list_hot_down dl dd a:link,
#f2 .sort_list_right .list_hot_down dl dd a:visited {
    color: #b8b8b8;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.35;
}

#f2 .sort_list_right .list_hot_down dl dd a:hover {
    color: #fff;
}

#f2 .sort_list_right .list_hot_down dl .num1 {
    color: #e02525;
}

#f2 .sort_list_right .list_hot_down dl .num2 {
    color: #12b8cc;
}

#f2 .sort_list_right .list_hot_down dl .num3 {
    color: #94d500;
}

#f2 .sort_list_right .list_hot_down dl .num4,
#f2 .sort_list_right .list_hot_down dl .num5,
#f2 .sort_list_right .list_hot_down dl .num6,
#f2 .sort_list_right .list_hot_down dl .num7,
#f2 .sort_list_right .list_hot_down dl .num8,
#f2 .sort_list_right .list_hot_down dl .num9,
#f2 .sort_list_right .list_hot_down dl .num10 {
    color: #7a8494;
}

/* ========= 分类 / 独家列表：左栏自适应、右栏加宽，表格列宽收紧 ========= */
#f2.page-ranks-sole .page_body,
#f2.genre-list-page .page_body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#f2.page-ranks-sole .sort_list_left,
#f2.genre-list-page .sort_list_left {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

#f2.page-ranks-sole .sort_list_right,
#f2.genre-list-page .sort_list_right {
    float: none;
    flex: 0 0 252px;
    width: 252px;
    margin-left: 0;
}

#f2.page-ranks-sole .sort_list_left_ct,
#f2.genre-list-page .sort_list_left_ct {
    padding: 15px 12px;
}

#f2.page-ranks-sole .sort_list_right,
#f2.genre-list-page .sort_list_right {
    padding: 15px 12px;
}

#f2.page-ranks-sole .list_musiclist,
#f2.genre-list-page .list_musiclist {
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(1),
#f2.page-ranks-sole .list_musiclist td:nth-child(1),
#f2.genre-list-page .list_musiclist th:nth-child(1),
#f2.genre-list-page .list_musiclist td:nth-child(1) {
    width: 28px;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(2),
#f2.page-ranks-sole .list_musiclist td:nth-child(2),
#f2.genre-list-page .list_musiclist th:nth-child(2),
#f2.genre-list-page .list_musiclist td:nth-child(2) {
    width: 52px;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(3),
#f2.page-ranks-sole .list_musiclist td:nth-child(3),
#f2.genre-list-page .list_musiclist th:nth-child(3),
#f2.genre-list-page .list_musiclist td:nth-child(3) {
    width: 46%;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(4),
#f2.page-ranks-sole .list_musiclist td:nth-child(4),
#f2.genre-list-page .list_musiclist th:nth-child(4),
#f2.genre-list-page .list_musiclist td:nth-child(4) {
    width: 52px;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(5),
#f2.page-ranks-sole .list_musiclist td:nth-child(5),
#f2.genre-list-page .list_musiclist th:nth-child(5),
#f2.genre-list-page .list_musiclist td:nth-child(5) {
    width: 88px;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(6),
#f2.page-ranks-sole .list_musiclist td:nth-child(6),
#f2.genre-list-page .list_musiclist th:nth-child(6),
#f2.genre-list-page .list_musiclist td:nth-child(6) {
    width: 62px;
}

#f2.page-ranks-sole .list_musiclist th:nth-child(7),
#f2.page-ranks-sole .list_musiclist td:nth-child(7),
#f2.genre-list-page .list_musiclist th:nth-child(7),
#f2.genre-list-page .list_musiclist td:nth-child(7) {
    width: 76px;
}

/* 列表舞曲名：单行省略，避免过长被裁切不显示 */
#f2 .list_musiclist td:nth-child(3) {
    overflow: hidden;
    max-width: 0;
}

#f2 .list_musiclist .isgood_list {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 45px;
    overflow: visible;
}

#f2 .list_musiclist .isgood_list li {
    float: none;
    margin-right: 0;
}

#f2 .list_musiclist .isgood_list .list_play_img {
    flex: 0 0 40px;
    margin-right: 8px;
}

#f2 .list_musiclist .isgood_list .list_play_img_title {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
    height: auto;
    overflow: hidden;
}

#f2 .list_musiclist .isgood_list .list_play_img_title .t1 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    line-height: 22px;
    overflow: hidden;
}

#f2 .list_musiclist .isgood_list .list_play_img_title .t1 a,
#f2 .list_musiclist .isgood_list .list_play_img_title .t1 a.wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: normal;
    box-sizing: border-box;
}

#f2 .list_musiclist .isgood_list .list_play_img_title .t1 a:hover {
    display: block;
    height: auto;
}

#f2 .list_musiclist .isgood_list .list_play_img_title .t2 {
    float: none;
    clear: both;
    line-height: 18px;
    margin-top: 2px;
}


/* ========= 歌单 / 专辑 / DJ 列表页标题栏：保持 public.css 原布局 ========= */
#f2 .radio_list_left_title,
#f2 .djshow_content_type {
    padding: 0 !important;
    margin: 10px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 40px !important;
    overflow: visible !important;
}

#f2 .radio_list_left_title ul,
#f2 .djshow_content_type ul {
    display: block !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    float: right !important;
}

#f2 .radio_list_left_title ._left,
#f2 .djshow_content_type ._left {
    float: left !important;
    height: 32px !important;
    line-height: 0 !important;
}

#f2 .radio_list_left_title span,
#f2 .djshow_content_type span {
    float: left !important;
    margin-left: 38px !important;
    line-height: 30px !important;
    font-size: 16px !important;
}

#f2 .radio_list_left_title p,
#f2 .djshow_content_type p {
    margin-left: 38px !important;
    font-size: 10px !important;
    line-height: normal !important;
}

#f2 .radio_list_left_title ul .flof,
#f2 .radio_list_left_title ul .flon,
#f2 .djshow_content_type ul .flof,
#f2 .djshow_content_type ul .flon {
    float: left !important;
    margin: 10px 15px 0 0 !important;
    padding: 0 8px !important;
    line-height: 23px !important;
    background: none !important;
}

#f2 .radio_list_left_title ul .flon,
#f2 .djshow_content_type ul .flon {
    background-color: var(--primary-color, #db1d40) !important;
    border-radius: 0 !important;
}

#f2 .radio_list_left_title ul .flof a,
#f2 .radio_list_left_title ul .flon a,
#f2 .djshow_content_type ul .flof a,
#f2 .djshow_content_type ul .flon a {
    display: inline !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

#f2 .radio_list_left_title ul .flon a,
#f2 .djshow_content_type ul .flon a {
    color: #fff !important;
}

/* ========= 页脚 ========= */
.footer {
    border-top: 1px solid var(--jy-panel-border);
    margin-top: 8px;
}

.footer .width .center .friends li a {
    transition: color 0.2s ease;
}

/* ========= 回到顶部 ========= */
#top_btn a {
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(219, 29, 64, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

#top_btn a:hover {
    transform: translateY(-2px);
    background: var(--primary-color, #db1d40);
}

/* ========= 会员中心（浅色区） ========= */
body[style*="e7e8eb"] {
    margin: 0 !important;
    padding: 0 !important;
}

body[style*="e7e8eb"] .main {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow-x: visible !important;
}

body[style*="e7e8eb"] .topbanner_bg {
    margin-top: 0 !important;
}

body[style*="e7e8eb"] .mainct,
body[style*="e7e8eb"] .reg_content,
body[style*="e7e8eb"] .open_login {
    border-radius: 0;
    border: 1px solid #dcdcdc;
    box-shadow: none;
}

body[style*="e7e8eb"] .pub_tl {
    border-radius: 0;
    border-color: #e0e0e0;
}

body[style*="e7e8eb"] .table {
    border-radius: 0;
    overflow: visible;
}

body[style*="e7e8eb"] .btn-primary {
    background-color: var(--primary-color, #db1d40);
    border-color: var(--primary-color, #db1d40);
}

body[style*="e7e8eb"] .btn-primary:hover {
    background-color: #c01838;
    border-color: #c01838;
}

/* ========= 搜索框 / 顶栏（轻量） ========= */
#top_content .searchct,
#inputbox {
    border-radius: 0;
}

#searchbt {
    border-radius: 0;
}

.heard_tj_tags span a {
    padding: 2px 8px;
    border-radius: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.heard_tj_tags span a:hover {
    background: rgba(219, 29, 64, 0.15);
    color: var(--primary-color, #db1d40);
}

/* ========= 导航栏二级分类下拉：扁平无圆角框 ========= */
#top_banner .top_banner_float2 a {
    border-radius: 0;
}

#top_banner .xcls0 a {
    border: none;
    background: none;
}

#top_banner .xcls0 a:hover {
    border: none;
}

#top_banner .nav-sub-panel {
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #0d0d0d !important;
    background-image: none !important;
    border: 1px solid #2a2a2a !important;
    border-top: 2px solid var(--primary-color, #db1d40) !important;
}

#top_banner .nav-sub-panel .xcls0 a {
    border-radius: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 0 !important;
    text-align: center !important;
    transition: color 0.2s ease, background 0.2s ease;
}

#top_banner .nav-sub-panel .xcls0 a:hover {
    color: #fff !important;
    background: var(--primary-color, #db1d40) !important;
    border: none !important;
    text-decoration: none !important;
}

@media screen and (min-width: 992px) {
    #top_banner .nav-sub-panel {
        padding: 6px 0 !important;
    }

    #top_banner .nav-sub-panel .xcls0 {
        margin: 0 !important;
    }
}

@media screen and (max-width: 991px) {
    .page_body:not(.mix-page) {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    #f2 #hothaomenu a {
        min-width: 0;
        font-size: 11px;
        padding: 3px 8px;
    }

    #f2 .list_fenlei .list_tr a {
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* ========= 悬赏页（/bounty）扁平主容器 ========= */
#f2.page-bounty .page_body {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#f2.page-bounty .sort_list_left {
    width: 100% !important;
    max-width: 100%;
    float: none;
}

#f2.page-bounty .sort_list_left_ct {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
