/* =========================================================
   资讯站风格标题区域 —— 原样保留
   ========================================================= */
.xd-article-header.clean-style {
    background: #fff;
    border-radius: 10px;
    padding: 26px 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.xd-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.xd-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 22px;
}

.xd-article-header.clean-style {
    background: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
}

.xd-breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 6px;
}

.xd-breadcrumb a {
    color: #666;
}

.xd-title {
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 10px 0;
    color: #222;
    line-height: 1.2;
    text-align: left;
}

.xd-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #777;
}

.xd-article-header.clean-style {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

.article-content .container {
    padding-top: 0 !important;
}

.entry-content {
    margin-top: 20px;
}

/* =========================================================
   收藏按钮（原样保留，效果正常）
   ========================================================= */
.entry-meta-custom a.btn-outline-secondary:hover {
    background-color: #0056D2 !important;
    border-color: #0056D2 !important;
    color: #fff !important;
}

.entry-meta-custom a.btn-outline-secondary:hover i {
    color: #fff !important;
}

/* 星星常态黄色 */
.entry-meta-custom a.btn-outline-secondary i {
    color: #FFC107 !important;
}

/* 悬停时星星保持黄色 */
.entry-meta-custom a.btn-outline-secondary:hover i {
    color: #FFC107 !important;
}

/* =========================================================
   DPlayer 播放器水印（原样保留）
   ========================================================= */
.dplayer-watermark {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 99 !important;
    opacity: 0.85;
    width: 150px;
    pointer-events: none;
}

/* =========================================================
   以下为全新整理后的“下载按钮美化”最终版
   ========================================================= */


/* ========== ① 下载按钮容器：两列布局 + 中间间距 ========== */
.widget.ripro-v2-widget-shop-down .btn-group.btn-block {
    width: calc(50% - 8px) !important;      /* 两列布局，按钮宽度自动计算 */
    display: inline-block !important;       /* 避免被强制拉满 */
    margin-bottom: 10px !important;         /* 行间距 */
    vertical-align: top;                    /* 让两列按钮顶部对齐 */
}

/* 左列右侧留 16px 间距 */
.widget.ripro-v2-widget-shop-down .btn-group.btn-block:nth-child(odd) {
    margin-right: 10px !important;
}

/* 右列不留间距 */
.widget.ripro-v2-widget-shop-down .btn-group.btn-block:nth-child(even) {
    margin-right: 0 !important;
}


/* ========== ② 下载按钮主体样式（宽度、圆角、颜色） ========== */
.widget.ripro-v2-widget-shop-down .btn-dark {
    width: 110px !important;                /* 按钮固定宽度（可自定义）*/
    height: 36px !important;                /* 按钮高度 */
    padding: 6px 0 !important;
    background-color: #007bff !important;   /* 蓝色主色 */
    border-radius: 24px !important;         /* 大圆角 */
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: all .25s ease-in-out !important;
}


/* ========== ③ 图标统一白色 ========== */
.widget.ripro-v2-widget-shop-down .btn-dark i {
    margin-right: 6px;
    color: #fff !important;
}


/* ========== ④ 悬停效果：深蓝 + 浮起 + 阴影 ========== */
.widget.ripro-v2-widget-shop-down .btn-dark:hover {
    background-color: #0066e6 !important;   /* 更深的蓝色 */
    transform: translateY(-2px);            /* 上移浮动效果 */
    box-shadow: 0 4px 12px rgba(0,123,255,0.3); /* 蓝色阴影 */
}
/*************************************************
  彻底取消透明背景（解决 dropdown-menu 父级透明问题）
**************************************************/
body .dropdown-menu {
    background: #ffffff !important;              /* 完全不透明白色 */
    backdrop-filter: none !important;            /* 禁止毛玻璃 */
    -webkit-backdrop-filter: none !important;
    border: none !important;
}
/*************************************************
  夜间模式彻底屏蔽（保持亮色风格）
**************************************************/
body[data-theme="dark"] .dropdown-menu,
body[data-theme="dark"] .dropdown-menu.user-panel-dropdown,
body[data-theme="dark"] .menu-card-box-1,
body[data-theme="dark"] .menu-card-box-2,
body[data-theme="dark"] .menu-card-box-3 {
    background: #f7f9fc !important;
    color: #2c3e50 !important;
    border-color: #e9eef5 !important;
}
/* =========================================================
   顶部登录按钮 — 强制改为大尺寸按钮（完全覆盖原主题）
   ========================================================= */
.actions a.login-btn.navbar-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* ←←← 调整按钮大小的核心代码 */
    padding: 18px 40px !important;     /* ← 高度 + 宽度 */
    font-size: 16px !important;        /* ← 字体更大 */
    line-height: 1 !important;
    
    background: linear-gradient(135deg, #4da3ff, #1c7dff) !important;
    color: #ffffff !important;
    border-radius: 36px !important;    /* ← 圆角更柔和 */
    font-weight: 600 !important;

    border: none !important;
    box-shadow: 0 6px 16px rgba(28,125,255,0.35) !important;

    transition: all .25s ease-in-out !important;
}

/* 图标稍微大一点 */
.actions a.login-btn.navbar-button i {
    font-size: 18px !important;
    margin-right: 6px !important;
    color: #fff !important;
}

/* hover 特效 */
.actions a.login-btn.navbar-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #66b4ff, #2e8aff) !important;
    box-shadow: 0 8px 20px rgba(28,125,255,0.45) !important;
}

/* 点击时轻微缩放 */
.actions a.login-btn.navbar-button:active {
    transform: scale(0.96);
}
/* 为用户下拉菜单图标添加颜色 */
.dropdown-item-nicon a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* 给每个图标设置不同的颜色 */
.dropdown-item-nicon a:nth-child(1) i { /* 基本资料 */
    color: #3498db !important; /* 蓝色 */
}

.dropdown-item-nicon a:nth-child(2) i { /* 我的余额 */
    color: #2ecc71 !important; /* 绿色 */
}

.dropdown-item-nicon a:nth-child(3) i { /* 我的会员 */
    color: #e74c3c !important; /* 红色 */
}

.dropdown-item-nicon a:nth-child(4) i { /* 我的收藏 */
    color: #f39c12 !important; /* 橙色 */
}

.dropdown-item-nicon a:nth-child(5) i { /* 购买记录 */
    color: #9b59b6 !important; /* 紫色 */
}

/* 鼠标悬停效果 */
.dropdown-item-nicon a:hover i {
    transform: scale(1.2);
    transition: all 0.3s ease;
}
