* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f0f0f;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
/* ===== 顶部导航 ===== */
.top-nav {
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    padding: 0 16px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ccc;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

.top-nav .logo {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: 24px;
}

    .nav-links a {
        color: #ccc;
        text-decoration: none;
        font-size: 14px;
    }

        .nav-links a.active {
            color: #ff6b35;
        }

/*

        .search-container {
            display: flex;
            align-items: center;
            flex: 1;
            max-width: 500px;
            margin: 0 24px;
            position: relative;
        }

        .search-box {
            background: #2a2a2a;
            border: 1px solid #333;
            border-radius: 20px 0 0 20px;
            padding: 8px 14px;
            color: #fff;
            font-size: 13px;
            width: 100%;
            outline: none;
            border-right: none;
        }

            .search-box:focus {
                border-color: #ff6b35;
            }

        .search-btn {
            background: #2a2a2a;
            border: 1px solid #333;
            border-left: none;
            border-radius: 0 20px 20px 0;
            color: #888;
            cursor: pointer;
            padding: 8px 12px;
        }

            .search-btn:hover {
                color: #ff6b35;
            }

        .search-suggestions {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #1e1e1e;
            border: 1px solid #2a2a2a;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.5);
            margin-top: 4px;
            z-index: 300;
            overflow: hidden;
        }

            .search-suggestions.show {
                display: block;
            }

        .suggest-section {
            padding: 8px 0;
        }

        .suggest-title {
            font-size: 11px;
            color: #666;
            text-transform: uppercase;
            padding: 6px 16px;
            letter-spacing: 0.5px;
        }

        .suggest-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            color: #ccc;
            cursor: pointer;
            font-size: 13px;
        }

            .suggest-item:hover {
                background: #2a2a2a;
                color: #fff;
            }

            .suggest-item .suggest-icon {
                font-size: 14px;
                opacity: 0.6;
                width: 18px;
                text-align: center;
            }

            .suggest-item .suggest-text {
                flex: 1;
            }

            .suggest-item .suggest-remove {
                font-size: 16px;
                color: #555;
                cursor: pointer;
                padding: 0 4px;
                opacity: 0;
                transition: opacity 0.2s;
            }

            .suggest-item:hover .suggest-remove {
                opacity: 1;
            }

            .suggest-item .suggest-remove:hover {
                color: #ff6b35;
            }

        .suggest-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 4px 16px 10px;
        }

        .suggest-tag {
            padding: 4px 12px;
            background: #2a2a2a;
            border: 1px solid #333;
            border-radius: 12px;
            color: #bbb;
            font-size: 12px;
            cursor: pointer;
        }

            .suggest-tag:hover {
                border-color: #ff6b35;
                color: #ff6b35;
            }
            */

/* ===== 搜索框 begin ===== */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 20px 0 0 20px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    width: 220px;
    outline: none;
    border-right: none;
    transition: border-color 0.2s;
}

    .search-box:focus {
        border-color: #ff6b35;
    }

.search-btn {
    background: #2a2a2a;
    border: 1px solid #333;
    border-left: none;
    border-radius: 0 20px 20px 0;
    color: #888;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.2s;
}

    .search-btn:hover {
        color: #ff6b35;
    }

.search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 0 0 12px 12px;
    margin-top: 4px;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 300;
}

    .search-dropdown.show {
        display: block;
    }

.search-section {
    padding: 8px 0;
}

    .search-section + .search-section {
        border-top: 1px solid #2a2a2a;
    }

.search-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 4px;
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .search-section-title .clear-history {
        color: #ff6b35;
        cursor: pointer;
        font-size: 11px;
        text-transform: none;
        letter-spacing: 0;
    }

        .search-section-title .clear-history:hover {
            text-decoration: underline;
        }

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
}

    .search-item:hover {
        background: #2a2a2a;
        color: #fff;
    }

    .search-item .search-item-icon {
        font-size: 14px;
        width: 18px;
        text-align: center;
        color: #555;
        flex-shrink: 0;
    }

    .search-item .search-item-text {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-item .search-item-remove {
        background: none;
        border: none;
        color: #444;
        cursor: pointer;
        font-size: 14px;
        padding: 2px 4px;
        opacity: 0;
        transition: opacity 0.15s, color 0.15s;
    }

    .search-item:hover .search-item-remove {
        opacity: 1;
    }

    .search-item .search-item-remove:hover {
        color: #ff6b35;
    }

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 16px 12px;
}

.trending-tag {
    padding: 4px 10px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 12px;
    color: #bbb;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

    .trending-tag:hover {
        background: #ff6b35;
        color: #fff;
        border-color: #ff6b35;
    }

    .trending-tag .hot-icon {
        margin-right: 4px;
        font-size: 10px;
    }

.search-empty {
    padding: 16px;
    text-align: center;
    color: #444;
    font-size: 12px;
}

.icon-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    position: relative;
}

    .icon-btn:hover {
        color: #fff;
    }

    .icon-btn .badge {
        position: absolute;
        top: 2px;
        right: 0px;
        background: #ff6b35;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.me-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 4px 10px 4px 4px;
    border-radius: 20px;
}

    .me-btn:hover {
        background: #2a2a2a;
    }

.me-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff6b35;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .me-avatar.sm {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

.me-name {
    font-size: 13px;
}

.caret {
    font-size: 10px;
    opacity: 0.6;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    min-width: 220px;
    padding: 8px 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    margin-top: 4px;
}

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        color: #ccc;
        text-decoration: none;
        font-size: 13px;
    }

        .dropdown-menu a:hover {
            background: #2a2a2a;
            color: #fff;
        }

.dropdown-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 4px 0;
}

.dropdown-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* ===== 搜索框 end ===== */
.top-nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.icon-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    position: relative;
}

    .icon-btn:hover {
        color: #fff;
    }

    .icon-btn .badge {
        position: absolute;
        top: 2px;
        right: 0px;
        background: #ff6b35;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.me-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 4px 10px 4px 4px;
    border-radius: 20px;
}

    .me-btn:hover {
        background: #2a2a2a;
    }

.me-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff6b35;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .me-avatar.sm {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

.me-name {
    font-size: 13px;
}

.caret {
    font-size: 10px;
    opacity: 0.6;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    min-width: 220px;
    padding: 8px 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    margin-top: 4px;
}

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        color: #ccc;
        text-decoration: none;
        font-size: 13px;
    }

        .dropdown-menu a:hover {
            background: #2a2a2a;
            color: #fff;
        }

.dropdown-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 4px 0;
}

.dropdown-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* ===== 顶部导航 end===== */

/* ===== 抽屉菜单 begin ===== */
.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 150;
}

    .drawer-overlay.show {
        display: block;
    }

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #141414;
    z-index: 160;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

    .drawer.show {
        transform: translateX(0);
    }

.drawer-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .drawer-header .logo {
        font-size: 18px;
        font-weight: 700;
        color: #ff6b35;
    }

.drawer-close {
    background: none;
    border: none;
    color: #888;
    font-size: 22px;
    cursor: pointer;
}

.drawer-group-title {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px 6px;
    font-weight: 600;
}

/* 抽屉普通项 */
.drawer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: #bbb;
    text-decoration: none;
    font-size: 15px;
}

    .drawer-item:hover {
        background: #1e1e1e;
        color: #fff;
    }

    .drawer-item.active {
        color: #ff6b35;
        background: #1e1e1e;
        border-left: 3px solid #ff6b35;
    }

    .drawer-item .icon {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }

.drawer-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 8px 0;
}
/* ===== 抽屉折叠子菜单 ===== */
.drawer-collapsible {
    cursor: pointer;
    user-select: none;
}

    .drawer-collapsible .collapse-arrow {
        margin-left: auto;
        font-size: 12px;
        transition: transform 0.3s ease;
        color: #666;
    }

    .drawer-collapsible.open .collapse-arrow {
        transform: rotate(90deg);
    }

.drawer-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

    .drawer-submenu.open {
        max-height: 1000px;
    }

    .drawer-submenu a {
        display: block;
        padding: 10px 20px 10px 58px;
        color: #888;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.2s, background 0.2s;
    }

        .drawer-submenu a:hover {
            color: #ff6b35;
            background: #1a1a1a;
        }

        .drawer-submenu a .sub-icon {
            margin-right: 8px;
            font-size: 14px;
        }

/* ===== 移动端分类栏 ===== */
.mobile-categories-bar {
    display: none;
}

/* ===== 主体 ===== */
.middle-area {
    display: flex;
    flex: 1 0 auto;
    min-height: 0;
}

/* ===== 左侧菜单  begin ===== */
.sidebar {
    width: 210px;
    background: #141414;
    border-right: 1px solid #2a2a2a;
    padding: 8px 0 20px;
    flex-shrink: 0;
    align-self: stretch;
}

.sidebar-group {
    margin-bottom: 6px;
}

.sidebar-group-title {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px 6px;
    font-weight: 600;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
}

    .sidebar-item:hover {
        background: #1e1e1e;
        color: #fff;
    }

    .sidebar-item.active {
        color: #ff6b35;
        background: #1e1e1e;
        border-left: 3px solid #ff6b35;
    }

.sidebar-icon {
    font-size: 18px;
    width: 22px;
    text-align: center;
}
/* ===== 左侧菜单  end ===== */

/* ===== 桌面侧边栏折叠 begin ===== */
.sidebar-collapsible {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .sidebar-collapsible .collapse-arrow {
        margin-left: auto;
        font-size: 12px;
        color: #666;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .sidebar-collapsible.open .collapse-arrow {
        transform: rotate(90deg);
    }

.sidebar-submenu {
    display: none;
}

    .sidebar-submenu.open {
        display: block;
    }

    .sidebar-submenu a {
        display: block;
        padding: 9px 20px 9px 54px;
        color: #888;
        text-decoration: none;
        font-size: 13px;
        transition: color 0.2s, background 0.2s;
    }

        .sidebar-submenu a:hover {
            color: #ff6b35;
            background: #1a1a1a;
        }

/* ===== 桌面侧边栏折叠 end ===== */


/* ===== 主体 ===== */
.main-content {
    flex: 1;
    padding: 24px;
    padding-bottom: 50px;
}
/* ===== 主体  gai ===== */
 .main-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.results-header {
    margin-bottom: 20px;
}

    .results-header h1 {
        font-size: 20px;
    }

.result-count {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .filter-group label {
        font-size: 12px;
        color: #888;
    }

    .filter-group select {
        background: #2a2a2a;
        border: 1px solid #333;
        border-radius: 6px;
        padding: 6px 10px;
        color: #fff;
        font-size: 12px;
    }

.apply-filters-btn {
    background: #ff6b35;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

    .view-toggle button {
        background: none;
        border: none;
        color: #666;
        cursor: pointer;
        padding: 6px 8px;
        font-size: 18px;
    }

        .view-toggle button.active {
            color: #ff6b35;
        }
/* ===== 视频网格 ===== */
.videoGrid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
}

    .videoGrid[data-view="list"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

.video-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.videoGrid[data-view="list"] .video-card {
    display: flex !important;
    flex-direction: row !important;
    height: 140px;
}

    .videoGrid[data-view="list"] .video-card .thumbnail {
        width: 250px !important;
        flex-shrink: 0;
        height: 100%;
    }

    .videoGrid[data-view="list"] .video-card .video-info {
        flex: 1;
        padding: 14px 16px;
    }

.thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #2a2a2a;
    overflow: hidden;
}

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.2s;
    }

    .thumbnail video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 2;
    }

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 3;
    transition: opacity 0.2s;
}

.video-card:hover .duration {
    opacity: 0;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 12px;
    color: #888;
}

/* 分页 begin */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

    .pagination button {
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 6px;
        padding: 8px 14px;
        color: #ccc;
        font-size: 13px;
        cursor: pointer;
    }

        .pagination button.active {
            background: #ff6b35;
            color: #fff;
            border-color: #ff6b35;
        }

    .pagination a {
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 6px;
        padding: 10px 10px;
        color: #ccc;
        font-size: 13px;
        cursor: pointer;
    }

        .pagination a.active {
            background: #ff6b35;
            color: #fff;
            border-color: #ff6b35;
        }
/* 分页 end */

/* 桌面 footer begin */
.desktop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    flex-shrink: 0;
}

    .desktop-footer .copyright {
        font-size: 12px;
        color: #555;
    }

    .desktop-footer .footer-links {
        display: flex;
        gap: 20px;
    }

        .desktop-footer .footer-links a {
            font-size: 12px;
            color: #555;
            text-decoration: none;
        }

            .desktop-footer .footer-links a:hover {
                color: #ff6b35;
            }
/* 桌面 footer end */

.desktop-categories-bar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.desktop-categories-scroll {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cat-chip {
    flex: 0 0 auto;
    white-space: wrap;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    color: #ccc;
    background: #1a1a1a;
}

    .cat-chip.active {
        background: #ff6b35;
        color: #fff;
        border-color: #ff6b35;
    } 
       

/* ===== 手机端底部导航 ===== */
.mobile-bottom-nav {
    display: none;
}


/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .desktop-categories-bar {
        display: none;
    }
    

    .nav-links {
        display: none;
    }

    .search-container {
        display: flex;
        flex: 1;
        max-width: none;
        margin: 0 8px;
    }

    .search-suggestions {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        border-radius: 0 0 12px 12px;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    .me-name {
        display: none;
    }

    .caret {
        display: none;
    }

    .sidebar {
        display: none;
    }



    /*分类 begin*/

     



    .mobile-categories-bar {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .mobile-categories-scroll {
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 10px 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

   
    /* 分类 end*/

    .main-content {
        padding: 12px;
        padding-bottom: 30px;
    }

    /* videoGrid begin */
    .videoGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

        .videoGrid[data-view="list"] .video-card {
            height: 100px;
        }

            .videoGrid[data-view="list"] .video-card .thumbnail {
                width: 140px !important;
            }

            .videoGrid[data-view="list"] .video-card .video-info {
                padding: 8px 10px;
            }

            .videoGrid[data-view="list"] .video-card .video-title {
                font-size: 13px;
                -webkit-line-clamp: 2;
            }
    /* videoGrid end */

    .video-info {
        padding: 8px;
    }

    .video-title {
        font-size: 12px;
    }

    .video-meta {
        font-size: 11px;
    }

    .desktop-footer {
        display: none;
    }
    /* 手机 footer begin */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #0a0a0a;
        border-top: 1px solid #1a1a1a;
        z-index: 100;
        height: 60px;
        align-items: center;
        justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom);
    }
    /* 手机 footer end */
    .bottom-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        background: none;
        border: none;
        color: #555;
        cursor: pointer;
        padding: 6px 12px;
        text-decoration: none;
    }

        .bottom-tab.active {
            color: #ff6b35;
        }

        .bottom-tab .tab-icon {
            font-size: 22px;
        }

        .bottom-tab .tab-label {
            font-size: 10px;
        }

    #meMenu {
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: unset !important;
        border-radius: 0 0 12px 12px !important;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    #notifMenu {
        position: fixed !important;
        top: 56px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: unset !important;
        border-radius: 0 0 12px 12px !important;
    }
}

/* 悬停进度条 */
.hover-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.4);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

    .hover-progress-bar.active {
        opacity: 1;
    }

.hover-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6b35, #ff9f1a);
    border-radius: 0 2px 2px 0;
}

.hover-loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

    .hover-loading-text.show {
        opacity: 1;
    }

/* 视频覆盖层 */
.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .video-preview-overlay.playing {
        opacity: 1;
    }

    .video-preview-overlay video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


@media (max-width: 480px) {
    .videoGrid[data-view="list"] .video-card {
        flex-direction: column !important;
        height: auto !important;
    }

        .videoGrid[data-view="list"] .video-card .thumbnail {
            width: 100% !important;
            aspect-ratio: 16/9;
        }
}

/*---------------------------------------*/
                        /* ===== .hot 容器 ===== */
.hot {
    padding: 8px 0;
}

/* ===== .hot 下的 a 标签 ===== */
.hot a {
    display: inline-block;
    padding: 3px 10px;
    margin: 3px 4px 3px 0;
    font-size: 11px;
    color: #e0e0e0;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
    cursor: pointer;
    line-height: 1.3;
}

/* ===== hover ===== */
/* ===== hover：橘色发光 ===== */
.hot a:hover {
    color: #ffffff;
    background: rgba(255, 140, 0, 0.2);
    border-color: rgba(255, 140, 0, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 140, 0, 0.25);
}

/* ===== active ===== */
.hot a:active {
    transform: translateY(0);
}

/* ===== visited ===== */
.hot a:visited {
    color: #b0b0b0;
}

/* ===== focus ===== */
.hot a:focus {
    outline: none;
    border-color: rgba(100, 180, 255, 0.6);
    box-shadow: 0 0 0 2px rgba(100, 180, 255, 0.15);
}

/*hot end */

/*分页 begin*/
/*
  .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px;
}

.pageCountBtn{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px;
}

/* 手机端：让 total 那块独占一行 */
@media (max-width: 768px) {
    .mobile-categories-bar {
        display: block;
    }
    /* 手机端：让 total 那块独占一行 */
    .pagination {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

        .pagination > div:first-child {
            width: 100%;
            font-size: 12px;
            color: #888;
            padding-bottom: 4px;
            border-bottom: 1px solid #1a1a1a;
        }
}


/*page end*/






/* ===== 文字列表模式 begin  ===== */
/* ===== 文字列表模式  bloglist.aspx ===== */
#blogGrid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.blog-card {
    display: block;
    background: transparent;
    border-bottom: 1px solid #1e1e1e;
    border-radius: 0;
    padding: 14px 0;
}

    .blog-card .blog-title .num {
        content: attr(data-no) "、";
        color: #ff6b35;
        font-weight: 700;
        margin-right: 4px;
        margin-right: 5px;
    }
    /* 标题前的序号 1、2、3……（自己写 data-no 才显示） */
    .blog-card .blog-title::before222222 {
        content: attr(data-no) "、";
        color: #ff6b35;
        font-weight: 700;
        margin-right: 4px;
    }

    /* 标题：自己一个 a 标签，太长自动换到第二行、第三行 */
    .blog-card .blog-title {
        font-size: 15px;
        font-weight: 500;
        color: #fff;
        line-height: 1.5;
        display: block;
        text-decoration: none;
        overflow-wrap: break-word;
        word-break: break-word;
        margin-bottom: 4px;
    }

        .blog-card .blog-title:hover {
            color: #ff6b35;
        }

    /* 下面这行信息不在 a 标签里 */
    .blog-card .blog-meta {
        font-size: 12px;
        color: #666;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        white-space: nowrap;
        align-items: center;
        gap: 6px;
    }

        /* 时长：灰色小方框 */
        .blog-card .blog-meta .duration-tag {
            background: #1e1e1e;
            border: 1px solid #2a2a2a;
            border-radius: 4px;
            padding: 1px 6px;
            font-size: 11px;
            color: #888;
            flex-shrink: 0;
        }

        /* 分隔圆点 */
        .blog-card .blog-meta .dot {
            color: #444;
            flex-shrink: 0;
        }

        .blog-card .blog-meta .views {
            white-space: nowrap;
        }

        /* 作者：小人图标（在最前面）+ 用户名链接 */
        .blog-card .blog-meta .avatar {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            flex-shrink: 0;
            color: #888;
        }

        .blog-card .blog-meta .author {
            color: #999;
            white-space: nowrap;
        }

        .blog-card .blog-meta .author-link {
            color: #999;
            text-decoration: none;
        }

        .blog-card .blog-meta .author:hover .author-link {
            color: #ff6b35;
        }

        .blog-card .blog-meta .author-link:hover {
            text-decoration: underline;
        }

        /* Blog 标签：橙色胶囊 */
        .blog-card .blog-meta .tag-blog {
            background: rgba(255,107,53,0.15);
            border: 1px solid rgba(255,107,53,0.4);
            color: #ff6b35;
            border-radius: 10px;
            padding: 1px 8px;
            font-size: 10px;
            white-space: nowrap;
            flex-shrink: 0;
        }


        /* Blog 标签：蓝色胶囊 */
        .blog-card .blog-meta .tag-blog_new {
            background: rgba(255,107,53,0.15);
            border: 1px solid rgb(53 255 85 / 40%) color: #00ff22;
            border-radius: 10px;
            padding: 1px 8px;
            font-size: 10px;
            white-space: nowrap;
            flex-shrink: 0;
        }

.view-toggle {
    display: none;
}

/* 列表视图按钮隐藏，因为默认就是列表了  end  */
@media (max-width: 768px) {
    /* 手机：标题小一点，元信息仍保持一行 */
    .blog-card .blog-title {
        font-size: 14px;
    }

    .blog-card .blog-meta {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .blog-card .blog-title {
        font-size: 14px;
    }
}

/* ===== 文字列表模式 end  ===== */


/* 左上角播放按钮：白圆底 + 深色三角  begin */
.playicon {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: transform .2s;
}

.card:hover .playicon {
    transform: scale(1.1);
}

.playicon::after {
    content: "";
    display: block;
    margin-left: 3px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #111;
}
/* 左上角播放按钮：白圆底 + 深色三角  end */




        /* vplay.aspx blog.aspx  photobrower.aspx 3个详情页面共同  ===== Main Layout ===== */
        .main-body {
            display: flex;
            flex: 1;
            min-height: 0;
        }

        /* ===== Watch Page Content ===== */
        .watch-container {
            flex: 1;
            display: flex;
            min-width: 0;
        }

        .watch-main {
            flex: 1;
            padding: 24px;
            min-width: 0;
        }

        /* Video Player */
        .video-player-wrapper {
            width: 100%;
            aspect-ratio: 16/9;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }

            .video-player-wrapper video {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

        /* Video Info */
        .video-info-section {
            margin-top: 16px;
        }

            .video-info-section .video-title {
                font-size: 20px;
                font-weight: 600;
                line-height: 1.4;
                color: #e5e5e5;
            }

        .video-meta-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 12px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .video-stats {
            font-size: 13px;
            color: #aaa;
        }

        .video-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: #1e1e1e;
            border: 1px solid #333;
            border-radius: 20px;
            color: #ccc;
            font-size: 13px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s, border-color 0.2s;
        }

            .action-btn:hover {
                background: #2a2a2a;
                color: #fff;
                border-color: #ff6b35;
            }

            .action-btn.liked {
                color: #ff6b35;
                border-color: #ff6b35;
            }

        #downloadBtn {
            background: #1e1e1e;
        }

            #downloadBtn:hover {
                background: #2a4a3a;
                border-color: #4caf50;
                color: #4caf50;
            }

        .purchase-btn {
            background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
            border: none;
            color: #fff;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(255,107,53,0.3);
        }

            .purchase-btn:hover {
                background: linear-gradient(135deg, #e55a2b 0%, #cc4a20 100%);
                color: #fff;
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba(255,107,53,0.4);
            }

            .purchase-btn:active {
                transform: translateY(0);
            }

        /* Author Card  begin */
        .author-card {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-top: 20px;
            padding: 16px;
            background: #161616;
            border: 1px solid #2a2a2a;
            border-radius: 12px;
        }

            .author-card .author-avatar {
                width: 48px;
                height: 48px;
                border-radius: 50%;
                object-fit: cover;
                flex-shrink: 0;
                background: #333;
            }

            .author-card .author-info {
                flex: 1;
            }

                .author-card .author-info .author-name {
                    font-size: 15px;
                    font-weight: 600;
                    color: #e5e5e5;
                }

                .author-card .author-info .author-subs {
                    font-size: 12px;
                    color: #888;
                    margin-top: 2px;
                }
        /*subscribe 订阅*/
        .subscribe-btn {
            padding: 8px 20px;
            background: #ff6b35;
            border: none;
            border-radius: 20px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            flex-shrink: 0;
        }

            .subscribe-btn:hover {
                background: #e55a2b;
            }

            .subscribe-btn.subscribed {
                background: #333;
                color: #ccc;
            }
        /* Author Card  end */

        /* Description begin */
        .video-description {
            margin-top: 16px;
            padding: 16px;
            background: #161616;
            border: 1px solid #2a2a2a;
            border-radius: 12px;
        }

            .video-description .desc-text {
                font-size: 13px;
                color: #bbb;
                line-height: 1.7;
                white-space: pre-line;
            }

                .video-description .desc-text.collapsed {
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }
        /**/
        .show-more-btn {
            background: none;
            border: none;
            color: #ff6b35;
            font-size: 12px;
            cursor: pointer;
            padding: 4px 0;
            margin-top: 8px;
        }
        /* Description end */

        /* Comments 评论 begin */
        .comments-section {
            margin-top: 32px;
        }

        .comments-header {
            font-size: 16px;
            font-weight: 600;
            color: #e5e5e5;
            margin-bottom: 16px;
        }

        .comment-box {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }

            .comment-box .comment-avatar {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                background: #333;
                flex-shrink: 0;
            }

        .comment-input-wrapper {
            flex: 1;
        }

        .comment-input {
            width: 100%;
            background: #1e1e1e;
            border: 1px solid #333;
            border-radius: 8px;
            padding: 10px 14px;
            color: #fff;
            font-size: 13px;
            outline: none;
            resize: none;
            min-height: 36px;
            transition: border-color 0.2s;
        }

            .comment-input:focus {
                border-color: #ff6b35;
            }

            .comment-input::placeholder {
                color: #666;
            }

        .comment-submit-row {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            margin-top: 8px;
        }

        .comment-cancel-btn {
            padding: 6px 14px;
            background: none;
            border: 1px solid #333;
            border-radius: 16px;
            color: #ccc;
            font-size: 12px;
            cursor: pointer;
        }

            .comment-cancel-btn:hover {
                background: #2a2a2a;
            }

        .comment-submit-btn {
            padding: 6px 16px;
            background: #ff6b35;
            border: none;
            border-radius: 16px;
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
        }

            .comment-submit-btn:hover {
                background: #e55a2b;
            }

        .comment-item {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
        }

            .comment-item .comment-avatar {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                object-fit: cover;
                flex-shrink: 0;
                background: #333;
            }

        .comment-content {
            flex: 1;
        }

        .comment-header {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .comment-author {
            font-size: 13px;
            font-weight: 600;
            color: #e5e5e5;
        }

        .comment-time {
            font-size: 11px;
            color: #666;
        }

        .comment-text {
            font-size: 13px;
            color: #ccc;
            line-height: 1.6;
            margin-top: 4px;
        }

        .comment-actions {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 6px;
        }

        .comment-action-btn {
            background: none;
            border: none;
            color: #888;
            font-size: 12px;
            cursor: pointer;
            transition: color 0.2s;
        }

            .comment-action-btn:hover {
                color: #ccc;
            }

            .comment-action-btn.liked {
                color: #ff6b35;
            }
        /* Comments 评论 end */

        /* Sidebar Recommendations   最右边前3个，后3个视频   begin */
        .watch-sidebar {
            width: 360px;
            flex-shrink: 0;
            padding: 24px 24px 24px 0;
            overflow-y: auto;
        }

            .watch-sidebar h3 {
                font-size: 14px;
                font-weight: 600;
                color: #e5e5e5;
                margin-bottom: 16px;
            }

        .recommend-card {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            cursor: pointer;
            transition: transform 0.2s;
        }

            .recommend-card:hover {
                transform: translateX(4px);
            }

        .recommend-thumb {
            width: 168px;
            aspect-ratio: 16/9;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            background: #1a1a1a;
        }

        .recommend-info {
            flex: 1;
            min-width: 0;
        }

            .recommend-info .recommend-title {
                font-size: 13px;
                font-weight: 500;
                line-height: 1.4;
                color: #e5e5e5;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                transition: color 0.2s;
            }

        .recommend-card:hover .recommend-title {
            color: #ff6b35;
        }

        .recommend-info .recommend-author {
            font-size: 11px;
            color: #888;
            margin-top: 4px;
        }

        .recommend-info .recommend-meta {
            font-size: 11px;
            color: #666;
            margin-top: 2px;
        }
        /* Sidebar Recommendations   最右边前3个，后3个视频   end */

        /* Purchase Modal  购买弹窗”或“购买模态框  begin*/
        .purchase-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.75);
            z-index: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s, visibility 0.25s;
        }

            .purchase-modal-overlay.show {
                opacity: 1;
                visibility: visible;
            }

        .purchase-modal {
            background: #1a1a1a;
            border: 1px solid #2a2a2a;
            border-radius: 16px;
            width: 100%;
            max-width: 420px;
            padding: 28px;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.25s;
        }

        .purchase-modal-overlay.show .purchase-modal {
            transform: scale(1);
        }

        .purchase-modal .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            color: #888;
            font-size: 20px;
            cursor: pointer;
        }

            .purchase-modal .modal-close:hover {
                color: #fff;
            }

        .purchase-modal .modal-icon {
            font-size: 40px;
            text-align: center;
            margin-bottom: 12px;
        }

        .purchase-modal h2 {
            font-size: 20px;
            font-weight: 600;
            color: #e5e5e5;
            text-align: center;
            margin-bottom: 6px;
        }

        .purchase-modal .modal-subtitle {
            font-size: 13px;
            color: #888;
            text-align: center;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .purchase-modal .price-row {
            display: flex;
            align-items: baseline;
            justify-content: center;
            gap: 6px;
            margin-bottom: 20px;
        }

        .purchase-modal .price-now {
            font-size: 32px;
            font-weight: 700;
            color: #ff6b35;
        }

        .purchase-modal .price-old {
            font-size: 16px;
            color: #666;
            text-decoration: line-through;
        }

        .purchase-modal .price-save {
            font-size: 11px;
            color: #4caf50;
            background: rgba(76,175,80,0.15);
            padding: 2px 8px;
            border-radius: 10px;
            margin-left: 4px;
        }

        .purchase-modal .feature-list {
            list-style: none;
            margin-bottom: 24px;
        }

            .purchase-modal .feature-list li {
                display: flex;
                align-items: center;
                gap: 8px;
                font-size: 13px;
                color: #bbb;
                padding: 6px 0;
            }

                .purchase-modal .feature-list li::before {
                    content: "✓";
                    color: #4caf50;
                    font-weight: 700;
                    font-size: 14px;
                }

        .purchase-modal .modal-btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 10px;
            background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            margin-bottom: 8px;
        }

            .purchase-modal .modal-btn:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 16px rgba(255,107,53,0.4);
            }

        .purchase-modal .modal-btn-cancel {
            width: 100%;
            padding: 10px;
            border: 1px solid #333;
            border-radius: 10px;
            background: none;
            color: #888;
            font-size: 13px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
        }

            .purchase-modal .modal-btn-cancel:hover {
                background: #222;
                color: #ccc;
            }

        .purchase-modal .modal-footer-note {
            font-size: 11px;
            color: #555;
            text-align: center;
            margin-top: 12px;
            line-height: 1.5;
        }

        /* Purchase Modal  购买弹窗”或“购买模态框  end*/

        /* Responsive */
        @media (max-width: 1024px) {
            .watch-sidebar {
                width: 300px;
            }

            .recommend-thumb {
                width: 140px;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-bottom: 60px;
            }

            .top-nav {
                padding: 0 16px;
            }

                .top-nav .nav-links {
                    display: none;
                }

            .search-combo {
                width: 140px;
            }

                .search-combo:focus-within {
                    width: 180px;
                }

                .search-combo .search-btn {
                    width: 30px;
                    height: 30px;
                }

                    .search-combo .search-btn svg {
                        width: 13px;
                        height: 13px;
                    }

            .hamburger-btn {
                display: block;
            }

            .sidebar {
                display: none;
            }

            .mobile-bottom-tab {
                display: flex;
            }

            .watch-container {
                flex-direction: column;
            }

            .watch-main {
                padding: 14px;
            }

            .watch-sidebar {
                width: 100%;
                padding: 0 14px 14px;
            }

            .recommend-card {
                gap: 10px;
            }

            .recommend-thumb {
                width: 160px;
            }

            .video-meta-row {
                flex-direction: column;
                align-items: flex-start;
            }

            .video-actions {
                width: 100%;
                flex-wrap: wrap;
            }

            .action-btn {
                flex: 1;
                justify-content: center;
                min-width: 80px;
            }

            .author-card {
                flex-wrap: wrap;
            }

            .subscribe-btn {
                width: 100%;
            }

            .footer {
                padding: 16px;
            }

                .footer .footer-links {
                    gap: 14px;
                }
        }


        /* 后来添加的*/
        /* SEO 关键词标签 */
        .blog-tags_kw {
            background: #161616;
            border: 1px solid #2a2a2a;
            border-radius: 12px;
            padding: 4px 12px;
            font-size: 11px;
            color: #999;
            text-decoration: none;
        }

            .blog-tags_kw:hover {
                border-color: #ff6b35;
                color: #ff6b35;
            }


        .blog-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #2a2a2a;
        }

            .blog-tags .kw {
                background: #161616;
                border: 1px solid #2a2a2a;
                border-radius: 12px;
                padding: 4px 12px;
                font-size: 11px;
                color: #999;
                text-decoration: none;
            }

                .blog-tags .kw:hover {
                    border-color: #ff6b35;
                    color: #ff6b35;
                }

        /* ===== 点赞 / 点踩 / 分享 / 收藏 ===== */
        .post-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 24px;
            padding: 14px 0;
            border-top: 1px solid #2a2a2a;
            border-bottom: 1px solid #2a2a2a;
        }

        .action-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #161616;
            border: 1px solid #2a2a2a;
            border-radius: 20px;
            padding: 8px 16px;
            color: #bbb;
            font-size: 13px;
            cursor: pointer;
            font-family: inherit;
            transition: border-color 0.2s, color 0.2s, background 0.2s;
        }

            .action-btn:hover {
                border-color: #ff6b35;
                color: #fff;
            }

            .action-btn .ico {
                font-size: 15px;
                line-height: 1;
            }

            .action-btn .num {
                font-size: 12px;
                color: #777;
            }

            .action-btn:hover .num {
                color: #999;
            }

            .action-btn.liked {
                border-color: #ff6b35;
                background: rgba(255,107,53,0.12);
                color: #ff6b35;
            }

                .action-btn.liked .num {
                    color: #ff6b35;
                }

            .action-btn.disliked {
                border-color: #666;
                color: #888;
            }

            .action-btn.saved {
                border-color: #f5c518;
                background: rgba(245,197,24,0.12);
                color: #f5c518;
            }

                .action-btn.saved .num {
                    color: #f5c518;
                }

        .action-spacer {
            flex: 1;
        }

        .share-pop {
            position: relative;
        }

        .share-menu {
            display: none;
            position: absolute;
            bottom: 120%;
            left: 0;
            background: #1e1e1e;
            border: 1px solid #2a2a2a;
            border-radius: 10px;
            padding: 6px 0;
            z-index: 200;
            box-shadow: 0 8px 24px rgba(0,0,0,0.5);
            min-width: 170px;
        }

            .share-menu.show {
                display: block;
            }

            .share-menu button {
                display: flex;
                align-items: center;
                gap: 8px;
                width: 100%;
                background: none;
                border: none;
                color: #bbb;
                font-size: 13px;
                padding: 9px 14px;
                cursor: pointer;
                font-family: inherit;
                text-align: left;
            }

                .share-menu button:hover {
                    background: #2a2a2a;
                    color: #fff;
                }

                .share-menu button[hidden] {
                    display: none;
                }


        /*<!-- 收藏 -->*/
        /* ========================================
收藏按钮（带文字版）的基础样式
- inline-flex 让图标和文字在同一行且垂直居中
- gap: 8px 控制星星和文字之间的距离
- padding 给按钮内边距，让点击区域更大更好点
- background 白色底，和灰色背景形成对比
- border 浅灰边框，默认不显眼
- border-radius 圆角，看起来更现代
- cursor: pointer 鼠标移上去显示手型，告诉用户可点击
- font-size 控制文字大小
- color 默认灰色文字
- transition 让边框颜色和阴影变化有动画过渡，不会生硬
- user-select: none 防止用户双击时选中文字
======================================== */
        .fav-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: #1e1e1e;
            border: 1px solid #333;
            border-radius: 20px;
            color: #ccc;
            font-size: 13px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s, border-color 0.2s;
        }

            /* ========================================
鼠标悬停在按钮上时的样式
- 边框变金色，给用户视觉反馈"这个可以点"
- box-shadow 加一层淡淡的金色阴影，更有层次感
======================================== */
            .fav-btn:hover {
                border-color: #FFC107;
                box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
            }

            /* ========================================
按钮被按下去（鼠标按下未松开）时的样式
- 阴影变小变深，模拟"按下去"的物理感
======================================== */
            .fav-btn:active {
                box-shadow: 0 1px 4px rgba(255, 193, 7, 0.2);
            }

        /* ========================================
星星 SVG 图标的基础样式
- width/height 固定大小 24x24px
- fill 填充色：默认灰色（未收藏状态）
- transition 同时控制颜色和缩放的动画
  cubic-bezier 让缩放有弹性效果（先超过再回弹）
======================================== */
        .star {
            width: 24px;
            height: 24px;
            fill: #cccccc;
            transition: fill .25s ease, transform .25s cubic-bezier(.68,-0.55,.27,1.55);
        }

        /* ========================================
已收藏状态（aria-pressed="true"）下的星星样式
- fill 变成金色 #FFC107
- transform 放大到 1.2 倍，让收藏动作更有存在感
======================================== */
        .fav-btn[aria-pressed="true"] .star {
            fill: #FFC107;
            transform: scale(1.2);
        }

        /* ========================================
已收藏状态下按钮整体的文字颜色和边框颜色
- 文字变金色
- 边框也保持金色，和星星呼应
======================================== */
        .fav-btn[aria-pressed="true"] {
            color: #FFC107;
            border-color: #FFC107;
        }

        /* ========================================
鼠标悬停时星星微微放大
- 给用户"这个星星可以点"的暗示
======================================== */
        .fav-btn:hover .star {
            transform: scale(1.1);
        }

        /* ========================================
已收藏状态下悬停，星星放得更大
- 从 1.2 再放大到 1.25，交互反馈更明显
======================================== */
        .fav-btn[aria-pressed="true"]:hover .star {
            transform: scale(1.25);
        }

        /* ========================================
按钮被按下时星星缩小
- 模拟物理按压的回弹效果，手感更好
======================================== */
        .fav-btn:active .star {
            transform: scale(0.9);
        }

        /* ========================================
按钮文字标签的样式
- font-weight: 500 中等粗细，比默认稍微醒目
- transition 让颜色切换有过渡动画
======================================== */
        .label {
            font-weight: 500;
            transition: color .2s ease;
        }

        /* ========================================
底部提示文字样式
- 小号字体，浅灰色，不抢主体视觉
======================================== */
        .hint {
            font-size: 13px;
            color: #aaa;
        }

        /* ========================================
纯图标版按钮（没有文字，只有星星）
- 圆形按钮（border-radius: 50%）
- padding 缩小，因为只有一个图标
- 其他交互逻辑和带文字版一致
======================================== */
        .fav-icon-only {
            display: inline-flex;
            padding: 8px;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 50%;
            cursor: pointer;
            transition: border-color .2s ease, box-shadow .2s ease;
        }

            /* 纯图标版悬停效果 */
            .fav-icon-only:hover {
                border-color: #FFC107;
                box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
            }

            /* 纯图标版的星星稍大一些，因为周围没有其他元素 */
            .fav-icon-only .star {
                width: 28px;
                height: 28px;
            }

        /* ========================================
页面标题样式
- 深色文字，加粗
- margin-bottom 和下方内容拉开距离
======================================== */
        h2 {
            color: #333;
            font-weight: 600;
            margin-bottom: 4px;
        }


        /* 评论分页  桌面：一行横排（覆盖你图里的内联 display:block） */
        .pagination {
            display: flex !important;
            flex-direction: row;
            align-items: center; /* 垂直居中 */
            justify-content: flex-start;
            gap: 15px; /* 桌面左右间距 */
            flex-wrap: wrap;
        }

        /* 手机：两行竖排，上下间距 10px */
        @media (max-width: 768px) {
            .pagination {
                flex-direction: column;
                align-items: flex-start; /* 手机左对齐，要居中改 center */
                gap: 0; /* 用 margin 控制上下间距 */
            }

                /* 提示文字（total: 1 pages...） */
                .pagination > div:first-of-type {
                    margin-bottom: 10px; /* 上下间距 10px */
                    width: 100%;
                }

                /* 翻页链接容器（Home / 1 / last） */
                .pagination > div:last-of-type {
                    width: 100%;
                }

                /* 翻页链接稍微留点呼吸感 */
                .pagination a {
                    display: inline-block;
                    margin-right: 2px;
                    padding: 2px 4px;
                }

                    .pagination a.active {
                        font-weight: bold;
                    }
        }


        /*blog.aspx 自己用的 begin*/

        /* blog.aspx 专用*/
        .blog-header {
            margin-bottom: 20px;
        }

        .blog-title {
            font-size: 26px;
            font-weight: 700;
            line-height: 1.35;
            color: #fff;
            margin-bottom: 12px;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        /* 作者行：小人图标在最前、亮色 */
        .blog-meta {
            font-size: 12px;
            color: #666;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            white-space: nowrap;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
        }

            .blog-meta .avatar {
                width: 14px;
                height: 14px;
                border-radius: 50%;
                flex-shrink: 0;
                color: #ff8a5b;
            }

            .blog-meta .author {
                color: #999;
                white-space: nowrap;
            }

            .blog-meta .author-link {
                color: #999;
                text-decoration: none;
            }

            .blog-meta .author:hover .author-link {
                color: #ff6b35;
            }

            .blog-meta .author-link:hover {
                text-decoration: underline;
            }

            .blog-meta .dot {
                color: #444;
                flex-shrink: 0;
            }

            .blog-meta .duration-tag {
                background: #1e1e1e;
                border: 1px solid #2a2a2a;
                border-radius: 4px;
                padding: 1px 6px;
                font-size: 11px;
                color: #888;
                flex-shrink: 0;
            }

            .blog-meta time {
                color: #888;
                white-space: nowrap;
            }

            .blog-meta .views {
                white-space: nowrap;
            }

            .blog-meta .tag-blog {
                background: rgba(255,107,53,0.15);
                border: 1px solid rgba(255,107,53,0.4);
                color: #ff6b35;
                border-radius: 10px;
                padding: 1px 8px;
                font-size: 10px;
                white-space: nowrap;
                flex-shrink: 0;
            }

        /* 正文 */
        .blog-body {
            font-size: 15px;
            line-height: 1.8;
            color: #ccc;
        }

            .blog-body p {
                margin-bottom: 16px;
                overflow-wrap: break-word;
                word-break: break-word;
            }

            .blog-body li {
                overflow-wrap: break-word;
                word-break: break-word;
            }

            .blog-body h2 {
                font-size: 19px;
                color: #fff;
                margin: 24px 0 12px;
                font-weight: 600;
            }

            .blog-body h3 {
                font-size: 16px;
                color: #fff;
                margin: 20px 0 10px;
                font-weight: 600;
            }

            .blog-body ul, .blog-body ol {
                margin: 0 0 16px 20px;
            }

            .blog-body li {
                margin-bottom: 8px;
            }

            .blog-body a {
                color: #ff6b35;
                text-decoration: none;
            }

                .blog-body a:hover {
                    text-decoration: underline;
                }

            .blog-body blockquote {
                border-left: 3px solid #ff6b35;
                padding: 8px 16px;
                margin: 16px 0;
                background: #161616;
                color: #aaa;
                border-radius: 0 8px 8px 0;
            }

            .blog-body code {
                background: #1e1e1e;
                border: 1px solid #2a2a2a;
                border-radius: 4px;
                padding: 1px 6px;
                font-size: 13px;
                color: #ff6b35;
            }

            .blog-body img {
                max-width: 100%;
                height: auto;
                border-radius: 8px;
                margin: 8px 0;
            }
        /*blog.aspx 自己用的 end*/



        /* ===== 上一篇 / 下一篇 ===== */
        .post-nav {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        .post-nav-link {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 14px 16px;
            background: #161616;
            border: 1px solid #2a2a2a;
            border-radius: 10px;
            text-decoration: none;
            transition: border-color 0.2s, background 0.2s;
        }

            .post-nav-link:hover {
                border-color: #ff6b35;
                background: #1c1c1c;
            }

            .post-nav-link.next {
                text-align: right;
            }

            .post-nav-link .dir {
                font-size: 11px;
                color: #666;
            }

            .post-nav-link .title {
                font-size: 14px;
                color: #ccc;
                overflow-wrap: break-word;
            }

            .post-nav-link:hover .title {
                color: #ff6b35;
            }
        /*blog.aspx end */
    