/* APP详情页专用样式 */

/* 基础容器优化 */
.app-details-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 移动端 */
@media (max-width: 1023px) {
    .app-details-container {
        max-width: 100%;
        padding: 0 1rem !important; /* 减少左右内边距，给内容更多空间 */
    }

    /* 覆盖Tailwind的py-8类，增加移动端的垂直间距 */
    .app-details-container.py-8 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* 移动端区块间距优化 - 增加垂直间距 */
    .app-details-main .app-details-section {
        margin-bottom: 2rem !important; /* 从默认间距增加到2rem，提供更好的视觉分离 */
    }

    .app-details-main .app-details-section:last-child {
        margin-bottom: 1rem !important; /* 最后一个区块保持适当底部间距 */
    }

    /* 移动端卡片内边距优化 */
    .app-details-main .app-details-card {
        padding: 1.5rem !important; /* 保持足够的内边距 */
        border-radius: 1rem !important; /* 稍微增加圆角，更现代的外观 */
    }

    /* 确保移动端区块间距生效 */
    .app-details-main > div.app-details-section {
        margin-bottom: 2rem !important;
    }

    /* 移动端特殊区块间距 */
    .app-details-main .bg-white.rounded-xl.shadow-lg {
        margin-bottom: 2rem !important;
    }

    /* 移动端智能下载区域优化 */
    .platform-android-priority,
    .platform-ios-priority {
        margin-bottom: 1.5rem; /* 增加下载区域的底部间距 */
    }

    .platform-android-priority .download-card,
    .platform-ios-priority .download-card {
        border-width: 2px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem; /* 下载卡片之间的间距 */
    }

    /* 移动端下载按钮优化 */
    .platform-android-priority .download-card h3::after,
    .platform-ios-priority .download-card h3::after {
        content: ' 🎯';
        font-size: 0.9em;
    }

    /* FAB按钮位置优化 */
    #mobile-download-fab {
        bottom: 5rem; /* 避免与底部导航冲突 */
    }

    /* 平台检测提示 */
    .platform-detected-hint {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 1rem;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        margin-bottom: 0.75rem; /* 增加提示与下方内容的间距 */
    }

    .platform-detected-hint::before {
        content: '📱';
        font-size: 0.8em;
    }

    /* 移动端标题区域间距优化 - 覆盖Tailwind类 */
    .app-details-card h2.mb-6 {
        margin-bottom: 1.5rem !important; /* 增加标题与内容的间距 */
    }

    .app-details-card h1.mb-2 {
        margin-bottom: 1rem !important; /* 应用名称底部间距 */
    }

    .app-details-card p.mb-4 {
        margin-bottom: 1.25rem !important; /* 应用描述底部间距 */
    }

    /* 移动端下载卡片间距优化 */
    .download-card.mb-6 {
        margin-bottom: 1.5rem !important;
    }

    .download-card .mb-4 {
        margin-bottom: 1rem !important;
    }

    /* 移动端功能列表间距优化 */
    .features-grid {
        gap: 1rem; /* 功能项之间的间距 */
    }

    .features-grid > div {
        padding: 1rem; /* 功能项内边距 */
        margin-bottom: 0.5rem; /* 功能项底部间距 */
    }

    /* 移动端截图区域优化 */
    .screenshot-section {
        margin-bottom: 2rem; /* 截图区域底部间距 */
    }

    .screenshot-container {
        margin-bottom: 1rem; /* 截图容器底部间距 */
    }

    /* 移动端版本信息区域优化 */
    .version-info-grid {
        gap: 1.5rem; /* 版本信息项之间的间距 */
        margin-bottom: 1rem;
    }

    .version-info-item {
        padding: 1.25rem; /* 版本信息项内边距 */
        background: #f9fafb; /* 轻微背景色区分 */
        border-radius: 0.75rem;
    }

    /* 移动端推荐应用区域优化 */
    .recommended-apps-grid {
        gap: 1rem; /* 推荐应用之间的间距 */
    }

    .recommended-app-card {
        padding: 1.25rem; /* 推荐应用卡片内边距 */
        margin-bottom: 0.75rem;
    }

    /* 移动端反馈区域优化 */
    .feedback-grid {
        gap: 1.5rem; /* 反馈卡片之间的间距 */
    }

    .feedback-card {
        padding: 1.5rem; /* 反馈卡片内边距 */
        margin-bottom: 1rem;
    }

    /* 移动端强制间距优化 - 使用更具体的选择器 */
    .app-details-container .app-details-main > .app-details-card.app-details-section {
        margin-bottom: 2rem !important;
    }

    .app-details-container .app-details-main > .bg-white.rounded-xl.shadow-lg {
        margin-bottom: 2rem !important;
    }

    /* 移动端应用基本信息区块特殊处理 */
    .app-details-container .app-details-main > .app-details-card:first-child {
        margin-bottom: 2rem !important;
    }

    /* 移动端下载区块特殊处理 */
    .app-details-container .app-details-main > .app-details-card.lg\\:hidden {
        margin-bottom: 2rem !important;
    }
}

/* PC端容器宽度优化 */
@media (min-width: 1024px) {
    .app-details-container {
        max-width: 1152px; /* 6xl - 比原来的4xl(896px)更宽 */
        padding: 0 2rem;
    }
}

@media (min-width: 1440px) {
    .app-details-container {
        max-width: 1280px; /* 7xl */
        padding: 0 2.5rem;
    }
}

@media (min-width: 1920px) {
    .app-details-container {
        max-width: 1536px; /* screen-xl */
        padding: 0 3rem;
    }
}

/* 详情页区块间距优化 */
@media (min-width: 1024px) {
    .app-details-section {
        margin-bottom: 1.5rem; /* 24px - 比原来的2rem(32px)更紧凑 */
    }
    
    .app-details-section:last-child {
        margin-bottom: 0;
    }
    
    /* 区块内边距优化 */
    .app-details-card {
        padding: 1.25rem; /* 20px - 比原来的1.5rem(24px)更紧凑 */
    }
}

/* 应用基本信息区块优化 */
.app-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem; /* 增加基本信息区域的底部间距 */
}

/* 应用标签样式 */
.app-tags-section {
    margin: 1rem 0;
}

.app-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.app-tag:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

.app-tag .tag-text {
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* 标签图标样式 */
.app-tags-section .fas.fa-tags {
    color: #6b7280;
    font-size: 0.875rem;
}

/* 响应式标签样式 */
@media (max-width: 640px) {
    .app-tags-section {
        margin: 0.75rem 0;
    }

    .app-tag {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }

    .app-tags-section .flex {
        gap: 0.375rem;
    }

    .app-tags-section .text-sm {
        font-size: 0.8125rem;
    }
}

/* 移动端应用基本信息优化 */
@media (max-width: 1023px) {
    .app-info-header {
        gap: 1rem; /* 移动端减少图标与文本的间距 */
        margin-bottom: 1.5rem; /* 移动端增加底部间距 */
        flex-direction: column; /* 小屏幕时垂直排列 */
        text-align: center;
    }

    @media (min-width: 480px) {
        .app-info-header {
            flex-direction: row; /* 稍大屏幕时恢复水平排列 */
            text-align: left;
        }
    }

    .app-info-header .app-icon {
        width: 5rem; /* 移动端图标稍大 */
        height: 5rem;
        margin-bottom: 1rem; /* 垂直排列时的间距 */
    }

    @media (min-width: 480px) {
        .app-info-header .app-icon {
            margin-bottom: 0; /* 水平排列时取消底部间距 */
        }
    }

    .app-info-content h1 {
        font-size: 1.75rem; /* 移动端标题大小 */
        line-height: 1.3;
        margin-bottom: 1rem; /* 增加标题底部间距 */
    }

    .app-info-content p {
        font-size: 1rem; /* 移动端描述文字大小 */
        line-height: 1.6;
        margin-bottom: 1.25rem; /* 增加描述底部间距 */
        color: #6b7280; /* 稍微淡化描述文字 */
    }

    /* 移动端标签区域优化 */
    .app-info-content .flex.flex-wrap {
        justify-content: center; /* 垂直排列时标签居中 */
        gap: 0.75rem; /* 标签之间的间距 */
        margin-top: 0.5rem;
    }

    @media (min-width: 480px) {
        .app-info-content .flex.flex-wrap {
            justify-content: flex-start; /* 水平排列时标签左对齐 */
        }
    }
}

@media (min-width: 1024px) {
    .app-info-header {
        gap: 2rem;
    }
    
    .app-info-header .app-icon {
        width: 5rem;
        height: 5rem;
    }
    
    .app-info-content h1 {
        font-size: 2.25rem; /* 36px */
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .app-info-content p {
        font-size: 1.125rem; /* 18px */
        line-height: 1.5;
        margin-bottom: 1rem;
    }
}

/* 功能列表优化 */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr); /* PC端显示4列 */
        gap: 1rem;
    }
}

@media (min-width: 1440px) {
    .features-grid {
        grid-template-columns: repeat(5, 1fr); /* 大屏显示5列 */
    }
}

/* 截图展示优化 */
.screenshot-section {
    position: relative;
}

@media (min-width: 1024px) {
    .screenshot-container {
        height: 20rem; /* 320px - 比原来的24rem(384px)更紧凑 */
    }
}

@media (min-width: 1440px) {
    .screenshot-container {
        height: 24rem; /* 384px */
    }
}

@media (min-width: 1920px) {
    .screenshot-container {
        height: 26rem; /* 416px */
    }
}

/* 下载区块紧凑化 */
@media (min-width: 1024px) {
    .download-grid {
        grid-template-columns: repeat(4, 1fr); /* PC端显示4列 */
        gap: 1rem;
    }
    
    .download-card {
        padding: 1rem;
    }
    
    .download-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .download-card p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

/* 版本信息区块优化 */
@media (min-width: 1024px) {
    .version-info-grid {
        grid-template-columns: repeat(4, 1fr); /* PC端显示4列 */
        gap: 1.5rem;
    }
    
    .version-info-item {
        text-align: center;
        padding: 1rem;
    }
    
    .version-info-icon {
        width: 3rem;
        height: 3rem;
        margin: 0 auto 0.75rem;
    }
}

/* 推荐应用区块优化 */
@media (min-width: 1024px) {
    .recommended-apps-grid {
        grid-template-columns: repeat(4, 1fr); /* PC端显示4列 */
        gap: 1rem;
    }
    
    .recommended-app-card {
        padding: 1rem;
    }
    
    .recommended-app-card img {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .recommended-app-card h3 {
        font-size: 0.875rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }
    
    .recommended-app-card p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1440px) {
    .recommended-apps-grid {
        grid-template-columns: repeat(6, 1fr); /* 大屏显示6列 */
    }
}

/* 反馈区块优化 */
@media (min-width: 1024px) {
    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .feedback-card {
        padding: 1.25rem;
    }
}

/* 悬停效果优化 - 减弱动效 */
@media (min-width: 1024px) {
    .app-details-card {
        transition: all 0.3s ease;
    }

    .app-details-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .download-card {
        transition: all 0.2s ease;
    }

    .download-card:hover {
        transform: translateY(-1px) scale(1.005);
    }

    .recommended-app-card {
        transition: all 0.2s ease;
    }

    .recommended-app-card:hover {
        transform: translateY(-1px) scale(1.01);
    }

    /* 截图轮播优化 */
    .screenshot-slide img {
        transition: transform 0.3s ease;
    }

    .screenshot-slide:hover img {
        transform: scale(1.02);
    }

    /* 功能列表项悬停效果 */
    .features-grid > div {
        transition: all 0.2s ease;
    }

    .features-grid > div:hover {
        transform: translateY(-1px);
        background-color: #f3f4f6;
    }
}

/* 响应式工具类 */
@media (min-width: 1024px) {
    .pc-compact-spacing {
        margin-bottom: 1.5rem !important;
    }

    .pc-compact-padding {
        padding: 1.25rem !important;
    }

    .pc-tight-grid {
        gap: 1rem !important;
    }

    /* 文本截断优化 */
    .text-truncate-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .text-truncate-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 平滑滚动 */
    .app-details-sidebar {
        scroll-behavior: smooth;
    }

    /* 焦点样式优化 */
    .sidebar-download-btn:focus,
    .recommended-app-card:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }
}

/* 智能下载显示样式 */
.platform-android-priority,
.platform-ios-priority {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.platform-android-priority.hidden,
.platform-ios-priority.hidden,
.platform-generic-downloads.hidden {
    display: none !important;
}

/* FAB按钮智能显示 */
.fab-android,
.fab-ios,
.fab-web {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 平台优先显示动画 */
.platform-priority-enter {
    opacity: 0;
    transform: translateY(20px);
}

.platform-priority-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 下载按钮hover效果增强 */
[data-platform][data-download-type] {
    position: relative;
    overflow: hidden;
}

[data-platform][data-download-type]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

[data-platform][data-download-type]:hover::before {
    left: 100%;
}

/* PC端单列居中布局 */
@media (min-width: 1024px) {
    .app-details-layout {
        display: block;
        max-width: 900px; /* 主内容区最大宽度 */
        margin: 0 auto; /* 居中显示 */
    }

    .app-details-main {
        width: 100%;
    }
}

/* 侧边栏下载卡片样式 */
.sidebar-download-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.sidebar-download-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-download-card .platform-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.sidebar-download-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sidebar-download-card p {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.sidebar-download-btn {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

/* 侧边栏版本信息样式 */
.sidebar-version-info {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.sidebar-version-info .version-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.25rem;
}

.sidebar-version-info .version-date {
    font-size: 0.75rem;
    color: #a16207;
}

/* 侧边栏推荐应用样式 */
.sidebar-recommended-app {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.sidebar-recommended-app:hover {
    background: #f3f4f6;
    transform: translateX(2px);
}

.sidebar-recommended-app img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    margin-right: 0.75rem;
}

.sidebar-recommended-app .app-info h5 {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
    line-height: 1.2;
}

.sidebar-recommended-app .app-info p {
    font-size: 0.625rem;
    color: #6b7280;
    line-height: 1.3;
}

/* 移动端保持原有布局 */
@media (max-width: 1023px) {
    .app-details-layout {
        display: block;
    }

    .app-details-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* 小屏幕设备特殊优化 */
@media (max-width: 480px) {
    .app-details-container {
        padding: 0 0.75rem; /* 小屏幕进一步减少左右内边距 */
    }

    .app-details-section {
        margin-bottom: 1.75rem; /* 小屏幕稍微减少区块间距 */
    }

    .app-details-card {
        padding: 1.25rem; /* 小屏幕减少卡片内边距 */
        border-radius: 0.75rem;
    }

    .app-info-header .app-icon {
        width: 4rem; /* 小屏幕图标更小 */
        height: 4rem;
    }

    .app-info-content h1 {
        font-size: 1.5rem; /* 小屏幕标题更小 */
        margin-bottom: 0.75rem;
    }

    .app-info-content p {
        font-size: 0.9rem; /* 小屏幕描述文字更小 */
        margin-bottom: 1rem;
    }

    /* 小屏幕功能列表优化 */
    .features-grid > div {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    /* 小屏幕下载按钮优化 */
    .download-card {
        padding: 1rem;
    }

    .download-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    /* 小屏幕版本信息优化 */
    .version-info-item {
        padding: 1rem;
    }

    .version-info-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.5rem;
    }

    /* 小屏幕推荐应用优化 */
    .recommended-app-card {
        padding: 1rem;
    }

    .recommended-app-card img {
        width: 2.5rem;
        height: 2.5rem;
    }

    /* 小屏幕反馈区域优化 */
    .feedback-card {
        padding: 1.25rem;
    }
}

/* 超小屏幕设备优化 */
@media (max-width: 360px) {
    .app-details-container {
        padding: 0 0.5rem; /* 超小屏幕最小内边距 */
    }

    .app-details-section {
        margin-bottom: 1.5rem; /* 超小屏幕进一步减少区块间距 */
    }

    .app-details-card {
        padding: 1rem; /* 超小屏幕最小卡片内边距 */
    }

    .app-info-content h1 {
        font-size: 1.375rem; /* 超小屏幕标题 */
    }

    .app-info-content p {
        font-size: 0.875rem; /* 超小屏幕描述文字 */
    }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
    .app-details-card {
        background-color: var(--dark-bg-secondary);
        border: 1px solid var(--dark-border);
    }

    .download-card {
        background: var(--dark-gradient-1);
    }

    .recommended-app-card {
        background: var(--dark-gradient-2);
    }

    .sidebar-download-card {
        background: var(--dark-gradient-1);
        border-color: var(--dark-border);
    }

    .sidebar-version-info {
        background: var(--dark-gradient-3);
        border-color: var(--dark-border);
    }

    .sidebar-recommended-app {
        background: var(--dark-bg-tertiary);
        border-color: var(--dark-border);
    }

    .sidebar-recommended-app:hover {
        background: var(--dark-surface);
    }

    /* 暗色模式下的标签样式 */
    .app-tag {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
        color: #93c5fd;
        border-color: rgba(59, 130, 246, 0.3);
    }

    .app-tag:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
        color: #bfdbfe;
        border-color: rgba(59, 130, 246, 0.5);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    }

    .app-tags-section .fas.fa-tags {
        color: #9ca3af;
    }
}

.dark .app-details-card {
    background-color: var(--dark-bg-secondary);
    border: 1px solid var(--dark-border);
}

/* .dark 类下的标签样式 */
.dark .app-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

.dark .app-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.dark .app-tags-section .fas.fa-tags {
    color: #9ca3af;
}

.dark .download-card {
    background: var(--dark-gradient-1);
}

.dark .recommended-app-card {
    background: var(--dark-gradient-2);
}

.dark .sidebar-download-card {
    background: var(--dark-gradient-1);
    border-color: var(--dark-border);
}

.dark .sidebar-version-info {
    background: var(--dark-gradient-3);
    border-color: var(--dark-border);
}

.dark .sidebar-recommended-app {
    background: var(--dark-bg-tertiary);
    border-color: var(--dark-border);
}

.dark .sidebar-recommended-app:hover {
    background: var(--dark-surface);
}

/* 扩展标签样式 */
.extended-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.extended-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.15);
}

.extended-tag .tag-text {
    position: relative;
    z-index: 1;
}

/* 扩展标签区域样式 */
.extended-tags-section {
    padding: 1rem 0;
}

/* 移动端扩展标签优化 */
@media (max-width: 768px) {
    .extended-tag {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
        margin: 0.125rem;
    }

    .extended-tags-section {
        padding: 0.75rem 0;
    }
}

/* 暗色模式下的扩展标签样式 */
@media (prefers-color-scheme: dark) {
    .extended-tag {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(168, 85, 247, 0.1));
        color: #c084fc;
        border-color: rgba(147, 51, 234, 0.3);
        opacity: 0.7;
    }

    .extended-tag:hover {
        background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(168, 85, 247, 0.2));
        color: #ddd6fe;
        border-color: rgba(147, 51, 234, 0.5);
        opacity: 1;
        box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
    }
}

/* .dark 类下的扩展标签样式 */
.dark .extended-tag {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(168, 85, 247, 0.1));
    color: #c084fc;
    border-color: rgba(147, 51, 234, 0.3);
    opacity: 0.7;
}

.dark .extended-tag:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(168, 85, 247, 0.2));
    color: #ddd6fe;
    border-color: rgba(147, 51, 234, 0.5);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
}
