* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #0d0d0f;
            color: #e8e8e8;
            min-height: 100vh;
        }
        .viewport {
            max-width: 750px;
            margin: 0 auto;
            padding: 12px;
        }

        /* ============ 搜索框 ============ */
        .search-bar {
            display: flex;
            align-items: center;
            background: #1a1a1e;
            border: 1px solid #2a2a30;
            border-radius: 24px;
            padding: 6px 6px 6px 16px;
            position: sticky;
            top: 12px;
            z-index: 10;
            transition: border-color .2s;
        }
        .search-bar:focus-within {
            border-color: #2d96ff;
        }
        .search-bar .icon {
            width: 18px;
            height: 18px;
            color: #666;
            flex-shrink: 0;
        }
        .search-bar input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 15px;
            padding: 8px 10px;
            background: transparent;
            color: #fff;
        }
        .search-bar input::placeholder { color: #555; }
        .search-bar .btn {
            background: linear-gradient(135deg, #2d96ff, #1a7ae0);
            color: #fff;
            border: none;
            border-radius: 20px;
            padding: 9px 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: opacity .2s;
            flex-shrink: 0;
        }
        .search-bar .btn:active { opacity: .8; }

        /* ============ 热门搜索区 ============ */
        .hot-box { margin-top: 22px; }
        .hot-title {
            font-size: 14px;
            color: #888;
            margin-bottom: 12px;
            padding-right: 4px;
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
        }
        .hot-title::before {
            content: '';
            width: 3px;
            height: 14px;
            background: #2d96ff;
            border-radius: 2px;
            margin-left: 8px;
        }
        .hot-list {
            display: flex;
            flex-direction: row-reverse;
            flex-wrap: wrap;
            gap: 8px;
        }
        .hot-list a {
            display: inline-block;
            background: #1a1a1e;
            color: #bbb;
            font-size: 13px;
            padding: 8px 14px;
            border-radius: 16px;
            text-decoration: none;
            border: 1px solid #2a2a30;
            transition: all .2s;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            direction: rtl;
        }
        .hot-list a:active {
            background: #2d96ff;
            color: #fff;
            border-color: #2d96ff;
            transform: scale(0.96);
        }

        /* 最新电影 - 排名样式 */
        .rank-list {
            display: flex;
            flex-direction: column;
            background: #1a1a1e;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #2a2a30;
        }
        .rank-list a {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            padding: 12px 16px;
            text-decoration: none;
            color: #ddd;
            font-size: 14px;
            border-bottom: 1px solid #24242a;
            transition: background .15s;
        }
        .rank-list a:last-child { border-bottom: none; }
        .rank-list a:active { background: #22222a; }
        .rank-list .num {
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 600;
            margin-left: 12px;
            color: #fff;
            background: #3a3a42;
            flex-shrink: 0;
        }
        .rank-list .num.top1 { background: #ff4d4f; }
        .rank-list .num.top2 { background: #ff9a2e; }
        .rank-list .num.top3 { background: #ffc53d; color: #333; }
        .rank-list .name {
            flex: 1;
            direction: rtl;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #ddd;
        }

        /* ============ 搜索结果区 ============ */
        .result-box { margin-top: 18px; }
        .result-tip {
            font-size: 13px;
            color: #777;
            margin-bottom: 12px;
            padding-left: 4px;
        }
        .result-tip b { color: #2d96ff; font-weight: 600; }

        .movie-item {
            display: flex;
            background: #1a1a1e;
            border: 1px solid #2a2a30;
            border-radius: 12px;
            padding: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: transform .15s, border-color .15s;
            text-decoration: none;
            color: inherit;
        }
        .movie-item:active {
            transform: scale(0.98);
            border-color: #2d96ff;
        }
        .movie-item .cover {
            width: 80px;
            height: 110px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            background: #24242a;
        }
        .movie-item .cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .movie-item .info {
            flex: 1;
            margin-left: 12px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-width: 0;
        }
        .movie-item .title {
            font-size: 15px;
            font-weight: 600;
            color: #fff;
            line-height: 1.4;
            display: flex;
            align-items: flex-start;
            gap: 6px;
        }
        .movie-item .title .txt {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            flex: 1;
        }
        .tag {
            font-size: 11px;
            color: #fff;
            padding: 1px 7px;
            border-radius: 8px;
            flex-shrink: 0;
            font-weight: 400;
            margin-top: 2px;
        }
        .tag.filim { background: #2d96ff; }
        .tag.novel { background: #28a745; }

        .movie-item .meta {
            font-size: 12px;
            color: #888;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 6px;
        }
        .movie-item .meta .score {
            color: #ff9500;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .movie-item .meta .score::before {
            content: '★';
            font-size: 11px;
        }
        .movie-item .meta .area {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .movie-item .bottom {
            font-size: 12px;
            color: #555;
            margin-top: 4px;
        }

        /* ============ 空状态 ============ */
        .empty {
            text-align: center;
            padding: 60px 20px;
            color: #555;
            font-size: 14px;
        }
        .empty .icon {
            font-size: 48px;
            margin-bottom: 12px;
            opacity: 0.4;
        }

        /* 加载中 */
        .loading {
            text-align: center;
            padding: 30px;
            color: #666;
            font-size: 13px;
        }
        .loading::after {
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            border: 2px solid #333;
            border-top-color: #2d96ff;
            border-radius: 50%;
            animation: spin .7s linear infinite;
            vertical-align: middle;
            margin-left: 8px;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        /* 渐显动画 */
        .fade-in { animation: fadeIn .3s ease; }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }