        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            transition: background-color 0.3s ease, border-color 0.2s ease, color 0.2s ease;
        }

        /* ========== 亮色主题 ========== */
        body.light-theme {
            background: linear-gradient(145deg, #fbdff4 0%, #e2ecf5 100%);
            color: #343434;
        }
        body.light-theme .card {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(4px);
            background: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.7);
            box-shadow: 0 12px 28px -8px rgba(24, 56, 80, 0.15);
        }
        body.light-theme .card i:not(.fav-icon) {
            color: #343434;
            background: rgba(52, 52, 52, 0.08);
        }
        body.light-theme .card span,
        body.light-theme .card .main-title,
        body.light-theme .card .sub-desc {
            color: #343434;
        }
        body.light-theme .go-top {
            background: #343434;
            color: #ffffff;
        }
        body.light-theme .service-icon {
            background: #343434;
            color: #ffffff;
        }
        body.light-theme .theme-toggle {
            background: #e0e9f2;
            border-color: #b0c8db;
            color: #343434;
        }
        body.light-theme .theme-toggle i {
            color: #343434;
        }
        body.light-theme .copyright {
            color: #343434;
            border-top-color: #b6cbd9;
        }
        body.light-theme .page-header h1 i,
        body.light-theme .page-header h1 {
            color: #343434;
        }
        body.light-theme .top-info {
            color: #343434;
        }
        body.light-theme .datetime-single {
            color: #343434;
            background: transparent;
            border: 1px dashed rgba(128, 128, 128, 0.4);
        }
        body.light-theme .flash-char {
            color: white;
        }

        /* ========== 暗色主题 ========== */
        body.dark-theme {
            background: linear-gradient(145deg, #0f1a24 0%, #1a2a36 100%);
            color: #f0f4fa;
        }
        body.dark-theme .card {
            background: #253544;
            border: 1px solid #3f5567;
            box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(2px);
        }
        body.dark-theme .card i:not(.fav-icon) {
            color: #e0eaf5;
            background: rgba(220, 235, 250, 0.12);
        }
        body.dark-theme .card span,
        body.dark-theme .card .main-title,
        body.dark-theme .card .sub-desc {
            color: #f0f4fa;
        }
        body.dark-theme .go-top {
            background: #f0f4fa;
            color: #1e2f3e;
        }
        body.dark-theme .service-icon {
            background: #f0f4fa;
            color: #1e2f3e;
        }
        body.dark-theme .theme-toggle {
            background: #2d4257;
            border-color: #5a7a99;
            color: #f0e9b3;
        }
        body.dark-theme .theme-toggle i {
            color: #ffd966;
        }
        body.dark-theme .copyright {
            color: #cedcea;
            border-top-color: #38536b;
        }
        body.dark-theme .page-header h1 i,
        body.dark-theme .page-header h1 {
            color: #e0ecf7;
        }
        body.dark-theme .top-info {
            color: #f0f4fa;
        }
        body.dark-theme .datetime-single {
            color: #f0f4fa;
            background: transparent;
            border: 1px dashed rgba(255, 255, 255, 0.3);
        }
        body.dark-theme .flash-char {
            color: white;
        }

        body {
            min-height: 100vh;
            padding: 16px 12px 30px 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* 主容器 - 完全响应式 */
        .nav-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 100%;
        }

        /* 头部区域 - 完全响应式 */
        .page-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            padding: 0 4px;
            flex-wrap: wrap;
            gap: 12px;
            width: 100%;
        }

        /* 左上角标题链接样式 - 移动端优化 */
        .page-header h1 {
            font-size: clamp(1.5rem, 5vw, 2.1rem);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: clamp(6px, 2vw, 12px);
            letter-spacing: -0.3px;
            flex-shrink: 0;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }
        .page-header h1 a {
            text-decoration: none;
            color: inherit;
            display: flex;
            align-items: center;
            gap: clamp(6px, 2vw, 12px);
        }
        .page-header h1 i {
            font-size: clamp(1.6rem, 5vw, 2.2rem);
            transition: transform 0.2s ease;
        }
        .page-header h1:hover i {
            transform: rotate(-5deg) scale(1.05);
        }

        /* 顶部信息栏 */
        .top-info {
            display: flex;
            align-items: center;
            margin-left: auto;
            margin-right: 10px;
            height: 100%;
        }

        /* 单行日期时间样式 - 移动端优化 */
        .datetime-single {
            font-weight: 500;
            padding: 4px 8px;
            border-radius: 20px;
            backdrop-filter: blur(4px);
            font-family: 'Orbitron', 'Courier New', monospace;
            font-size: clamp(0.7rem, 2.5vw, 0.85rem);
            letter-spacing: 0.5px;
            white-space: nowrap;
            border-width: 1px;
            border-style: dashed;
        }

        /* 主题切换按钮 - 移动端优化 */
        .theme-toggle {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px 6px 12px;
            border-radius: 60px;
            font-size: clamp(1rem, 4vw, 1.2rem);
            font-weight: 500;
            border: 1.5px solid;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: all 0.2s;
            backdrop-filter: blur(4px);
            flex-shrink: 0;
        }
        .theme-toggle i {
            font-size: clamp(1.4rem, 5vw, 1.8rem);
        }
        .theme-toggle span {
            font-size: clamp(0.85rem, 3vw, 1rem);
        }
        .theme-toggle:active {
            transform: scale(0.96);
        }

        /* 移动端隐藏日期时间 - 超小屏幕时隐藏 */
        @media screen and (max-width: 580px) {
            .datetime-single {
                display: none;
            }
            .top-info {
                margin-right: 5px;
            }
            .theme-toggle {
                padding: 5px 10px 5px 8px;
            }
        }

        /* 卡片网格 - 完全响应式 */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 30px;
            width: 100%;
        }

        /* 平板 */
        @media screen and (max-width: 900px) {
            .card-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 14px;
            }
        }
        /* 大手机 */
        @media screen and (max-width: 600px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            body {
                padding: 12px 10px 25px 10px;
            }
        }
        /* 小手机 */
        @media screen and (max-width: 380px) {
            .card-grid {
                grid-template-columns: 1fr;
                gap: 12px;
                max-width: 280px;
                margin-left: auto;
                margin-right: auto;
            }
        }

        /* 卡片样式 - 移动端优化 */
        .card {
            position: relative;
            border-radius: clamp(18px, 4vw, 24px);
            padding: clamp(16px, 3vw, 20px) clamp(8px, 2vw, 12px) clamp(10px, 2vw, 12px) clamp(8px, 2vw, 12px);
            display: flex;
            flex-direction: column;
            transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s, background-color 0.2s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            will-change: transform;
            width: 100%;
        }
        .card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.25);
        }
        /* 移动端悬停效果微调 */
        @media (hover: none) and (pointer: coarse) {
            .card:hover {
                transform: none;
                box-shadow: 0 12px 28px -8px rgba(24, 56, 80, 0.15);
            }
            .card:active {
                transform: scale(0.98);
            }
        }
        
        /* 不同主题下悬停加深效果 */
        body.light-theme .card:hover {
            background: #fefefe;
            border-color: rgba(200, 180, 220, 0.8);
        }
        body.dark-theme .card:hover {
            background: #2f4152;
            border-color: #6c8eb0;
        }
        .card:active {
            transform: scale(0.97);
        }

        /* 卡片内容区 */
        .card-content {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: clamp(8px, 2vw, 12px);
            width: 100%;
            margin-bottom: 8px;
            pointer-events: auto;
        }

        /* 小logo图标 - 移动端自适应 */
        .card-content i:not(.fav-icon) {
            font-size: clamp(1.8rem, 6vw, 2.3rem);
            width: clamp(42px, 10vw, 52px);
            height: clamp(42px, 10vw, 52px);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: clamp(14px, 3vw, 18px);
            flex-shrink: 0;
            transition: all 0.2s;
            pointer-events: auto;
        }

        /* 标题 + 描述 - 移动端自适应 */
        .card-text {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-width: 0;
            pointer-events: auto;
        }
        .card-text .main-title {
            font-weight: 600;
            font-size: clamp(0.85rem, 3vw, 1rem);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            transition: color 0.2s;
            pointer-events: auto;
        }

        /* ========== 核心修改：移动端截断 sub-desc 文字 ========== */
        .card .sub-desc {
            font-size: clamp(0.6rem, 2.5vw, 0.7rem);
            margin-top: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            font-weight: 400;
            letter-spacing: 0.2px;
            transition: all 0.2s ease;
            cursor: default;
            pointer-events: auto;
            position: relative;
            z-index: 5;
        }

        /* 默认截断为很长的省略（大约20+字符），不影响桌面 */
        /* 使用max-width + 响应式宽度调整，配合字符数控制——但更稳健的方式是利用宽度 + ch单位 */
        /* 方案：在移动端设定最大宽度，配合text-overflow自动截断，但不指定固定字符数。 为了精准显示8~10个汉字，配合ch单位 */
        /* 利用媒体查询，让移动端的.sub-desc宽度为8ch~10ch，中文1个汉字≈1ch，完美 */
        @media screen and (max-width: 600px) {
            .card .sub-desc {
                max-width: 14ch;          /* 大约显示7个汉字，后面省略号 */
                min-width: 8ch;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                /* 保证字体不为0，且一个汉字的宽度约等于2ch */
                font-size: 0.7rem;        /* 固定稍微大一点让阅读清晰 */
                font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            }
        }
        /* 针对更小屏幕确保依然截断 */
        @media screen and (max-width: 380px) {
            .card .sub-desc {
                max-width: 28ch;           /* 大约14个汉字 */
                font-size: 0.65rem;
            }
        }
        /* 保留悬停显示完整描述 (title已添加) */

        /* 右上角收藏按钮 - 移动端优化 */
        .fav-btn {
            position: absolute;
            top: clamp(8px, 2vw, 12px);
            right: clamp(8px, 2vw, 12px);
            background: transparent;
            border: none;
            font-size: clamp(1.1rem, 4vw, 1.3rem);
            cursor: pointer;
            color: #c0cfde;
            transition: 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: clamp(28px, 7vw, 32px);
            height: clamp(28px, 7vw, 32px);
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            backdrop-filter: blur(2px);
            z-index: 20;
            pointer-events: auto;
        }
        body.dark-theme .fav-btn {
            background: rgba(60, 80, 100, 0.7);
            color: #b0c8dd;
        }
        .fav-btn:hover {
            transform: scale(1.1);
            background: rgba(255,215,100,0.2);
        }
        .fav-btn i {
            font-size: clamp(1.1rem, 4vw, 1.3rem);
            pointer-events: none;
        }
        .fav-icon-temp {
            color: #f5b342 !important;
        }

        /* 右下角按钮组 - 移动端优化 */
        .fixed-buttons {
            position: fixed;
            bottom: clamp(20px, 5vw, 28px);
            right: clamp(16px, 4vw, 20px);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: clamp(8px, 2vw, 10px);
            z-index: 999;
        }

        /* 竖向闪烁广告容器 */
        .vertical-flash-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            background: transparent;
            text-decoration: none;
            cursor: pointer;
        }

        /* 四个字的容器 */
        .flash-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            text-decoration: none;
        }

        /* 竖向闪烁文字 - 移动端自适应 */
        .flash-char {
            font-weight: 700;
            font-size: clamp(0.85rem, 3.5vw, 1rem);
            width: clamp(26px, 7vw, 30px);
            height: clamp(26px, 7vw, 30px);
            border-radius: 50%;
            background: linear-gradient(135deg, #cc4bdd 0%, #4159d2 50%, #cc4bdd 100%);
            background-size: 200% auto;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
            animation: gradientFlash 1.5s infinite ease-in-out;
            box-shadow: 0 4px 15px rgba(204, 75, 221, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .flash-link:hover .flash-char {
            transform: scale(1.05);
            transition: transform 0.2s;
        }

        @keyframes gradientFlash {
            0% { background-position: 0% 50%; opacity: 0.9; transform: scale(1); }
            50% { background-position: 100% 50%; opacity: 1; transform: scale(1.05); box-shadow: 0 8px 25px rgba(204, 75, 221, 0.6); }
            100% { background-position: 0% 50%; opacity: 0.9; transform: scale(1); }
        }

        .flash-char1 { animation-delay: 0s; }
        .flash-char2 { animation-delay: 0.75s; }
        .flash-char3 { animation-delay: 1.5s; }
        .flash-char4 { animation-delay: 2.25s; }

        .flash-char1::before {
            content: "亲";
            animation: charChange1 3s infinite;
            display: inline-block;
        }
        .flash-char2::before {
            content: "测";
            animation: charChange2 3s infinite;
            display: inline-block;
        }
        .flash-char3::before {
            content: "源";
            animation: charChange3 3s infinite;
            display: inline-block;
        }
        .flash-char4::before {
            content: "码";
            animation: charChange4 3s infinite;
            display: inline-block;
        }

        @keyframes charChange1 {
            0%, 45% { content: "亲"; }
            50%, 95% { content: "限"; }
            100% { content: "亲"; }
        }
        @keyframes charChange2 {
            0%, 45% { content: "测"; }
            50%, 95% { content: "时"; }
            100% { content: "测"; }
        }
        @keyframes charChange3 {
            0%, 45% { content: "源"; }
            50%, 95% { content: "优"; }
            100% { content: "源"; }
        }
        @keyframes charChange4 {
            0%, 45% { content: "码"; }
            50%, 95% { content: "惠"; }
            100% { content: "码"; }
        }

        /* 客服图标 - 移动端自适应 */
        .service-icon {
            width: clamp(38px, 10vw, 44px);
            height: clamp(38px, 10vw, 44px);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(8px);
            transition: all 0.2s;
            text-decoration: none;
            font-size: clamp(1.4rem, 5vw, 1.6rem);
        }
        .service-icon:hover {
            transform: scale(1.08);
            animation: none;
        }
        body.light-theme .service-icon {
            background: #343434;
            color: #ffffff;
            animation: serviceFlash-light 1.5s infinite ease-in-out;
        }
        @keyframes serviceFlash-light {
            0% { opacity: 1; transform: scale(1); background: #cc4bdd; }
            50% { opacity: 0.8; transform: scale(1.1); background: #4159d2; color: #cc4bdd; }
            100% { opacity: 1; transform: scale(1); background: #343434; }
        }
        body.dark-theme .service-icon {
            background: #f0f4fa;
            color: #1e2f3e;
            animation: serviceFlash-dark 1.5s infinite ease-in-out;
        }
        @keyframes serviceFlash-dark {
            0% { opacity: 1; transform: scale(1); background: #f0f4fa; }
            50% { opacity: 0.8; transform: scale(1.1); background: #ffd966; color: #1e2f3e; }
            100% { opacity: 1; transform: scale(1); background: #f0f4fa; }
        }

        /* 返回顶部按钮 - 移动端自适应 */
        .go-top {
            width: clamp(38px, 10vw, 44px);
            height: clamp(38px, 10vw, 44px);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(8px);
            transition: all 0.2s;
            font-size: clamp(1.4rem, 5vw, 1.6rem);
        }
        .go-top:hover {
            transform: scale(1.08);
        }

        /* 底部版权 - 移动端优化 */
        .copyright {
            text-align: center;
            margin-top: 20px;
            padding: 20px 0 10px 0;
            font-size: clamp(0.8rem, 3vw, 0.9rem);
            border-top: 1px dashed;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: clamp(8px, 3vw, 12px);
            flex-wrap: wrap;
            opacity: 0.9;
        }
        .copyright i {
            font-size: clamp(0.9rem, 3vw, 1rem);
            margin: 0 4px;
        }
        .copyright a {
            color: inherit;
            text-decoration: none;
            border-bottom: 1px dotted currentColor;
        }

        /* 提示文字 - 移动端优化 */
        .hint-text {
            text-align: center;
            margin: 10px 0 20px;
            color: #888;
            font-size: clamp(0.8rem, 3vw, 0.9rem);
        }

        /* 提示浮层 */
        .bookmark-toast {
            position: fixed;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%) scale(0.9);
            background: #1e3b5c;
            color: white;
            padding: 12px 24px;
            border-radius: 40px;
            font-size: clamp(0.85rem, 3vw, 0.95rem);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.2s, transform 0.2s;
            pointer-events: none;
            white-space: nowrap;
            border: 1px solid rgba(255,255,255,0.2);
            backdrop-filter: blur(4px);
        }
        body.dark-theme .bookmark-toast {
            background: #2d4257;
            color: #f0e9b3;
        }
        .bookmark-toast.show {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }

        /* 超小屏幕额外优化 */
        @media screen and (max-width: 350px) {
            body {
                padding: 10px 8px 20px 8px;
            }
            .page-header h1 {
                font-size: 1.3rem;
            }
            .theme-toggle {
                padding: 4px 8px 4px 6px;
            }
            .theme-toggle i {
                font-size: 1.2rem;
            }
            .theme-toggle span {
                font-size: 0.75rem;
            }
        }