        :root {
            --primary-color: #007bff;
            --primary-light: #5ac8fa;
            --glass-bg: rgba(255, 255, 255, 0.25);
            --glass-border: rgba(255, 255, 255, 0.3);
            --text-primary: #1d1d1f;
            --text-secondary: #8e8e93;
        }
        
        *, ::before, ::after {
            box-sizing: border-box;
        }
        
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, "HarmonyOS Sans", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            overflow: hidden;
        }
        
        body {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        /* 毛玻璃背景层 */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            z-index: -1;
        }
        
        /* 顶部栏 - iOS风格毛玻璃 */
        .top {
            padding: 0 20px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            height: 60px;
            line-height: 60px;
            text-align: center;
            border-bottom: 1px solid var(--glass-border);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
            position: relative;
            z-index: 10;
        }
        
        .top::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            z-index: -1;
        }
        
        .name {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            letter-spacing: -0.3px;
            display: inline-block;
            position: relative;
        }
        
        .name::after {
            content: '在线聊天室';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: normal;
            white-space: nowrap;
        }
        
        /* 聊天区域 - 毛玻璃效果 */
        .talk.mk-chat-box {
            font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
            font-size: 16px;
            width: 100%;
            padding: 0;
            position: relative;
            overflow-y: scroll;
            overflow-x: hidden;
            height: calc(100% - 140px);
            border: 1px solid var(--glass-border);
            border-bottom: 0;
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        /* 消息气泡 - iOS风格 */
        .mk-chat-box .msg {
            margin: 12px 16px;
            position: relative;
            min-height: 40px;
            border: 0;
            animation: harmonySlide 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        @keyframes harmonySlide {
            0% { transform: translateX(-10px); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }
        
        .mk-chat-box .right {
            text-align: right;
            margin-left: 64px;
        }
        
        .mk-chat-box .left {
            text-align: left;
            margin-right: 64px;
        }
        
        .mk-chat-box img.head {
            width: 40px;
            height: 40px;
            top: 4px;
            position: absolute;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
            -moz-user-select: none;
            -o-user-select: none;
            -khtml-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        
        .mk-chat-box .right img.head {
            right: 0;
        }
        
        .mk-chat-box .left img.head {
            left: 0;
        }
        
        .mk-chat-box .name {
            color: var(--text-secondary);
            font-size: 13px;
            display: block;
            line-height: 18px;
            margin-bottom: 4px;
        }
        
        .mk-chat-box .right .name {
            margin: 0 56px 4px 0;
            text-align: right;
        }
        
        .mk-chat-box .left .name {
            margin: 0 0 4px 56px;
            text-align: left;
        }
        
        .mk-chat-box .content {
            word-break: break-all;
            word-wrap: break-word;
            text-align: left;
            position: relative;
            display: inline-block;
            font-size: 16px;
            padding: 12px 16px;
            line-height: 1.4;
            border-radius: 20px;
            min-width: 9px;
            min-height: 18px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            -webkit-tap-highlight-color: transparent;
        }
        
        .mk-chat-box .content img {
            width: 100%;
            height: auto;
        }
        
        .mk-chat-box .content a {
            color: #0072C1;
            margin: 0 5px;
            cursor: pointer;
        }
        
        .mk-chat-box .right .content {
            margin: 0 56px 0 0;
            border: 1px solid rgba(120, 205, 248, 0.8);
            background: linear-gradient(135deg, rgba(120, 205, 248, 0.9), rgba(0, 122, 255, 0.9));
            color: white;
            border-top-right-radius: 4px;
        }
        
        .mk-chat-box .left .content {
            margin: 0 0 0 56px;
            border: 1px solid rgba(255, 255, 255, 0.8);
            background: rgba(255, 255, 255, 0.85);
            color: var(--text-primary);
            border-top-left-radius: 4px;
        }
        
        .mk-chat-box .content:after {
            content: "";
            position: absolute;
            border-bottom: 8px solid rgba(255, 255, 255, 0);
        }
        
        .mk-chat-box .right .content:after {
            right: -12px;
            top: 12px;
            border-left: 12px solid rgba(0, 122, 255, 0.9);
        }
        
        .mk-chat-box .left .content:after {
            left: -12px;
            top: 12px;
            border-right: 12px solid rgba(255, 255, 255, 0.85);
        }
        
        .mk-chat-box .tips {
            margin: 16px;
            text-align: center;
            font-size: 13px;
        }
        
        .mk-chat-box .tips span {
            display: inline-block;
            padding: 8px 16px;
            background-color: rgba(142, 142, 147, 0.12);
            color: var(--text-secondary);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .mk-chat-box .tips .tips-primary {
            background-color: rgba(0, 122, 255, 0.15);
            color: var(--primary-color);
        }
        
        .mk-chat-box .tips .tips-success {
            background-color: rgba(52, 199, 89, 0.15);
            color: #34c759;
        }
        
        .mk-chat-box .tips .tips-info {
            background-color: rgba(90, 200, 250, 0.15);
            color: #5ac8fa;
        }
        
        .mk-chat-box .tips .tips-warning {
            background-color: rgba(255, 149, 0, 0.15);
            color: #ff9500;
        }
        
        .mk-chat-box .tips .tips-danger {
            background-color: rgba(255, 59, 48, 0.15);
            color: #ff3b30;
        }
        
        /* 输入区域 - 毛玻璃效果 */
        .write {
            height: 80px;
            width: 100%;
            padding: 16px;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-top: 1px solid var(--glass-border);
            display: flex;
            gap: 12px;
            align-items: center;
            position: relative;
        }
        
        .write.login {
            margin-top: 20px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border-radius: 20px;
            padding: 24px;
            margin: 20px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            display: block;
            height: auto;
        }
        
        .write input {
            font-size: 16px;
            height: 48px;
            padding: 0 20px;
            border-radius: 24px;
            border: 1px solid rgba(142, 142, 147, 0.2);
            background: rgba(255, 255, 255, 0.9);
            font-family: 'Source Sans Pro', sans-serif;
            font-weight: 400;
            flex: 1;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .write input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
            background: rgba(255, 255, 255, 1);
        }
        
        .write.login input {
            width: 100%;
            margin-bottom: 16px;
        }
        
        .send {
            color: #fff;
            text-decoration: none;
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--primary-color), #0056cc);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            line-height: 1;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }
        
        .send:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
        }
        
        .send:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
        }
        
        .send.disabled {
            background: #cccccc;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
        }
        
        .write.login .send {
            width: 100%;
            border-radius: 24px;
            height: 52px;
            font-size: 17px;
        }
        
        /* 自定义滚动条 - 更美观 */
        .mk-chat-box::-webkit-scrollbar {
            width: 6px;
        }
        
        .mk-chat-box::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }
        
        .mk-chat-box::-webkit-scrollbar-thumb {
            background: rgba(142, 142, 147, 0.3);
            border-radius: 10px;
        }
        
        .mk-chat-box::-webkit-scrollbar-thumb:hover {
            background: rgba(142, 142, 147, 0.5);
        }
        
        /* 响应式调整 */
        @media (max-width: 600px) {
            .top {
                height: 56px;
                line-height: 56px;
                padding: 0 16px;
            }
            
            .write {
                padding: 12px;
                height: 72px;
            }
            
            .write.login {
                margin: 16px;
                padding: 20px;
            }
            
            .mk-chat-box {
                height: calc(100% - 128px);
            }
            
            .mk-chat-box .msg {
                margin: 10px 12px;
            }
            
            .mk-chat-box .content {
                font-size: 15px;
                padding: 10px 14px;
            }
        }
        
        /* 登录界面状态指示器 */
        .login::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(30px);
            border-radius: 20px;
            z-index: -1;
        }