        /* ===== 基础重置 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #0b0b0f;
            color: #e6e6e6;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ===== 主容器 ===== */
        .container {
            text-align: center;
            padding: 20px 24px 40px;
            max-width: 720px;
            width: 100%;
        }

        /* ===== 标题 ===== */
        h1 {
            font-size: 2.8rem;
            font-weight: 600;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
            word-break: break-word;
        }
        h1 small {
            display: block;
            font-size: 1rem;
            font-weight: 400;
            color: #888;
            margin-top: 4px;
            letter-spacing: 0;
        }

        /* ===== 副标题 ===== */
        .sub {
            margin: 24px 0 32px;
            text-align: center;
            font-size: 16px;
            line-height: 1.8;
        }
        .sub .en {
            color: #999;
            font-size: 14px;
            display: block;
            margin-top: 4px;
        }

        /* ===== 警告 ===== */
        .warning {
            color: #ff4d4f;
            font-size: 15px;
            margin: 32px 0;
            text-align: center;
            padding: 16px 20px;
            background: rgba(255, 77, 79, .08);
            border-radius: 10px;
            line-height: 1.8;
        }
        .warning span {
            display: block;
            color: #ff7779;
            font-size: 13px;
            margin-top: 4px;
        }

        /* ===== 时间限制提示 ===== */
        #hid {
            font-size: 18px;
            padding: 16px 0 12px;
            color: #ffa940;
            font-weight: 500;
            min-height: 60px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }
        #hid .en {
            display: block;
            font-size: 14px;
            font-weight: 400;
            color: #aaa;
            margin-top: 4px;
            width: 100%;
        }

        /* ===== 按钮组 ===== */
        .actions {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
            margin: 8px 0 4px;
        }

        .btn {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: 12px;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.25s ease;
            min-width: 140px;
            font-weight: 500;
            -webkit-tap-highlight-color: transparent;
            line-height: 1.3;
        }
        .btn .en {
            display: block;
            font-size: 11px;
            font-weight: 400;
            opacity: .7;
            margin-top: 3px;
        }

        .btn-primary {
            background: #4f46e5;
            color: #fff;
            border: 1px solid transparent;
        }
        .btn-primary:hover {
            background: #6366f1;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(79, 70, 229, .3);
        }
        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-secondary {
            background: transparent;
            color: #c8c8c8;
            border: 1px solid #3a3a4a;
        }
        .btn-secondary:hover {
            border-color: #6366f1;
            color: #fff;
            background: rgba(79, 70, 229, .08);
            transform: translateY(-2px);
        }
        .btn-secondary:active {
            transform: translateY(0);
        }

        /* ===== 公共邀请按钮（全屏入口） ===== */
        .chat-toggle {
            position: fixed;
            bottom: 24px;
            right: 24px;
            padding: 14px 24px;
            border-radius: 40px;
            background: #4f46e5;
            color: #fff;
            border: none;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(79, 70, 229, .5);
            transition: all 0.3s ease;
            z-index: 999;
            display: flex;
            align-items: center;
            gap: 8px;
            line-height: 1;
        }
        .chat-toggle:hover {
            transform: scale(1.05);
            background: #6366f1;
        }
        .chat-toggle span {
            font-size: 20px;
        }

        /* ===== 全屏聊天窗口 ===== */
        .chat-box {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: #1a1a24;
            display: none;
            flex-direction: column;
            z-index: 1000;
            border: none;
            overflow: hidden;
        }
        .chat-box.active {
            display: flex;
        }

        .chat-header {
            padding: 18px 24px;
            background: #22222e;
            border-bottom: 1px solid #2c2c3a;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }
        .chat-header h3 {
            font-size: 20px;
            font-weight: 600;
            color: #e6e6e6;
        }
        .chat-header .close-chat {
            background: none;
            border: none;
            color: #888;
            font-size: 28px;
            cursor: pointer;
            padding: 0 8px;
            line-height: 1;
            transition: color 0.2s;
        }
        .chat-header .close-chat:hover {
            color: #ff4d4f;
        }

        .chat-messages {
            flex: 1;
            padding: 20px 24px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            scroll-behavior: smooth;
        }
        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }
        .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }
        .chat-messages::-webkit-scrollbar-thumb {
            background: #3a3a4a;
            border-radius: 4px;
        }

        .msg {
            max-width: 85%;
            padding: 12px 20px;
            border-radius: 20px;
            font-size: 16px;
            line-height: 1.6;
            word-wrap: break-word;
            animation: msgIn 0.25s ease;
        }
        @keyframes msgIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .msg.others {
            background: #2c2c3a;
            color: #e0e0e0;
            align-self: flex-start;
            border-bottom-left-radius: 4px;
        }
        .msg.self {
            background: #4f46e5;
            color: #fff;
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }
        .msg .sender {
            font-size: 13px;
            font-weight: 600;
            display: block;
            margin-bottom: 4px;
            opacity: 0.8;
        }
        .msg .time {
            display: block;
            font-size: 11px;
            color: #888;
            margin-top: 6px;
            text-align: right;
        }
        .msg.self .time {
            color: rgba(255, 255, 255, 0.6);
        }

        .chat-input-area {
            padding: 16px 24px 24px;
            border-top: 1px solid #2c2c3a;
            display: flex;
            gap: 12px;
            background: #1a1a24;
            flex-shrink: 0;
        }
        .chat-input-area input {
            flex: 1;
            padding: 14px 20px;
            border-radius: 28px;
            border: 1px solid #3a3a4a;
            background: #12121c;
            color: #e6e6e6;
            font-size: 16px;
            outline: none;
            transition: border 0.2s;
        }
        .chat-input-area input::placeholder {
            color: #666;
        }
        .chat-input-area input:focus {
            border-color: #4f46e5;
        }
        .chat-input-area button {
            padding: 14px 28px;
            border-radius: 28px;
            border: none;
            background: #4f46e5;
            color: #fff;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 16px;
            white-space: nowrap;
        }
        .chat-input-area button:hover {
            background: #6366f1;
        }

        /* ===== 底部 ===== */
        .footer {
            margin-top: 80px;
            font-size: 0.85rem;
            color: #666;
            line-height: 1.7;
        }
        .footer .en {
            display: block;
            color: #555;
            font-size: 0.8rem;
        }
        .footer p {
            margin-top: 6px;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 480px) {
            h1 {
                font-size: 2rem;
            }
            .btn {
                width: 100%;
                max-width: 300px;
                padding: 12px 20px;
            }
            .actions {
                flex-direction: column;
                align-items: center;
                gap: 12px;
            }
            .warning {
                font-size: 14px;
                padding: 14px 16px;
                margin: 24px 0;
            }
            .sub {
                margin: 18px 0 24px;
            }
            .chat-header {
                padding: 14px 16px;
            }
            .chat-header h3 {
                font-size: 18px;
            }
            .chat-messages {
                padding: 16px;
            }
            .chat-input-area {
                padding: 12px 16px 16px;
            }
            .chat-input-area input {
                font-size: 14px;
                padding: 12px 16px;
            }
            .chat-input-area button {
                font-size: 14px;
                padding: 12px 20px;
            }
            .chat-toggle {
                bottom: 16px;
                right: 16px;
                padding: 12px 18px;
                font-size: 16px;
            }
            .footer {
                margin-top: 60px;
            }
        }