        body {
            margin: 0;
            padding: 0;
            font-family: 'PingFang SC', sans-serif;
        }

        /* ========== 顶部导航 ========== */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 64px;
            background: linear-gradient(135deg, #503f32, #503f38);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
            z-index: 999;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            border-bottom: 2px solid #f5d382;
        }
        .top-nav .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .top-nav .nav-links a {
            color: #ddd;
            text-decoration: none;
            padding: 8px 20px;
            border-radius: 6px;
            font-size: 17px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }
        .top-nav .nav-links a:hover,
        .top-nav .nav-links a.active {
            color: #fff;
            background: rgba(245, 211, 130, 0.2);
        }
        .top-nav .nav-links a.active {
            color: #f5d382;
        }
        .top-nav .nav-links .login-btn {
            border: 1px solid #f5d382;
            color: #f5d382;
            padding: 7px 20px;
        }
        .top-nav .nav-links .login-btn:hover {
            background: #f5d382;
            color: #1a1a2e;
        }

        .nav-toggle {
            display: none;
            position: absolute;
            right: 16px;
            background: none;
            border: none;
            color: #f5d382;
            font-size: 28px;
            cursor: pointer;
            padding: 4px 10px;
        }

        /* ========== iframe 容器 ========== */
        .iframe-container {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            height: calc(100% - 64px - 56px);
            width: 100%;
        }
        @media(min-width:768px) {
            .iframe-container {
                height: calc(100% - 64px);
            }
        }

        /* ========== 通用弹窗样式 ========== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-box {
            background: #fff;
            border-radius: 12px;
            width: 100%;
            max-width: 480px;
            height: 80vh;
            max-height: 628px;
            position: relative;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
        }
        .modal-header {
            padding: 3px 28px;
            background: linear-gradient(135deg, #503f32, #503f38);
            color: #f5d382;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
            border-bottom: 2px solid #f5d382;
            position: relative;
            z-index: 50;
        }
        .modal-header h4 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }
        .modal-header .close-btn {
            background: rgba(0, 0, 0, 0.4);
            border: none;
            color: #f5d382;
            font-size: 28px;
            cursor: pointer;
            padding: 4px 14px;
            line-height: 1.4;
            border-radius: 6px;
            transition: all 0.2s;
            position: relative;
            z-index: 51;
            font-weight: 300;
            min-width: 48px;
            text-align: center;
            user-select: none;
        }
        .modal-header .close-btn:hover {
            background: rgba(245, 211, 130, 0.25);
            transform: rotate(90deg);
        }
        .modal-body {
            flex: 1;
            overflow: auto;
            padding: 0px -10px;
            background: #fff;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
        }
        .modal-body iframe {
            width: 100%;
            flex: 1;
            border: none;
            min-height: 0;
        }
        
        .modal-body .submit-btn {
            width: 100%;
            padding: 6px;
            background: linear-gradient(135deg, #f5d382, #e6b800);
            color: #1a1a2e;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: -12px;
            letter-spacing: 2px;
        }
        .modal-body .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(245, 211, 130, 0.4);
        }

        /* ========== 提款表单弹窗样式 ========== */
        .withdraw-form {
            padding: 30px 35px;
            background: #fff;
            max-width: 480px;
            width: 100%;
            margin: auto;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            position: relative;
            max-height: 95vh;
            overflow-y: auto;
        }
        .withdraw-form .form-group {
            margin-bottom: 22px;
        }
        .withdraw-form label {
            display: block;
            font-weight: 600;
            color: #1a1a2e;
            margin-bottom: 8px;
            font-size: 15px;
        }
        .withdraw-form label .required {
            color: #e93069;
            margin-left: 2px;
        }
        .withdraw-form input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: border 0.3s;
            box-sizing: border-box;
            background: #fafafa;
        }
        .withdraw-form input:focus {
            border-color: #f5d382;
            outline: none;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(245, 211, 130, 0.2);
        }
        .withdraw-form .submit-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #f5d382, #e6b800);
            color: #1a1a2e;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 8px;
            letter-spacing: 2px;
        }
        .withdraw-form .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(245, 211, 130, 0.4);
        }
        .withdraw-form .close-btn-top {
            position: absolute;
            top: 12px;
            right: 16px;
            background: none;
            border: none;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            transition: color 0.2s;
            line-height: 1;
        }
        .withdraw-form .close-btn-top:hover {
            color: #1a1a2e;
        }
        .withdraw-form .form-title {
            text-align: center;
            color: #1a1a2e;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 28px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f5d382;
        }
        .withdraw-form .form-title i {
            color: #f5d382;
            margin-right: 10px;
        }

        /* ========== 平台出租弹窗 ========== */
        .agent-content {
            padding: 30px 35px;
            background: #fff;
            max-width: 600px;
            width: 100%;
            margin: auto;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            position: relative;
            max-height: 95vh;
            overflow-y: auto;
        }
        .agent-content .close-btn-top {
            position: absolute;
            top: 12px;
            right: 16px;
            background: none;
            border: none;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            transition: color 0.2s;
            line-height: 1;
        }
        .agent-content .close-btn-top:hover {
            color: #1a1a2e;
        }
        .agent-content .agent-title {
            text-align: center;
            color: #1a1a2e;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f5d382;
        }
        .agent-content .agent-title i {
            color: #f5d382;
            margin-right: 10px;
        }
        .rent-list {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }
        .rent-list li {
            font-size: 18px;
            padding: 12px 20px;
            border-bottom: 1px dashed #eee;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #1a1a2e;
        }
        .rent-list li:last-child {
            border-bottom: none;
        }
        .rent-list li i {
            color: #f5d382;
            width: 24px;
            text-align: center;
        }
        .rent-contact {
            margin-top: 25px;
            padding: 18px 20px;
            background: linear-gradient(135deg, #1a1a2e, #16213e);
            border-radius: 10px;
            text-align: center;
            color: #f5d382;
            font-size: 17px;
        }
        .rent-contact a {
            color: #f5d382;
            font-weight: 700;
            text-decoration: underline;
            transition: color 0.3s;
        }
        .rent-contact a:hover {
            color: #fff;
        }

        /* ========== 联系我们弹窗 ========== */
        .contact-content {
            padding: 30px 35px;
            background: #fff;
            max-width: 500px;
            width: 100%;
            margin: auto;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            position: relative;
            max-height: 95vh;
            overflow-y: auto;
        }
        .contact-content .close-btn-top {
            position: absolute;
            top: 12px;
            right: 16px;
            background: none;
            border: none;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            transition: color 0.2s;
            line-height: 1;
        }
        .contact-content .close-btn-top:hover {
            color: #1a1a2e;
        }
        .contact-content .contact-title {
            text-align: center;
            color: #1a1a2e;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f5d382;
        }
        .contact-content .contact-title i {
            color: #f5d382;
            margin-right: 10px;
        }
        .contact-item {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 16px 20px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            border: 1px solid #e9ecef;
            transition: border-color 0.3s;
        }
        .contact-item:hover {
            border-color: #f5d382;
        }
        .contact-item .label {
            font-size: 14px;
            color: #888;
            font-weight: 600;
            letter-spacing: 1px;
            min-width: 70px;
        }
        .contact-item .value {
            font-size: 18px;
            font-weight: 700;
            color: #1a1a2e;
            word-break: break-all;
            flex: 1;
        }
        .contact-item .copy-btn {
            background: linear-gradient(135deg, #f5d382, #e6b800);
            border: none;
            color: #1a1a2e;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }
        .contact-item .copy-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(245, 211, 130, 0.4);
        }
        .contact-item .copy-btn i {
            font-size: 15px;
        }
        .contact-tip {
            text-align: center;
            margin-top: 18px;
            font-size: 13px;
            color: #aaa;
            background: #f5f6fa;
            padding: 10px;
            border-radius: 8px;
        }

        /* ========== 底部导航 ========== */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: #1a1a2e;
            display: none;
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
            z-index: 100;
            border-top: 1px solid #f5d382;
        }
        .nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #f5d382;
            text-decoration: none;
            font-size: 11px;
        }
        .nav-item i {
            font-size: 18px;
            margin-bottom: 2px;
        }
        .register-btn {
            animation: blink 1.5s infinite;
            color: #e93069;
        }
        @keyframes blink {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.6;
            }
        }

        /* ============================================================ */
        /* ========== 手机端 (max-width: 767px) 专项优化 ========== */
        /* ============================================================ */
        @media(max-width:767px) {
            /* ---- 顶部导航隐藏 ---- */
            .top-nav {
                display: none !important;
            }
            /* iframe 顶部不留空 */
            .iframe-container {
                top: 0 !important;
                height: calc(100% - 56px) !important;
            }

            /* ---- 底部导航 ---- */
            .bottom-nav {
                display: flex;
            }
            .bottom-nav .nav-item {
                font-size: 12px !important;
            }
            .bottom-nav .nav-item i {
                font-size: 20px !important;
            }

            /* ========================================================= */
            /* ========== 弹窗尺寸适中，关闭键永远可见 ========== */
            /* ========================================================= */

            .modal-overlay {
                padding: 16px;              /* 留出呼吸边距 */
                align-items: center;
            }

            /* 弹窗高度设为 85vh，既不会过大也不会过小 */
            .modal-box {
                max-width: 100%;
                height: 73vh;               /* 固定高度，保证内容区域充足 */
                max-height: 628px;
                border-radius: 10px;
                margin: 0 auto;
                width: 100%;
                overflow: hidden;
                position: relative;
                min-height: 60vh;           /* 防止内容极少时过小 */
            }

            .modal-header {
                padding: 3px 28px;
                min-height: 50px;
                flex-shrink: 0;
                position: relative;
                z-index: 100 !important;
                background: linear-gradient(135deg, #503f32, #503f38);
                border-bottom: 2px solid #f5d382;
            }
            .modal-header h4 {
                font-size: 16px;
                font-weight: 600;
                margin: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 70%;
            }

            /* 关闭按钮：大尺寸，高 z-index，始终在顶层 */
            .modal-header .close-btn {
                font-size: 30px;
                padding: 6px 16px;
                min-width: 52px;
                min-height: 44px;
                line-height: 1.2;
                border-radius: 8px;
                position: relative;
                z-index: 101 !important;
                background: rgba(0, 0, 0, 0.5);
                color: #f5d382;
                border: none;
                cursor: pointer;
                user-select: none;
                transition: all 0.2s;
                margin-right: -4px;
                font-weight: 300;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .modal-header .close-btn:active {
                transform: scale(0.92);
                background: rgba(245, 211, 130, 0.3);
            }

            .modal-body {
                padding: 0;
                flex: 1;
                display: flex;
                flex-direction: column;
                min-height: 0;
                overflow: hidden;
                position: relative;
                z-index: 1;
                background: #fff;
            }
            .modal-body iframe {
                flex: 1;
                width: 100%;
                height: 100%;
                min-height: 200px;          /* 保证内容可见，但会被 flex 撑开 */
                border: none;
                display: block;
            }

            /* ========== 其他弹窗（提款/出租/联系）手机端适配 ========== */
            .withdraw-form {
                padding: 24px 18px;
                max-width: 100%;
                margin: 10px;
                border-radius: 10px;
            }
            .withdraw-form .form-title {
                font-size: 19px;
                margin-bottom: 20px;
            }
            .withdraw-form input {
                padding: 14px 14px;
                font-size: 16px;
            }
            .withdraw-form .submit-btn {
                font-size: 17px;
                padding: 15px;
            }
            .withdraw-form .close-btn-top {
                top: 10px;
                right: 14px;
                font-size: 30px;
                padding: 6px 12px;
                z-index: 10;
            }

            .agent-content {
                padding: 24px 16px;
                max-width: 100%;
                margin: 10px;
                border-radius: 10px;
            }
            .agent-content .agent-title {
                font-size: 19px;
                margin-bottom: 18px;
            }
            .rent-list li {
                font-size: 16px;
                padding: 10px 12px;
            }
            .rent-contact {
                font-size: 15px;
                padding: 15px;
            }
            .agent-content .close-btn-top {
                top: 10px;
                right: 14px;
                font-size: 30px;
                padding: 6px 12px;
                z-index: 10;
            }

            .contact-content {
                padding: 24px 16px;
                max-width: 100%;
                margin: 10px;
                border-radius: 10px;
            }
            .contact-content .contact-title {
                font-size: 19px;
                margin-bottom: 18px;
            }
            .contact-item {
                padding: 14px 16px;
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }
            .contact-item .value {
                font-size: 17px;
            }
            .contact-item .copy-btn {
                width: 100%;
                justify-content: center;
                padding: 10px;
            }
            .contact-item .label {
                min-width: auto;
            }
            .contact-content .close-btn-top {
                top: 10px;
                right: 14px;
                font-size: 30px;
                padding: 6px 12px;
                z-index: 10;
            }
        }

        /* ========== 平板端 (768px ~ 1024px) 优化 ========== */
        @media(min-width:768px) and (max-width:1024px) {
            .modal-box {
                max-width: 90%;
                max-height: 85vh;
                height: 85vh;
            }
            .modal-body iframe {
                min-height: 0;
            }
            .withdraw-form {
                padding: 30px 30px;
                max-width: 420px;
            }
            .agent-content {
                padding: 30px 28px;
                max-width: 520px;
            }
            .contact-content {
                max-width: 450px;
                padding: 30px 28px;
            }
        }

        /* ========== 桌面端其他样式 ========== */
        .sidebar,
        #sidebar-toggle {
            display: block;
        }
        @media(max-width:767px) {
            .sidebar,
            #sidebar-toggle {
                display: none !important;
            }
        }

        .faq-section {
            text-align: left;
            margin-top: 15px;
        }
        .faq-item {
            border-bottom: 1px solid #ccc;
            padding: 10px 0;
        }
        .faq-question {
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            margin-top: 5px;
        }
        .faq-item.active .faq-answer {
            max-height: none;
        }
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }

        #game-entry-box .ob-btn {
            background: linear-gradient(to bottom, #f5d382, #e6b800);
            color: #333;
            font-weight: 500;
            border-radius: 8px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
        }
        #game-entry-box .ob-btn:hover {
            background: linear-gradient(to bottom, #e6b800, #f5d382);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
        }

        .line-box {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
        }
        .line-group {
            flex: 1 1 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .line-title {
            font-size: 18px;
            font-weight: 700;
            color: #f5d382;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
            margin-bottom: 10px;
        }
        .btn-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 5px;
            max-width: 100%;
        }
        @media(min-width:768px) {
            .btn-container .btn {
                flex: 1 1 calc(22% - 10px);
                text-align: center;
                white-space: nowrap;
            }
            .line-box {
                flex-direction: row;
            }
        }
        @media(max-width:767px) {
            .line-box {
                flex-direction: column;
            }
            .line-group {
                width: 100%;
            }
            .btn-container .btn {
                flex: 1 1 100%;
                margin: 5px 0;
            }
        }

        /* ========== 浮动元素手机端隐藏 ========== */
        @media(max-width:767px) {
            #floatright {
                display: none !important;
            }
        }
