.device-showcase{max-width:1200px;margin:0 auto;padding:0 15px 20px}.device-showcase .type-switch{display:flex;justify-content:center;gap:15px;margin-top:20px;margin-bottom:20px}.device-showcase .type-switch .add-btn{padding:8px 16px;background:#4caf50;color:#fff;border:none;border-radius:6px;cursor:pointer}.device-showcase .type-switch .add-btn:active{background:#45a049}.device-showcase .type-switch .switch-btn{padding:15px 40px;font-size:18px;border:2px solid #ccc;border-radius:8px;background:#fff;color:#333;cursor:pointer;transition:all .3s ease}.device-showcase .type-switch .switch-btn.active{background:#e63946;color:#fff;border-color:#e63946;box-shadow:0 4px 8px #0000001a}.device-showcase .type-switch .switch-btn:active{transform:scale(.98)}.device-showcase .type-switch .switch-btn:hover:not(.active){border-color:#e63946;color:#e63946}.device-showcase .device-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px}.device-showcase .device-list .device-card{border:1px solid #eee;border-radius:10px;padding:15px;background:#fff;box-shadow:0 2px 10px #0000000d}.device-showcase .device-list .device-card .device-img{width:100%;height:200px;overflow:hidden;border-radius:8px;margin-bottom:15px}.device-showcase .device-list .device-card .device-img img{width:100%;height:100%;object-fit:cover}.device-showcase .device-list .device-card .device-info .device-name{font-size:17px;font-weight:600;margin-bottom:8px;margin-top:10px;color:#333}.device-showcase .device-list .device-card .device-info .device-price{font-size:20px;color:#e63946;font-weight:700;margin:5px 0}.device-showcase .device-list .device-card .device-info .device-desc{font-size:15px;color:#666;margin-top:5px;height:50px}.device-showcase .device-list .device-card .device-info .consult-btn{width:100%;padding:12px 0;background:#e63946;color:#fff;border:none;border-radius:6px;font-size:16px;cursor:pointer}.device-showcase .device-list .device-card .device-info .consult-btn:active{background:#d12f3c}@media(max-width:768px){.device-showcase .type-switch .switch-btn{padding:12px 25px;font-size:16px}.device-showcase .device-list .device-card .device-img{height:180px}}.device-actions{display:flex;gap:8px;margin-top:10px}.device-actions .edit-btn{flex:1;padding:8px 0;background:#2196f3;color:#fff;border:none;border-radius:6px;cursor:pointer}.device-actions .edit-btn:active{background:#0b7dda}.device-actions .delete-btn{flex:1;padding:8px 0;background:#f44336;color:#fff;border:none;border-radius:6px;cursor:pointer}.device-actions .delete-btn:active{background:#d32f2f}.device-actions .consult-btn{flex:2}.user-info{margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:5px}.user-info .nickname-input{width:100px;margin:0 10px}.user-info .nick-name{color:#666;font-size:13px}.user-info .online-info{display:flex;align-items:center;gap:16px}.user-info .online-info .online-count{font-size:14px;color:#666}.user-info .online-info .online-users{display:flex;align-items:center;gap:8px}.user-info .online-info .online-users .online-label{font-size:14px;color:#666}.user-info .online-info .online-users .user-avatar{width:32px;height:32px;font-size:12px}.room-report .report-form .report-tip{margin-bottom:16px;color:#666;font-size:14px}.message-item{display:flex;gap:8px;padding:6px 0;align-items:flex-start}.message-item.me{flex-direction:row-reverse}.message-item.me .message-content-wrapper{align-items:flex-end}.message-item.me .message-content{background-color:#7fb4ff;color:#fff}.message-item.other{flex-direction:row}.message-item.other .message-content-wrapper{align-items:flex-start}.message-item.other .message-content{background-color:#f0f0f0;color:#000}.message-item .message-avatar{flex-shrink:0;width:36px;height:36px;font-size:14px}.message-item .message-content-wrapper{display:flex;flex-direction:column;max-width:70%;gap:4px}.message-item .message-sender{font-size:12px;color:#999;padding:0 4px}.message-item .message-content{padding:8px 12px;border-radius:10px;word-wrap:break-word;word-break:break-all}.message-item .message-content .text-content{line-height:1.5}.message-item .message-content .image-content{height:100px;max-width:300px;border-radius:8px;display:block}.message-item .message-time{font-size:10px;opacity:.7;padding:0 4px}.message-list-container{height:calc(100vh - 220px);border:1px solid #e8e8e8;border-radius:8px;padding:10px;overflow-y:auto;background:#fff;scroll-behavior:smooth}.message-list-container::-webkit-scrollbar{width:6px}.message-list-container::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:3px}.message-list-container::-webkit-scrollbar-track{background-color:#f0f0f0}.message-list-container .loading-container,.message-list-container .empty-container{display:flex;justify-content:center;align-items:center;height:100%}.message-list-container .empty-container{color:#999;font-size:14px}.message-input-area{margin-top:10px;display:flex;gap:10px;padding:12px 16px;background:#fff;border-radius:8px;box-shadow:0 1px 2px #0000000d}.message-input-area .message-input{flex:1}.message-input-area .send-btn{flex-shrink:0}.chat-container{width:80%;margin:0 auto;padding:20px}@media(max-width:768px){.chat-container{width:100%;padding:15px}}.not-found-container{position:relative;width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);overflow:hidden}.not-found-content{text-align:center;color:#fff;z-index:1}.error-code{font-size:120px;font-weight:700;line-height:1;margin-bottom:20px;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.error-message{font-size:32px;font-weight:600;margin-bottom:16px}.error-description{font-size:16px;margin-bottom:32px;opacity:.9}.background-decoration{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.circle{position:absolute;border-radius:50%;background:#ffffff1a;animation:float 6s ease-in-out infinite}.circle-1{width:200px;height:200px;top:10%;left:10%;animation-delay:0s}.circle-2{width:300px;height:300px;bottom:20%;right:10%;animation-delay:2s}.circle-3{width:150px;height:150px;bottom:10%;left:20%;animation-delay:4s}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;padding:0;min-height:100vh}
