:root {
    --bg: #0d0d12;
    --bg2: #13131a;
    --card-bg: rgba(20, 18, 32, 0.85);
    --card-border: rgba(212, 163, 58, 0.18);
    --gold: #d4a33a;
    --gold-light: #e8c86a;
    --gold-glow: rgba(212, 163, 58, 0.25);
    --purple: #7c3aed;
    --purple-dark: #4c1d95;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-dark: #64748b;
    --green: #10b981;
    --red: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body {
font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif;
background: var(--bg);
min-height: 100vh;
color: var(--text);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1a2e; }
::-webkit-scrollbar-thumb { background: #d4a33a; border-radius: 4px; }

/* 统计看板 */
.stats-bar {
background: linear-gradient(135deg, #1a1a2e, #16213e);
padding: 40px 0;
border-bottom: 1px solid rgba(212, 163, 58, 0.2);
}
.stats-grid {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
text-align: center;
padding: 0 24px;
}
.stat-number { font-size: 32px; font-weight: 800; color: #d4a33a; }
.stat-label { font-size: 13px; color: #aaa; margin-top: 6px; }

.section { padding: 60px 0; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section-title {
text-align: center;
margin-bottom: 40px;
}
.section-title h2 {
font-size: 32px;
font-weight: 700;
display: inline-block;
padding-bottom: 12px;
border-bottom: 2px solid #d4a33a;
}
.section-title p { color: #aaa; margin-top: 12px; }

/* 模型卡片 */
.model-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 24px;
}
.model-card {
background: #1a1a2e;
border-radius: 16px;
overflow: hidden;
transition: all 0.3s;
cursor: pointer;
border: 1px solid rgba(212, 163, 58, 0.2);
}
.model-card:hover { transform: translateY(-5px); border-color: #d4a33a; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.card-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.model-card:hover .card-cover img { transform: scale(1.05); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge { padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: bold; }
.badge-top { background: #ff4757; color: white; }
.badge-recommend { background: #ffa502; color: white; }
.badge-free { background: #2ed573; color: white; }
.card-content { padding: 16px; }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #fff; }
.card-info-row { display: flex; justify-content: space-between; align-items: center; }
.card-category { color: #d4a33a; font-size: 12px; }
.card-stats { display: flex; gap: 12px; color: #aaa; font-size: 12px; }

/* MU技术精选区域 */
.tech-featured {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
.tech-card {
background: #1a1a2e;
border-radius: 16px;
padding: 20px;
border: 1px solid rgba(212, 163, 58, 0.2);
}
.tech-card h3 {
font-size: 18px;
color: #d4a33a;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(212, 163, 58, 0.2);
}
.tech-item {
padding: 12px 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
cursor: pointer;
}
.tech-item:hover { background: rgba(212, 163, 58, 0.1); margin: 0 -10px; padding: 12px 10px; border-radius: 8px; }
.tech-title {
font-size: 14px;
font-weight: 500;
margin-bottom: 6px;
color: #fff;
}
.tech-meta {
display: flex;
gap: 15px;
font-size: 11px;
color: #888;
}
.tech-price {
color: #ff4757;
font-weight: 600;
}
.tech-free {
color: #2ed573;
}
.view-more {
text-align: right;
margin-top: 15px;
}
.view-more a {
color: #d4a33a;
text-decoration: none;
font-size: 13px;
}

/* 广告区域 */
.ads-section {
background: linear-gradient(135deg, #1a1a2e, #16213e);
border-radius: 16px;
padding: 20px;
margin: 40px 0;
border: 1px solid rgba(212, 163, 58, 0.2);
}
.ads-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.ads-title {
font-size: 14px;
font-weight: 600;
color: #ff9800;
}
.ads-more {
font-size: 13px;
color: #667eea;
text-decoration: none;
}
.ads-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.ad-card {
background: #0f0f1a;
border-radius: 12px;
padding: 15px;
cursor: pointer;
transition: all 0.2s;
}
.ad-card:hover { transform: translateY(-2px); background: #1a1a2e; }
.ad-card .title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.ad-card .summary { font-size: 12px; color: #aaa; margin-bottom: 8px; }
.ad-meta { display: flex; justify-content: space-between; font-size: 11px; color: #666; }

/* 社区数据 */
.dashboard-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}
.dashboard-card {
background: #1a1a2e;
border-radius: 20px;
padding: 24px;
border: 1px solid rgba(212, 163, 58, 0.2);
}
.dashboard-card h3 { font-size: 16px; margin-bottom: 20px; color: #d4a33a; }
.rank-list { list-style: none; }
.rank-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rank-name { color: #fff; }
.rank-count { color: #d4a33a; }
.rank-change { color: #2ed573; font-size: 11px; }

/* 轮播样式 */
.carousel-container {
position: relative;
width: 100%;
height: 60vh;
min-height: 400px;
overflow: hidden;
background: #0a0a0a;
}
.carousel-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 0.6s ease;
z-index: 1;
}
.carousel-slide.active { opacity: 1; z-index: 2; }
.carousel-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 3; }
.carousel-content {
position: relative;
z-index: 4;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;
}
.carousel-content h2 { font-size: 48px; font-weight: 700; margin-bottom: 16px; color: #e8c86a; text-shadow: 0 0 15px rgba(212,163,58,0.5); }
.carousel-content p { font-size: 18px; margin-bottom: 20px; color: #f0d97a; }
.carousel-btn {
display: inline-block;
padding: 10px 28px;
background: linear-gradient(135deg, #d4a33a, #e8c86a);
color: #1a1a2e;
text-decoration: none;
border-radius: 40px;
font-weight: 600;
transition: all 0.3s;
}
.carousel-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
background: rgba(0,0,0,0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
color: white;
font-size: 22px;
}
.carousel-arrow:hover { background: rgba(212,163,58,0.8); }
.carousel-arrow.left { left: 20px; }
.carousel-arrow.right { right: 20px; }
.carousel-dots {
position: absolute;
bottom: 20px;
left: 0;
right: 0;
display: flex;
justify-content: center;
gap: 12px;
z-index: 10;
}
.carousel-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255,255,255,0.5);
cursor: pointer;
}
.carousel-dot.active { background: #d4a33a; transform: scale(1.2); }

.loading, .no-data { text-align: center; padding: 60px; color: #aaa; }

/* ===== 🎯 平板 / 大屏手机 (≤768px) ===== */
@media (max-width: 768px) {
  .carousel-container { height: 40vh; min-height: 260px; }
  .carousel-content h2 { font-size: 28px; }
  .carousel-content p { font-size: 15px; }
  .carousel-btn { padding: 10px 28px; font-size: 14px; }
  .carousel-arrow { width: 40px; height: 40px; font-size: 20px; }
  .carousel-arrow.left { left: 12px; }
  .carousel-arrow.right { right: 12px; }
  .carousel-dots { bottom: 14px; gap: 10px; }
  .carousel-dot { width: 9px; height: 9px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 20px; }
  .stat-number { font-size: 30px; }
  .stat-label { font-size: 13px; }

  .section { padding: 44px 0; }
  .container { padding: 0 20px; }
  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 14px; }

  .model-grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .card-content { padding: 14px; }
  .card-title { font-size: 15px; }
  .card-stats { gap: 8px; }

  .tech-featured { grid-template-columns: 1fr; gap: 24px; }
  .ads-grid { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 18px; }
  .dashboard-card { padding: 20px; }

  .rank-list li { padding: 10px 0; font-size: 14px; }
  .rank-list li:active { background: rgba(212,163,58,0.1); border-radius: 8px; }

  .ads-section { padding: 16px; margin: 32px 0; }
  .ad-card { padding: 14px; }
  .ad-card:active { transform: translateY(-1px); background: #1a1a2e; }
  .ad-card .title { font-size: 15px; }
  .ad-card .summary { font-size: 13px; }
}

/* ===== 📱 手机专有设计(≤480px) ===== */
/* 设计理念：独立于PC的手机版，保持暗色游戏风，但布局像原生App一样清爽 */
@media (max-width: 480px) {
  /* 全局 */
  .container { padding: 0 16px; }
  .section { padding: 20px 0; }
  
  /* === 轮播 - 移动端沉浸式 === */
  .carousel-container { height: auto; aspect-ratio: 5/2; min-height: 140px; border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); }
  .carousel-slide { border-radius: 0; }
  .carousel-content { padding: 0 20px 24px; text-align: left; }
  .carousel-content h2 { font-size: 22px; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
  .carousel-content p { font-size: 13px; margin-bottom: 14px; opacity: 0.9; }
  .carousel-btn { padding: 8px 24px; font-size: 13px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 16px; opacity: 0.7; }
  .carousel-arrow.left { left: 6px; }
  .carousel-arrow.right { right: 6px; }
  .carousel-dots { bottom: 8px; gap: 6px; }
  .carousel-dot { width: 6px; height: 6px; }

  /* === 🎯 统计区 - 手机版一排4个，清淡分隔 === */
  .stats-bar { 
    display: block !important;
    padding: 20px 0 16px;
    background: transparent;
    border-bottom: none;
  }
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 16px;
  }
  .stats-grid > div {
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: center;
    padding: 8px 2px;
    position: relative;
  }
  /* 垂直分隔线 */
  .stats-grid > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background: rgba(212, 163, 58, 0.12);
  }
  .stat-number { font-size: 18px; font-weight: 700; color: #d4a33a; margin-bottom: 1px; }
  .stat-label { font-size: 10px; margin-top: 0; opacity: 0.55; color: #aaa; }

  /* === 区块标题 - 精简 === */
  .section-title { margin-bottom: 14px; }
  .section-title h2 { font-size: 20px; padding-bottom: 0; }
  .section-title p { display: none; }

  /* === 🔥 模型卡片 - 16:9封面 + 分类+👁️❤️ === */
  .model-grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .model-card { 
    border-radius: 14px; 
    overflow: hidden; 
    background: linear-gradient(180deg, #1e1e3a 0%, #15152a 100%);
    border: 1px solid rgba(212, 163, 58, 0.08);
  }
  .model-card:active { transform: scale(0.97); }
  .card-cover { aspect-ratio: 16/9; }
  .card-cover img { border-radius: 0; }
  .card-badges { display: none; }
  .card-content { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #fff; }
  .card-info-row { 
    display: flex !important; 
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
  }
  .card-category { font-size: 11px; color: #aaa; }
  .card-stats { font-size: 11px; gap: 6px; color: #aaa; }

  /* === 💡 技术精选 - 列表样式 === */
  .tech-featured { display: flex; flex-direction: column; gap: 0; }
  .tech-card { 
    padding: 0; 
    background: transparent; 
    border: none; 
    border-radius: 0; 
    box-shadow: none; 
    margin-bottom: 0; 
  }
  .tech-card h3 { 
    font-size: 15px; 
    padding: 14px 0 10px; 
    margin-bottom: 0; 
    border-bottom: 1px solid rgba(212,163,58,0.12); 
    color: #d4a33a; 
  }
  .tech-item { 
    padding: 13px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.04); 
  }
  .tech-item:active { background: rgba(212, 163, 58, 0.05); }
  .tech-title { font-size: 14px; line-height: 1.4; }
  .tech-meta { font-size: 11px; gap: 12px; margin-top: 4px; color: #888; }
  .tech-price { font-size: 11px; }
  .view-more { padding: 12px 0; margin-top: 0; }
  .view-more a { font-size: 13px; padding: 8px 0; display: block; text-align: center; }

  /* === 推广区 - 隐藏 === */
  .ads-section { display: none !important; }

  /* === 社区数据 - 手机版用Tab组件替代三卡片 === */
  .dashboard-section { display: block !important; padding: 20px 0; }
  .dashboard-section .section-title { margin-bottom: 14px; }

  /* === 加载态 === */
  .loading, .no-data { padding: 24px 16px; font-size: 13px; }
}

/* ===== 🪟 极小屏 (≤360px) ===== */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .section { padding: 16px 0; }
  
  .carousel-container { height: auto; aspect-ratio: 5/2; min-height: 100px; margin: 0 -12px; width: calc(100% + 24px); }
  .carousel-content { padding: 0 14px 16px; }
  .carousel-content h2 { font-size: 17px; margin-bottom: 4px; }
  .carousel-content p { font-size: 11px; }
  .carousel-btn { padding: 6px 18px; font-size: 12px; }
  .carousel-dot { width: 5px; height: 5px; }
  .carousel-arrow { width: 30px; height: 30px; font-size: 14px; }

  .stats-bar { display: block !important; padding: 14px 0 12px; background: transparent; border: none; }
  .stats-grid { gap: 0; padding: 0 12px; }
  .stats-grid > div { padding: 6px 2px; }
  .stat-number { font-size: 15px; }
  .stat-label { font-size: 9px; }
  .section-title h2 { font-size: 17px; }

  .model-grid { gap: 8px; }
  .model-card { border-radius: 10px; }
  .card-content { padding: 8px 10px 10px; }
  .card-title { font-size: 12px; }

  .tech-card h3 { font-size: 14px; padding: 10px 0 8px; }
  .tech-item { padding: 10px 0; }
  .tech-title { font-size: 13px; }
}

/* ===== 📋 Tab切换组件 (暗色游戏风) ===== */
.tabs-container {
  background: rgba(26, 26, 46, 0.6);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 58, 0.1);
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid rgba(212, 163, 58, 0.15);
  background: rgba(22, 22, 42, 0.8);
}

.tab-btn {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn.active {
  color: #d4a33a;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: #d4a33a;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 163, 58, 0.4);
}

.tab-content {
  display: none;
  padding: 6px 16px 16px;
}

.tab-content.active {
  display: block;
}

/* Tab内容 - 列表样式 */
.tab-content .rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-content .rank-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.tab-content .rank-list li:last-child { border-bottom: none; }
.tab-content .rank-list li:active { 
  background: rgba(212, 163, 58, 0.06);
  margin: 0 -4px;
  padding: 11px 4px;
  border-radius: 6px;
}

.tab-content .rank-name {
  font-size: 14px;
  color: #ddd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.tab-content .rank-count {
  font-size: 12px;
  color: #999;
  margin-left: 10px;
  flex-shrink: 0;
}

.tab-content .view-more {
  text-align: center;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tab-content .view-more a {
  color: #d4a33a;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.8;
}
.tab-content .view-more a:active { opacity: 1; }

/* Tab内技术列表 */
.tab-content .tech-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.tab-content .tech-item:last-child { border-bottom: none; }
.tab-content .tech-item:active {
  background: rgba(212, 163, 58, 0.06);
  margin: 0 -4px;
  padding: 12px 4px;
  border-radius: 6px;
}
.tab-content .tech-item .tech-title {
  font-size: 14px;
  color: #eee;
  line-height: 1.4;
}
.tab-content .tech-item .tech-meta {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tab-content .tech-item .meta-right {
  text-align: right;
  flex-shrink: 0;
}

/* 手机版Tab调整 */
@media (max-width: 480px) {
  .tab-btn {
    font-size: 13px;
    padding: 12px 6px;
  }
  .tab-content {
    padding: 4px 14px 14px;
  }
  .tab-content .rank-list li {
    padding: 10px 0;
  }
  .tab-content .tech-item {
    padding: 10px 0;
  }
  .tab-content .rank-name {
    font-size: 13px;
  }
  .tab-content .rank-count {
    font-size: 11px;
  }
}

/* ===== PC端：切换卡改为独立卡片网格 ===== */
@media (min-width: 769px) {
  .tabs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    background: transparent;
    border: none;
  }
  .tabs-header {
    display: none;
  }
  .tab-content {
    display: block !important;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 14px;
    border: 1px solid rgba(212, 163, 58, 0.1);
    padding: 16px 20px 20px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .tab-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  }
  .tab-content .tech-item:active {
    background: rgba(212, 163, 58, 0.06);
    margin: 0 -4px;
    padding: 12px 4px;
    border-radius: 6px;
  }
  /* 卡片标题（PC 端隐藏了 tab 按钮，用 data-content 显示标题） */
  .tab-content[data-content]::before {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #d4a33a;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 163, 58, 0.15);
  }
  .tab-content[data-content="questions"]::before { content: "❓ 热门问答"; }
  .tab-content[data-content="tutorials"]::before { content: "📖 推荐教程"; }
  .tab-content[data-content="hot"]::before { content: "🏆 热门模型"; }
  .tab-content[data-content="points"]::before { content: "👑 积分富豪"; }
  .tab-content[data-content="weekly"]::before { content: "🔥 活跃周榜"; }
}
/* ── 站内滚动通知栏 ── */
.site-notice-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    height: 38px;
    line-height: 38px;
    overflow: hidden;
    position: relative;
    z-index: 99;
}
.notice-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}
.notice-icon {
    font-size: 15px;
    flex-shrink: 0;
}
.notice-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #ccc;
    transition: opacity 0.3s ease;
    opacity: 0;
}
.notice-text.active {
    opacity: 1;
}
.notice-text strong {
    color: #ffd700;
    font-weight: 600;
}
.notice-tease {
    flex-shrink: 0;
    font-size: 12px;
    color: #94a3b8;
    padding: 2px 10px;
    background: rgba(102, 126, 234, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.4s ease;
    cursor: default;
}
.notice-tease.show {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .site-notice-bar { height: 34px; line-height: 34px; }
    .notice-text { font-size: 12px; }
    .notice-inner { padding: 0 10px; }
    .notice-tease { display: none; }
}

/* ===== 工具卡片网格（首页） ===== */
.tool-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.tool-card {
    background: linear-gradient(145deg, #11162a, #0d1024);
    border: 1px solid rgba(212,163,58,0.12);
    border-radius: 12px;
    padding: 18px 16px;
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    text-align: center;
}
.tool-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212,163,58,0.35);
    box-shadow: 0 8px 24px rgba(212,163,58,0.1);
}.tool-card-icon { margin-bottom: 8px; }
.tool-card-icon img { width:36px; height:36px; object-fit:contain; }
.tool-card-name { font-size: 15px; font-weight: 600; color: #e8eaf0; margin-bottom: 6px; }
.tool-card.placeholder { opacity: 0.4; }
.tool-card.placeholder:hover { opacity: 0.6; transform: none; box-shadow: none; }
.tool-card-desc {
    font-size: 12px; color: #8a8fa8; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 8px;
}
.tool-card .tool-badge {
    display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; margin-top: 4px;
}
.tool-card .tool-badge.free { background: rgba(34,197,94,.18); color: #4ade80; }
.tool-card .tool-badge.vip { background: rgba(212,163,58,.18); color: #d4a33a; }

@media (max-width: 768px) {
    .tool-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tool-card { padding: 14px 12px; }
}
@media (max-width: 480px) {
    .tool-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .tool-card { padding: 12px 8px; }
    .tool-card-icon img { width:28px; height:28px; }
    .tool-card-name { font-size: 13px; }
    .tool-card-desc { font-size: 11px; }
}

/* ===== 双栏技术卡片（首页底部） ===== */
.tech-cards-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.tech-mini-card {
    background: linear-gradient(145deg, #11162a, #0d1024);
    border: 1px solid rgba(212,163,58,0.1);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: border-color .2s;
}
.tech-mini-card:hover { border-color: rgba(212,163,58,0.3); }
.tech-mini-card .tch-title {
    font-size: 14px; font-weight: 600; color: #e0e2ea; margin-bottom: 6px;
    display: flex; justify-content: space-between; align-items: center;
}
.tch-more { font-size: 11px; font-weight: 400; color: #c9a84c; text-decoration: none; }
.tch-more:hover { text-decoration: underline; }
.tech-mini-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 13px; color: #8a8fa8;
}
.tech-mini-item:last-child { border-bottom: none; }
.tech-mini-item .ti-title {
    flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 8px;
}
.tech-mini-item .ti-meta { font-size: 11px; color: #5a5f78; white-space: nowrap; }
@media (max-width: 768px) {
    .tech-cards-duo { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 480px) {
    .tech-mini-card { padding: 12px; }
    .tech-mini-card .tch-title { font-size: 13px; }
    .tech-mini-item { font-size: 12px; }
}

/* ===== 彩蛋条 ===== */
.tease-bar {
    max-width: 1140px; margin: 0 auto; padding: 6px 16px 2px;
    text-align: center;
    font-size: 13px; color: #8a8fa8;
}
.tease-icon { margin-right: 6px; }
.tease-text { transition: opacity .3s; }
@media (max-width: 480px) {
    .tease-bar { padding: 4px 12px 0; font-size: 12px; }
}
