/* ========================================
   主题切换器基础样式
   ======================================== */

   .theme-switcher {
    position: relative;
    height: 60px;
}

.theme-switcher .theme-toggle-btn {
    padding: 0;
    cursor: pointer;
    display: block;
    font-size: 16px;
    line-height: 60px;
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.theme-switcher .theme-toggle-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.theme-switcher .theme-toggle-btn:active {
    transform: scale(0.95);
}

/* 图标显示控制 */
.theme-switcher .theme-icon-sun {
    display: block;
}

.theme-switcher .theme-icon-moon {
    display: none;
}

[data-theme="dark"] .theme-switcher .theme-icon-sun {
    display: none;
}

[data-theme="dark"] .theme-switcher .theme-icon-moon {
    display: block;
}

.top-other ul li.theme-switcher {
    border-right: 1px solid #000;
    border-left: 1px solid #444;
    box-shadow: inset -1px 0 0 #444;
    width: 46px !important;
}

/* ========================================
   深色主题 - 全局样式
   ======================================== */

[data-theme="dark"] {
    background-color: #1a1a1a !important;
    color: #e0e0e0;
}

[data-theme="dark"] html,
[data-theme="dark"] body {
    background-color: #1a1a1a !important;
    color: #e0e0e0;
}

/* 主题切换动画 */
html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ========================================
   深色主题 - 主站样式
   ======================================== */

/* 今日头条模块 */
[data-theme="dark"] .top {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .top ul li h4 a {
    color: #e0e0e0;
}

[data-theme="dark"] .top ul li h4 a:hover {
    color: #007bff;
}

[data-theme="dark"] .top ul li p {
    color: #c0c0c0;
}

/* 最新视频模块 */
[data-theme="dark"] .hots {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .hots ul li h4 a {
    color: #e0e0e0;
}

[data-theme="dark"] .hots ul li h4 a:hover {
    color: #42a5f5;
}

[data-theme="dark"] .hots ul li p {
    color: #c0c0c0;
}

/* 最新文章模块 */
[data-theme="dark"] .content {
    background-color: #2d2d2d !important;
}

/* 主容器 */
[data-theme="dark"] .inner.container {
    background-color: transparent !important;
}

[data-theme="dark"] .main {
    background-color: transparent;
}

[data-theme="dark"] .sidebar {
    background-color: transparent;
}

/* 小部件 */
[data-theme="dark"] .widget {
    background-color: #2d2d2d;
}

[data-theme="dark"] .widget h3 {
    border-bottom-color: #404040;
    color: #e0e0e0;
}

[data-theme="dark"] .widget ul li a {
    color: #e0e0e0;
}

[data-theme="dark"] .widget ul li a:hover {
    color: #42a5f5;
}

[data-theme="dark"] .widget.hotlist {
    background-color: #2d2d2d;
}

[data-theme="dark"] .widget.hotlist ul li+li {
    border-top: 1px solid #404040;
}

[data-theme="dark"] .widget.hotlist ul li a {
    color: #e0e0e0;
}

[data-theme="dark"] .widget.hotlist ul li:hover a {
    color: #42a5f5;
}

[data-theme="dark"] .widget.hotlist ul li i.a4,
[data-theme="dark"] .widget.hotlist ul li i.a5,
[data-theme="dark"] .widget.hotlist ul li i.a6,
[data-theme="dark"] .widget.hotlist ul li i.a7,
[data-theme="dark"] .widget.hotlist ul li i.a8,
[data-theme="dark"] .widget.hotlist ul li i.a9,
[data-theme="dark"] .widget.hotlist ul li i.a10 {
    background: #555;
    color: #e0e0e0;
}

/* 文章列表 */
[data-theme="dark"] .section {
    background-color: transparent;
    border-bottom: 1px solid #404040;
}

[data-theme="dark"] .section h2 a {
    color: #e0e0e0;
}

[data-theme="dark"] .section h2 a:hover {
    color: #42a5f5;
}

[data-theme="dark"] .section .postmeta {
    color: #c5c5c5;
}

[data-theme="dark"] .section .postmeta a {
    color: #c5c5c5;
}

[data-theme="dark"] .section .excerpt p {
    color: #c0c0c0;
}

/* 文章内容页 */
[data-theme="dark"] .post {
    background-color: transparent;
}

[data-theme="dark"] .post-title,
[data-theme="dark"] h1.post-title {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .post .postmeta {
    color: #c5c5c5;
    border-bottom: 1px solid #404040;
}

[data-theme="dark"] .post .postmeta span {
    color: #c5c5c5;
}

[data-theme="dark"] .post .entry {
    color: #e0e0e0;
}

[data-theme="dark"] .post .entry p {
    color: #e0e0e0;
}

[data-theme="dark"] .post .entry a {
    color: #007bff;
}

[data-theme="dark"] .post .entry a:hover {
    color: #0056b3;
}

/* 友情链接 */
[data-theme="dark"] .friendlinks,
[data-theme="dark"] .inner.friendlinks {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .friendlinks ul li a {
    color: #e0e0e0;
}

[data-theme="dark"] .friendlinks ul li a:hover {
    color: #007bff;
}

/* 搜索框 */
[data-theme="dark"] .search-bg {
    background-color: rgba(45, 45, 45, 0.95);
}

[data-theme="dark"] .search-form input[type="text"] {
    background-color: #3d3d3d;
    border: 1px solid #555;
    color: #e0e0e0;
}

[data-theme="dark"] .search-form input[type="text"]:focus {
    border-color: #007bff;
}

[data-theme="dark"] .search-form button {
    background-color: #007bff;
    color: #fff;
}

/* 标签云 */
[data-theme="dark"] .tagscloud {
    border-top-color: #555;
}

[data-theme="dark"] .tagscloud a {
    color: #90cdf4;
}

[data-theme="dark"] .tagscloud a:hover {
    color: #007bff;
}

/* 轮播图 */
[data-theme="dark"] .focus,
[data-theme="dark"] .flexslider {
    background-color: #2d2d2d !important;
}

/* 软件分类 */
[data-theme="dark"] .software-tags {
    background-color: #2d2d2d;
}

[data-theme="dark"] .software-tags .tag-item {
    background: #3d3d3d;
    color: #e0e0e0;
    border: 1px solid #555;
}

[data-theme="dark"] .software-tags .tag-item:hover {
    background: #2196F3;
    color: #fff;
    border-color: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

[data-theme="dark"] .software-tags .tag-item.active {
    background: #2196F3;
    color: #fff;
    border-color: #2196F3;
    font-weight: 500;
}

/* 下载页面 */
[data-theme="dark"] .download-info {
    background: #2d2d2d;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .download-meta {
    background: #3d3d3d;
}

[data-theme="dark"] .download-meta-item {
    color: #e0e0e0;
}

[data-theme="dark"] .download-meta-item i {
    background: #4a5568;
    color: #90cdf4;
}

[data-theme="dark"] .download-item {
    background: #3d3d3d;
}

[data-theme="dark"] .download-item:hover {
    background: #4a4a4a;
}

[data-theme="dark"] .extract-code {
    background: #2d2d2d;
    border: 1px solid #555;
}

[data-theme="dark"] .extract-code-label {
    color: #c5c5c5;
}

[data-theme="dark"] .extract-code-value {
    color: #ff6b9d;
}

[data-theme="dark"] .copy-btn {
    background: #4a5568;
    border: 1px solid #555;
    color: #e0e0e0;
}

[data-theme="dark"] .copy-btn:hover {
    background: #2d3748;
    color: #fff;
}

/* 软件详情选项卡 */
[data-theme="dark"] .details-tabs {
    background: #2d2d2d;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tab-header {
    background: #3d3d3d;
    border-bottom: 1px solid #555;
}

[data-theme="dark"] .tab-item {
    color: #c5c5c5;
}

[data-theme="dark"] .tab-item:hover {
    color: #90cdf4;
}

[data-theme="dark"] .tab-item.active {
    color: #90cdf4;
}

[data-theme="dark"] .tab-item.active:after {
    background: #90cdf4;
}

[data-theme="dark"] .software-description {
    color: #e0e0e0;
}

[data-theme="dark"] .software-description h2,
[data-theme="dark"] .software-description h3,
[data-theme="dark"] .software-description h4 {
    color: #e0e0e0;
}

/* 页脚 */
[data-theme="dark"] .footer {
    background-color: #2d2d2d;
}

[data-theme="dark"] .footer a {
    color: #c0c0c0;
}

[data-theme="dark"] .footer .copyright {
    color: #c0c0c0;
}

[data-theme="dark"] .footer .other {
    color: #c0c0c0;
}

/* 面包屑导航 */
[data-theme="dark"] .breadcrumb {
    color: #d0d0d0;
    border-bottom: 1px solid #404040;
}

[data-theme="dark"] .breadcrumb a {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .breadcrumb a:hover {
    color: #42a5f5 !important;
}

/* 分页导航 */
[data-theme="dark"] .pagenavi a,
[data-theme="dark"] .pagenavi span,
[data-theme="dark"] .pagenavi em {
    background-color: #2d2d2d;
    border: 1px solid #404040;
    color: #e0e0e0;
}

[data-theme="dark"] .pagenavi a:hover {
    color: #007bff;
}

[data-theme="dark"] .pagenavi a.current,
[data-theme="dark"] .pagenavi span {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 分页总计容器（现代样式适配） */
[data-theme="dark"] .pagenavi {
    background-color: #1f1f1f;
    border: 1px solid #404040;
    color: #d0d0d0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .pagenavi strong {
    color: #90cdf4;
}

/* 表格 */
[data-theme="dark"] table {
    border-top: solid 1px #555;
    border-left: solid 1px #555;
}

[data-theme="dark"] table th {
    background-color: #3d3d3d;
    color: #e0e0e0;
}

[data-theme="dark"] table td,
[data-theme="dark"] table th {
    border: 1px solid #555;
    color: #e0e0e0;
}

/* 链接 */
[data-theme="dark"] a {
    color: #e0e0e0;
}

[data-theme="dark"] a:hover {
    color: #42a5f5;
}

/* 导航栏链接 - 保持白色 */
[data-theme="dark"] .nav .menu ul li a {
    color: #fff !important;
}

[data-theme="dark"] .nav .menu ul li a:hover {
    color: #fff !important;
    background-color: #007ACC;
}

[data-theme="dark"] .nav .menu ul li.current>a {
    color: #fff !important;
}

[data-theme="dark"] .nav .menu ul li ul.sub-nav li a {
    color: #fff !important;
}

[data-theme="dark"] .nav .menu ul li ul.sub-nav li a:hover {
    background-color: #007ACC;
    color: #fff !important;
}

/* 输入框 */
[data-theme="dark"] input,
[data-theme="dark"] textarea {
    background-color: #3d3d3d;
    border: 1px solid #555;
    color: #e0e0e0;
}

/* 分割线 */
[data-theme="dark"] hr {
    border-bottom: 1px solid #404040;
}

/* 视频列表 */
[data-theme="dark"] .video-grid {
    background: transparent;
}

[data-theme="dark"] .video-item {
    background: #2d2d2d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .video-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .video-item h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .postmeta {
    color: #c5c5c5;
}

[data-theme="dark"] .postmeta span {
    color: #c5c5c5;
}

/* 今日头条模块深色主题适配 */
[data-theme="dark"] .top-news-section {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .news-list {
    background: linear-gradient(to bottom, #3d3d3d 0%, #2d2d2d 100%) !important;
}

[data-theme="dark"] .news-list ul li {
    border-bottom-color: #404040 !important;
}

[data-theme="dark"] .news-list ul li h4 {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .news-list ul li h4 a {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .news-list ul li h4 a:hover {
    color: #42a5f5 !important;
}

[data-theme="dark"] .news-list ul li p {
    color: #c5c5c5 !important;
}

[data-theme="dark"] .news-list ul li::before {
    background: linear-gradient(to bottom, #42a5f5, #1976d2) !important;
}

[data-theme="dark"] .news-slider {
    background-color: #000 !important;
    border-right-color: #404040 !important;
}

[data-theme="dark"] .news-slider .slides li {
    background-color: #000 !important;
}

[data-theme="dark"] .top-news-content .focus {
    background-color: #2d2d2d !important;
    border: none !important;
}

[data-theme="dark"] .top-news-content .flexslider {
    background-color: #2d2d2d !important;
    border: none !important;
}

[data-theme="dark"] .top-news-content .flex-viewport {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .top-news-section .news-list ul li {
    border-bottom: none;
}

[data-theme="dark"] .top-news-section .news-list ul li+li {
    border-top: 1px solid #404040;
}

[data-theme="dark"] .top-news-section .news-list ul li:hover {
    background: transparent;
}

[data-theme="dark"] .top-news-section .news-list ul li h4 a {
    color: #e0e0e0;
}

[data-theme="dark"] .top-news-section .news-list ul li:hover h4 a {
    color: #42a5f5;
    text-decoration: none;
}

[data-theme="dark"] .top-news-section .news-list ul li p {
    color: #c5c5c5;
}

/* ========================================
   会员中心深色主题
   ======================================== */

/* 会员中心背景 */
[data-theme="dark"] .ey-body-bg {
    background-color: #1a1a1a !important;
}

[data-theme="dark"] .ey-body {
    background-color: transparent;
}

[data-theme="dark"] .ey-container {
    background-color: transparent;
    color: #e0e0e0 !important;
}

/* 左侧导航栏 */
[data-theme="dark"] .ey-nav {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .ey-nav ul li {
    color: #c5c5c5;
}

[data-theme="dark"] .ey-nav ul li .title {
    color: #e0e0e0;
}

[data-theme="dark"] .ey-nav ul li a {
    background-color: transparent;
    color: #c5c5c5;
}

[data-theme="dark"] .ey-nav ul li a:hover {
    color: #42a5f5;
}

[data-theme="dark"] .ey-nav ul .active a {
    color: #42a5f5;
}

/* 右侧内容区域 */
[data-theme="dark"] .ey-con {
    background-color: transparent;
}

[data-theme="dark"] .xin_mian {
    background: #2d2d2d !important;
}

[data-theme="dark"] .main-bg {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .user-info-con {
    background: #2d2d2d !important;
}

/* 标题 */
[data-theme="dark"] .column-title {
    border-bottom: 1px solid #404040;
    color: #e0e0e0;
}

[data-theme="dark"] .column-title .title {
    color: #e0e0e0;
}

[data-theme="dark"] .column-title .column-name {
    color: #42a5f5;
}

[data-theme="dark"] .column-title2 {
    border-bottom: 1px solid #404040;
}

[data-theme="dark"] .column-title2 .column-name2 {
    color: #e0e0e0;
}

/* 用户信息 */
[data-theme="dark"] .user-info {
    color: #e0e0e0;
}

[data-theme="dark"] .user-info .face {
    background-color: #3d3d3d;
    border: 1px solid #555;
}

[data-theme="dark"] .user-info .info {
    color: #e0e0e0;
}

[data-theme="dark"] .user-info-title h1 {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .user-info-title {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .user-info-box {
    background: #2d2d2d !important;
}

[data-theme="dark"] .user-info-box .info {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .user-info-box .info p {
    color: #c5c5c5 !important;
}

[data-theme="dark"] .user-info-box .info span {
    color: #c5c5c5 !important;
}

/* 表单 */
[data-theme="dark"] .item-from-row {
    border-bottom: 1px dashed #404040;
}

[data-theme="dark"] .item-from-row .from-row-l {
    color: #c5c5c5;
}

[data-theme="dark"] .item-from-row .from-row-r {
    color: #e0e0e0;
}

[data-theme="dark"] .el-input__inner,
[data-theme="dark"] .el-input input {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-input input:focus {
    border-color: #42a5f5 !important;
}

[data-theme="dark"] .el-input input::placeholder {
    color: #888 !important;
}

[data-theme="dark"] .item-from-row .from-row-r textarea {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

/* 按钮 */
[data-theme="dark"] .user-info-button {
    background: #ff6700;
    border: 1px solid #ff6700;
    color: #fff;
}

[data-theme="dark"] .user-info-button:hover {
    background: #ff8533;
    border-color: #ff8533;
}

[data-theme="dark"] .btn-primary {
    background: #ff9600 !important;
    border-color: #ff9600 !important;
    color: #fff !important;
}

[data-theme="dark"] .btn-primary:hover {
    background: #ffaa33 !important;
    border-color: #ffaa33 !important;
}

[data-theme="dark"] .btn-small {
    background: #3d3d3d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .btn-small:hover {
    background: #4a4a4a !important;
    border-color: #666 !important;
}

/* 订单 */
[data-theme="dark"] .order-list {
    background-color: transparent;
}

[data-theme="dark"] .uc-order-item {
    background-color: #2d2d2d !important;
    border: 1px solid #404040 !important;
}

[data-theme="dark"] .order-detail-table {
    background-color: transparent;
}

[data-theme="dark"] .order-detail-table th {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .order-detail-table td {
    border-bottom: 1px solid #404040 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .order-status {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .order-progress {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .order-progress-tit {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .order-progress-tit2 {
    background-color: #3d3d3d !important;
    border-left: 2px solid #ff6700;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .order-progress-con {
    background-color: #2d2d2d !important;
    color: #e0e0e0;
}

[data-theme="dark"] .order-status .status-item {
    color: #c5c5c5;
}

[data-theme="dark"] .order-status .status-item.current {
    color: #67c23a;
}

[data-theme="dark"] .order-status .status-item.current .status-icon {
    color: #67c23a;
    background-color: #2d2d2d;
    border-color: #67c23a;
}

[data-theme="dark"] .order-status .status-item:after,
[data-theme="dark"] .order-status .status-item:before {
    background-color: #404040;
}

/* 地址管理 */
[data-theme="dark"] .address-con .address-item {
    background-color: #2d2d2d !important;
    border: 1px solid #404040 !important;
}

[data-theme="dark"] .address-con .address-item:hover {
    border-color: #555 !important;
}

[data-theme="dark"] .address-con .address-item.cur {
    border: 1px solid #ffc899 !important;
}

[data-theme="dark"] .address-con .address-item .address-main {
    color: #e0e0e0;
}

[data-theme="dark"] .address-con .address-item .address-main h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .address-con .address-item .address-main span {
    color: #c5c5c5;
}

[data-theme="dark"] .address-oper span {
    color: #42a5f5 !important;
}

/* 购物车 */
[data-theme="dark"] .ey-cart-header {
    background: #2d2d2d !important;
    border-bottom: 2px solid #fd8a27;
    color: #c5c5c5;
}

[data-theme="dark"] .ey-cart-header-con {
    background-color: transparent;
}

[data-theme="dark"] .ey-cart-title h2 {
    color: #e0e0e0;
}

[data-theme="dark"] .ey-cart-title p {
    color: #c5c5c5;
}

[data-theme="dark"] .cart-container {
    background-color: transparent;
}

[data-theme="dark"] .cart-wrap {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .list-header {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .list-body {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .item-box {
    background-color: #2d2d2d !important;
    border-bottom: 1px solid #404040 !important;
}

[data-theme="dark"] .item-box:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .item-table {
    color: #e0e0e0;
}

[data-theme="dark"] .col-name {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .col-price {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .col-num {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .col-total {
    color: #ff6700 !important;
}

[data-theme="dark"] .change-goods-num {
    background-color: #3d3d3d;
    border: 1px solid #555;
}

[data-theme="dark"] .change-goods-num input {
    background-color: #3d3d3d !important;
    border: none !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .change-goods-num .reduce,
[data-theme="dark"] .change-goods-num .add {
    background-color: #4a4a4a;
    color: #e0e0e0;
    border: none;
}

[data-theme="dark"] .change-goods-num .reduce:hover,
[data-theme="dark"] .change-goods-num .add:hover {
    background-color: #555;
}

/* 表格 */
[data-theme="dark"] .el-table {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-table th {
    background-color: #3d3d3d !important;
    color: #e0e0e0 !important;
    border-bottom: 1px solid #555 !important;
}

[data-theme="dark"] .el-table td {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-bottom: 1px solid #404040 !important;
}

[data-theme="dark"] .el-table tr:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .el-table::before {
    background-color: #555 !important;
}

/* 复选框和单选框 */
[data-theme="dark"] .checkbox-label .check-mark {
    background-color: #3d3d3d;
    border: 1px solid #555;
}

[data-theme="dark"] .checkbox-label .checkbox:checked+.check-mark {
    background-color: #ff7600;
    border: 1px solid #ff7600;
}

[data-theme="dark"] .radio-label .check-mark {
    background-color: #3d3d3d;
    border: 1px solid #555;
}

[data-theme="dark"] .radio-label .radio:checked+.check-mark {
    border: 1px solid #ff7600;
    background-color: #ff7600;
}

/* 优惠券 */
[data-theme="dark"] .coupon-list .coupon-card {
    background-color: transparent;
}

[data-theme="dark"] .coupon-list .coupon-card .coupon-content {
    background-color: #ff6700 !important;
}

[data-theme="dark"] .coupon-list .coupon-card .item-description {
    background: #3d3d3d !important;
    border: 1px solid #ff6700 !important;
    color: #c5c5c5 !important;
}

/* 用户欢迎页 */
[data-theme="dark"] .user-box {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .user-box-text {
    background-color: #fd8a27 !important;
    color: #fff;
}

[data-theme="dark"] .user-box-vip {
    background-color: #2b3139 !important;
    color: #f2bc38;
}

[data-theme="dark"] .user-box-vip .open-vip {
    background-color: #f2bc38 !important;
    color: #2b3139 !important;
}

/* 门户数据 */
[data-theme="dark"] .portal-data {
    background-color: transparent;
}

[data-theme="dark"] .portal-data-item {
    background-color: #2d2d2d !important;
    border: 1px solid #404040 !important;
}

[data-theme="dark"] .portal-data-item:hover {
    background-color: #3d3d3d !important;
    border-color: #555 !important;
}

[data-theme="dark"] .portal-data-item .title {
    color: #c5c5c5;
}

[data-theme="dark"] .portal-data-item .value {
    color: #e0e0e0;
}

[data-theme="dark"] .portal-sub .info-list li {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .portal-sub .info-list li:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .portal-sub .info-list .info h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .portal-sub .info-list .info a {
    color: #c5c5c5;
}

[data-theme="dark"] .portal-sub .info-list .info a:hover {
    color: #42a5f5;
}

/* 面包屑导航 */
[data-theme="dark"] .breadcrumbs {
    background: #1a1a1a !important;
    color: #d0d0d0;
}

/* 页脚 */
[data-theme="dark"] .ey-footer {
    background-color: #2d2d2d !important;
    color: #c0c0c0;
}

[data-theme="dark"] .ey-footer p {
    color: #c0c0c0;
}

[data-theme="dark"] .ey-footer a {
    color: #c0c0c0;
}

[data-theme="dark"] .ey-footer a:hover {
    color: #42a5f5;
}

/* 空状态 */
[data-theme="dark"] .empty-content {
    background: #3d3d3d !important;
    color: #c5c5c5 !important;
}

/* Video Filter Dark Mode */
[data-theme="dark"] .filter-item {
    background-color: #1f2937;
    color: #9ca3af;
}

[data-theme="dark"] .filter-item:hover {
    background-color: #374151;
    color: #e5e7eb;
}

[data-theme="dark"] .filter-item.active {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .empty-content i {
    color: #888 !important;
}

/* ========================================
   Element UI 组件深色主题
   ======================================== */

/* 对话框 */
[data-theme="dark"] .el-dialog {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .el-dialog__header {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
}

[data-theme="dark"] .el-dialog__title {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-dialog__body {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-dialog__footer {
    background-color: #2d2d2d !important;
    border-top: 1px solid #555 !important;
}

[data-theme="dark"] .el-dialog__wrapper {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .el-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* 下拉选择框 */
[data-theme="dark"] .el-select {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .el-select .el-input__inner {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-select-dropdown {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-select-dropdown__item {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-select-dropdown__item:hover {
    background-color: #4a4a4a !important;
}

[data-theme="dark"] .el-select-dropdown__item.selected {
    color: #42a5f5 !important;
}

/* 分页 */
[data-theme="dark"] .el-pagination {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-pagination button {
    background-color: #3d3d3d !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-pagination button:hover {
    background-color: #4a4a4a !important;
}

[data-theme="dark"] .el-pager li {
    background-color: #3d3d3d !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-pager li:hover {
    color: #42a5f5 !important;
}

[data-theme="dark"] .el-pager li.active {
    background-color: #42a5f5 !important;
    color: #fff !important;
    border-color: #42a5f5 !important;
}

/* 消息通知 */
[data-theme="dark"] .el-message {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-message--success {
    background-color: #2d4a2d !important;
    border-color: #67c23a !important;
}

[data-theme="dark"] .el-message--warning {
    background-color: #4a3d2d !important;
    border-color: #e6a23c !important;
}

[data-theme="dark"] .el-message--error {
    background-color: #4a2d2d !important;
    border-color: #f56c6c !important;
}

/* 表单 */
[data-theme="dark"] .el-form-item__label {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-form-item__content {
    color: #e0e0e0 !important;
}

/* 按钮 */
[data-theme="dark"] .el-button {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-button:hover {
    background-color: #4a4a4a !important;
    border-color: #666 !important;
}

[data-theme="dark"] .el-button--primary {
    background-color: #ff9600 !important;
    border-color: #ff9600 !important;
    color: #fff !important;
}

[data-theme="dark"] .el-button--primary:hover {
    background-color: #ffaa33 !important;
    border-color: #ffaa33 !important;
}

[data-theme="dark"] .el-button--success {
    background-color: #67c23a !important;
    border-color: #67c23a !important;
}

[data-theme="dark"] .el-button--warning {
    background-color: #e6a23c !important;
    border-color: #e6a23c !important;
}

[data-theme="dark"] .el-button--danger {
    background-color: #f56c6c !important;
    border-color: #f56c6c !important;
}

/* 日期选择器 */
[data-theme="dark"] .el-date-picker {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-picker-panel {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-date-table td {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-date-table td.available:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .el-date-table td.today span {
    color: #42a5f5 !important;
}

[data-theme="dark"] .el-date-table td.current:not(.disabled) span {
    background-color: #42a5f5 !important;
    color: #fff !important;
}

/* 时间选择器 */
[data-theme="dark"] .el-time-panel {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-time-spinner__item {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-time-spinner__item:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .el-time-spinner__item.active {
    color: #42a5f5 !important;
}

/* 上传组件 */
[data-theme="dark"] .el-upload {
    background-color: #3d3d3d !important;
    border: 1px dashed #555 !important;
}

[data-theme="dark"] .el-upload:hover {
    border-color: #42a5f5 !important;
}

[data-theme="dark"] .el-upload-dragger {
    background-color: #3d3d3d !important;
    border: 1px dashed #555 !important;
}

[data-theme="dark"] .el-upload-dragger:hover {
    border-color: #42a5f5 !important;
}

[data-theme="dark"] .el-upload-list {
    background-color: transparent !important;
}

[data-theme="dark"] .el-upload-list__item {
    background-color: #2d2d2d !important;
    border: 1px solid #404040 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-upload-list__item:hover {
    background-color: #3d3d3d !important;
}

/* 标签页 */
[data-theme="dark"] .el-tabs {
    background-color: transparent !important;
}

[data-theme="dark"] .el-tabs__header {
    background-color: #2d2d2d !important;
    border-bottom: 1px solid #555 !important;
}

[data-theme="dark"] .el-tabs__nav {
    background-color: transparent !important;
}

[data-theme="dark"] .el-tabs__item {
    color: #c5c5c5 !important;
}

[data-theme="dark"] .el-tabs__item:hover {
    color: #42a5f5 !important;
}

[data-theme="dark"] .el-tabs__item.is-active {
    color: #42a5f5 !important;
}

[data-theme="dark"] .el-tabs__content {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

/* 步骤条 */
[data-theme="dark"] .el-steps {
    background-color: transparent !important;
}

[data-theme="dark"] .el-step__title {
    color: #c5c5c5 !important;
}

[data-theme="dark"] .el-step__description {
    color: #888 !important;
}

[data-theme="dark"] .el-step__head.is-finish {
    color: #67c23a !important;
    border-color: #67c23a !important;
}

[data-theme="dark"] .el-step__head.is-process {
    color: #42a5f5 !important;
    border-color: #42a5f5 !important;
}

[data-theme="dark"] .el-step__line {
    background-color: #404040 !important;
}

/* 加载 */
[data-theme="dark"] .el-loading-mask {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

[data-theme="dark"] .el-loading-spinner .el-loading-text {
    color: #e0e0e0 !important;
}

/* 提示框 */
[data-theme="dark"] .el-tooltip__popper {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-tooltip__popper[x-placement^="top"] .popper__arrow {
    border-top-color: #555 !important;
}

[data-theme="dark"] .el-tooltip__popper[x-placement^="bottom"] .popper__arrow {
    border-bottom-color: #555 !important;
}

/* 下拉菜单 */
[data-theme="dark"] .el-dropdown-menu {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-dropdown-menu__item {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-dropdown-menu__item:hover {
    background-color: #3d3d3d !important;
    color: #42a5f5 !important;
}

/* 通知 */
[data-theme="dark"] .el-notification {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-notification__title {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-notification__content {
    color: #c5c5c5 !important;
}

/* 警告框 */
[data-theme="dark"] .el-alert {
    background-color: #3d3d3d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-alert--success {
    background-color: #2d4a2d !important;
    border-color: #67c23a !important;
}

[data-theme="dark"] .el-alert--warning {
    background-color: #4a3d2d !important;
    border-color: #e6a23c !important;
}

[data-theme="dark"] .el-alert--error {
    background-color: #4a2d2d !important;
    border-color: #f56c6c !important;
}

[data-theme="dark"] .el-alert__title {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-alert__description {
    color: #b0b0b0 !important;
}

/* 开关 */
[data-theme="dark"] .el-switch__core {
    background-color: #555 !important;
    border-color: #555 !important;
}

[data-theme="dark"] .el-switch.is-checked .el-switch__core {
    background-color: #42a5f5 !important;
    border-color: #42a5f5 !important;
}

/* 滑块 */
[data-theme="dark"] .el-slider__runway {
    background-color: #555 !important;
}

[data-theme="dark"] .el-slider__bar {
    background-color: #42a5f5 !important;
}

[data-theme="dark"] .el-slider__button {
    border-color: #42a5f5 !important;
}

/* 评分 */
[data-theme="dark"] .el-rate__icon {
    color: #555 !important;
}

[data-theme="dark"] .el-rate__icon.hover {
    color: #42a5f5 !important;
}

/* 穿梭框 */
[data-theme="dark"] .el-transfer {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-transfer-panel {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-transfer-panel__header {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-transfer-panel__body {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .el-transfer-panel__item {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-transfer-panel__item:hover {
    background-color: #3d3d3d !important;
}

/* 树形控件 */
[data-theme="dark"] .el-tree {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-tree-node__content {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-tree-node__content:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background-color: #3d3d3d !important;
    color: #42a5f5 !important;
}

/* ========================================
   通用文字和元素样式优化
   ======================================== */

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #e0e0e0 !important;
}

[data-theme="dark"] p {
    color: #c0c0c0 !important;
}

[data-theme="dark"] span {
    color: #c0c0c0;
}

[data-theme="dark"] label {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .fc3,
[data-theme="dark"] .fc9 {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .text-gray,
[data-theme="dark"] .gray-text {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .text-muted {
    color: #888 !important;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .dark-text {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .white-bg {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .card {
    background-color: #2d2d2d !important;
    border: 1px solid #404040 !important;
}

[data-theme="dark"] .card-header {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .card-body {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .card-footer {
    background-color: #3d3d3d !important;
    border-top: 1px solid #555 !important;
}

[data-theme="dark"] .list-item {
    background-color: #2d2d2d !important;
    border-bottom: 1px solid #404040 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .list-item:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-left,
[data-theme="dark"] .border-right {
    border-color: #404040 !important;
}

[data-theme="dark"] .shadow,
[data-theme="dark"] .box-shadow {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .ey-container a {
    color: #e0e0e0;
}

[data-theme="dark"] .ey-container a:hover {
    color: #42a5f5;
}

[data-theme="dark"] a:not(.el-button):not(.btn) {
    color: #90cdf4 !important;
}

[data-theme="dark"] a:not(.el-button):not(.btn):hover {
    color: #42a5f5 !important;
}

/* 滚动条样式 */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #666;
}

[data-theme="dark"] .el-slider__runway {
    background-color: #555 !important;
}

[data-theme="dark"] .el-slider__bar {
    background-color: #42a5f5 !important;
}

[data-theme="dark"] .el-slider__button {
    border-color: #42a5f5 !important;
}

/* 评分 */
[data-theme="dark"] .el-rate__icon {
    color: #555 !important;
}

[data-theme="dark"] .el-rate__icon.hover {
    color: #42a5f5 !important;
}

/* 穿梭框 */
[data-theme="dark"] .el-transfer {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-transfer-panel {
    background-color: #2d2d2d !important;
    border: 1px solid #555 !important;
}

[data-theme="dark"] .el-transfer-panel__header {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-transfer-panel__body {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .el-transfer-panel__item {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-transfer-panel__item:hover {
    background-color: #3d3d3d !important;
}

/* 树形控件 */
[data-theme="dark"] .el-tree {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-tree-node__content {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .el-tree-node__content:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background-color: #3d3d3d !important;
    color: #42a5f5 !important;
}

/* ========================================
   通用文字和元素样式优化
   ======================================== */

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #e0e0e0 !important;
}

[data-theme="dark"] p {
    color: #c0c0c0 !important;
}

[data-theme="dark"] span {
    color: #c0c0c0;
}

[data-theme="dark"] label {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .fc3,
[data-theme="dark"] .fc9 {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .text-gray,
[data-theme="dark"] .gray-text {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .text-muted {
    color: #888 !important;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .dark-text {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .white-bg {
    background-color: #2d2d2d !important;
}

[data-theme="dark"] .card {
    background-color: #2d2d2d !important;
    border: 1px solid #404040 !important;
}

[data-theme="dark"] .card-header {
    background-color: #3d3d3d !important;
    border-bottom: 1px solid #555 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .card-body {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .card-footer {
    background-color: #3d3d3d !important;
    border-top: 1px solid #555 !important;
}

[data-theme="dark"] .list-item {
    background-color: #2d2d2d !important;
    border-bottom: 1px solid #404040 !important;
    color: #e0e0e0 !important;
}

[data-theme="dark"] .list-item:hover {
    background-color: #3d3d3d !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-left,
[data-theme="dark"] .border-right {
    border-color: #404040 !important;
}

[data-theme="dark"] .shadow,
[data-theme="dark"] .box-shadow {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .ey-container a {
    color: #e0e0e0;
}

[data-theme="dark"] .ey-container a:hover {
    color: #42a5f5;
}

[data-theme="dark"] a:not(.el-button):not(.btn) {
    color: #e0e0e0 !important;
}

[data-theme="dark"] a:not(.el-button):not(.btn):hover {
    color: #007ACC !important;
}

/* 滚动条样式 */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* ========================================
   滚动条样式
   ======================================== */

/* 浅色主题滚动条 */
[data-theme="light"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 深色主题滚动条 */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* ========================================
   友情打赏模块 - 深色主题适配
   ======================================== */
[data-theme="dark"] .sponsor-option {
    color: #fff !important;
}

[data-theme="dark"] .qrcode-card {
    background-color: #2d2d2d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .qrcode-img-wrapper {
    background-color: #3d4043;
}

[data-theme="dark"] .qrcode-card p {
    color: #ccc;
}

/* ========================================
   我的圈子侧边栏 - 深色主题适配
   ======================================== */
[data-theme="dark"] .widget.asklist ul li+li,
body.dark-theme .widget.asklist ul li+li {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .widget.asklist .recom-tag,
body.dark-theme .widget.asklist .recom-tag {
    color: #ff8a80;
    border-color: #ff8a80;
}

[data-theme="dark"] .widget.asklist a,
body.dark-theme .widget.asklist a {
    color: #e0e0e0;
}

[data-theme="dark"] .widget.asklist a:hover,
body.dark-theme .widget.asklist a:hover {
    color: #64b5f6;
}