
        /* ========== 公共基础样式 ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box !important;
            font-family: "Microsoft YaHei", Arial, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ========== 公共顶部导航样式 ========== */
        .top-nav {
            background: #1a2533;
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .nav-header {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 1.5rem;
        }

        .logo {
            color: #fff;
            font-size: 1.2rem;
            font-weight: bold;
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 1.8rem;
        }

        .nav-link {
            color: #e0e0e0;
            text-decoration: none;
            font-size: 0.95rem;
            padding: 0.3rem 0;
            transition: color 0.3s;
            position: relative;
        }

        .nav-link:hover {
            color: #3498db;
        }

        .nav-link.active {
            color: #3498db;
            font-weight: bold;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #3498db;
            border-radius: 1px;
        }


        /* 赞赏支持 - 醒目样式 */
        .nav-link.donate {
            color: #ffdd57 !important;
            font-weight: bold;
            background: rgba(255,221,87,0.15);
            border-radius: 4px;
            padding: 0.3rem 0.8rem;
        }

        .nav-link.donate:hover {
            background: rgba(255,221,87,0.25);
            color: #e04747 !important;
        }

        .nav-tools {
            padding: 0.8rem 1.5rem;
            /*
            max-height: calc(1.8rem * 6);
            */
            overflow-y: auto;
            border-top: 1px solid #2c3e50;
        }

        /* 滚动条美化（公共） */
        .nav-tools::-webkit-scrollbar {
            width: 6px;
        }
        .nav-tools::-webkit-scrollbar-thumb {
            background: #555;
            border-radius: 3px;
        }
        .nav-tools::-webkit-scrollbar-track {
            background: #2c3e50;
        }

        .tool-links {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
        }

        .tool-link {
            color: #e0e0e0;
            text-decoration: none;
            font-size: 0.8rem;
            padding: 0.3rem 0.7rem;
            border-radius: 4px;
            background: #243447;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .tool-link:hover {
            background: #2c3e50;
            color: #fff;
        }
        .tool-link.active {
            background: #3498db;
            color: #fff;
        }

        .href-link {
            color: #8ec5fc;
            text-decoration: none;
        }

        .href-link:hover {
            color: #3498db;
            text-decoration: underline;
        }


        /* ========== 公共页面标题样式 ========== */
        header {
            background-color: #2c3e50;
            color: white;
            padding: 2rem 1.5rem;
            text-align: center;
            margin-bottom: 1rem;
        }

        header h1 {
            font-size: 2rem;
            margin-bottom: 0.8rem;
        }

        header p {
            font-size: 1.05rem;
            opacity: 0.9;
        }

        /* ========== 公共容器样式 ========== */

        .container {
            flex: 1;
            /*
            max-width: 950px;
            */
            margin: 0 auto 2rem;
            padding: 2.5rem;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.06);
            border: 1px solid #f0f2f5;
            overflow: hidden;
        }

        @media (min-width: 1024px) {
            .container {
                min-width: 606px;
            }
        }


        @media (min-width: 1920px) {
            .container {
                min-width: 960px;
            }
        }

        @media (max-width: 768px) {
            .container {
                max-width: calc(100% - 2rem);
                padding: 1.5rem;
                margin: 0 5rem 2rem;
            }

        }

        @media (max-width: 600px) {
            .container {
                max-width: 100%;
                margin: 0 3rem 2rem;
            }
        }

        @media (max-width: 428px) {
            .container {
                padding: 1.5rem 1rem;
                margin: 0 1rem 2rem;
            }
        }

        @media (max-width: 378px) {
            .container {
                padding: 1.5rem;
                margin: 0 1rem 2rem;
            }
        }

        /* ========== 公共弹窗提示样式 ========== */
        .toast {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 1.2rem 2.5rem;
            background: rgba(0, 0, 0, 0.85);
            color: #ffffff;
            border-radius: 10px;
            font-size: 1.05rem;
            z-index: 1000;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }

        .toast.show {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.05);
        }

        /* ========== 公共底部样式 ========== */
        footer {
            background: #2c3e50;
            color: white;
            padding: 2rem 1rem;
            text-align: center;
            margin-top: auto;
        }

        .friend-links {
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #444;
        }

        .friend-links h4 {
            margin-bottom: 0.8rem;
            font-size: 1rem;
        }

        .friend-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.9rem;
        }

        .friend-link {
            color: #8ec5fc;
            text-decoration: none;
        }

        .friend-link:hover {
            color: #3498db;
            text-decoration: underline;
        }

        .footer-links {
            margin: 1rem 0;
        }
        .footer-link {
            color: #8ec5fc;
            text-decoration: none;
            cursor: pointer;
            margin: 0 0.8rem;
            font-size: 0.95rem;
        }
        .footer-link:hover {
            color: #3498db;
            text-decoration: underline;
        }

        .record-info {
            margin-top: 1rem;
            font-size: 0.9rem;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .record-link {
            color: #3498db;
            text-decoration: none;
        }

        .record-link:hover {
            text-decoration: underline;
        }

        /* 遮罩层样式（公共弹窗） */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9998;
            display: none;
        }
        /* 内容弹窗样式 */
        .content-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 700px;
            max-height: 80vh;
            background: #fff;
            border-radius: 12px;
            z-index: 9999;
            display: none;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        .modal-header {
            padding: 1rem 1.5rem;
            background: #2c3e50;
            color: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .modal-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            line-height: 1;
        }
        .modal-body {
            padding: 1.5rem;
            overflow-y: auto;
            max-height: calc(80vh - 60px);
            line-height: 1.8;
            color: #333;
        }
        .modal-body h3 {
            margin: 1rem 0 0.5rem;
            color: #2c3e50;
        }
        .modal-body p {
            margin-bottom: 0.8rem;
        }


        /* 加载状态专属样式 */

        /* 按钮加载禁用样式 */
         button.loading {
             background: #95a5a6 !important;
             cursor: not-allowed !important;
             position: relative;
             pointer-events: none;
         }

        /* 加载动画 */
        .loading-spin {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid #fff;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-right: 6px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 遮罩层 */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*
            background: rgba(0,0,0,0.3);
            */
            z-index: 999;
            display: none;
        }

        .loading-overlay.show {
            display: block;
        }

        /* ========== 公共移动端适配（导航部分） ========== */
        @media (max-width: 768px) {
            .nav-header {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem 1.5rem;
                text-align: center;
            }

            .nav-links {
                flex-wrap: wrap;
                gap: 1rem;
                justify-content: center;
                width: 100%;
            }

            .nav-tools {
                /*
                max-height: calc(1.7rem * 6);
                */
                padding: 0.6rem 1rem;
            }

            .tool-link {
                font-size: 0.75rem;
                padding: 0.25rem 0.5rem;
            }

            /* 公共标题移动端适配 */
            header h1 {
                font-size: 1.8rem;
            }
            header p {
                font-size: 0.95rem;
            }

            /* 公共弹窗移动端适配 */
            .toast {
                padding: 1rem 2rem;
                font-size: 0.95rem;
            }
        }

        /* 全局修复 iOS 浏览器默认样式冲突 */
        input,
        textarea,
        select,
        button {
            -webkit-appearance: none;
            appearance: none;
            outline: none;
        }

        /* 修复 iOS 点击高亮 */
        * {
            -webkit-tap-highlight-color: transparent;
            -webkit-font-smoothing: antialiased;
        }

        /* 修复横向滚动溢出 */
        html, body {
            width: 100%;
            overflow-x: hidden;
        }

        /* 修复 iOS 弹性滚动 */
        body {
            -webkit-overflow-scrolling: touch;
            padding-bottom: env(safe-area-inset-bottom);
        }

        /* 修复底部安全区遮挡 */
        footer {
            padding-bottom: calc(2rem + env(safe-area-inset-bottom));
        }


        /* ========== 【美化版】右下角悬浮按钮样式 ========== */
        /* 右下角悬浮按钮组 */
        .float-tools {
            position: fixed;
            right: 20px;
            bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 998;
        }

        .float-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            cursor: pointer;
            box-shadow: 0 3px 15px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            text-decoration: none;
            position: relative;
            border: none;
            outline: none;
        }

        .float-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }

        /* 返回顶部 */
        .btn-back-top {
            background: #3498db;
            opacity: 0;
            visibility: hidden;
        }
        .btn-back-top.show {
            opacity: 1;
            visibility: visible;
        }

        /* 公众号二维码按钮 */
        .btn-qrcode {
            background: #07c160; /* 微信绿 */
        }

        /* 🔥 美化版二维码弹窗 */
        .qrcode-popup {
            position: absolute;
            right: 65px;
            bottom: 0;
            width: 220px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            padding: 20px;
            display: none;
            z-index: 999;
            opacity: 0;
            transform: translateX(10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            text-align: center;
            border: 1px solid #f0f0f0;
        }

        /* 显示时的动画 */
        .btn-qrcode:hover .qrcode-popup,
        .btn-qrcode.active .qrcode-popup {
            display: block;
            opacity: 1;
            transform: translateX(0) scale(1);
        }

        /* 标题 */
        .qrcode-title {
            font-size: 15px;
            color: #333;
            font-weight: 500;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        /* 副标题（可写公众号名字） */
        .qrcode-subtitle {
            font-size: 12px;
            color: #999;
            margin-bottom: 12px;
        }

        /* 二维码图片 */
        .qrcode-img {
            width: 160px;
            height: 160px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            display: block;
            margin: 0 auto;
        }

        /* 小三角箭头 */
        .qrcode-popup::after {
            content: '';
            position: absolute;
            right: -8px;
            bottom: 20px;
            width: 12px;
            height: 12px;
            background: #fff;
            transform: rotate(45deg);
            border-top: 1px solid #f0f0f0;
            border-right: 1px solid #f0f0f0;
        }

        /* 问题反馈 */
        .btn-feedback {
            background: #ff9500;
        }

        /* 移动端 */
        @media (max-width: 768px) {
            .float-btn {
                width: 44px;
                height: 44px;
                font-size: 16px;
            }
            .float-tools {
                right: 12px;
                bottom: 12px;
                gap: 8px;
            }
            .qrcode-popup {
                width: 180px;
                padding: 15px;
                right: 55px;
            }
            .qrcode-img {
                width: 130px;
                height: 130px;
            }
            .qrcode-title {
                font-size: 14px;
            }
        }
