/* ========================================
   小蜜蜂音乐 - 公共样式 (清新明亮版)
   ======================================== */

/* CSS 变量定义 - 全新明亮主题 */
:root {
    /* 主题色 - 改为清新薄荷绿 */
    --primary-color: #2DD4A0;
    --primary-hover: #22B88A;
    --primary-light: #E6FAF3;
    
    /* 背景色 - 暖白米黄系，完全区别于黑色 */
    --bg-primary: #FDF8F3;
    --bg-secondary: #FFF9F5;
    --bg-tertiary: #F5EDE6;
    --bg-card: #FFFFFF;
    --bg-hover: #F0E8E0;
    
    /* 文字色 - 深棕系，柔和不刺眼 */
    --text-primary: #3D3229;
    --text-secondary: #6B5D4F;
    --text-tertiary: #9A8B7A;
    --text-muted: #B8A99A;
    
    /* 边框色 - 温暖浅棕 */
    --border-color: #E8DDD4;
    --border-light: #F0E5DC;
    
    /* 功能色 */
    --success-color: #2DD4A0;
    --warning-color: #F5A623;
    --error-color: #FF6B6B;
    --vip-color: #FFD93D;
    
    /* 尺寸 */
    --header-height: 64px;
    --player-height: 72px;
    --footer-height: 200px;
    
    /* 圆角 - 更圆润 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 阴影 - 柔和自然 */
    --shadow-sm: 0 2px 8px rgba(61, 50, 41, 0.06);
    --shadow-md: 0 4px 20px rgba(61, 50, 41, 0.08);
    --shadow-lg: 0 8px 32px rgba(61, 50, 41, 0.12);
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
}

/* ========================================
   顶部导航 - 全新布局+特效
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 左侧区域 */
.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo - 带悬浮动画 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 32px;
    animation: bee-bounce 2s ease-in-out infinite;
}

@keyframes bee-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-5deg); }
    75% { transform: translateY(-3px) rotate(5deg); }
}

/* 搜索框 - 左侧悬浮胶囊 */
.header-search {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.header-search:hover {
    transform: scale(1.05);
}

.header-search input {
    width: 100%;
    height: 38px;
    padding: 0 38px 0 16px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 19px;
    font-size: 13px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.header-search:hover input {
    background: var(--bg-card);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(45, 212, 160, 0.3);
}

.header-search input::placeholder {
    color: var(--text-tertiary);
}

.header-search .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.header-search:hover .search-btn {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* 导航菜单 - 居中，带图标 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.nav-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active {
    color: var(--primary-color);
    background: var(--primary-light);
    font-weight: 600;
}

.nav-icon {
    font-size: 16px;
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-icon {
    transform: scale(1.2);
}

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

/* 右侧区域 */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* VIP按钮 - 特殊样式 */
.vip-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFD93D 0%, #F5A623 100%);
    color: #3D3229;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.vip-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.vip-crown {
    font-size: 14px;
    animation: crown-shine 2s ease-in-out infinite;
}

@keyframes crown-shine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* 用户区域 */
.header-user {
    flex-shrink: 0;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--primary-color);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(45, 212, 160, 0.3);
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 160, 0.4);
}

.user-menu {
    position: relative;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.user-menu:hover {
    background: var(--bg-hover);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-details .user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-details .user-vip {
    font-size: 11px;
    font-weight: 700;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: 3px solid transparent;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.user-avatar:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(45, 212, 160, 0.2);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all var(--transition-fast);
    padding: 8px 0;
    overflow: hidden;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    margin: 2px 8px;
    border-radius: var(--radius-md);
}

.user-dropdown a::before {
    content: '';
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.user-dropdown a[href*="profile"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B5D4F'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.user-dropdown a[href*="vip"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B5D4F'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm14 3c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1s.4-1 1-1h12c.6 0 1 .4 1 1z'/%3E%3C/svg%3E");
}

.user-dropdown a#header-logout-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B5D4F'%3E%3Cpath d='M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z'/%3E%3C/svg%3E");
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.user-info:hover {
    background: var(--bg-hover);
}

.user-details {
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.user-vip {
    font-size: 11px;
    font-weight: 600;
    margin-left: 5px;
}

.user-dropdown a:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.user-dropdown a:hover::before {
    opacity: 1;
}

.user-dropdown a#header-logout-btn:hover {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
}

.user-dropdown a#header-logout-btn:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6B6B'%3E%3Cpath d='M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z'/%3E%3C/svg%3E");
}

.user-dropdown hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* Header 占位 */
.header-placeholder {
    height: var(--header-height);
}

/* ========================================
   底部导航
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #F8F0EA 100%);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.link-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.link-group a {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: color var(--transition-fast);
}
.link-group p{
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.link-group a:hover {
    color: var(--primary-color);
}
.link-group p:hover {
    color: var(--primary-color);
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 4px 0;
}

/* ========================================
   主内容区
   ======================================== */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    min-height: calc(100vh - var(--header-height) - var(--player-height) - var(--footer-height));
}

/* 区块标题 */
.section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-more {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.section-more:hover {
    color: var(--primary-color);
}

/* ========================================
   全局广告样式
   ======================================== */
.global-bottom-ads {
    position: fixed;
    left: 20px;
    bottom: 120px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 大广告卡片 */
.ad-card-large {
    width: 200px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.ad-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.ad-card-large .ad-image-wrap {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.ad-card-large .ad-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-card-large:hover .ad-image-wrap img {
    transform: scale(1.05);
}

.ad-card-large .ad-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    background: rgba(61, 50, 41, 0.7);
    border-radius: var(--radius-sm);
    font-size: 10px;
    color: white;
    z-index: 1;
}

.ad-card-large .ad-content {
    padding: 12px;
}

.ad-card-large .ad-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.ad-card-large .ad-content p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.ad-card-large .ad-btn {
    width: 100%;
    padding: 8px 0;
    background: linear-gradient(135deg, var(--primary-color), #22B88A);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ad-card-large .ad-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(45, 212, 160, 0.4);
}

/* 小广告卡片 */
.ad-card-small {
    width: 160px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 8px;
}

.ad-card-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.ad-card-small .ad-image-wrap-small {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ad-card-small .ad-image-wrap-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-card-small .ad-tag-small {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 1px 3px;
    background: rgba(61, 50, 41, 0.7);
    border-radius: 2px;
    font-size: 8px;
    color: white;
    z-index: 1;
}

.ad-card-small .ad-content-small {
    flex: 1;
    min-width: 0;
}

.ad-card-small .ad-content-small h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.ad-card-small .ad-btn-small {
    width: 100%;
    padding: 4px 0;
    background: linear-gradient(135deg, var(--primary-color), #22B88A);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ad-card-small .ad-btn-small:hover {
    transform: scale(1.02);
}

/* 响应式：小屏幕隐藏广告 */
@media (max-width: 1024px) {
    .global-bottom-ads {
        display: none !important;
    }
}

/* 响应式 */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 16px;
        gap: 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-search {
        flex: 1;
        max-width: 300px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-search {
        display: none;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ========================================
   全局广告容器样式 - 左右分布
   ======================================== */

/* 全局广告容器 */
.global-ads-container {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.global-ads-container > div {
    pointer-events: auto;
}

/* 左侧广告 */
.global-ads-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-left-1 {
    width: 160px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.ad-left-1:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.ad-left-1 .ad-image-wrap {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.ad-left-1 .ad-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-left-1 .ad-text-content {
    padding: 10px 12px;
    background: var(--bg-card);
}

.ad-left-1 .ad-text-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.ad-left-1 .ad-text-content p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
}

.ad-left-2 {
    width: 160px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.ad-left-2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.ad-left-2 .ad-image-wrap-small {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ad-left-2 .ad-image-wrap-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-left-2 .ad-text-content-small {
    flex: 1;
    min-width: 0;
}

.ad-left-2 .ad-text-content-small h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-left-2 .ad-text-content-small p {
    font-size: 10px;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 右侧广告 - 三个不同高度 */
.global-ads-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ad-card-right {
    width: 140px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.ad-card-right:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 右侧广告不同高度 */
.ad-right-1 {
    height: 130px;
}

.ad-right-2 {
    height: 110px;
}

.ad-right-3 {
    height: 100px;
}

.ad-card-right .ad-image-wrap-right {
    position: relative;
    width: 100%;
    height: 65%;
    overflow: hidden;
}

.ad-right-2 .ad-image-wrap-right {
    height: 60%;
}

.ad-right-3 .ad-image-wrap-right {
    height: 55%;
}

.ad-card-right .ad-image-wrap-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-card-right .ad-text-content-right {
    padding: 8px 10px;
    background: var(--bg-card);
}

.ad-card-right .ad-text-content-right h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-card-right .ad-text-content-right p {
    font-size: 10px;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 广告标签 */
.ad-left-1 .ad-image-wrap .ad-tag,
.ad-left-2 .ad-image-wrap-small .ad-tag-small,
.ad-card-right .ad-image-wrap-right .ad-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    background: rgba(61, 50, 41, 0.7);
    border-radius: var(--radius-sm);
    font-size: 9px;
    color: white;
    z-index: 1;
}

.ad-left-2 .ad-image-wrap-small .ad-tag-small {
    font-size: 8px;
    padding: 1px 4px;
}

/* 响应式 - 小屏幕隐藏广告 */
@media (max-width: 1024px) {
    .global-ads-container {
        display: none !important;
    }
}

/* ========================================
   全局广告容器样式 - 左右分布（纯图片版）
   ======================================== */

/* 纯图片广告卡片 */
.ad-card-img {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ad-card-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ad-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 广告标签 */
.ad-tag-img {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    background: rgba(61, 50, 41, 0.7);
    border-radius: var(--radius-sm);
    font-size: 9px;
    color: white;
    z-index: 1;
}

/* 左侧广告尺寸 */
.ad-left-1 {
    width: 160px;
    height: 120px;
}

.ad-left-2 {
    width: 160px;
    height: 80px;
}

/* 右侧广告 */
.global-ads-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 右侧广告不同高度 */
.ad-right-1 {
    width: 140px;
    height: 110px;
}

.ad-right-2 {
    width: 140px;
    height: 90px;
}

.ad-right-3 {
    width: 140px;
    height: 100px;
}

/* ========================================
   图片保护 - 禁止下载
   ======================================== */

/* 禁止图片选择和拖拽 */
img {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: none !important;
}

/* 允许图片点击但禁止其他操作 */
img {
    pointer-events: auto !important;
}

/* 禁止右键菜单的提示 */
body::after {
    content: '';
    display: none;
}
