/* 统一顶部导航风格（PC主界面） */
.header {
    background: linear-gradient(180deg, #143b70 0%, #0f305f 100%) !important;
    color: #eef5ff !important;
    border: 1px solid rgba(118, 160, 214, 0.45);
    border-radius: 12px;
    width: min(1200px, calc(100% - 24px));
    margin: 12px auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(9, 30, 66, 0.18);
}

body > .conference-header {
    background: linear-gradient(180deg, #143b70 0%, #0f305f 100%) !important;
    color: #eef5ff !important;
    border: 1px solid rgba(118, 160, 214, 0.45);
    border-radius: 12px;
    width: min(1200px, calc(100% - 24px));
    margin: 12px auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(9, 30, 66, 0.18);
}

/* 任务页的 conference-header 用于内容分组，不走全局顶部条宽度逻辑 */
body.task-page .conference-header {
    width: 100% !important;
    margin: 0 !important;
}

.header-content {
    position: relative;
    gap: 14px;
    min-height: 58px;
}

.header-content h1,
.header h1 {
    margin: 0;
    color: #eef5ff !important;
    font-size: 30px !important;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.conference-main .conference-title {
    color: #eef5ff !important;
    font-size: 30px !important;
    font-weight: 800 !important;
}

.back-btn {
    background: rgba(10, 23, 48, 0.42) !important;
    color: #eaf2ff !important;
    border: 1px solid rgba(191, 219, 254, 0.32) !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px !important;
}

.back-btn:hover {
    background: rgba(10, 23, 48, 0.62) !important;
}

.header .btn.btn-secondary {
    background: rgba(10, 23, 48, 0.42) !important;
    color: #eaf2ff !important;
    border: 1px solid rgba(191, 219, 254, 0.32) !important;
}

.header .btn.btn-secondary:hover {
    background: rgba(10, 23, 48, 0.62) !important;
}

@media (max-width: 1024px) {
    .header-content h1,
    .header h1,
    .conference-main .conference-title {
        font-size: 24px !important;
    }
}

@media (max-width: 768px) {
    .header {
        width: 100%;
        border-radius: 0;
        margin: 0;
        border-left: none;
        border-right: none;
    }

    body > .conference-header {
        width: 100%;
        border-radius: 0;
        margin: 0;
        border-left: none;
        border-right: none;
    }

    .header-content h1,
    .header h1,
    .conference-main .conference-title {
        font-size: 20px !important;
    }
}
