/* ─── 首页 Hero 搜索区 ─── */
.home-hero {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  text-align: center;
  color: #fff;
  padding: 60px 20px 120px;
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.home-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -80px; right: -60px;
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  bottom: -40px; left: -40px;
  pointer-events: none;
}
.home-hero-inner {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.home-hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.home-hero p { font-size: 15px; opacity: 0.85; margin-bottom: 28px; position: relative; z-index: 1; }

/* 搜索框 */
.home-search { max-width: 520px; margin: 0 auto; }
.home-search-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(59,130,246,0.25);
}
.home-search-wrap input {
  flex: 1;
  padding: 14px 40px 14px 18px;
  border: none;
  font-size: 15px;
  outline: none;
  color: #fff;
  background: transparent;
}
.home-search-wrap input::placeholder { color: rgba(255,255,255,0.6); }
.home-search-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  cursor: pointer;
  z-index: 1;
  transition: color .2s;
}
.home-search-icon:hover { color: rgba(255,255,255,0.85); }

/* ─── 卡片区 ─── */
.home-cards {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.home-cards-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: -48px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(59,130,246,0.06);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.15);
  background: rgba(255,255,255,0.85);
  border-color: rgba(59,130,246,0.3);
}
.home-card-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
  color: #fff;
}
.home-card-icon.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.home-card-icon.light-blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.home-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-card-body p { font-size: 13px; color: #64748b; line-height: 1.5; }
.card-desc-mobi { display: none; }
.title-desk { display: inline; }
.title-mobi { display: none; }

.badge-limit {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}


/* ─── 平板（480px ~ 768px）桌面预览版 @media 布局 ─── */
@media (min-width: 480px) and (max-width: 768px) {
  .home-hero { padding: 40px 16px 100px; }
  .home-hero h1 { font-size: 22px; }
  .home-cards-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -60px;
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .home-card { padding: 20px 16px; gap: 14px; }
  .home-card-body h3 { font-size: 14px; margin-bottom: 4px; gap: 8px; }
  .home-card-body p { font-size: 12px; line-height: 1.5; }
  .home-card-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
  .badge-limit { display: none; }
  .card-desc-desk { display: block; }
  .card-desc-mobi { display: none; }
  .home-search-wrap { border-radius: 10px; }
  .home-search-wrap input { padding: 12px 40px 12px 14px; font-size: 14px; }
  .home-search-icon { right: 22px; font-size: 14px; }
}

/* ─── 手机窄屏（< 480px）手机预览版布局 ─── */
@media (max-width: 479px) {
  .home-hero { padding: 40px 16px 100px; }
  .home-hero h1 { font-size: 22px; }
  .home-cards-inner {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: -30px;
    padding: 0 16px;
    margin-bottom: 32px;
  }
  .home-card { padding: 16px 14px; gap: 10px; border-radius: 14px; }
  .home-card:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59,130,246,0.12);
    background: rgba(255,255,255,0.85);
  }
  .home-card-body h3 { font-size: 15px; margin-bottom: 2px; gap: 4px; }
  .home-card-body p { font-size: 11px; line-height: 1.4; }
  .home-card-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }
  .badge-limit { display: none; }
  .card-desc-desk { display: none; }
  .card-desc-mobi { display: block; }
  .title-desk { display: none; }
  .title-mobi { display: inline; }
  .home-search-wrap { border-radius: 10px; }
  .home-search-wrap input { padding: 12px 40px 12px 14px; font-size: 14px; }
  .home-search-icon { right: 22px; font-size: 14px; }
}
/* 音频列表元信息 */
.audio-meta { display: flex; gap: 8px; margin-top: 4px; }
.audio-meta .col-size { width: 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-meta .col-duration { width: 50px; white-space: nowrap; }
.audio-meta .col-price { flex: 1; white-space: nowrap; }