/**
 * 标签和按钮颜色修复
 * 
 * Hurricane v3.0
 * 此文件最后加载，确保标签文字颜色正确
 * 解决日间模式下文字颜色和背景混合的问题
 */

/* ========================================
   所有标签强制白色文字（最高优先级）
   ======================================== */

/* 文章卡片标签 */
.content-card-badge,
.content-card .content-card-badge,
.content-card-image .content-card-badge,
span.content-card-badge,
a.content-card-badge {
    color: #ffffff !important;
}

/* Hero区分类标签 */
.hero-content-card-category,
.hero-content-card .hero-content-card-category,
span.hero-content-card-category,
a.hero-content-card-category {
    color: #ffffff !important;
}

/* 文章详情页分类标签 */
.article-category,
.article-header .article-category,
span.article-category,
a.article-category {
    color: #ffffff !important;
}

/* 编辑精选标签 */
.editor-pick-badge,
span.editor-pick-badge {
    color: #1a1a1a !important; /* 金色背景用深色文字 */
}

.article-featured-badge,
span.article-featured-badge {
    color: #1a1a1a !important; /* 金色背景用深色文字 */
}

/* Hero区链接按钮 */
.hero-content-card-link,
.hero-content-card .hero-content-card-link,
a.hero-content-card-link {
    color: #ffffff !important;
}

/* 频道链接按钮 */
.channel-link,
.channel-header .channel-link,
a.channel-link {
    color: #ffffff !important;
}

/* ========================================
   悬停状态（保持白色）
   ======================================== */

.content-card-badge:hover,
.hero-content-card-category:hover,
.article-category:hover,
.hero-content-card-link:hover,
.channel-link:hover,
a.content-card-badge:hover,
a.hero-content-card-category:hover,
a.article-category:hover,
a.hero-content-card-link:hover,
a.channel-link:hover {
    color: #ffffff !important;
}

.editor-pick-badge:hover,
.article-featured-badge:hover {
    color: #1a1a1a !important;
}

/* ========================================
   日间/夜间模式都适用
   ======================================== */

/* 日间模式 */
body[data-theme-mode="light"] .content-card-badge,
body[data-theme-mode="light"] .hero-content-card-category,
body[data-theme-mode="light"] .article-category,
body[data-theme-mode="light"] .hero-content-card-link,
body[data-theme-mode="light"] .channel-link {
    color: #ffffff !important;
}

/* 夜间模式 */
body[data-theme-mode="dark"] .content-card-badge,
body[data-theme-mode="dark"] .hero-content-card-category,
body[data-theme-mode="dark"] .article-category,
body[data-theme-mode="dark"] .hero-content-card-link,
body[data-theme-mode="dark"] .channel-link {
    color: #ffffff !important;
}

/* ========================================
   确保SVG图标也是白色
   ======================================== */

.content-card-badge svg,
.hero-content-card-category svg,
.article-category svg,
.hero-content-card-link svg,
.channel-link svg {
    stroke: #ffffff !important;
    fill: none;
}

