/* ==========================================================================
   曜世丨千钧 · 军机数据中枢 专属黑金水墨主题 (yaoshi-data-theme.css)
   适配 Vue 3 + Element Plus + ECharts，纯正微软雅黑无衬线设计，零外部依赖
   ========================================================================== */

:root,
html.dark {
    --ys-bg-deep: #090706;
    --ys-bg-panel: #130f0b;
    --ys-bg-card: rgba(22, 17, 12, 0.92);
    --ys-bg-elevated: #1c1610;
    --ys-gold: #d4af37;
    --ys-gold-bright: #f5d77f;
    --ys-gold-dim: rgba(212, 175, 55, 0.32);
    --ys-gold-subtle: rgba(212, 175, 55, 0.14);
    --ys-cinnabar: #a61c1c;
    --ys-jade: #52b788;
    --ys-text-main: #f0e6d2;
    --ys-text-regular: #d4c6b0;
    --ys-text-muted: #9c8f7a;

    /* 全局指定纯正微软雅黑及系统无衬线字体栈，告别楷体/仿宋 */
    --ys-font-heading: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    --ys-font-body: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;

    /* 覆盖 Element Plus 默认亮蓝与灰黑变量为三国黑金古铜色系 */
    --el-color-primary: #d4af37 !important;
    --el-color-primary-light-3: #e2c25a !important;
    --el-color-primary-light-5: #ebd382 !important;
    --el-color-primary-light-7: #59471b !important;
    --el-color-primary-light-8: #3d3114 !important;
    --el-color-primary-light-9: #261e0d !important;
    --el-color-primary-dark-2: #b38f22 !important;

    --el-color-warning: #e09f3e !important;
    --el-color-success: #52b788 !important;
    --el-color-danger: #d9534f !important;

    --el-bg-color: #130f0b !important;
    --el-bg-color-page: #090706 !important;
    --el-bg-color-overlay: #1b150f !important;

    --el-text-color-primary: #f0e6d2 !important;
    --el-text-color-regular: #d4c6b0 !important;
    --el-text-color-secondary: #9c8f7a !important;
    --el-text-color-placeholder: #756958 !important;

    --el-border-color: rgba(212, 175, 55, 0.26) !important;
    --el-border-color-light: rgba(212, 175, 55, 0.18) !important;
    --el-border-color-lighter: rgba(212, 175, 55, 0.12) !important;
    --el-border-color-extra-light: rgba(212, 175, 55, 0.08) !important;
    --el-border-color-dark: rgba(212, 175, 55, 0.38) !important;
    --el-border-color-darker: rgba(212, 175, 55, 0.5) !important;

    --el-fill-color: rgba(212, 175, 55, 0.1) !important;
    --el-fill-color-light: rgba(212, 175, 55, 0.06) !important;
    --el-fill-color-lighter: rgba(212, 175, 55, 0.04) !important;
    --el-fill-color-blank: rgba(18, 14, 10, 0.85) !important;
    --el-mask-color: rgba(9, 7, 6, 0.82) !important;

    --el-font-family: var(--ys-font-body) !important;
}

/* ==========================================================================
   1. 修复 Vite 残留的 #app 1126px 窄框与居中污染，铺开全屏沙盘底座
   ========================================================================== */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    background-color: var(--ys-bg-deep) !important;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 85% 20%, rgba(139, 0, 0, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #0b0907 0%, #120e0a 50%, #090706 100%) !important;
    background-attachment: fixed;
    color: var(--ys-text-main) !important;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
}

/* 暗金沙盘经纬背景网格装饰 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

#app {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    border: none !important;
    text-align: left !important;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.app-container {
    min-height: 100vh;
    width: 100%;
    background: transparent !important;
}

/* 主内容区宽屏沙盘容器 */
.el-main {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: 34px 32px 64px !important;
    box-sizing: border-box;
    overflow: visible !important;
}

/* ==========================================================================
   2. 顶部「军机帅帐」导航栏 (.header & .el-menu)
   ========================================================================== */
.header {
    height: 74px !important;
    padding: 0 40px !important;
    background: linear-gradient(180deg, rgba(16, 12, 9, 0.96) 0%, rgba(11, 9, 7, 0.92) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 225, 130, 0.12) inset !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 导航栏底部描金流光细线 */
.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 215, 127, 0.85), transparent);
    pointer-events: none;
}

/* 左侧同盟 Logo */
.header .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ys-font-heading) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #fff6d6 0%, #e6c15c 55%, #b88a28 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
    user-select: none;
    position: relative;
}

/* 左侧古铜虎符菱形战徽装饰 */
.header .logo::before {
    content: '❖';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-family: serif;
    font-size: 15px;
    color: #f5d77f;
    background: radial-gradient(circle, rgba(166, 28, 28, 0.55) 0%, rgba(24, 16, 10, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
    transform: rotate(45deg);
    margin-right: 2px;
}

/* 彻底删除英文副标题 */
.header .logo::after {
    display: none !important;
    content: none !important;
}

/* 顶部导航菜单 */
.header .el-menu--horizontal {
    background-color: transparent !important;
    border-bottom: none !important;
    align-items: center;
    gap: 6px;
}

.header .el-menu--horizontal > .el-menu-item {
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 18px !important;
    font-family: var(--ys-font-body) !important;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: 1px;
    color: #d4c6b0 !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 4px;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.header .el-menu--horizontal > .el-menu-item:hover {
    color: #fff3cf !important;
    background: rgba(212, 175, 55, 0.1) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

.header .el-menu--horizontal > .el-menu-item.is-active {
    color: #f7df94 !important;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, rgba(212, 175, 55, 0.18) 100%) !important;
    border-bottom: 2px solid #f5d77f !important;
    box-shadow: 0 6px 16px -6px rgba(212, 175, 55, 0.45);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* 「返回主站」专属玄铁鎏金令牌按钮 */
.header .el-menu--horizontal > .el-menu-item:last-child {
    margin-left: 14px !important;
    height: 38px !important;
    line-height: 36px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.45) 0%, rgba(28, 20, 14, 0.92) 100%) !important;
    color: #f5d77f !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(212, 175, 55, 0.15);
}

.header .el-menu--horizontal > .el-menu-item:last-child:hover {
    border-color: #f5d77f !important;
    background: linear-gradient(135deg, rgba(166, 28, 28, 0.7) 0%, rgba(48, 34, 20, 0.96) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* ==========================================================================
   3. 各模块大标题 (h2) —— 沉稳端庄微软雅黑风格
   ========================================================================== */
.el-main > div > h2 {
    font-family: var(--ys-font-heading) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    margin: 4px 0 24px 0 !important;
    padding: 8px 0 14px 20px;
    color: #f5e0a3 !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.22);
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, transparent 65%);
    border-radius: 4px 0 0 4px;
}

/* 标题左侧鎏金虎符竖铭条 */
.el-main > div > h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 14px;
    width: 5px;
    background: linear-gradient(180deg, #fff0b8 0%, #d4af37 50%, #8b0000 100%);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.65);
}

/* 彻底删除右侧英文标签 */
.el-main > div > h2::after {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   4. 玄铁描金卡片容器 (.el-card)
   ========================================================================== */
.el-card {
    background: linear-gradient(160deg, rgba(25, 19, 14, 0.92) 0%, rgba(13, 10, 8, 0.96) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    border-radius: 8px !important;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(255, 225, 140, 0.05) inset,
        0 1px 0 rgba(255, 225, 140, 0.14) inset !important;
    color: var(--ys-text-main) !important;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.el-card:hover {
    border-color: rgba(212, 175, 55, 0.45) !important;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.8),
        0 0 24px rgba(212, 175, 55, 0.1) !important;
}

/* 卡片顶部暗金流光线 */
.el-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.55) 50%, transparent 100%);
    pointer-events: none;
}

.el-card__header {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.12) 0%, rgba(26, 19, 13, 0.4) 60%, transparent 100%) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
    padding: 16px 24px !important;
    font-family: var(--ys-font-body) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    color: #f4dca0 !important;
    position: relative;
}

.el-card__body {
    padding: 24px !important;
    font-size: 15px !important;
}

/* ==========================================================================
   5. 表单、选择器、数字框、按钮 (.el-form, .el-select, .el-button, .el-radio)
   ========================================================================== */
.el-form-item__label {
    color: #e2d3b5 !important;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

/* 下拉框与输入框外框 */
.el-select__wrapper,
.el-input__wrapper {
    background-color: rgba(12, 9, 7, 0.9) !important;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.32) inset !important;
    border-radius: 5px !important;
    font-size: 15px !important;
    transition: all 0.25s ease !important;
}

.el-select__wrapper:hover,
.el-input__wrapper:hover {
    box-shadow: 0 0 0 1px rgba(245, 215, 127, 0.65) inset !important;
}

.el-select__wrapper.is-focused,
.el-input__wrapper.is-focus {
    box-shadow: 0 0 0 1px #f5d77f inset, 0 0 12px rgba(212, 175, 55, 0.28) !important;
}

.el-select__selected-item,
.el-input__inner {
    color: #f5ebd6 !important;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
}

/* 数字加减器 */
.el-input-number__decrease,
.el-input-number__increase {
    background: rgba(32, 24, 16, 0.95) !important;
    color: #e6c15c !important;
    border-color: rgba(212, 175, 55, 0.28) !important;
}
.el-input-number__decrease:hover,
.el-input-number__increase:hover {
    color: #fff6d6 !important;
    background: rgba(212, 175, 55, 0.22) !important;
}

/* 下拉弹出菜单 */
.el-popper.is-pure,
.el-select__popper.el-popper {
    background: #17120d !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85) !important;
}

.el-select-dropdown__item {
    color: #d4c6b0 !important;
    font-family: var(--ys-font-body);
    font-size: 15px !important;
}

.el-select-dropdown__item.is-hovering,
.el-select-dropdown__item:hover {
    background: rgba(212, 175, 55, 0.14) !important;
    color: #fff3cf !important;
}

.el-select-dropdown__item.is-selected {
    color: #f5d77f !important;
    background: rgba(212, 175, 55, 0.2) !important;
    font-weight: 700;
}

/* 按钮体系：鎏金主按钮 / 古铜警告按钮 / 朱砂危险按钮 */
.el-button {
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
    letter-spacing: 1px;
    border-radius: 5px !important;
    transition: all 0.25s ease !important;
}

.el-button--primary {
    background: linear-gradient(135deg, #e0ba4c 0%, #b58922 100%) !important;
    border: 1px solid #f5d77f !important;
    color: #140f09 !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

.el-button--primary:hover:not(.is-disabled) {
    background: linear-gradient(135deg, #f3d26b 0%, #c99b2e 100%) !important;
    border-color: #fff2c2 !important;
    color: #0d0905 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.el-button--primary.is-disabled {
    background: rgba(65, 52, 32, 0.55) !important;
    border-color: rgba(212, 175, 55, 0.22) !important;
    color: rgba(240, 230, 210, 0.38) !important;
    box-shadow: none !important;
}

.el-button--warning {
    background: linear-gradient(135deg, #d9912b 0%, #9e5f12 100%) !important;
    border: 1px solid #f2bf6c !important;
    color: #fff8eb !important;
    box-shadow: 0 4px 14px rgba(217, 145, 43, 0.3);
}

.el-button--warning:hover:not(.is-disabled) {
    background: linear-gradient(135deg, #eba53f 0%, #b87119 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 145, 43, 0.45);
}

.el-button--danger {
    background: linear-gradient(135deg, rgba(166, 28, 28, 0.88) 0%, rgba(110, 16, 16, 0.95) 100%) !important;
    border: 1px solid rgba(235, 110, 100, 0.55) !important;
    color: #ffece8 !important;
    box-shadow: 0 4px 12px rgba(166, 28, 28, 0.3);
}

.el-button--danger:hover:not(.is-disabled) {
    background: linear-gradient(135deg, rgba(196, 36, 36, 0.95) 0%, rgba(138, 20, 20, 1) 100%) !important;
    border-color: #ff9c94 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(196, 36, 36, 0.45);
}

/* 单选按钮组（考勤系统三维切换栏） */
.el-radio-group {
    background: rgba(10, 8, 6, 0.85);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    display: inline-flex;
}

.el-radio-button__inner {
    background: transparent !important;
    border: none !important;
    color: #cbbba0 !important;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    transition: all 0.25s ease !important;
}

.el-radio-button__inner:hover {
    color: #f5d77f !important;
}

.el-radio-button.is-active .el-radio-button__inner,
.el-radio-button__original-radio:checked + .el-radio-button__inner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(139, 26, 26, 0.45) 100%) !important;
    color: #fff3cf !important;
    box-shadow: 0 0 0 1px rgba(245, 215, 127, 0.65) inset, 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   6. CSV 拖拽上传台 (.el-upload-dragger)
   ========================================================================== */
.el-upload-dragger {
    background:
        radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(14, 11, 8, 0.92) 75%) !important;
    border: 1.5px dashed rgba(212, 175, 55, 0.45) !important;
    border-radius: 8px !important;
    padding: 44px 20px !important;
    transition: all 0.3s ease !important;
}

.el-upload-dragger:hover,
.el-upload-dragger.is-dragover {
    border-color: #f5d77f !important;
    background:
        radial-gradient(circle at center, rgba(212, 175, 55, 0.16) 0%, rgba(18, 14, 10, 0.96) 80%) !important;
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.18) inset;
}

.el-upload-dragger .el-icon--upload {
    color: #e2be53 !important;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}

.el-upload__text {
    color: #d4c6b0 !important;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
    letter-spacing: 0.5px;
}

.el-upload__text em {
    color: #f5d77f !important;
    font-style: normal;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================================
   7. 军册数据表格 (.el-table)
   ========================================================================== */
.el-table {
    --el-table-bg-color: rgba(16, 12, 9, 0.9) !important;
    --el-table-tr-bg-color: rgba(18, 14, 10, 0.88) !important;
    --el-table-header-bg-color: #1f1710 !important;
    --el-table-header-text-color: #f3d478 !important;
    --el-table-text-color: #ece0ca !important;
    --el-table-row-hover-bg-color: rgba(212, 175, 55, 0.12) !important;
    --el-table-border-color: rgba(212, 175, 55, 0.16) !important;
    --el-table-fixed-box-shadow: 0 0 15px rgba(0, 0, 0, 0.85) !important;
    border-radius: 6px;
    overflow: hidden;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
}

.el-table th.el-table__cell {
    background: linear-gradient(180deg, #261d14 0%, #19130d 100%) !important;
    color: #f3d478 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 1px;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.el-table td.el-table__cell {
    padding: 13px 0 !important;
    font-size: 15px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12) !important;
}

/* 偶数行微妙水墨斑马纹 */
.el-table__body tr:nth-child(even) > td.el-table__cell {
    background-color: rgba(26, 20, 14, 0.72) !important;
}

.el-table__body tr:hover > td.el-table__cell {
    background-color: rgba(212, 175, 55, 0.13) !important;
}

/* 固定列背景同步 */
.el-table__body tr > td.el-table-fixed-column--left {
    background-color: #15100c !important;
}
.el-table__body tr:nth-child(even) > td.el-table-fixed-column--left {
    background-color: #1b150f !important;
}
.el-table__body tr:hover > td.el-table-fixed-column--left {
    background-color: #2b2115 !important;
}

/* ==========================================================================
   8. 考勤简报长图导出区 (#attendance-report) & 门阀时间轴 (.el-timeline)
   ========================================================================== */
#attendance-report {
    background: linear-gradient(180deg, #120e0a 0%, #0c0907 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.08) inset !important;
    font-family: var(--ys-font-body) !important;
}

/* 考勤简报内各小组卡片美化 */
#attendance-report .el-col > div {
    background: linear-gradient(150deg, #211911 0%, #120d09 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.32) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 225, 140, 0.08) inset !important;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

#attendance-report .el-col > div:hover {
    border-color: rgba(245, 215, 127, 0.6) !important;
    transform: translateY(-2px);
}

/* 组长查岗明细原生 table 美化 */
#attendance-report table {
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    font-family: var(--ys-font-body) !important;
    font-size: 15px !important;
}

#attendance-report table thead tr {
    background: linear-gradient(180deg, #281e14 0%, #1b140d 100%) !important;
}

#attendance-report table th {
    border-color: rgba(212, 175, 55, 0.28) !important;
    color: #f5d77f !important;
    letter-spacing: 1px;
    font-size: 15px !important;
}

#attendance-report table td {
    border-color: rgba(212, 175, 55, 0.16) !important;
    font-size: 15px !important;
}

#attendance-report table tbody tr:nth-child(even) {
    background-color: #18130e !important;
}

/* 个人履历时间轴 */
.el-timeline-item__tail {
    border-left: 2px solid rgba(212, 175, 55, 0.28) !important;
}

.el-timeline-item__timestamp {
    color: #d4af37 !important;
    font-family: var(--ys-font-body);
    font-size: 14px !important;
    letter-spacing: 0.5px;
}

/* 密码验证弹窗 (ElMessageBox) 黑金化 */
.el-message-box {
    background: linear-gradient(160deg, #1d1610 0%, #110d09 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    border-radius: 8px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9) !important;
    font-family: var(--ys-font-body) !important;
}

.el-message-box__title {
    color: #f5d77f !important;
    font-family: var(--ys-font-body) !important;
    letter-spacing: 1px;
    font-size: 18px !important;
}

.el-message-box__content {
    color: #dfd2bc !important;
    font-size: 15px !important;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0a08;
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.32);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.55);
}

/* ==========================================================================
   9. 移动端响应式适配
   ========================================================================== */
@media (max-width: 768px) {
    .header {
        height: auto !important;
        padding: 14px 16px !important;
        flex-direction: column;
        gap: 10px;
    }

    .header .logo {
        font-size: 20px !important;
        margin-bottom: 2px !important;
    }

    .header .logo::after {
        display: none !important;
    }

    .header .el-menu--horizontal {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .header .el-menu--horizontal > .el-menu-item {
        height: 38px !important;
        line-height: 38px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
    }

    .el-main {
        padding: 18px 12px 44px !important;
    }

    .el-main > div > h2 {
        font-size: 20px !important;
        padding: 6px 0 10px 14px;
    }

    .el-main > div > h2::after {
        display: none !important;
    }

    .el-card__body {
        padding: 14px !important;
    }
}
