
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
        }

        :root {
            --bg-main: #121212;
            --bg-secondary: #181818;
            --bg-third: #282828;
            --text-primary: #fff;
            --text-secondary: #999;
            --text-third: #666;
            --highlight-red: #ff3333;
            --highlight-yellow: #ffcc00;
            --touch-feedback: rgba(255, 255, 255, 0.1);
            --radius: 4px;
            --header-height: 56px;
            --grid-gap: 20px;
            --movie-item-bg: #202020;
        }

        .light-theme {
            --bg-main: #f5f5f5;
            --bg-secondary: #fff;
            --bg-third: #e5e5e5;
            --text-primary: #333;
            --text-secondary: #666;
            --text-third: #999;
            --highlight-red: #e6212a;
            --highlight-yellow: #f9c800;
            --touch-feedback: rgba(0, 0, 0, 0.05);
            --movie-item-bg: #f0f0f0;
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-primary);
            min-height: 100vh;
            padding-top: calc(var(--header-height) + 44px);
        }
         a,
         a:link,
         a:visited,
         a:hover,
         a:active {
             text-decoration: none;
             color: inherit;
             background-color: transparent;
             outline: none;
             }
        .header {
            display: flex;
            align-items: center;
            padding: 0 15px;
            background-color: var(--bg-secondary);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 101;
            height: var(--header-height);
            overflow: hidden;
        }

        .theme-toggle {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .search-container {
            flex: 1;
            position: relative;
            min-width: 0;
        }
        .header .search-box {
            width: 100%;
            background-color: var(--bg-third);
            border-radius: 20px;
            padding: 8px 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .search-filter-select {
            height: 28px;
            background-color: transparent;
            color: var(--text-primary);
            border: none;
            outline: none;
            font-size: 14px;
            cursor: pointer;
            padding: 0 5px;
            min-width: 70px;
            flex-shrink: 0;
        }

        .search-filter-select option {
            background-color: var(--bg-secondary);
            padding: 5px 0;
        }

        .header .search-box input {
            background: transparent;
            border: none;
            outline: none;
            color: var(--text-secondary);
            font-size: 14px;
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .search-btn-text {
            padding: 4px 12px;
            background-color: var(--highlight-red);
            color: #fff;
            font-size: 12px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s;
            flex-shrink: 0;
            white-space: nowrap;
        }

        .search-btn-text:hover {
            background-color: #e02020;
        }

        .header .upload {
            margin-left: 15px;
            font-size: 14px;
            color: var(--text-primary);
            cursor: pointer;
            flex-shrink: 0;
            white-space: nowrap;
        }

        .tab-container {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            background-color: var(--bg-main);
            position: fixed;
            top: var(--header-height);
            left: 0;
            right: 0;
            z-index: 100;
            height: 44px;
            border-bottom: 1px solid var(--bg-third);
        }

        .tab-bar {
            flex: 1;
            display: flex;
            overflow-x: auto;
            white-space: nowrap;
            padding-right: 0;
            align-items: center;
            scroll-behavior: smooth;
        }

        .tab-bar::-webkit-scrollbar {
            display: none;
        }

        .tab-bar .tab {
            padding: 5px 12px;
            font-size: 15px;
            margin-right: 8px;
            border-radius: 3px;
            cursor: pointer;
            -webkit-tap-highlight-color: var(--touch-feedback);
            tap-highlight-color: var(--touch-feedback);
            white-space: nowrap;
            overflow: visible;
            transition: color 0.2s ease;
        }

        .tab-bar .tab.active-type {
            color: var(--highlight-yellow);
            font-weight: bold;
        }

        .tab-bar .tab:hover:not(.active-type) {
            color: var(--text-primary);
        }

        .func-area {
            display: flex;
            padding: 20px 15px;
            background-color: var(--bg-main);
            overflow-x: auto;
            white-space: nowrap;
            gap: 30px;
            margin-top: 5px;
        }

        .func-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 60px;
            cursor: pointer;
            -webkit-tap-highlight-color: var(--touch-feedback);
            tap-highlight-color: var(--touch-feedback);
            transition: color 0.2s ease;
        }

        .func-item.active {
            color: var(--highlight-yellow);
            font-weight: bold;
        }

        .func-item:hover .text {
            color: var(--text-primary);
        }

        .func-item .text {
            font-size: 12px;
            color: var(--text-secondary);
            transition: color 0.2s ease;
        }

        .func-item.active .text {
            color: var(--highlight-yellow);
        }

        .movie-list {
            padding: 10px 15px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: var(--grid-gap);
        }

        .movie-item {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            -webkit-tap-highlight-color: transparent;
            background-color: var(--movie-item-bg);
            border-radius: var(--radius);
        }

        .movie-item:active {
            transform: scale(0.98);
            box-shadow: 0 0 8px var(--highlight-red);
        }

        .movie-item.active {
            box-shadow: 0 0 10px var(--highlight-red);
        }

        .movie-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .movie-poster {
            width: 100%;
            aspect-ratio: 16/9;
            overflow: hidden;
            margin-bottom: 10px;
            border-top-left-radius: var(--radius);
            border-top-right-radius: var(--radius);
        }

        .movie-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-top-left-radius: var(--radius);
            border-top-right-radius: var(--radius);
            transition: transform 0.3s ease;
        }

        .movie-item:hover .movie-poster img {
            transform: scale(1.1);
        }

        .movie-info {
            flex: 1;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 5px;
            padding: 0 8px 8px;
        }

        .movie-title {
            font-size: 12px;
            color: inherit;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            line-height: 1.4;
            max-height: calc(12px * 1.4 * 2);
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .movie-desc {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .movie-score {
            color: var(--highlight-yellow);
        }

        .pagination {
            padding: 20px 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
            border-radius: 4px;
            margin: 20px 15px;
        }

        .pagination-top {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .page-info {
            font-size: 14px;
            color: var(--text-secondary);
        }

        .pagination-bottom {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .pagination-btn {
            width: 80px;
            height: 30px;
            border: none;
            background-color: var(--bg-secondary);
            color: var(--text-primary);
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
            border-radius: 4px;
        }

        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination-btn:hover:not(:disabled) {
            background-color: var(--highlight-red);
        }

        .page-item {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--bg-secondary);
            color: var(--text-primary);
            cursor: pointer;
            font-size: 14px;
            border-radius: 4px;
        }

        .page-item.active {
            background-color: var(--highlight-red);
            color: #fff;
        }

        .page-input {
            width: 50px;
            height: 30px;
            background-color: var(--bg-secondary);
            border: none;
            outline: none;
            color: var(--text-primary);
            text-align: center;
            font-size: 14px;
            border-radius: 4px;
        }

        .page-jump-btn {
            width: 60px;
            height: 30px;
            border: none;
            background-color: var(--highlight-red);
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            border-radius: 4px;
            transition: background-color 0.2s ease;
        }

        .page-jump-btn:hover {
            background-color: #e02020;
        }

        .copyright {
            padding: 20px 15px;
            background-color: var(--bg-secondary);
            font-size: 12px;
            color: var(--text-secondary);
            text-align: center;
            border-top: 1px solid var(--bg-third);
            line-height: 1.6;
        }

        @media screen and (max-width: 480px) {
            .header .search-box {
                padding: 6px 10px;
                gap: 5px;
            }
            .search-filter-select {
                min-width: 60px;
                font-size: 12px;
            }
            .search-btn-text {
                padding: 4px 8px;
                font-size: 11px;
            }
            .header .upload {
                margin-left: 10px;
                font-size: 12px;
            }
        }