* { margin:0; padding:0; box-sizing:border-box; }
body { background:#0f0f14; color:#e0e0e0; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; min-height:100vh; }
.ad-top-banner { position:fixed; top:0; left:0; right:0; z-index:300; }
.ad-top-banner img { width:100%; height:auto; display:block; }
.ad-bottom-float { position:fixed; bottom:0; left:0; right:0; z-index:300; }
.ad-bottom-float img { width:100%; height:auto; display:block; }
.site-header { background:#1a1a24; border-bottom:1px solid #2a2a3a; }
.header-top { max-width:1400px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:6px 20px; }
.header-fixed { position:fixed; top:0; left:0; right:0; z-index:200; background:#1a1a24; display:flex; align-items:center; justify-content:space-between; padding:5px 20px; height:42px; border-bottom:1px solid #2a2a3a; }
#after-fixed { margin-top:42px; }
.logo { color:#ff4d6a; font-size:18px; font-weight:700; text-decoration:none; white-space:nowrap; flex-shrink:0; }
.logo:hover { color:#ff6b82; }
.search-box { display:flex; gap:0; width:360px; flex-shrink:0; }
.search-box input { flex:1; background:#2a2a3a; border:1px solid #3a3a4a; color:#fff; padding:7px 12px; border-radius:6px 0 0 6px; font-size:14px; outline:none; }
.search-box input:focus { border-color:#ff4d6a; }
.search-box button { background:#ff4d6a; border:none; color:#fff; padding:7px 16px; border-radius:0 6px 6px 0; cursor:pointer; font-size:14px; font-weight:500; }
.ad-banner { max-width:1400px; margin:0 auto; padding:0 20px 4px; text-align:center; }
.ad-banner img { max-width:100%; height:auto; border-radius:4px; }
.nav-categories { max-width:1400px; background:#1a1a24; border-top:2px solid #2a2a3a; border-bottom:2px solid #2a2a3a; margin:0 auto; display:flex; gap:0; padding:0 20px 4px; overflow-x:auto; }
.nav-parent { display:block; padding:6px 14px; color:#fff; cursor:pointer; font-size:17px; white-space:nowrap; border-radius:6px 6px 0 0; transition:.2s; text-decoration:none; }
.nav-parent:hover { color:#fff; background:#252535; }
.nav-parent.active { color:#ff4d6a; background:#1e1e2e; font-weight:700; border-bottom:2px solid #ff4d6a; }
.subcat-tags { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin-bottom:16px; }
.subcat-tag { display:flex; align-items:center; justify-content:center; padding:10px 0; background:#1e1e2e; color:#aaa; border-radius:6px; text-decoration:none; font-size:14px; border:1px solid #2a2a3a; }
.subcat-tag:hover { color:#fff; background:#2a2a3a; border-color:#ff4d6a; }
.subcat-tag.active { color:#fff; background:#ff4d6a; border-color:#ff4d6a; }
.app-list { max-width:1400px; margin:0 auto; display:grid; grid-template-columns:repeat(5, 1fr); gap:8px; padding:4px 20px 8px; }
.app-item { display:flex; flex-direction:column; align-items:center; gap:4px; text-decoration:none; padding:6px 0; }
.app-item img { width:48px; height:48px; border-radius:10px; object-fit:contain; }
.app-item span { color:#aaa; font-size:12px; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:80px; }
.app-item:hover span { color:#fff; }
.txtad-list { max-width:1400px; margin:0 auto; display:grid; grid-template-columns:repeat(5, 1fr); gap:8px; padding:6px 20px 16px; text-align:center; }
.txtad-item { font-size:15px; font-weight:700; text-decoration:none; white-space:nowrap; padding:2px 4px; transition:.2s; }
.txtad-item:hover { opacity:.8; text-decoration:underline; }
.txtad-color0 { color:#ff4d6a; }
.txtad-color1 { color:#ff8c00; }
.txtad-color2 { color:#4dc9f6; }
.txtad-color3 { color:#ffd700; }
.txtad-color4 { color:#7cfc00; }
.txtad-color5 { color:#ff69b4; }
.main-content { max-width:1400px; margin:0 auto; padding:20px; }
.section-block { margin-bottom:32px; }
.section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.section-title { font-size:20px; color:#fff; }
.section-more { color:#ff4d6a; text-decoration:none; font-size:14px; }
.section-more:hover { color:#ff6b82; }
.video-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:14px; }
.video-card { background:#1a1a24; border-radius:8px; overflow:hidden; transition:transform .2s; }
.video-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(255,77,106,.15); }
.video-card a { text-decoration:none; color:inherit; }
.video-views-badge { position:absolute; bottom:6px; right:6px; background:rgba(0,0,0,.7); color:#fff; padding:2px 8px; border-radius:4px; font-size:12px; }
.video-title { padding:10px 12px 4px; font-size:14px; color:#ddd; line-height:1.4;  }
.video-card:hover .video-title { color:#fff; }
.player-page { max-width:900px; margin:0 auto; }
.player-wrapper { background:#000; border-radius:8px; overflow:hidden; }
.player-wrapper video { width:100%; display:block; max-height:92vh; }
.player-info { padding:16px 0; }
.player-info .video-title { font-size:20px; color:#fff; padding:0; }
.video-meta { margin-top:10px; display:flex; gap:20px; color:#999; font-size:14px; }
.pagination { display:flex; align-items:center; gap:6px; padding:20px 0; flex-wrap:wrap; justify-content:center; }
.page-btn { display:inline-block; padding:6px 14px; background:#1e1e2e; color:#aaa; border-radius:6px; text-decoration:none; font-size:14px; border:1px solid #2a2a3a; }
.page-btn:hover { color:#fff; background:#2a2a3a; border-color:#ff4d6a; }
.page-btn.active { background:#ff4d6a; color:#fff; border-color:#ff4d6a; }
.page-info { color:#555; font-size:13px; margin-left:12px; }
.site-footer { text-align:center; padding:20px; color:#555; font-size:12px; border-top:1px solid #1a1a24; margin-top:40px; }
.no-result { text-align:center; padding:60px 20px; color:#666; font-size:16px; }
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:#0f0f14; }
::-webkit-scrollbar-thumb { background:#333; border-radius:3px; }
@media (max-width:768px) {
    .header-top { padding:4px 10px; }
    .header-fixed { padding:4px 10px; height:38px; }
    .logo { font-size:16px; }
    .search-box { width:220px; }
    .search-box input { padding:6px 8px; font-size:12px; }
    .search-box button { padding:6px 10px; font-size:12px; }
    .nav-parent { padding:4px 8px; font-size:17px; }
    .subcat-tag { padding:4px 12px; font-size:12px; }
    .video-grid { grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:8px; }
    .video-title { font-size:12px; }
}

.right-sidebar { display:none; position:fixed; max-height:60vh; overflow-y:auto; right:20px; top:180px; flex-direction:column; gap:8px; z-index:100; }
.sidebar-app-item { display:flex; flex-direction:column; align-items:center; text-decoration:none; gap:2px; }
.sidebar-app-item span { color:#aaa; font-size:12px; max-width:64px; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-app-item:hover img { border-color:#ff4d6a; }
.sidebar-app-item:hover span { color:#fff; }
.sidebar-app-item img { width:50px; height:50px; border-radius:10px; object-fit:contain; border:1px solid #2a2a3a; }



#after-fixed { scroll-margin-top: 120px; }











.video-thumb { position:relative; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; background:#252535; overflow:hidden; }
.video-thumb .thumb-spinner { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:28px; height:28px; border:3px solid rgba(255,255,255,0.15); border-top-color:#ff4d6a; border-radius:50%; animation:spin 0.8s linear infinite; z-index:2; }
.video-thumb .thumb-placeholder { position:absolute; top:0; left:0; width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:48px; opacity:.3; z-index:1; }
@keyframes spin { to { transform:translate(-50%,-50%) rotate(360deg); } }
.video-thumb img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:contain; }
