/* ================= 热门短视频专区与播放弹窗 (Videos View & Modal) ================= */
  .videos-view-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
  }
  .videos-view-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
  }
  .videos-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .videos-tabs-bar {
    margin-bottom: 22px;
  }

  /* 爆笑短视频大网格 (4~5 列响应式) */
  .videos-view-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }
  @media (max-width: 1500px) {
    .videos-view-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (max-width: 1100px) {
    .videos-view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .videos-view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  .video-grid-card {
    height: 270px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #0d111a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .22s ease, border-color .22s ease;
    user-select: none;
  }
  .video-grid-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--accent);
    border-color: var(--accent);
  }
  .video-grid-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
  }
  .video-grid-card:hover .video-grid-cover {
    transform: scale(1.06);
  }
  .video-grid-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .video-grid-rank.rank-1 { background: linear-gradient(135deg, #f59e0b, #d97706); border-color: #fbbf24; }
  .video-grid-rank.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); border-color: #cbd5e1; }
  .video-grid-rank.rank-3 { background: linear-gradient(135deg, #b45309, #78350f); border-color: #d97706; }
  
  .video-grid-hot {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #ffedd5;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .video-grid-play {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all .2s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  .video-grid-card:hover .video-grid-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(244, 63, 94, 0.9);
    opacity: 1;
  }
  .video-grid-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.65) 60%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .video-grid-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  }
  .video-grid-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
  }
  .video-grid-tag {
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(244, 63, 94, 0.3);
    color: #fecdd3;
    font-size: 10px;
    font-weight: 500;
  }
  .video-grid-tag.demo {
    background: rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
  }

  /* 视频弹窗 */
  .video-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .2s ease;
  }
  .video-modal-backdrop.open { display: flex; opacity: 1; }
  .video-modal {
    width: 100%;
    max-width: 440px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    animation: modalIn .22s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes modalIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  .video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all .15s ease;
  }
  .video-modal-close:hover {
    background: rgba(244, 63, 94, 0.85);
    transform: rotate(90deg);
  }
  .video-modal-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
  }
  .video-modal-cover { width: 100%; height: 100%; object-fit: cover; }
  .video-modal-play-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(244, 63, 94, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.5);
  }
  .video-modal-rank {
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }
  .video-modal-content { padding: 18px 20px 20px; }
  .video-modal-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
  .video-modal-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    font-weight: 600;
  }
  .video-modal-hot { font-size: 11px; color: var(--text-muted); }
  .video-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 6px;
  }
  .video-modal-author {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 18px;
  }
  .video-modal-actions { display: flex; gap: 10px; }
  .video-btn-primary {
    flex: 2;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: all .18s ease;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
  }
  .video-btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.45);
  }
  .video-btn-secondary {
    flex: 1;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-hover);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s ease;
  }

  /* 骨架屏 */
  .sk-box { padding: 8px 4px; display: flex; flex-direction: column; gap: 12px; }
  .sk-line {
    display: block; height: 14px; border-radius: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: skGlow 1.5s infinite;
  }
  @keyframes skGlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  @keyframes spin { 100% { transform: rotate(360deg); } }

  mark.highlight {
    background: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 0 2px;
    border-radius: 2px;
  }

  /* 移动端处理 */
  @media (max-width: 860px) {
    .sidebar {
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      transform: translateX(-100%);
      transition: transform .25s ease;
      box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    .sidebar.open { transform: translateX(0); }
    .mobile-menu-btn { display: flex; }
    .topbar { padding: 0 16px; }
    .page-content { padding: 18px 14px 100px; }
  }

  /* ================= 听音乐专区与全局播放器 (Music View & Player) ================= */
