.chat-container{display:flex;flex-direction:column;height:100%;background-color:#000c;color:#fff;border-radius:8px}.chat-header{background:#2c3e50;border-top-left-radius:8px;border-top-right-radius:8px;padding:8px;border-bottom:1px solid #34495e;display:flex;align-items:center}.chat-type-select{width:100px;padding:4px;border:1px solid #34495e;border-radius:4px;background-color:#34495e;color:#fff;font-size:14px;cursor:pointer}.chat-type-select:focus{outline:none;border-color:#3498db}.chat-messages{flex:1;overflow-y:auto;padding:10px;scrollbar-width:thin;scrollbar-color:#888 #f1f1f1;background-color:#ffffffe6}.chat-messages::-webkit-scrollbar{width:4px}.chat-messages::-webkit-scrollbar-track{background:#f1f1f1}.chat-messages::-webkit-scrollbar-thumb{background:#888;border-radius:2px}.chat-messages::-webkit-scrollbar-thumb:hover{background:#555}.chat-message{display:flex;margin-bottom:8px;align-items:flex-start;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-avatar{width:28px;height:28px;border-radius:50%;background-color:#3498db;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;margin-right:8px;flex-shrink:0;box-shadow:0 2px 4px #0000001a}.message-content{flex:1;min-width:0;background:#f8f9fa;padding:8px;border-radius:8px;box-shadow:0 1px 2px #0000000d}.message-sender{font-weight:700;margin-bottom:4px;color:#2c3e50;font-size:13px;display:flex;align-items:center}.private-tag{background-color:#e74c3c;color:#fff;padding:2px 6px;border-radius:10px;font-size:11px;margin-left:8px}.message-text{color:#34495e;word-break:break-word;font-size:13px;line-height:1.4}.chat-input{padding:8px;border-top:1px solid #e8e8e8;background:#fff;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.input-container{display:flex;gap:8px}.chat-input-field{flex:1;padding:8px 12px;border:1px solid #d9d9d9;border-radius:4px;font-size:14px}.chat-input-field:focus{outline:none;border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.chat-input-field:disabled{background-color:#f5f5f5;cursor:not-allowed}.send-button{padding:8px 16px;background-color:#1890ff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .3s}.send-button:hover:not(:disabled){background-color:#40a9ff}.send-button:disabled{background-color:#d9d9d9;cursor:not-allowed}@media (max-width: 768px){.chat-container{height:300px}.chat-input-field{font-size:14px}.message-avatar{width:28px;height:28px;font-size:12px}}.tab-bar{position:fixed;bottom:0;left:0;right:0;height:60px;background-color:#000c;display:flex;justify-content:space-around;align-items:center;z-index:1000;border-top:1px solid rgba(255,255,255,.1)}.tab-item{display:flex;flex-direction:column;align-items:center;justify-content:center;width:20%;height:100%;color:#ccc;transition:all .2s ease;cursor:pointer}.tab-item.active{color:#fff;background-color:#ffffff1a}.tab-icon{font-size:24px;margin-bottom:2px}.tab-label{font-size:12px}.mobile-tab-content{position:fixed;bottom:60px;left:0;right:0;background-color:#000c;max-height:100%;overflow-y:auto;z-index:999;border-top:1px solid rgba(255,255,255,.1);padding:10px}.mobile-tab-content .message-list{max-height:150px;overflow-y:auto;padding:5px}.system-menu{color:#fff;padding:10px}.system-menu-title{text-align:center;margin-bottom:15px;font-size:18px}.menu-items{display:flex;flex-direction:column;gap:10px}.menu-item{display:flex;align-items:center;padding:10px;background-color:#ffffff1a;border-radius:5px;cursor:pointer;transition:background-color .2s ease}.menu-item:hover{background-color:#fff3}.menu-item-icon{font-size:20px;margin-right:10px}.menu-item-label{font-size:16px}@media (max-width: 768px){.game-map-container{height:calc(60vh - 60px)}.messages-container{display:none}.mobile-tab-content .chat-container{max-height:38vh;border-radius:0;box-shadow:none}.mobile-tab-content .chat-messages{max-height:25vh}}.chat-section h3{margin-bottom:10px;font-size:18px;color:#fff}.inventory-sidebar .chat-messages{max-height:200px;background-color:#00000080;padding:8px}.inventory-sidebar .chat-input-field{background-color:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2)}.inventory-sidebar .send-button{background-color:#fff3;color:#fff}.game-layout{display:flex;height:100vh;background-color:#1a1a1a;color:#fff}.vertical-sidebar,.inventory-sidebar{width:300px;background-color:#000c;padding:15px;overflow-y:auto;display:flex;flex-direction:column}.inventory-section{margin-bottom:20px}.inventory-section h3,.chat-section h3{margin-bottom:10px;font-size:18px;color:#fff;text-align:center}.chat-section{margin-top:20px;border-top:1px solid rgba(255,255,255,.1);padding-top:15px;width:100%}.inventory-sidebar .chat-container{width:100%;height:300px;max-height:300px;border-radius:8px;background-color:#000c;box-shadow:none;display:flex;flex-direction:column;overflow:hidden}.inventory-sidebar .chat-header{background-color:#ffffff1a;border-bottom:1px solid rgba(255,255,255,.1);padding:8px}.inventory-sidebar .chat-type-select{background-color:#00000080;border:1px solid rgba(255,255,255,.2);color:#fff}.inventory-sidebar .chat-messages{max-height:200px;background-color:#00000080;padding:8px;overflow-y:auto}.inventory-sidebar .chat-message{margin-bottom:8px;display:flex;align-items:flex-start}.inventory-sidebar .message-avatar,.inventory-sidebar .message-content{background-color:#ffffff1a;color:#fff}.inventory-sidebar .message-sender{color:#fff}.inventory-sidebar .message-text{color:#ddd}.inventory-sidebar .chat-input{margin-top:auto;background-color:#000000b3;border-top:1px solid rgba(255,255,255,.1);padding:8px}.inventory-sidebar .input-container{display:flex;width:100%}.inventory-sidebar .chat-input-field{flex:1;background-color:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);padding:6px 10px;border-radius:4px;margin-right:5px}.inventory-sidebar .send-button{background-color:#fff3;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer}.inventory-sidebar .chat-header{display:flex;justify-content:space-between;align-items:center}
