:root {
        --primary: #1a6dff;
        --primary-light: #e8f0ff;
        --accent: #ff5f15;
        --bg: #f7f9fc;
        --text: #1a202c;
        --text-muted: #64748b;
        --white: #ffffff;
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
        --shadow-md: 0 6px 16px rgba(26,109,255,0.08);
        --shadow-lg: 0 12px 28px rgba(26,109,255,0.12);
        --radius: 12px;
        --radius-sm: 8px;
        --transition: all 0.3s ease;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        background-color: var(--bg);
        color: var(--text);
        line-height: 1.5;
        padding-bottom: 70px; /* For mobile fixed bar */
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { display: block; max-width: 100%; object-fit: cover; }
    button, input { font-family: inherit; outline: none; border: none; }

    /* 顶部导航 */
    .header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-sm);
        height: 64px;
    }
    .nav-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 1.25rem;
        color: var(--text);
        white-space: nowrap;
    }
    .brand img { height: 32px; border-radius: 8px; }
    .nav-menu {
        display: flex;
        gap: 24px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-muted);
    }
    .nav-menu a:hover { color: var(--primary); }
    .search-box {
        display: flex;
        align-items: center;
        border: 2px solid var(--accent);
        border-radius: 30px;
        padding: 4px 4px 4px 16px;
        background: var(--white);
        width: 280px;
        transition: var(--transition);
    }
    .search-box:focus-within { box-shadow: 0 0 0 3px rgba(255,95,21,0.15); }
    .search-box input {
        border: none;
        background: transparent;
        flex: 1;
        font-size: 0.9rem;
        color: var(--text);
    }
    .search-box button {
        background: var(--accent);
        color: var(--white);
        border-radius: 20px;
        padding: 6px 16px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.85rem;
        transition: var(--transition);
    }
    .search-box button:hover { background: #e04e00; }

    /* 布局容器 */
    .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
    .section-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
    .section-title::before { content: ''; display: block; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }

    /* Banner Bento */
    .bento-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(2, 180px);
        gap: 16px;
        margin: 24px 0;
    }
    .bento-item {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        cursor: pointer;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        display: block;
    }
    .bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .bento-main { grid-row: span 2; }
    .bento-img { width: 100%; height: 100%; transition: transform 0.5s; }
    .bento-item:hover .bento-img { transform: scale(1.05); }
    .bento-mask {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 16px;
    }
    .bento-tag {
        background: var(--primary);
        color: #fff;
        font-size: 0.7rem;
        padding: 2px 8px;
        border-radius: 4px;
        align-self: flex-start;
        margin-bottom: 6px;
        font-weight: 700;
    }
    .bento-title { color: #fff; font-weight: 700; font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
    .bento-main .bento-title { font-size: 1.8rem; }
    .bento-dots {
        position: absolute;
        bottom: 12px;
        right: 16px;
        display: flex;
        gap: 6px;
    }
    .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }
    .dot.active { background: #fff; width: 16px; border-radius: 3px; }

    /* 分类栏 */
    .category-bar { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 24px; scrollbar-width: none; }
    .category-bar::-webkit-scrollbar { display: none; }
    .cat-btn {
        background: var(--white);
        border: 1px solid #e2e8f0;
        padding: 8px 20px;
        border-radius: 30px;
        font-size: 0.9rem;
        color: var(--text-muted);
        cursor: pointer;
        white-space: nowrap;
        transition: var(--transition);
        font-weight: 500;
    }
    .cat-btn:hover, .cat-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

    /* 专题 */
    .special-banner {
        background: #eef4ff url('images/10.webp') center/cover;
        border-radius: var(--radius);
        padding: 40px;
        margin-bottom: 32px;
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }
    .special-banner::before {
        content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.85); z-index: 1;
    }
    .special-content { position: relative; z-index: 2; max-width: 500px; }
    .special-badge {
        display: inline-block; background: #ff4d4f; color: #fff;
        font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 4px;
        margin-bottom: 12px;
    }
    .special-banner h2 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; color: #111; }
    .special-banner p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }
    .special-btn {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--primary); color: #fff;
        padding: 10px 24px; border-radius: 30px;
        font-weight: 600; font-size: 0.95rem;
        transition: var(--transition); box-shadow: 0 4px 12px rgba(26,109,255,0.3);
    }
    .special-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,109,255,0.4); }

    /* 核心双列 */
    .main-layout {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 32px;
        align-items: stretch; /* 关键 */
        margin-bottom: 48px;
    }
    .zone-section { margin-bottom: 32px; }
    .grid-5 {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    .comic-card {
        background: var(--white);
        border-radius: var(--radius-sm);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        cursor: pointer;
        display: flex;
        flex-direction: column;
    }
    .comic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .cover-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
    .cover-wrap img { width: 100%; height: 100%; transition: transform 0.3s; }
    .comic-card:hover .cover-wrap img { transform: scale(1.05); }
    .chapter-tag {
        position: absolute; bottom: 0; left: 0; right: 0;
        background: rgba(0,0,0,0.6); color: #fff;
        font-size: 0.7rem; padding: 4px 8px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .card-info { padding: 10px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .card-title { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-date { font-size: 0.75rem; color: var(--text-muted); }

    /* 排行榜 */
    .sidebar-rank { position: relative; }
    .rank-sticky {
        position: sticky;
        top: 84px;
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        padding: 20px;
    }
    .rank-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
    .rank-item {
        display: flex; align-items: center; gap: 12px;
        cursor: pointer; padding: 6px 0; border-bottom: 1px dashed #f1f5f9;
        transition: var(--transition);
    }
    .rank-item:last-child { border-bottom: none; }
    .rank-item:hover .rank-name { color: var(--primary); }
    .rank-num { font-size: 1.2rem; font-weight: 900; width: 24px; text-align: center; font-style: italic; }
    .rank-num.n1 { color: #ff4d4f; }
    .rank-num.n2 { color: #fa8c16; }
    .rank-num.n3 { color: #fadb14; }
    .rank-num.nx { color: #94a3b8; font-size: 1rem; }
    .rank-cover { width: 36px; height: 48px; border-radius: 4px; object-fit: cover; }
    .rank-info { flex: 1; overflow: hidden; }
    .rank-name { font-size: 0.9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: var(--transition); }
    .rank-desc { font-size: 0.75rem; color: var(--text-muted); }

    /* 全宽版块 */
    .full-width { width: 100%; padding: 40px 0; }
    .bg-white { background: var(--white); }
    
    /* 风云榜 */
    .top-three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .top-list { display: flex; flex-direction: column; gap: 10px; }
    .top-list-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; transition: background 0.2s; }
    .top-list-item:hover { background: #f8fafc; cursor: pointer; }
    .top-list-item .num { font-weight: 800; width: 20px; color: #94a3b8; }
    .top-list-item:nth-child(1) .num { color: #ff4d4f; }
    .top-list-item:nth-child(2) .num { color: #fa8c16; }
    .top-list-item:nth-child(3) .num { color: #fadb14; }
    .top-list-item .cover { width: 32px; height: 42px; border-radius: 4px; }
    .top-list-item .title { font-size: 0.85rem; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .top-list-item .val { font-size: 0.75rem; color: var(--accent); font-weight: 700; }

    /* 原创精品 */
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .orig-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; }
    .orig-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .orig-cover { aspect-ratio: 3/4; position: relative; }
    .tag-exclusive { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
    .orig-info { padding: 12px; }
    .orig-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
    .orig-genre { display: inline-block; background: #f1f5f9; color: var(--text-muted); font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
    .orig-desc { font-size: 0.8rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }

    /* 互动投票 */
    .vote-card { background: linear-gradient(135deg, #f0f4ff 0%, #e6eeff 100%); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-top: 16px; }
    .vote-item { margin-bottom: 20px; cursor: pointer; }
    .vote-item:last-child { margin-bottom: 0; }
    .vote-info { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
    .vote-bar-bg { height: 12px; background: #dbeafe; border-radius: 6px; overflow: hidden; position: relative; }
    .vote-bar-fill { height: 100%; background: var(--primary); border-radius: 6px; width: 0; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; font-size: 0.65rem; color: #fff; font-weight: 700; white-space: nowrap; }
    .vote-item:nth-child(2) .vote-bar-fill { background: var(--accent); }

    /* 评论 */
    .comment-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
    .comment-list { display: flex; flex-direction: column; gap: 16px; }
    .comment-item { display: flex; gap: 16px; background: var(--white); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
    .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
    .comment-body { flex: 1; }
    .comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
    .comment-name { font-weight: 700; font-size: 0.9rem; }
    .comment-stars { color: #fadb14; font-size: 0.8rem; letter-spacing: 1px; }
    .comment-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
    .comment-tags { display: flex; gap: 12px; font-size: 0.75rem; color: #94a3b8; }
    .sidebar-widget { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag-cloud span { background: #f1f5f9; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; transition: background 0.2s; }
    .tag-cloud span:hover { background: var(--primary-light); color: var(--primary); }
    .god-comment { display: flex; gap: 10px; margin-bottom: 16px; font-size: 0.85rem; }
    .god-comment:last-child { margin-bottom: 0; }
    .god-num { font-weight: 900; color: var(--accent); font-style: italic; }

    /* FAQ */
    .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .faq-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
    .faq-q { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; font-size: 0.95rem; }
    .faq-icon { font-size: 1.2rem; font-weight: 300; transition: transform 0.3s; color: var(--primary); }
    .faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; font-size: 0.9rem; color: var(--text-muted); }
    .faq-card.active .faq-a { padding: 0 20px 16px; max-height: 200px; }
    .faq-card.active .faq-icon { transform: rotate(45deg); }

    /* 多端下载 */
    .download-section { text-align: center; padding: 40px 0; }
    .phone-mocks { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
    .phone-mock {
        width: 140px; height: 280px; background: #111; border-radius: 24px; padding: 8px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15); position: relative; transition: transform 0.3s;
    }
    .phone-mock:hover { transform: translateY(-8px); }
    .phone-screen { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #fff; }
    .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
    .phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 16px; background: #111; border-radius: 0 0 10px 10px; z-index: 2; }
    .dl-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
    .dl-btn {
        background: var(--white); border: 1px solid #e2e8f0; padding: 10px 24px; border-radius: 30px;
        font-weight: 600; font-size: 0.9rem; color: var(--text); display: inline-flex; align-items: center; gap: 8px;
        transition: var(--transition); box-shadow: var(--shadow-sm);
    }
    .dl-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
    .dl-btn.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
    .dl-btn.primary:hover { background: #155ce0; }

    /* 合作商 */
    .partners { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; }
    .partner-logo {
        background: #f8fafc; border-radius: 8px; padding: 12px 24px; font-weight: 700; color: #94a3b8; font-size: 0.9rem;
        transition: var(--transition); border: 1px solid transparent;
    }
    .partner-logo:hover { background: #fff; color: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-sm); }

    /* 页脚 */
    .footer { background: #0f172a; color: #94a3b8; padding: 48px 0 24px; font-size: 0.85rem; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
    .footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
    .footer ul { display: flex; flex-direction: column; gap: 10px; }
    .footer a:hover { color: var(--primary); }
    .footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }
    .footer-bottom a { color: #94a3b8; transition: color 0.2s; }
    .footer-bottom a:hover { color: #fff; }

    /* 移动端悬浮栏 */
    .mobile-bar {
        display: none;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: #fff;
        height: 64px;
        z-index: 200;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        padding: 0 16px;
        align-items: center;
        justify-content: space-between;
    }
    .mobile-bar-text { display: flex; flex-direction: column; font-size: 0.75rem; color: var(--text-muted); line-height: 1.2; }
    .mobile-bar-text strong { font-size: 0.9rem; color: var(--text); display: block; }
    .mobile-bar-btn { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; }

    /* 弹窗 */
    .modal-overlay {
        position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(8px);
        z-index: 1000; display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden; transition: all 0.3s;
    }
    .modal-overlay.active { opacity: 1; visibility: visible; }
    .modal-content {
        background: #fff; border-radius: 16px; padding: 24px; width: 90%; max-width: 600px;
        display: flex; gap: 24px; position: relative;
        transform: scale(0.95); transition: transform 0.3s;
    }
    .modal-overlay.active .modal-content { transform: scale(1); }
    .modal-close { position: absolute; top: 12px; right: 16px; font-size: 1.5rem; cursor: pointer; color: #94a3b8; line-height: 1; }
    .modal-cover { width: 140px; height: 186px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
    .modal-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
    .modal-info h3 { font-size: 1.3rem; font-weight: 800; margin-top: 8px; }
    .modal-chapter { background: var(--primary-light); color: var(--primary); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; align-self: flex-start; font-weight: 600; }
    .modal-tip { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
    .copy-box { display: flex; gap: 8px; margin-top: 12px; }
    .copy-box input { flex: 1; border: 1px solid #e2e8f0; padding: 8px 12px; border-radius: 8px; font-size: 0.85rem; color: #64748b; }
    .copy-btn { background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.85rem; transition: background 0.2s; }
    .copy-btn:hover { background: #155ce0; }

    /* 响应式 */
    @media (max-width: 1024px) {
        .nav-menu { display: none; }
        .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
        .bento-main { grid-column: span 2; grid-row: span 1; min-height: 240px; }
        .bento-item { min-height: 150px; }
        .main-layout { grid-template-columns: 1fr; }
        .rank-sticky { position: static; }
        .grid-5 { grid-template-columns: repeat(4, 1fr); }
        .grid-4 { grid-template-columns: repeat(2, 1fr); }
        .comment-layout { grid-template-columns: 1fr; }
        .faq-grid { grid-template-columns: 1fr; }
        .top-three-grid { grid-template-columns: 1fr; }
        .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
        body { padding-bottom: 64px; }
        .header { height: 56px; }
        .nav-container { padding: 0 12px; }
        .brand span { display: none; }
        .search-box { width: 100%; }
        .bento-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
        .bento-main { grid-column: span 2; min-height: 200px; }
        .bento-item { min-height: 120px; }
        .bento-main .bento-title { font-size: 1.4rem; }
        .special-banner { padding: 24px; }
        .special-banner h2 { font-size: 1.5rem; }
        .grid-5 { grid-template-columns: repeat(2, 1fr); }
        .grid-4 { grid-template-columns: repeat(2, 1fr); }
        .mobile-bar { display: flex; }
        .modal-content { flex-direction: column; padding: 16px; max-width: 90%; align-items: center; text-align: center; }
        .modal-cover { width: 120px; height: 160px; }
        .modal-info { align-items: center; }
        .modal-chapter { align-self: center; }
        .copy-box { width: 100%; }
    }