/**
 * MusicBounty 插件全站扁平风格（前台 /bounty + 后台管理 + 配置）
 */

/* ========= 后台：body.page-musicbounty 与 .musicbounty-admin ========= */
body.page-musicbounty .content-wrapper .panel,
.musicbounty-admin .panel {
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-musicbounty .content-wrapper .panel-heading,
body.page-musicbounty .content-wrapper .panel-footer,
.musicbounty-admin .panel-heading,
.musicbounty-admin .panel-footer {
    border-radius: 0 !important;
}

body.page-musicbounty .content-wrapper .btn,
body.page-musicbounty .content-wrapper .form-control,
body.page-musicbounty .content-wrapper .input-group-addon,
.musicbounty-admin .btn,
.musicbounty-admin .form-control,
.musicbounty-admin .input-group-addon {
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-musicbounty .content-wrapper select.form-control,
.musicbounty-admin select.form-control {
    border-radius: 0 !important;
}

body.page-musicbounty .content-wrapper .table,
body.page-musicbounty .content-wrapper .table-bordered,
.musicbounty-admin .table,
.musicbounty-admin .table-bordered {
    border-radius: 0;
}

body.page-musicbounty .content-wrapper .table > thead > tr > th,
body.page-musicbounty .content-wrapper .table > tbody > tr > td,
.musicbounty-admin .table > thead > tr > th,
.musicbounty-admin .table > tbody > tr > td {
    border-radius: 0;
}

body.page-musicbounty .content-wrapper .table-striped > tbody > tr:nth-of-type(odd),
.musicbounty-admin .table-striped > tbody > tr:nth-of-type(odd) {
    background: transparent;
}

body.page-musicbounty .content-wrapper .label,
.musicbounty-admin .label {
    border-radius: 0;
}

body.page-musicbounty .content-wrapper .nav-tabs > li > a,
body.page-musicbounty .content-wrapper .nav-pills > li > a,
.musicbounty-admin .nav-tabs > li > a,
.musicbounty-admin .nav-pills > li > a {
    border-radius: 0 !important;
}

body.page-musicbounty .content-wrapper .alert,
.musicbounty-admin .alert {
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.page-musicbounty .content-wrapper .well,
.musicbounty-admin .well {
    border-radius: 0;
    box-shadow: none;
}

body.page-musicbounty .content-wrapper .pagination > li > a,
body.page-musicbounty .content-wrapper .pagination > li > span,
.musicbounty-admin .pagination > li > a,
.musicbounty-admin .pagination > li > span {
    border-radius: 0 !important;
}

/* ========= 前台 /bounty（配色与列表页 bounty_index 一致） ========= */
#f2.page-bounty {
    --bty-red: #cc0000;
    --bty-link: #66b3ff;
    --bty-link-hover: #ff6666;
    --bty-border: #2a2a2a;
    --bty-border-mid: #333;
    --bty-border-input: #444;
    --bty-text: #eee;
    --bty-text-heading: #e8e8e8;
    --bty-text-muted: #aaa;
    --bty-text-dim: #888;
    --bty-text-tab: #999;
    --bty-current: #ffcc00;
}

#f2.page-bounty .page_body {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#f2.page-bounty .bty-page a {
    color: var(--bty-link);
}

#f2.page-bounty .bty-page a:hover {
    color: var(--bty-link-hover);
}

#f2.page-bounty .bty-btn-publish,
#f2.page-bounty .bty-tabs a,
#f2.page-bounty .bty-btn-load,
#f2.page-bounty .bty-btn,
#f2.page-bounty .bty-page .btn,
#f2.page-bounty .bty-page .btn-primary,
#f2.page-bounty .bty-page .btn-lg {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 列表页：Tab / 发布按钮 */
#f2.page-bounty .bty-page .path_ct span {
    color: var(--bty-current);
}

#f2.page-bounty .bty-tabs a {
    padding: 3px 10px;
    margin: 0 8px 0 0;
    background: none;
    border: none;
    color: var(--bty-text-tab);
    font-size: 14px;
}

#f2.page-bounty .bty-tabs a:hover {
    color: #d1cfcf;
    background: none;
}

#f2.page-bounty .bty-tabs a.on {
    background: var(--bty-red);
    border: none;
    color: #fff;
}

#f2.page-bounty .bty-btn-publish {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bty-red);
    border: none;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
}

#f2.page-bounty .bty-btn-publish.bty-lg {
    padding: 10px 22px;
    font-size: 16px;
}

#f2.page-bounty .bty-btn-publish:disabled,
#f2.page-bounty .bty-btn-publish.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#f2.page-bounty #bty-msg.text-success {
    color: #6fcf97;
}

#f2.page-bounty #bty-msg.text-info {
    color: #8ab4f8;
}

#f2.page-bounty .bty-btn-load {
    padding: 6px 16px;
    background: #333;
    border: 1px solid #444;
    color: #eee;
}

#f2.page-bounty .bty-btn-load:hover {
    background: #444;
}

/* 列表表格 */
#f2.page-bounty .bty-sheet {
    margin-top: 8px;
    background: transparent;
    border: none;
    border-top: 1px solid #2a2a2a;
}

#f2.page-bounty .bty-thead {
    background: transparent;
    border-bottom: 1px solid #2a2a2a;
    color: #e8e8e8;
}

#f2.page-bounty .bty-tbody .bty-row:nth-child(even),
#f2.page-bounty .bty-tbody .bty-row:nth-child(odd) {
    background: transparent;
}

#f2.page-bounty .bty-row {
    border-bottom: 1px solid #222;
}

#f2.page-bounty .bty-tbody .bty-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

#f2.page-bounty .bty-thumb-wrap {
    border-radius: 0;
    border: 1px solid #333;
}

/* 悬赏页主栏铺满 content（覆盖 public.css 960px） */
#f2.page-bounty .sort_list_left,
#f2.page-bounty .sort_list_left_ct,
#f2.page-bounty .bty-publish-wrap,
#f2.page-bounty .bty-solve-wrap,
#f2.page-bounty .bty-publish-wrap .panel,
#f2.page-bounty .bty-solve-wrap .panel,
#f2.page-bounty .bty-publish-wrap .panel-body,
#f2.page-bounty .bty-solve-wrap .panel-body,
#f2.page-bounty .bty-form-full {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#f2.page-bounty .sort_list_left {
    float: none;
}

/* 发布 / 投稿表单（扁平深色、全宽纵向） */
#f2.page-bounty .bty-publish-wrap,
#f2.page-bounty .bty-solve-wrap {
    margin-top: 4px;
}

#f2.page-bounty .bty-form-full .form-group,
#f2.page-bounty .bty-publish-wrap .form-horizontal .form-group,
#f2.page-bounty .bty-solve-wrap .form-horizontal .form-group {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    float: none;
    clear: both;
}

#f2.page-bounty .bty-form-full .control-label,
#f2.page-bounty .bty-publish-wrap .form-horizontal .control-label,
#f2.page-bounty .bty-solve-wrap .form-horizontal .control-label {
    float: none;
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 8px;
}

#f2.page-bounty .bty-form-full .col-sm-3,
#f2.page-bounty .bty-form-full .col-sm-9,
#f2.page-bounty .bty-form-full .col-xs-12,
#f2.page-bounty .bty-publish-wrap .form-horizontal [class*="col-"],
#f2.page-bounty .bty-solve-wrap .form-horizontal [class*="col-"] {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#f2.page-bounty .bty-form-full .form-control,
#f2.page-bounty .bty-publish-wrap .form-horizontal .form-control,
#f2.page-bounty .bty-solve-wrap .form-horizontal .form-control {
    width: 100%;
    max-width: 100%;
    display: block;
}

#f2.page-bounty .bty-form-actions {
    margin-bottom: 0;
}

#f2.page-bounty .bty-form-actions .help-block {
    margin-top: 12px;
}

#f2.page-bounty .bty-publish-wrap .form-horizontal .form-group .bty-upload-row,
#f2.page-bounty .bty-solve-wrap .form-horizontal .form-group .bty-upload-row {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#f2.page-bounty .bty-back {
    margin: 0 0 10px;
}

#f2.page-bounty .bty-back a {
    color: var(--bty-link);
    text-decoration: none;
}

#f2.page-bounty .bty-back a:hover {
    color: var(--bty-link-hover);
}

/* 发布/投稿：透明底 + 顶部分割线，与列表 .bty-sheet 一致 */
#f2.page-bounty .bty-publish-wrap .panel,
#f2.page-bounty .bty-solve-wrap .panel {
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    border-top: 1px solid var(--bty-border);
}

#f2.page-bounty .bty-publish-wrap .panel-heading,
#f2.page-bounty .bty-solve-wrap .panel-heading {
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--bty-border);
    color: var(--bty-text-heading);
    padding-left: 0;
    padding-right: 0;
}

#f2.page-bounty .bty-publish-wrap .panel-title,
#f2.page-bounty .bty-solve-wrap .panel-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--bty-text-heading);
}

#f2.page-bounty .bty-publish-wrap .panel-body,
#f2.page-bounty .bty-solve-wrap .panel-body {
    background: transparent;
    color: var(--bty-text);
    padding-left: 0;
    padding-right: 0;
}

#f2.page-bounty .bty-publish-wrap .control-label,
#f2.page-bounty .bty-solve-wrap .control-label {
    color: var(--bty-text-muted);
    font-weight: 600;
}

#f2.page-bounty .bty-publish-wrap .form-control,
#f2.page-bounty .bty-solve-wrap .form-control {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: 1px solid var(--bty-border-input);
    color: var(--bty-text);
}

#f2.page-bounty .bty-publish-wrap .form-control:focus,
#f2.page-bounty .bty-solve-wrap .form-control:focus {
    border-color: var(--bty-red);
    box-shadow: none;
}

#f2.page-bounty .bty-publish-wrap .help-block.text-muted,
#f2.page-bounty .bty-solve-wrap .help-block.text-muted {
    color: var(--bty-text-dim) !important;
}

#f2.page-bounty .bty-publish-wrap .help-block,
#f2.page-bounty .bty-solve-wrap .help-block {
    margin-bottom: 0;
    min-height: 20px;
}

#f2.page-bounty .bty-publish-wrap .alert-warning,
#f2.page-bounty .bty-solve-wrap .alert-warning {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--bty-border-input);
    background: transparent;
    color: var(--bty-text-muted);
}

#f2.page-bounty .bty-publish-wrap .btn-primary,
#f2.page-bounty .bty-solve-wrap .btn-primary,
#f2.page-bounty .bty-publish-wrap .bty-btn.bty-primary,
#f2.page-bounty .bty-solve-wrap .bty-btn.bty-primary,
#f2.page-bounty .bty-publish-wrap #bty-submit,
#f2.page-bounty .bty-solve-wrap #bty-submit,
#f2.page-bounty .bty-publish-wrap .bty-btn-publish,
#f2.page-bounty .bty-solve-wrap .bty-btn-publish {
    background: var(--bty-red) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#f2.page-bounty .bty-publish-wrap .btn-primary:hover,
#f2.page-bounty .bty-solve-wrap .btn-primary:hover,
#f2.page-bounty .bty-publish-wrap .bty-btn.bty-primary:hover,
#f2.page-bounty .bty-solve-wrap .bty-btn.bty-primary:hover {
    opacity: 0.9;
}

#f2.page-bounty .bty-btn.bty-lg,
#f2.page-bounty .bty-publish-wrap .btn-lg,
#f2.page-bounty .bty-solve-wrap .btn-lg {
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
}

#f2.page-bounty .bty-upload-dragger {
    width: 100%;
    box-sizing: border-box;
    display: block;
    position: relative;
    min-height: 168px;
    transition: border-color 0.2s, background 0.2s;
    border-radius: 0;
    border: 1px dashed var(--bty-border-input);
    background: transparent;
}

#f2.page-bounty .bty-upload-dragger:hover,
#f2.page-bounty .bty-upload-dragger.is-dragover {
    border-color: var(--bty-border-mid);
    background: rgba(255, 255, 255, 0.03);
}

#f2.page-bounty .bty-upload-dragger__input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
}

#f2.page-bounty .bty-upload-dragger__bd {
    position: relative;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    padding: 32px 16px 28px;
}

#f2.page-bounty .bty-upload-dragger__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    font-size: 30px;
    line-height: 48px;
    font-weight: 300;
    border-radius: 0;
    border: 1px solid var(--bty-border-mid);
    color: var(--bty-text-muted);
}

#f2.page-bounty .bty-upload-dragger__hint,
#f2.page-bounty .bty-upload-dragger__name {
    color: var(--bty-text-muted);
}

#f2.page-bounty .bty-upload-dragger__name {
    color: #ddd;
    font-size: 13px;
    margin: 10px 0 0;
    word-break: break-all;
}

#f2.page-bounty .bty-upload-dragger__hint {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* 详情页 */
#f2.page-bounty .bty-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #2a2a2a;
    background: transparent;
    padding: 14px 0;
}

#f2.page-bounty .bty-btn {
    background: none;
    border: none;
    color: #999;
    padding: 3px 10px;
}

#f2.page-bounty .bty-btn.bty-primary {
    background: var(--bty-red);
    color: #fff;
    border: none;
    padding: 8px 18px;
}

#f2.page-bounty .bty-cover {
    border-radius: 0;
    border: 1px solid #333;
}

#f2.page-bounty .bty-wave-wrap {
    border-radius: 0;
    border: 1px solid #333;
}

#f2.page-bounty .bty-solve-wrap .alert-info {
    border-radius: 0;
    box-shadow: none;
    background: #1e3a4a;
    border-color: #2a5a7a;
    color: #c8e0f0;
}

/* ========= 波形播放器（不受扁平化影响） ========= */
#f2.page-bounty #bty-root .song-player.bty-lk-player {
    display: block;
    min-height: 68px;
}

#f2.page-bounty #bty-root .song-player.bty-lk-player .jp-seek-bar {
    min-height: 68px;
    overflow: hidden;
}

#f2.page-bounty #bty-root .song-player.bty-lk-player .player-btn {
    box-shadow: none !important;
}

#f2.page-bounty #bty-root .song-player.bty-lk-player .player-wave-linear,
#f2.page-bounty #bty-root .song-player.bty-lk-player .player-progress-linear {
    min-height: 68px;
}
