/* ACG Main Styles - Extracted from index.php */
        :root {
            --dark: #1E1E28;
            --card: #2A2A3C;
            --gold: #ffb400;
            --blue-purple: linear-gradient(135deg, #4a7bff 0%, #8a2be2 100%);
            --bg: #1E1E28;
            --card-bg: #2A2A3C;
            --text: #fff;
            --text-secondary: #aaa;
        }
        [data-theme="dark"] body, body { --bg: #1E1E28; --card-bg: #2A2A3C; --text: #fff; --text-secondary: #aaa; --gold: #ffb400; }
        [data-theme="light"] body { --bg: #f0f2f5; --card-bg: #ffffff; --text: #333; --text-secondary: #666; --gold: #e6a800; }
        [data-theme="sakura"] body { --bg: #2D1B2E; --card-bg: #3D2B3E; --text: #ffd6e8; --text-secondary: #cc9eb5; --gold: #ff69b4; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: var(--bg, #1E1E28);
            color: var(--text, #fff);
            -webkit-font-smoothing: antialiased;
            overflow: visible !important;
            height: auto !important;
            padding-top: 120px !important;
            padding-bottom: 60px !important;
        }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; display: block; }
        *, .btn, img { -webkit-tap-highlight-color: transparent; tap-highlight-color: transparent; }
        .header-fixed {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--dark);
            z-index: 9999;
            border-bottom: 0px solid rgba(255, 255, 255, .08);
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        .top-nav { background: var(--dark); padding: 20px 0 3px 0; width: 100%; display: block; }
        .top-nav ul { display: flex; justify-content: space-around; list-style: none; margin: 0; padding: 0; -webkit-display: flex; }
        .top-nav li {
            flex: 1;
            text-align: center;
            font-size: 17px;
            color: #999;
            font-weight: 400;
            padding: 8px 0;
            position: relative;
            transition: all 0.2s ease;
            cursor: pointer;
            -webkit-flex: 1;
        }
        .top-nav li.active { color: #fff; font-weight: 700; }
        .top-nav li.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 28px;
            height: 3px;
            background: var(--gold);
            border-radius: 2px;
            -webkit-transform: translateX(-50%);
        }
        .top-nav li:active { transform: scale(0.95); opacity: 0.8; -webkit-transform: scale(0.95); }
        .search-box { padding: 16px 12px 12px 12px; background: var(--dark); }
        .search-inner { position: relative; }
        .search-inner input {
            width: 100%;
            height: 36px;
            padding: 0 16px 0 40px;
            border: 1px solid #ccc;
            border-radius: 18px;
            font-size: 14px;
            background: #fff;
            color: #000;
            transition: transform .1s;
            -webkit-transition: -webkit-transform .1s;
        }
        .search-inner input::placeholder { color: #666; }
        .search-inner input:focus { outline: none; border-color: var(--gold); }
        .search-inner input:active { transform: scale(.98); -webkit-transform: scale(.98); }
        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            transition: transform 0.2s ease;
            -webkit-transform: translateY(-50%);
        }
        .search-icon:active { transform: translateY(-50%) scale(0.9); -webkit-transform: translateY(-50%) scale(0.9); }
        .btn-row { display: flex; gap: 12px; padding: 12px; background: var(--dark); -webkit-display: flex; }
        .neon-btn {
            flex: 1;
            height: 105px;
            border: none;
            border-radius: 18px;
            background: linear-gradient(135deg, #4a7bff 0%, #8a2be2 100%);
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: transform .18s, box-shadow .25s;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 0 0 2px rgba(138, 43, 226, .35), 0 0 20px 4px rgba(74, 123, 255, .45);
            -webkit-flex: 1;
            -webkit-display: flex;
            -webkit-flex-direction: column;
        }
        .neon-btn:active {
            transform: scale(.96);
            box-shadow: 0 0 0 2px rgba(138, 43, 226, .55), 0 0 26px 6px rgba(74, 123, 255, .65);
            -webkit-transform: scale(.96);
        }
        #btnBanner {
            background: linear-gradient(135deg, #ff7e00 0%, #ffaa00 100%);
            box-shadow: 0 0 0 2px rgba(255, 170, 0, .35), 0 0 12px 3px rgba(255, 126, 0, .35);
        }
        #btnBanner:active { box-shadow: 0 0 0 2px rgba(255, 170, 0, .55), 0 0 16px 4px rgba(255, 126, 0, .45); }
        #btnGifs {
            background: linear-gradient(135deg, #ff5595 0%, #ff88bb 100%);
            box-shadow: 0 0 0 2px rgba(255, 85, 149, .35), 0 0 12px 3px rgba(255, 136, 187, .35);
        }
        #btnGifs:active { box-shadow: 0 0 0 2px rgba(255, 85, 149, .55), 0 0 16px 4px rgba(255, 136, 187, .45); }
        .btn-row .neon-btn:first-child {
            background: linear-gradient(135deg, #ff7e00 0%, #ffaa00 100%);
            box-shadow: 0 0 0 2px rgba(255, 170, 0, .35), 0 0 12px 3px rgba(255, 126, 0, .35);
        }
        .btn-row .neon-btn:first-child:active { box-shadow: 0 0 0 2px rgba(255, 170, 0, .55), 0 0 16px 4px rgba(255, 126, 0, .45); }
        .btn-row .neon-btn:last-child {
            background: linear-gradient(135deg, #ff5595 0%, #ff88bb 100%);
            box-shadow: 0 0 0 2px rgba(255, 85, 149, .35), 0 0 12px 3px rgba(255, 136, 187, .35);
        }
        .btn-row .neon-btn:last-child:active { box-shadow: 0 0 0 2px rgba(255, 85, 149, .55), 0 0 16px 4px rgba(255, 136, 187, .45); }
        .btn-gif {
            width: 55px;
            height: 55px;
            object-fit: cover;
            border-radius: 50%;
            animation: pulse 1.8s ease-in-out infinite;
            -webkit-animation: pulse 1.8s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .25); }
            50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
        }
        @-webkit-keyframes pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .25); }
            50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
        }
        .btn-txt { letter-spacing: .5px; text-shadow: 0 0 8px rgba(0, 0, 0, .35); position: relative; top: 5px; font-size: 16px; }
        .neon-btn { animation: none; }
        .neon-btn.shaking { animation: gentleShake 2.4s ease-in-out infinite; -webkit-animation: gentleShake 2.4s ease-in-out infinite; }
        @keyframes gentleShake {
            0%, 54%, 100% { transform: translateX(0) rotate(0deg); }
            58% { transform: translateX(-4px) rotate(-2deg); }
            60% { transform: translateX(4px) rotate(2deg); }
            62% { transform: translateX(0) rotate(0deg); }
        }
        @-webkit-keyframes gentleShake {
            0%, 54%, 100% { -webkit-transform: translateX(0) rotate(0deg); }
            58% { -webkit-transform: translateX(-4px) rotate(-2deg); }
            60% { -webkit-transform: translateX(4px) rotate(2deg); }
            62% { -webkit-transform: translateX(0) rotate(0deg); }
        }
        .neon-btn:active { animation: none; }
        .guide-finger {
            position: absolute;
            width: 45px;
            height: 45px;
            background-image: url('../images/sz.png');
            background-size: contain;
            background-repeat: no-repeat;
            opacity: 0;
            pointer-events: none;
            z-index: 10;
            right: 12px;
            bottom: 12px;
        }
        .guide-finger.animate {
            animation: fingerFade 2.4s linear infinite, fingerMove 2.4s linear infinite;
            -webkit-animation: fingerFade 2.4s linear infinite, fingerMove 2.4s linear infinite;
        }
        @keyframes fingerFade {
            0% { opacity: 0; }
            15% { opacity: 0; }
            50% { opacity: 1; }
            60% { opacity: 1; }
            80% { opacity: 0; }
        }
        @-webkit-keyframes fingerFade {
            0% { opacity: 0; }
            15% { opacity: 0; }
            50% { opacity: 1; }
            60% { opacity: 1; }
            80% { opacity: 0; }
        }
        @keyframes fingerMove {
            0% { transform: translate(30px, 30px); }
            50% { transform: translate(-41px, -23px); }
            56% { transform: translate(-41px, -23px); }
            58% { transform: translate(-41px, -23px); }
            100% { transform: translate(-41px, -23px); }
        }
        @-webkit-keyframes fingerMove {
            0% { -webkit-transform: translate(30px, 30px); }
            50% { -webkit-transform: translate(-41px, -23px); }
            56% { -webkit-transform: translate(-41px, -23px); }
            58% { -webkit-transform: translate(-41px, -23px); }
            100% { -webkit-transform: translate(-41px, -23px); }
        }
        .video-grid { padding: 12px 12px; background: var(--dark); }
        .video-row { display: flex; gap: 10px; margin-bottom: 18px; -webkit-display: flex; }
        .video-card {
            flex: 1;
            background: var(--card-bg, #2A2A3C);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: all 0.2s ease;
            -webkit-flex: 1;
            -webkit-display: flex;
            -webkit-flex-direction: column;
        }
        .video-thumb-container {
            position: relative;
            width: 100%;
            height: 130px;
            border-radius: 12px;
            background: var(--card);
            margin-bottom: 6px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .video-thumb-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 12px; }
        .video-thumb-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .free-badge {
            position: absolute;
            left: 0;
            top: 0;
            width: 32px;
            height: 16px;
            border-radius: 0 0 6px 0;
            z-index: 2;
            transition: transform 0.2s ease;
        }
        .free-badge img { width: 100%; height: 100%; display: block; }
        .lock-center {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 36px;
            height: 36px;
            z-index: 2;
            transition: transform 0.2s ease;
            -webkit-transform: translate(-50%, -50%);
        }
        .lock-center img { width: 100%; height: 100%; display: block; }
        .bottom-icons {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 8px;
            z-index: 2;
            -webkit-display: flex;
        }
        .left-group { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #FFFFFF; -webkit-display: flex; }
        .eye-icon { width: 14px; height: 14px; background: url('../images/gk.png') center/contain no-repeat; transition: transform 0.2s ease; }
        .right-group { display: flex; align-items: center; gap: 3px; font-size: 12px; color: #FFFFFF; -webkit-display: flex; }
        .time-clock-icon { width: 13px; height: 13px; background: url('../images/sj.png') center/contain no-repeat; transition: transform 0.2s ease; }
        .video-info { padding: 0; }
        .video-info h5 { font-size: 12px; color: #999; margin: 0; font-weight: normal; font-style: italic; line-height: 1.4; transition: color 0.2s ease; }
        .video-card:active .video-thumb-container { transform: scale(0.95); box-shadow: 0 0 0 2px var(--gold); -webkit-transform: scale(0.95); }
        .video-card:active .free-badge { transform: scale(1.2); -webkit-transform: scale(1.2); }
        .video-card:active .lock-center { transform: translate(-50%, -50%) scale(1.2); -webkit-transform: translate(-50%, -50%) scale(1.2); }
        .video-card:active .eye-icon, .video-card:active .time-clock-icon { transform: scale(1.2); -webkit-transform: scale(1.2); }
        .video-card:active .video-info h5 { color: var(--gold); }
        .pagination { 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            gap: 10px; 
            padding: 12px; 
            padding-bottom: 80px; /* 新增：底部内边距80px，避开底部导航 */
            background: var(--dark); 
            -webkit-display: flex; 
        }
        .pagination a {
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            font-size: 13px;
            color: #bbb;
            background: #2a2a3c;
            border-radius: 50%;
            transition: background .25s, color .25s, transform .15s;
            cursor: pointer;
        }
        .pagination a.on { background: linear-gradient(135deg, #ff7e00 0%, #ffaa00 100%); color: #fff; font-weight: 700; }
        .pagination a:active { transform: scale(.88); filter: brightness(.9); -webkit-transform: scale(.88); -webkit-filter: brightness(.9); }
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            background: var(--dark);
            border-top: 1px solid rgba(255, 180, 0, .15);
            z-index: 9999;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
            width: 100%;
            background: rgba(30, 30, 40, 0.95);
        }
        .bottom-nav a {
            flex: 1;
            text-align: center;
            padding: 8px 0 6px;
            font-size: 11px;
            color: #999;
            background: none;
            transition: all 0.3s ease;
            cursor: pointer;
            -webkit-flex: 1;
        }
        .bottom-nav a.on { color: var(--gold); background: none; }
        .bottom-nav-icon { display: block; width: 22px; height: 22px; margin: 0 auto 3px; border-radius: 6px; background: none; background-size: cover; transition: all 0.3s ease; }
        .icon-home .bottom-nav-icon { background-image: url('../images/sy.png'); }
        .icon-category .bottom-nav-icon { background-image: url('../images/qz.png'); }
        .icon-new .bottom-nav-icon { background-image: url('../images/zb.png'); }
        .icon-me .bottom-nav-icon { background-image: url('../images/wd.png'); }
        .bottom-nav a:active .bottom-nav-icon { transform: scale(0.85); filter: brightness(1.2); -webkit-transform: scale(0.85); -webkit-filter: brightness(1.2); }
        .bottom-nav a:active { color: var(--gold); }
        .free-header { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px 9px; background: var(--dark); -webkit-display: flex; }
        .free-label { position: relative; font-size: 16px; font-weight: 700; color: #fff; padding-left: 11px; }
        .free-label::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 25px;
            background: var(--gold);
            border-radius: 2px;
            -webkit-transform: translateY(-50%);
        }
        .free-more { font-size: 13px; color: #bbb; }
        html { overflow: visible !important; height: auto !important; }
        .app-wrapper { position: relative; width: 100%; min-height: 100vh; overflow: visible; }
        .scroll-box { height: auto; overflow-y: auto; padding-right: 0; margin-right: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
        .scroll-box::-webkit-scrollbar { width: 0 !important; }
        .overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .55);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s;
            -webkit-display: flex;
        }
        .overlay.show { opacity: 1; pointer-events: auto; }
        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, .2);
            border-top-color: #ffb400;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            -webkit-animation: spin 1s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg) } }
        @-webkit-keyframes spin { to { -webkit-transform: rotate(360deg) } }
        .pwd-box {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s;
            -webkit-display: flex;
        }
        .pwd-box.show { opacity: 1; pointer-events: auto; }
        .pwd-inner {
            position: relative;
            width: 340px;
            background: #FFFFFF;
            border-radius: 14px;
            padding: 28px 22px 16px 22px;
            text-align: center;
            color: #000;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .65);
            -webkit-transform: translateZ(0);
        }
        .pwd-close {
            position: absolute;
            right: 12px;
            top: 12px;
            font-size: 24px;
            line-height: 1;
            color: #bbb;
            cursor: pointer;
            transition: color .2s;
        }
        .pwd-close:active { color: #fff; }
        .pwd-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: #000; }
        .pwd-desc {
            font-size: 16px;
            color: #ff3333;
            background: rgba(255, 180, 0, 0.1);
            border: 2px dashed #ffb400;
            border-radius: 12px;
            padding: 12px 18px 12px 38px;
            display: block;
            margin: 26px 11px 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            text-align: center;
            position: relative;
            animation: breathe 2s ease-in-out infinite;
            text-decoration: none;
            line-height: 1.2;
            -webkit-animation: breathe 2s ease-in-out infinite;
        }
        @keyframes breathe {
            0%, 100% { background: rgba(255, 180, 0, 0.1); border-color: #ffb400; }
            50% { background: rgba(255, 180, 0, 0.2); border-color: #ffcc00; }
        }
        @-webkit-keyframes breathe {
            0%, 100% { background: rgba(255, 180, 0, 0.1); border-color: #ffb400; }
            50% { background: rgba(255, 180, 0, 0.2); border-color: #ffcc00; }
        }
        .pwd-desc::before {
            content: '🔑';
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 14px;
            animation: unlockShake 1.5s ease-in-out infinite;
            -webkit-transform: translateY(-50%);
            -webkit-animation: unlockShake 1.5s ease-in-out infinite;
        }
        @keyframes unlockShake {
            0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
            10% { transform: translateY(-50%) rotate(-15deg) scale(1.1); }
            20% { transform: translateY(-50%) rotate(12deg) scale(1.1); }
            30% { transform: translateY(-50%) rotate(-10deg) scale(1.1); }
            40% { transform: translateY(-50%) rotate(8deg) scale(1.1); }
            50% { transform: translateY(-50%) rotate(0deg) scale(1.2); }
            60% { transform: translateY(-50%) rotate(5deg) scale(1.1); }
            70% { transform: translateY(-50%) rotate(-3deg) scale(1.1); }
            80% { transform: translateY(-50%) rotate(2deg) scale(1.1); }
            90% { transform: translateY(-50%) rotate(-1deg) scale(1.1); }
        }
        @-webkit-keyframes unlockShake {
            0%, 100% { -webkit-transform: translateY(-50%) rotate(0deg) scale(1); }
            10% { -webkit-transform: translateY(-50%) rotate(-15deg) scale(1.1); }
            20% { -webkit-transform: translateY(-50%) rotate(12deg) scale(1.1); }
            30% { -webkit-transform: translateY(-50%) rotate(-10deg) scale(1.1); }
            40% { -webkit-transform: translateY(-50%) rotate(8deg) scale(1.1); }
            50% { -webkit-transform: translateY(-50%) rotate(0deg) scale(1.2); }
            60% { -webkit-transform: translateY(-50%) rotate(5deg) scale(1.1); }
            70% { -webkit-transform: translateY(-50%) rotate(-3deg) scale(1.1); }
            80% { -webkit-transform: translateY(-50%) rotate(2deg) scale(1.1); }
            90% { -webkit-transform: translateY(-50%) rotate(-1deg) scale(1.1); }
        }
        .pwd-desc::after {
            content: '';
            position: absolute;
            bottom: 12px;
            left: 50%;
            width: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #ff3333, transparent);
            transform: translateX(-50%);
            transition: width 0.3s ease;
            animation: underlineFlow 2s ease-in-out infinite;
            -webkit-transform: translateX(-50%);
            -webkit-animation: underlineFlow 2s ease-in-out infinite;
        }
        @keyframes underlineFlow {
            0%, 100% { width: 0; opacity: 0; }
            50% { width: 80%; opacity: 1; }
        }
        @-webkit-keyframes underlineFlow {
            0%, 100% { width: 0; opacity: 0; }
            50% { width: 80%; opacity: 1; }
        }
        .pwd-desc:active {
            background: rgba(255, 180, 0, 0.3);
            border-style: solid;
            border-color: #ffcc00;
            animation: none;
            transform: scale(0.98);
            padding-bottom: 22px;
            -webkit-animation: none;
            -webkit-transform: scale(0.98);
        }
        .pwd-desc:active::after { animation: none; width: 90%; background: #ffcc00; opacity: 1; bottom: 14px; -webkit-animation: none; }
        .pwd-desc:hover::after { animation: none; width: 90%; background: #ffcc00; opacity: 1; -webkit-animation: none; }
        .pwd-header { display: flex; justify-content: space-between; align-items: center; margin: -8px -24px 6px; padding: 0 24px; position: relative; -webkit-display: flex; }
        .pwd-close {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%) translateY(-6px);
            font-size: 24px;
            line-height: 1;
            color: #bbb;
            cursor: pointer;
            transition: color .2s;
            -webkit-transform: translateY(-50%) translateY(-6px);
        }
        .pwd-close:active { color: #fff; }
        .pwd-divider { height: 1px; background: transparent; border-bottom: 1px dashed #ccc; margin: 0 -22px 12px; }
        #pwdInput {
            width: 100%;
            height: 44px;
            padding: 0 12px;
            border: 1px solid #444;
            border-radius: 6px;
            background: #1E1E28;
            color: #fff;
            font-size: 14px;
            margin-bottom: 8px;
        }
        .pwd-error { font-size: 12px; color: #ff0000; height: 16px; margin-bottom: 10px; opacity: 0; transition: opacity .2s; }
        .pwd-error.show { opacity: 1; }
        #pwdBtn {
            width: 200px;
            height: 42px;
            background: linear-gradient(135deg, #ff7e00 0%, #ffaa00 100%);
            color: #fff;
            border: 0;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: filter .2s;
            margin: 0 auto;
            display: block;
        }
        #pwdBtn:active { filter: brightness(.9); -webkit-filter: brightness(.9); }
        .shake { animation: shake .35s ease; -webkit-animation: shake .35s ease; }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }
        @-webkit-keyframes shake {
            0%, 100% { -webkit-transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { -webkit-transform: translateX(-5px); }
            20%, 40%, 60%, 80% { -webkit-transform: translateX(5px); }
        }
        .page-content { display: none; }
        .page-content.active { display: block; }
        .dongman-eye-icon { width: 14px; height: 14px; background: url('../image/gk.png') center/contain no-repeat; transition: transform 0.2s ease; }
        .dongman-time-icon { width: 13px; height: 13px; background: url('../image/sj.png') center/contain no-repeat; transition: transform 0.2s ease; }

        .hot-tag{position:absolute;top:0;right:0;padding:1px 6px;font-size:9px;font-weight:700;color:#fff;border-radius:0 0 0 8px;z-index:3}
        .hot-tag.hot{background:linear-gradient(135deg,#ff4500,#ff8c00)}
        .hot-tag.new{background:linear-gradient(135deg,#00c853,#64dd17)}
        .hot-tag.vip{background:linear-gradient(135deg,#9c27b0,#e040fb)}
        .online-dot{display:inline-block;width:6px;height:6px;background:#00e676;border-radius:50%;margin-right:4px;animation:blink 1.5s ease-in-out infinite}
        @keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
        .online-bar{display:flex;align-items:center;justify-content:center;padding:4px 0;background:var(--dark);font-size:11px;color:#888}
        body{padding-bottom:80px !important}
        .video-thumb-container img[data-src] {
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .video-thumb-container img.lazy-loaded {
            opacity: 1;
        }
        .video-thumb-container img.lazy-error {
            opacity: 1;
            background: var(--card);
        }
        @keyframes skeleton-pulse {
            0% { background-position: -200px 0; }
            100% { background-position: calc(200px + 100%) 0; }
        }
        .lazy-skeleton {
            background: linear-gradient(90deg, var(--card) 25%, #3a3a4c 50%, var(--card) 75%);
            background-size: 200px 100%;
            animation: skeleton-pulse 1.5s ease-in-out infinite;
        }
        @media (min-width: 768px) {
            .video-row { gap: 14px; margin-bottom: 22px; }
            .video-card { max-width: 33.333%; }
            .video-row { flex-wrap: wrap; }
            .video-thumb-container { height: 160px; }
            .btn-row { max-width: 600px; margin: 0 auto; }
            .search-box { max-width: 600px; margin: 0 auto; }
        }
        @media (min-width: 1024px) {
            .video-thumb-container { height: 180px; }
            .video-grid { max-width: 900px; margin: 0 auto; }
            .pagination { max-width: 900px; margin: 0 auto; }
        }
        .search-clear { position:absolute;right:12px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:none;background:transparent;color:#999;font-size:16px;cursor:pointer;display:none;line-height:20px;text-align:center; }
        .search-clear.show { display:block; }
        .search-history { position:absolute;top:100%;left:0;right:0;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 4px 12px rgba(0,0,0,.2);z-index:100;max-height:200px;overflow-y:auto;display:none; }
        .search-history.show { display:block; }
        .search-history-item { padding:8px 14px;font-size:13px;color:#333;cursor:pointer;border-bottom:1px solid #f0f0f0; }
        .search-history-item:hover,.search-history-item:active { background:#f5f5f5; }
        .search-history-header { display:flex;justify-content:space-between;padding:6px 14px;font-size:11px;color:#999; }
        .search-history-clear { cursor:pointer;color:#667eea; }
        .search-no-result { text-align:center;padding:40px 20px;color:#666;font-size:14px; }
        .announce-banner{background:linear-gradient(90deg,#ff6b35,#f7931e);color:#fff;padding:8px 16px;font-size:13px;text-align:center;display:flex;align-items:center;justify-content:center;gap:6px;animation:announceFade 0.5s ease;}
        @keyframes announceFade{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
        #announceText{transition:opacity 0.3s;}
        /* 子分类标签栏 */
        .sub-cats-bar{display:flex;gap:10px;padding:8px 12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;background:var(--dark)}
        .sub-cats-bar::-webkit-scrollbar{display:none}
        .sub-cat{padding:5px 16px;border-radius:16px;font-size:13px;color:var(--text-secondary,#aaa);background:var(--card-bg,#2A2A3C);cursor:pointer;flex-shrink:0;transition:all .2s;white-space:nowrap;border:none;outline:none}
        .sub-cat.active{color:#fff;background:var(--gold,#ffb400);font-weight:600}
        .sub-cat:active{transform:scale(.95);-webkit-transform:scale(.95)}
        /* 漫画封面网格 */
        .manga-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px;background:var(--dark)}
        .manga-card{background:var(--card-bg,#2A2A3C);border-radius:10px;overflow:hidden;cursor:pointer;transition:transform .2s}
        .manga-card:active{transform:scale(.96);-webkit-transform:scale(.96)}
        .manga-cover-wrap{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;background:var(--card-bg,#2A2A3C)}
        .manga-cover-wrap img{width:100%;height:100%;object-fit:cover;display:block}
        .manga-cover-wrap .hot-tag{position:absolute;top:0;right:0;padding:1px 6px;font-size:9px;font-weight:700;color:#fff;border-radius:0 0 0 8px;z-index:3}
        .manga-status{position:absolute;bottom:0;left:0;right:0;padding:2px 6px;background:linear-gradient(transparent,rgba(0,0,0,.55));color:#fff;font-size:10px;text-align:right;text-shadow:0 1px 2px rgba(0,0,0,.5)}
        .manga-info{padding:6px 8px}
        .manga-title{font-size:12px;font-weight:600;color:var(--text,#fff);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}
        .manga-meta{font-size:10px;color:var(--text-secondary,#aaa);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        /* 小说列表 */
        .novel-list{padding:0 12px;background:var(--dark)}
        .novel-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid rgba(128,128,128,.15);cursor:pointer;transition:background .2s}
        .novel-item:active{background:rgba(255,255,255,.03)}
        .novel-cover-wrap{width:80px;height:107px;border-radius:6px;overflow:hidden;flex-shrink:0;background:var(--card-bg,#2A2A3C)}
        .novel-cover-wrap img{width:100%;height:100%;object-fit:cover;display:block}
        .novel-info{flex:1;display:flex;flex-direction:column;justify-content:space-between;min-width:0;-webkit-display:flex;-webkit-flex-direction:column}
        .novel-title{font-size:15px;font-weight:600;color:var(--text,#fff);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        .novel-author{font-size:12px;color:var(--gold,#ffb400);margin-top:3px}
        .novel-desc{font-size:12px;color:var(--text-secondary,#aaa);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px}
        .novel-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
        .novel-tags{display:flex;gap:6px}
        .novel-tag{padding:1px 8px;font-size:10px;border-radius:3px;background:rgba(255,180,0,.12);color:var(--gold,#ffb400)}
        .novel-status{font-size:11px;color:var(--text-secondary,#aaa)}
        .manga-grid img[data-src],.novel-cover-wrap img[data-src]{opacity:0;transition:opacity .3s}
        .manga-grid img.lazy-loaded,.novel-cover-wrap img.lazy-loaded{opacity:1}
