/**
 * tt888av.com &#x4E3B;&#x6837;&#x5F0F;&#x6587;&#x4EF6;
 * &#x79FB;&#x52A8;&#x7AEF; SEO &#x4F18;&#x5316;&#x7248;&#x672C;
 */

/* ========== &#x5168;&#x5C40;&#x6837;&#x5F0F; ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: #f5f5f5; font-size: 16px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ========== &#x5934;&#x90E8; ========== */
.header { background: #1a1a2e; color: #fff; padding: 15px 0; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: #e94560; display: block; padding: 8px 0; }
.nav { display: flex; gap: 30px; }
.nav a { color: #fff; transition: color 0.3s; padding: 8px 12px; min-height: 44px; display: flex; align-items: center; }
.nav a:hover { color: #e94560; }
.search-form { display: flex; gap: 10px; }
.search-form input { padding: 8px 15px; border: none; border-radius: 5px; width: 300px; min-height: 44px; font-size: 16px; }
.search-form button { padding: 8px 20px; background: #e94560; color: #fff; border: none; border-radius: 5px; cursor: pointer; min-height: 44px; font-size: 16px; }

/* ========== &#x5E7F;&#x544A;&#x4F4D; ========== */
.ad-header { margin: 20px 0; text-align: center; }
.ad-header img { max-width: 100%; }
.ad-sidebar { margin: 20px 0; text-align: center; }
.ad-footer { margin: 20px 0; text-align: center; }

/* ========== &#x4E3B;&#x5185;&#x5BB9;&#x533A; ========== */
.main-content { display: flex; gap: 20px; margin-top: 20px; }
.content-left { flex: 1; }
.content-right { width: 300px; }

/* ========== &#x677F;&#x5757;&#x6807;&#x9898; ========== */
.section-title { font-size: 20px; margin-bottom: 15px; padding-left: 15px; border-left: 4px solid #e94560; line-height: 1.3; }
h1, h2, h3 { line-height: 1.3; margin-bottom: 10px; }

/* ========== &#x89C6;&#x9891;&#x7F51;&#x683C; ========== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.video-card { background: #fff; border-radius: 10px; overflow: hidden; transition: transform 0.3s; touch-action: manipulation; }
.video-card:hover { transform: translateY(-5px); }
.video-cover { position: relative; padding-top: 56.25%; background: #eee; border-radius: 6px; }
.video-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.video-info { padding: 12px; }
.video-title { font-size: 14px; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; min-height: 36px; }
.video-meta { display: flex; justify-content: space-between; font-size: 12px; color: #999; }

/* ========== &#x4FA7;&#x8FB9;&#x680F; ========== */
.sidebar-box { background: #fff; padding: 15px; border-radius: 10px; margin-bottom: 20px; }
.video-list { list-style: none; }
.video-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.video-list li:last-child { border-bottom: none; }
.video-list a { display: flex; gap: 10px; }
.video-list img { width: 100px; height: 60px; object-fit: cover; border-radius: 5px; }
.video-list-title { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== &#x5206;&#x7C7B;&#x6807;&#x7B7E; ========== */
.category-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.category-tag { padding: 8px 20px; background: #fff; border-radius: 20px; font-size: 14px; transition: all 0.3s; min-height: 36px; display: inline-flex; align-items: center; }
.category-tag:hover, .category-tag.active { background: #e94560; color: #fff; }

/* ========== &#x5E95;&#x90E8; ========== */
.footer { background: #1a1a2e; color: #fff; padding: 30px 0; margin-top: 40px; text-align: center; }
.footer p { margin-bottom: 10px; color: #999; text-align: center; }
.footer a { color: #999; transition: color 0.3s; }
.footer a:hover { color: #e94560; }

/* ========== &#x9875;&#x9762;&#x6807;&#x9898; ========== */
.page-title { padding: 30px 0; font-size: 28px; }

/* ========== &#x79FB;&#x52A8;&#x7AEF;&#x54CD;&#x5E94;&#x5F0F; - &#x767E;&#x5EA6; SEO &#x4F18;&#x5316; ========== */
@media screen and (max-width: 768px) {
    .container { padding: 0 10px; }
    
    .header-content { flex-direction: column; gap: 10px; }
    .logo { font-size: 20px; margin-bottom: 5px; display: block; padding: 8px 0; }
    .nav { gap: 10px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
    .nav a { padding: 8px 12px; min-height: 44px; display: flex; align-items: center; }
    
    .search-form { width: 100%; flex-direction: column; }
    .search-form input { width: 100%; max-width: 100%; min-height: 44px; font-size: 16px; }
    .search-form button { padding: 12px 20px; min-height: 44px; font-size: 16px; }
    
    .main-content { flex-direction: column; }
    .content-left { width: 100%; }
    .content-right { width: 100%; }
    
    .sidebar-box { display: none; }
    .ad-sidebar { display: none; }
    
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .video-card { border-radius: 8px; }
    .video-info { padding: 8px; }
    .video-title { font-size: 13px; line-height: 1.4; min-height: 36px; }
    .video-meta { font-size: 11px; }
    .video-cover { border-radius: 6px; }
    
    .category-tags { gap: 5px; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; }
    .category-tag { padding: 6px 15px; font-size: 13px; border-radius: 15px; min-height: 36px; display: inline-flex; align-items: center; }
    
    .section-title { font-size: 18px; padding-left: 10px; margin-bottom: 12px; }
    
    .ad-footer img { max-width: 100%; height: auto; }
    
    body { font-size: 16px; line-height: 1.6; }
    h1, h2, h3 { line-height: 1.3; margin-bottom: 10px; }
}

@media screen and (max-width: 480px) {
    .logo { font-size: 18px; padding: 6px 0; }
    .nav { gap: 5px; font-size: 13px; }
    .nav a { padding: 6px 10px; }
    .search-form input { min-height: 40px; font-size: 14px; }
    .search-form button { padding: 10px 15px; min-height: 40px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .video-title { font-size: 12px; line-height: 1.3; min-height: 32px; }
    .category-tag { padding: 5px 12px; font-size: 12px; }
    .section-title { font-size: 16px; }
    
    .header { padding: 10px 0; }
    .video-card { margin-bottom: 8px; }
}

@media (hover: none) and (pointer: coarse) {
    a, button { min-height: 44px; }
    .video-card { touch-action: manipulation; }
}
