
  :root {
    --transition-speed: 0.3s;
    --header-height: 70px;
    --mobile-nav-height: 60px;
  }

  /* ===== 深色模式 (默认) ===== */
  [data-theme="dark"] {
    --bg-primary: #0b0d14; 
    --bg-secondary: #121521; 
    --bg-tertiary: #1a1e2e;
    --bg-card: #151823; 
    --bg-card-hover: #1c2035; 
    --bg-hover: #232840;
    --bg-header: rgba(11, 13, 20, 0.92);
    
    --text-primary: #eaedf3; 
    --text-secondary: #aab0c6;
    --text-muted: #6b7280;
    
    --border-color: #1f2438; 
    --border-light: #282e48;
    --accent-primary: #7c6cf0; 
    --accent-secondary: #a78bfa;
    --accent-gradient: linear-gradient(135deg, #7c6cf0, #a78bfa);
    --accent-glow: rgba(124,108,240,0.25);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.35); 
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    
    --gold: #fbbf24; --gold-bg: rgba(251,191,36,0.1);
    --emerald: #34d399; --emerald-bg: rgba(52,211,153,0.1);
    --ruby: #f87171; --ruby-bg: rgba(248,113,113,0.1);
    --sapphire: #60a5fa; --sapphire-bg: rgba(96,165,250,0.1);
    
    --scrollbar-thumb: #282e48; 
    --dropdown-bg: #181c2a; 
    --modal-bg: #151823;
    --ad-bg: rgba(124,108,240,0.05); 
    --ad-border: rgba(124,108,240,0.2);
  }

  /* ===== 浅色模式 (优化版) ===== */
  [data-theme="light"] {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff; 
    --bg-tertiary: #f1f3f8;
    --bg-card: #ffffff; 
    --bg-card-hover: #f8f9fc; 
    --bg-hover: #eef0f6;
    --bg-header: rgba(255, 255, 255, 0.95);
    
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --border-color: #e5e7eb; 
    --border-light: #d1d5db;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --accent-glow: rgba(99, 102, 241, 0.15);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.04); 
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    
    --gold: #d97706; --gold-bg: rgba(217,119,6,0.1);
    --emerald: #059669; --emerald-bg: rgba(5,150,105,0.1);
    --ruby: #dc2626; --ruby-bg: rgba(220,38,38,0.1);
    --sapphire: #2563eb; --sapphire-bg: rgba(37,99,235,0.1);
    
    --scrollbar-thumb: #d1d5db; 
    --dropdown-bg: #ffffff; 
    --modal-bg: #ffffff;
    --ad-bg: rgba(99, 102, 241, 0.03); 
    --ad-border: rgba(99, 102, 241, 0.15);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary); color: var(--text-primary);
    transition: background var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden; line-height: 1.6;
  }
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 10px; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }

  .main-content { width: 100%; padding: 32px 40px; margin-top: calc(var(--header-height) + 56px); }

  /* ===== 顶部导航栏 ===== */
  .header {
    position: fixed; top: 0; left: 0; right: 0; height: var(--header-height);
    background: var(--bg-header); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color); z-index: 1000;
  }
  .header-inner {
    width: 100%; padding: 0 40px; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
  }
  .header-left { display: flex; align-items: center; gap: 30px; }
  .logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
  
  .logo-text {
    font-size: 22px; font-weight: 800; background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 2px;
  }

  .header-nav { display: flex; align-items: center; gap: 4px; }
  
  .nav-item {
    display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 12px;
    color: var(--text-secondary); font-size: 15px; font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; position: relative;
  }
  
  .nav-item:hover { 
    color: var(--text-primary); 
    background: var(--bg-hover); 
  }
  
  .nav-item.active { 
    color: #fff; 
    background: var(--accent-gradient);
    box-shadow: 0 4px 15px var(--accent-glow);
    font-weight: 600;
  }
  
  .nav-item.active i {
    color: #fff !important;
  }

  .dropdown-nav { position: relative; }
  .nav-dropdown {
    position: absolute; top: 100%; left: 0; min-width: 160px;
    background: var(--dropdown-bg); border: 1px solid var(--border-color); border-radius: 10px;
    box-shadow: var(--shadow-md); padding: 16px 6px 6px; 
    opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s; z-index: 100;
  }
  .dropdown-nav:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-dropdown a {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 6px;
    font-size: 14px; color: var(--text-secondary);
  }
  .nav-dropdown a:hover { background: var(--bg-hover); color: var(--text-primary); }
  .nav-dropdown a i { width: 16px; text-align: center; color: var(--accent-secondary); }

  .header-right { display: flex; align-items: center; gap: 16px; }
  
  .search-box {
    display: flex; align-items: center; gap: 0; background: var(--bg-tertiary);
    border: 1px solid var(--border-color); border-radius: 24px; padding: 4px 4px 4px 18px;
    transition: all 0.25s; width: 260px;
  }
  .search-box:focus-within { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-glow); }
  .search-box i.search-icon { color: var(--text-muted); font-size: 14px; margin-right: 10px; }
  .search-box input {
    border: none; background: transparent; outline: none; color: var(--text-primary);
    font-size: 14px; width: 100%; padding-right: 10px;
  }
  .search-box input::placeholder { color: var(--text-muted); }
  
  .search-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent-gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; font-size: 14px;
    transition: transform 0.2s, filter 0.2s;
    flex-shrink: 0;
  }
  .search-btn:hover { transform: scale(1.05); filter: brightness(1.1); }
  .search-btn:active { transform: scale(0.95); }

  .vip-badge {
    display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(251,146,60,0.15));
    border: 1px solid rgba(251,191,36,0.3); color: var(--gold); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
  }
  .theme-toggle {
    width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border-color);
    background: var(--bg-tertiary); color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px;
  }
  
  /* ===== 登录注册按钮样式 ===== */
  .auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .auth-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
  }

  .btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
  }
  .btn-login:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--bg-hover);
  }

  .btn-register {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow);
  }
  .btn-register:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }

  /* ===== 核心修复：用户菜单样式 (PC端显示) ===== */
  .user-menu { 
    position: relative;
    display: flex; /* PC端默认显示Flex */
    align-items: center;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 24px;
    transition: background 0.2s;
  }
  
  .user-menu:hover {
    background: var(--bg-hover);
  }

  .user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* 新增：确保链接不破坏布局 */
  .user-avatar-link {
      display: block;
      text-decoration: none;
  }
  
  .user-info-link {
      text-decoration: none;
      display: flex;
      flex-direction: column;
      line-height: 1.2;
  }

  .user-avatar-img {
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid var(--border-light);
    transition: border-color 0.2s;
  }
  
  .user-menu:hover .user-avatar-img {
      border-color: var(--accent-primary);
  }

  .user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
  }

  .user-id {
    font-size: 12px;
    color: var(--text-muted);
  }

  .user-arrow {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
    transition: transform 0.3s;
  }
  
  .user-menu.active .user-arrow,
  .user-menu:hover .user-arrow {
      transform: rotate(180deg);
  }

  /* 用户下拉菜单 */
  .user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    pointer-events: none; /* 隐藏时不可点击 */
  }

  /* 激活状态下拉菜单 (Hover或Click触发) */
  .user-menu.active .user-dropdown,
  .user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* 显示时可点击 */
  }

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

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

  .user-dropdown a i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
  }
  
  .user-dropdown a:hover i {
      color: var(--accent-primary);
  }

  .user-dropdown .badge {
    margin-left: auto;
    background: var(--ruby);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
  }
  
  .user-dropdown .logout {
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    color: var(--ruby);
  }
  .user-dropdown .logout:hover {
      background: var(--ruby-bg);
      color: var(--ruby);
  }
  .user-dropdown .logout i {
      color: var(--ruby);
  }


  .hamburger-menu {
    display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tertiary);
    border: 1px solid var(--border-color); color: var(--text-primary); font-size: 18px;
    align-items: center; justify-content: center; cursor: pointer;
  }

  .mobile-search-btn {
    display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tertiary);
    border: 1px solid var(--border-color); color: var(--text-primary); font-size: 16px;
    align-items: center; justify-content: center; cursor: pointer; position: relative;
  }
  
  .mobile-search-dropdown {
    display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 280px;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px;
    box-shadow: var(--shadow-md); padding: 12px; z-index: 100;
  }
  .mobile-search-dropdown.active { display: block; }
  
  .mobile-search-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
  }
  
  .mobile-search-dropdown input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    font-size: 14px;
  }
  
  .mobile-search-submit-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  .mobile-search-submit-btn:hover { filter: brightness(1.1); }
  .mobile-search-submit-btn:active { transform: scale(0.95); }


  /* ===== 移动端侧边栏 (核心修复部分) ===== */
  .mobile-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000;
    opacity: 0; visibility: hidden; transition: all 0.3s;
  }
  .mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
  
  .mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: var(--bg-secondary);
    z-index: 2001; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.2);
  }
  
  .mobile-drawer.active {
    transform: translateX(0);
  }

  .drawer-header { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 20px 20px 10px; 
    flex-shrink: 0; /* 防止头部被压缩 */
  }
  .drawer-close { background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }
  
  .drawer-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    margin: 0 20px 16px;
    flex-shrink: 0; /* 防止搜索框被压缩 */
  }
  .drawer-search-box input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    font-size: 14px;
  }
  .drawer-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* 菜单部分可滑动：关键修复 */
  .drawer-nav { 
    display: flex; flex-direction: column; gap: 8px; 
    flex: 1; /* 占据剩余所有垂直空间 */
    overflow-y: auto; /* 允许垂直滚动 */
    -webkit-overflow-scrolling: touch; /* iOS顺滑滚动 */
    padding: 0 20px 20px; /* 底部留白 */
  }
  
  /* 修复菜单项显示：图标与文字正确对齐 */
  .drawer-nav a {
    padding: 14px 16px; 
    border-radius: 10px; 
    font-size: 16px; 
    font-weight: 500;
    color: var(--text-secondary); 
    transition: all 0.2s;
    display: flex; 
    align-items: center; 
    gap: 12px;
  }
  
  .drawer-nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
  }

  .drawer-nav a:hover, .drawer-nav a.active { background: var(--bg-hover); color: var(--accent-primary); }
  .drawer-nav a.active {
      background: var(--accent-gradient);
      color: #fff;
      box-shadow: 0 4px 12px var(--accent-glow);
  }

  /* 修复子菜单完全展开：使用 max-height 过渡动画 */
  .drawer-submenu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-top: 4px;
  }
  
  .drawer-submenu.open {
    max-height: 500px; /* 确保足够容纳所有子项 */
  }
  
  .drawer-submenu a {
    padding: 10px 16px 10px 48px;
    font-size: 14px;
    color: var(--text-muted);
    justify-content: flex-start !important;
    gap: 10px;
  }
  .drawer-submenu a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
  }
  .has-submenu {
    justify-content: space-between;
    cursor: pointer;
  }
  .submenu-arrow {
    font-size: 12px;
    transition: transform 0.3s;
  }
  .has-submenu.active .submenu-arrow {
    transform: rotate(180deg);
  }

  /* ===== 喇叭栏 (固定通栏) ===== */
  .horn-bar { 
    position: fixed; 
    top: var(--header-height); 
    left: 0; 
    right: 0; 
    z-index: 999; 
    background: var(--bg-card); 
    border-bottom: 1px solid var(--border-color); 
    padding: 10px 0; 
    height: 56px;
    box-sizing: border-box;
  }
  .horn-bar-inner { width: 100%; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
  .horn-left { display: flex; align-items: center; gap: 16px; flex: 1; overflow: hidden; }
  .horn-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--ruby-bg); color: var(--ruby); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
  .horn-scroll-wrapper { flex: 1; overflow: hidden; position: relative; height: 24px; }
  .horn-scroll-content { display: flex; gap: 80px; position: absolute; white-space: nowrap; animation: scroll-left 30s linear infinite; }
  .horn-scroll-content:hover { animation-play-state: paused; }
  
  .horn-scroll-content a { 
    font-size: 14px; 
    color: var(--text-primary);
    transition: color 0.2s; 
  }
  .horn-scroll-content a:hover { 
    color: var(--accent-primary); 
  }

  @keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  .publish-horn-btn {
    display: flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 20px;
    background: var(--accent-gradient); color: #fff; font-size: 13px; font-weight: 600;
    border: none; cursor: pointer; box-shadow: 0 4px 16px var(--accent-glow); white-space: nowrap; flex-shrink: 0;
  }

  /* ===== 主内容区 ===== */
  .hero-section { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-bottom: 0; }
  
  .hero-left { border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
  .slider-container { 
    width: 100%; 
    aspect-ratio: 1920/800; 
    position: relative; 
  }
  .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
  .slide.active { opacity: 1; }
  .slide-info { padding: 40px; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); color: #fff; }
  .slide-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
  .slide-info p { font-size: 15px; opacity: 0.9; max-width: 600px; }
  .slider-dots { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 8px; z-index: 10; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
  .dot.active { background: #fff; width: 28px; border-radius: 5px; }

  .hero-right {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
    padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  }
  
  .info-tabs { 
    display: flex; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; 
    border-bottom: 1px solid var(--border-color); 
    overflow-x: auto; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    -webkit-overflow-scrolling: touch; 
    padding-left: 4px; 
    padding-right: 4px;
  }
  .info-tabs::-webkit-scrollbar { display: none; }
  
  .info-tab { 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-muted); 
    background: var(--bg-tertiary); 
    border: 1px solid transparent;
    cursor: pointer; 
    white-space: nowrap; 
    transition: all 0.2s ease;
    user-select: none;
  }
  
  .info-tab:hover { 
    color: var(--text-primary); 
    background: var(--bg-hover); 
  }
  
  .info-tab.active { 
    color: #fff; 
    background: var(--accent-gradient); 
    box-shadow: 0 4px 12px var(--accent-glow);
    border-color: transparent;
  }

  .info-list-container { flex: 1; overflow: hidden; }
  .info-list { display: none; flex-direction: column; gap: 4px; }
  .info-list.active { display: flex; }
  
  .info-list li a { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px 8px; 
    border-radius: 10px; 
  }
  .info-list li a:hover { background: var(--bg-hover); }
  
  .info-list .title { 
    flex: 1; 
    font-size: 14px; 
    color: var(--text-primary); 
    font-weight: 500; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    order: 2; 
  }
  
  .info-list .author { 
    font-size: 12px; 
    color: var(--accent-secondary); 
    background: rgba(124,124,240,0.1); 
    padding: 2px 8px; 
    border-radius: 6px; 
    flex-shrink: 0; 
    order: 1; 
  }

  .info-list .date { 
    font-size: 12px; 
    color: var(--text-muted); 
    flex-shrink: 0; 
    order: 3; 
  }

  .content-block { margin-bottom: 0; }
  .block-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
  .block-header h2 { font-size: 22px; font-weight: 800; color: var(--text-primary); display: flex; align-items: center; gap: 12px; }
  .block-header h2 i { color: var(--accent-primary); font-size: 20px; }
  .more-link { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
  .more-link:hover { color: var(--accent-primary); }

  .card-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 16px; 
  }

	
	/* ===== 新增：筛选栏样式 (已修改为分行布局) ===== */
  .filter-bar {
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
  }
  
  .filter-group {
    display: flex;
    flex-direction: row; /* 保持内部水平排列 */
    align-items: center;
    gap: 12px;
    width: 100%; /* 占满整行 */
  }
  
  .filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 60px; /* 固定标签宽度以对齐 */
  }
  
  .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1; /* 占据剩余空间 */
  }
  
  .filter-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
  }
  
  .filter-btn.active {
    color: #fff;
    background: var(--accent-primary);
    box-shadow: 0 2px 8px var(--accent-glow);
  }

  .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

	
  /* 剧本卡片 */
  .script-card { 
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; 
    overflow: hidden; transition: all 0.3s; cursor: pointer; display: block;
    font-size: 13px;
  }
  .script-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); }
  
  .script-cover { 
    aspect-ratio: 3/4; height: auto; position: relative; 
    background-size: cover; background-position: center; 
    overflow: hidden; 
  }
  
  .script-top-tag {
    position: absolute; 
    top: 12px; 
    left: 12px; 
    padding: 6px 14px; 
    border-radius: 6px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff; 
    font-size: 14px; 
    font-weight: 800; 
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); 
    letter-spacing: 1px;
  }

  .script-bottom-info {
    position: absolute; bottom: 8px; left: 8px; z-index: 2;
    display: flex; flex-direction: column; gap: 4px;
  }
  .script-genre {
    font-size: 10px; color: #fff; font-weight: 600;
    background: rgba(0,0,0,0.6); padding: 2px 6px; border-radius: 4px;
    backdrop-filter: blur(4px); width: fit-content;
  }
  .script-stats {
    font-size: 10px; color: rgba(255,255,255,0.9); font-weight: 500;
    background: rgba(0,0,0,0.6); padding: 2px 6px; border-radius: 4px;
    backdrop-filter: blur(4px); width: fit-content;
  }
  .script-hover-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: 20px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .script-card:hover .script-hover-info { transform: translateY(0); }
  .script-hover-info p {
    font-size: 11px; color: rgba(255,255,255,0.9); line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .btn-detail {
    align-self: flex-start;
    padding: 4px 10px; border-radius: 6px;
    background: var(--accent-gradient); color: #fff;
    font-size: 11px; font-weight: 600; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 4px;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: all 0.2s; text-decoration: none;
  }
  .btn-detail:hover { filter: brightness(1.1); transform: translateX(2px); }

  .script-body { padding: 10px; }
  .script-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); }
  .script-footer { display: flex; align-items: center; justify-content: space-between; }
  
  .script-price { font-size: 14px; font-weight: 800; color: var(--ruby); }

  .btn-buy-script {
    padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600;
    border: none; cursor: pointer; transition: all 0.2s;
    background: var(--accent-gradient); color: #fff; text-decoration: none;
    box-shadow: 0 4px 12px var(--accent-glow);
  }
  .btn-buy-script:hover { filter: brightness(1.1); }
  .btn-buy-script.disabled {
    background: var(--bg-hover); color: var(--text-muted);
    cursor: not-allowed; box-shadow: none;
  }
  .btn-buy-script.disabled:hover { filter: none; }
  
  .btn-buy-script.cooperating {
    background: linear-gradient(135deg, #34d399, #10b981) !important;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3) !important;
    color: #fff !important;
  }

  /* 项目卡片 */
  .project-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
  .project-tab {
    padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
    color: var(--text-muted); background: var(--bg-tertiary); border: 1px solid var(--border-color);
    cursor: pointer; transition: all 0.2s;
  }
  .project-tab.active { color: #fff; background: var(--accent-gradient); border-color: transparent; }

  .project-card { 
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; 
    padding: 24px; transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column; 
    min-height: 300px;
  }
  .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); }
  .project-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
  .project-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
  .project-status { 
    font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; 
    display: inline-block; margin-right: 8px;
  }
  .project-type-tag {
    font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
    display: inline-block;
  }
  
  .project-coop-mode {
    text-align: center;
    padding: 14px;
    margin: 16px 0;
    background: var(--bg-tertiary);
    border: 1px dashed var(--border-light);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .project-coop-mode strong {
    color: var(--accent-primary);
    font-size: 20px;
    font-weight: 800;
    order: -1;
  }
  .project-coop-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
  }

  .project-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .project-meta {
    display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--text-secondary);
  }
  .project-meta span { display: flex; align-items: center; gap: 6px; }
  .project-meta i { color: var(--accent-secondary); font-size: 12px; }

  .progress-bar { height: 8px; background: var(--bg-hover); border-radius: 4px; overflow: hidden; margin-top: auto; }
  .progress-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
  .progress-info { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: 8px; }

  /* 短剧卡片 */
  .drama-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px;
    transition: all 0.3s; cursor: pointer; overflow: hidden;
    font-size: 13px;
  }
  .drama-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); }
  .drama-cover { 
    aspect-ratio: 3/4; height: auto; position: relative; 
    display: flex; align-items: center; justify-content: center; 
    background-size: cover; background-position: center;
  }
  .drama-cover i { font-size: 32px; color: rgba(255,255,255,0.8); }
  .drama-episodes { 
    position: absolute; bottom: 8px; left: 8px; 
    padding: 2px 8px; border-radius: 4px; background: rgba(0,0,0,0.6); 
    color: #fff; font-size: 10px; font-weight: 600; 
  }
  .drama-tag {
    position: absolute; top: 8px; right: 8px;
    padding: 2px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 700; color: #fff;
    z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .drama-tag-hot { background: linear-gradient(135deg, #ef4444, #f59e0b); }
  .drama-tag-rec { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
  .drama-tag.hidden { display: none; }

  .drama-body { padding: 12px; }
  .drama-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
  .drama-genre { font-size: 11px; color: var(--text-muted); }

  /* 演员艺人 */
  .actor-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    transition: all 0.3s; cursor: pointer;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
  }
  .actor-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-primary);
  }
  
  .actor-auth-btn {
    position: absolute;
    top: 16px;
    right: 16px;

    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .actor-auth-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px var(--accent-glow);
  }
  .actor-auth-btn i { font-size: 12px; }

  .actor-top-info {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .actor-avatar-img { 
    width: 64px; height: 64px; border-radius: 50%; object-fit: cover; 
    border: 3px solid var(--border-light); flex-shrink: 0;
  }
  .actor-info-text {
    display: flex; flex-direction: column;
  }
  .actor-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
  .actor-roles { display: flex; gap: 6px; flex-wrap: wrap; }
  .actor-role-tag { font-size: 11px; padding: 3px 10px; border-radius: 6px; background: var(--bg-hover); color: var(--text-secondary); font-weight: 500; }
  
  .actor-gallery-three {
    display: flex;
    gap: 0;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
  }
  .actor-gallery-three img {
    width: 33.333%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-tertiary);
    cursor: zoom-in;
    transition: opacity 0.2s;
  }
  .actor-gallery-three img:hover {
    opacity: 0.9;
  }

  .actor-works-bottom {
    font-size: 13px; color: var(--text-muted);
  }
  .actor-works-bottom span { color: var(--text-primary); font-weight: 500; }

  /* 声优配音 */
  .voice-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column;
  }
  .voice-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-primary);
  }
  .voice-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
  .voice-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
  .voice-avatar-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-light); flex-shrink: 0; }
  .voice-info h3 { margin-bottom: 4px; color: var(--text-primary); }
  .voice-info .voice-title { font-size: 13px; color: var(--accent-secondary); font-weight: 500; }
  .voice-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .voice-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
  .voice-price { font-size: 18px; font-weight: 800; color: var(--ruby); }
  .voice-price span { font-size: 12px; font-weight: 400; color: var(--text-muted); }
  .voice-actions { display: flex; gap: 8px; }
  .btn-voice {
    padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
    border: none; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 4px;
    text-decoration: none;
  }
  .btn-listen { background: var(--bg-hover); color: var(--text-primary); }
  .btn-listen:hover { background: var(--accent-glow); color: var(--accent-primary); }
  .btn-buy { background: var(--accent-gradient); color: #fff; box-shadow: 0 4px 12px var(--accent-glow); }
  .btn-buy:hover { filter: brightness(1.1); }

  /* 导演卡片 */
  .director-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    transition: all 0.3s; cursor: pointer; padding: 24px; text-align: center;
  }
  .director-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-primary);
  }
  .director-avatar-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; display: block; border: 3px solid var(--border-light); }
  .director-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
  .director-title { font-size: 13px; color: var(--accent-secondary); margin-bottom: 12px; }
  .director-works { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
  .director-works span { color: var(--text-primary); font-weight: 500; }
  .btn-collaborate {
    width: 100%; padding: 10px; border-radius: 10px; background: var(--bg-hover); color: var(--text-primary);
    font-size: 14px; font-weight: 600; border: 1px solid var(--border-color); cursor: pointer; transition: all 0.2s;
  }
  .btn-collaborate:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

  /* ===== 美化后的弹窗样式 ===== */
  .modal-overlay {
    position: fixed; inset: 0; 
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
  }
  .modal-overlay.active { opacity: 1; visibility: visible; }
  
  .modal-box {
    background: var(--modal-bg); 
    border: 1px solid var(--border-light); 
    border-radius: 24px; 
    width: 90%; max-width: 520px; 
    padding: 40px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05); 
    transform: translateY(30px) scale(0.95); 
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
    position: relative;
    overflow: hidden;
  }
  
  .modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent-gradient);
  }

  .modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
  
  .modal-title { 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 32px; 
    display: flex; align-items: center; justify-content: space-between; 
    color: var(--text-primary);
  }
  
  .modal-close { 
    width: 36px; height: 36px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    border: none; 
    color: var(--text-muted); 
    font-size: 16px; 
    cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  .modal-close:hover {
    background: var(--ruby-bg);
    color: var(--ruby);
    transform: rotate(90deg);
  }

  .form-group { margin-bottom: 24px; position: relative; }
  
  .form-group label { 
    display: block; 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 10px; 
    color: var(--text-primary);
    letter-spacing: 0.5px;
  }
  
  .form-input, .form-textarea {
    width: 100%; 
    padding: 14px 18px; 
    border-radius: 12px; 
    border: 2px solid var(--border-color); 
    background: var(--bg-tertiary); 
    color: var(--text-primary); 
    font-size: 15px; 
    outline: none;
    transition: all 0.3s ease; 
    font-family: inherit;
  }
  
  .form-input:focus, .form-textarea:focus { 
    border-color: var(--accent-primary); 
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--accent-glow); 
  }
  
  .form-textarea { 
    min-height: 140px; 
    resize: vertical; 
    line-height: 1.6;
  }

  .form-tip { 
    font-size: 13px; 
    color: var(--text-secondary); 
    margin-bottom: 32px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid var(--ruby);
  }
  .form-tip i { color: var(--ruby); }

  .modal-actions { 
    display: flex; 
    gap: 16px; 
    justify-content: flex-end; 
  }
  
  .btn-cancel {
    padding: 12px 28px; 
    border-radius: 12px; 
    background: transparent; 
    color: var(--text-secondary);
    font-size: 15px; 
    font-weight: 600; 
    border: 2px solid var(--border-color); 
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-cancel:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
    background: var(--bg-hover);
  }
  
  .btn-submit {
    padding: 12px 32px; 
    border-radius: 12px; 
    background: var(--accent-gradient); 
    color: #fff;
    font-size: 15px; 
    font-weight: 700; 
    border: none; 
    cursor: pointer; 
    box-shadow: 0 8px 20px var(--accent-glow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  
  .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px var(--accent-glow);
    filter: brightness(1.1);
  }
  
  .btn-submit:active {
    transform: translateY(0);
  }

  /* ===== 新增：登录选项样式 (记住我/忘记密码) ===== */
  .auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
  }

  .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    user-select: none;
  }

  .remember-me input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-tertiary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
  }

  .remember-me input[type="checkbox"]:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
  }

  .remember-me input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .forgot-password {
    color: var(--text-secondary);
    transition: color 0.2s;
  }

  .forgot-password:hover {
    color: var(--accent-primary);
    text-decoration: underline;
  }

  /* 图片放大 Lightbox 样式 */
  .lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 4000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
    cursor: zoom-out;
  }
  .lightbox-overlay.active { opacity: 1; visibility: visible; }
  .lightbox-content {
    max-width: 90%; max-height: 90%;
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.5);
  }
  .lightbox-overlay.active .lightbox-content { transform: scale(1); }
  .lightbox-close {
    position: absolute; top: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer; border: none;
    transition: background 0.2s;
  }
  .lightbox-close:hover { background: rgba(255,255,255,0.2); }

  .site-footer {
    background: var(--bg-card); border-top: 1px solid var(--border-color); margin-top: 60px;
    padding: 24px 40px; text-align: center;
  }
  .site-footer p { font-size: 13px; color: var(--text-secondary); }

  .mobile-bottom-nav {
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    background: var(--bg-secondary); 
    border-top: 1px solid var(--border-color);
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .mobile-bottom-nav ul {
    display: flex; justify-content: space-around; align-items: center; height: var(--mobile-nav-height);
  }
  .mobile-bottom-nav li {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: 1; height: 100%; color: var(--text-muted); font-size: 10px; gap: 4px; cursor: pointer;
  }
  .mobile-bottom-nav li i { font-size: 20px; }
  .mobile-bottom-nav li.active { color: var(--accent-primary); }

  /* ===== 活动列表样式 ===== */
  .activity-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
    overflow: hidden; transition: all 0.3s; cursor: pointer; display: flex; flex-direction: column;
  }
  .activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); }
  .activity-banner {
    height: 180px; background-size: cover; background-position: center; position: relative;
  }
  .activity-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 12px; border-radius: 6px;
    background: var(--accent-gradient); color: #fff;
    font-size: 12px; font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .activity-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
  .activity-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
  
  .activity-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  
  .activity-info-extra {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
  }
  .activity-info-extra span {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .activity-info-extra i {
    color: var(--accent-secondary);
    font-size: 12px;
  }

  .activity-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-secondary); margin-top: auto; }
  .activity-time { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); }
  .activity-btn {
    padding: 6px 12px; border-radius: 6px; background: var(--bg-hover); color: var(--accent-primary);
    font-size: 12px; font-weight: 600; border: 1px solid var(--border-color); transition: all 0.2s;
    display: inline-block; text-align: center;
  }
  .activity-btn:hover { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
  .activity-btn.disabled {
    background: var(--bg-hover) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border-color: var(--border-color) !important;
    box-shadow: none !important;
  }

/* ===== 新增：筛选栏样式 (已修改为分行布局) ===== */
  .filter-bar {
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
  }
  
  .filter-group {
    display: flex;
    flex-direction: row; /* 保持内部水平排列 */
    align-items: center;
    gap: 12px;
    width: 100%; /* 占满整行 */
  }
  
  .filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 60px; /* 固定标签宽度以对齐 */
  }
  
  .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1; /* 占据剩余空间 */
  }
  
  .filter-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
  }
  
  .filter-btn.active {
    color: #fff;
    background: var(--accent-primary);
    box-shadow: 0 2px 8px var(--accent-glow);
  }

  .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ===== 新增：分页导航样式 ===== */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 20px;
  }
  
  .page-item {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .page-item:hover:not(.disabled):not(.active) {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
  }
  
  .page-item.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--accent-glow);
  }
  
  .page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
  }

  /* ===== 新增：登录注册Tab样式 ===== */
  .auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
  }
  .auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
  }
  .auth-tab.active {
    color: var(--accent-primary);
  }
  .auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px 3px 0 0;
  }
  .auth-form-container {
    display: none;
  }
  .auth-form-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
  }

	 /* ===== 新增：分页导航样式 ===== */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 20px;
  }
  
  .page-item {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .page-item:hover:not(.disabled):not(.active) {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
  }
  
  .page-item.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--accent-glow);
  }
  
  .page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
  }


  /* ===== 响应式与移动端适配 ===== */
  
  @media (min-width: 1600px) {
    .card-grid { gap: 24px; }
  }

  @media (max-width: 1599px) {
    .card-grid { gap: 16px; }
  }
  
  @media (max-width: 1200px) {
    .card-grid { grid-template-columns: repeat(4, 1fr); }
  }
  
  @media (max-width: 992px) {
    .hero-section { grid-template-columns: 1fr; }
    .header-inner, .horn-bar-inner, .main-content, .site-footer { padding-left: 24px; padding-right: 24px; }
  }

  @media (max-width: 768px) {
    .card-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    
    .project-card, .activity-card, .voice-card, .director-card {
        grid-column: span 2;
    }

    .header-nav .dropdown-nav {
        display: none !important;
    }

    .info-tabs {
        display: none !important;
    }
    .info-list-container {
        display: none !important;
    }
    .hero-right {
        display: none; 
    }
    .hero-left {
        grid-column: 1 / -1;
    }

    .publish-horn-btn {
        display: flex !important;
        padding: 6px 12px;
        font-size: 12px;
    }

    /* 移动端隐藏PC端用户菜单和登录按钮 */
    .header-nav, .vip-badge, .search-box, .auth-buttons, .user-menu { display: none; }
    .hamburger-menu { display: flex; }
    .mobile-search-btn { display: none; } 
    
    .mobile-bottom-nav { display: block; }
    
    .header-inner, .horn-bar-inner, .main-content, .site-footer { padding-left: 16px; padding-right: 16px; }
    .main-content { padding-top: 20px; padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 20px); }
    .site-footer { display: none; }
    
    .hero-section { grid-template-columns: 1fr; gap: 16px; }
    
    .slide-info { padding: 20px; }
    .slide-info h2 { font-size: 20px; }
    .slide-info p { font-size: 13px; }
    
    .block-header h2 { font-size: 18px; }
    
    .voice-card { flex-direction: column; }
    .voice-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    .voice-actions { width: 100%; }
    .btn-voice { flex: 1; justify-content: center; }

    .actor-card {
      padding: 16px;
    }
    .actor-gallery-three {
      height: 140px;
    }
    .actor-auth-btn {
      padding: 4px 8px;
      font-size: 11px;
    }
    
    .modal-box {
        padding: 24px;
        width: 92%;
    }
    .modal-actions {
        flex-direction: column-reverse;
    }
    .btn-cancel, .btn-submit {
        width: 100%;
        text-align: center;
    }
  }

  @media (max-width: 480px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .horn-left { gap: 10px; }
    .horn-icon { width: 30px; height: 30px; font-size: 14px; }
  }

  @media (min-width: 1920px) {
    body { font-size: 18px; }
    .main-content { padding: 48px 80px; }
    .header-inner, .horn-bar-inner { padding: 0 80px; }
  }