@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap";.banner-auth{background:linear-gradient(135deg,#4caf50,#3ca944);color:#fff;padding:12px;border-radius:8px;text-align:center;margin-bottom:20px;font-size:16px;font-weight:500;transition:background .3s ease}body[data-theme=dark] .banner-auth{background:linear-gradient(135deg,#1c1c1c,#333);color:#f0f0f0}.registration-container{max-width:400px;margin:80px auto;padding:30px;background-color:#fff;border-radius:15px;box-shadow:0 0 15px #0000001a}.registration-container h2{margin-bottom:20px}.registration-container input{width:100%;padding:12px;margin:10px 0;border-radius:8px;border:1px solid #ccc}.registration-container button{width:100%;padding:12px;background-color:#28a745;color:#fff;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.registration-container button:hover{background-color:#218838}body{background:linear-gradient(135deg,#89f7fe,#66a6ff);font-family:Poppins,Arial,sans-serif;margin:0;padding:0}.navbar{padding:10px 20px;background:#222;display:flex;justify-content:space-between;align-items:center}.navbar .btn{border-radius:20px;margin:0 5px;transition:background-color .3s ease}.navbar .btn:hover{background-color:#fff3}.profile-settings button{margin-top:12px;width:100%}.logout-red{margin-top:20px}.cabinet-container{padding:30px;max-width:500px;margin:80px auto;background-color:#fff;border-radius:16px;box-shadow:0 8px 24px #00000026;text-align:center;animation:fadeIn .4s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.cabinet-container h2{margin-bottom:20px;color:#333;font-weight:600}.avatar-list{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:20px}.avatar-choice{width:60px;height:60px;border-radius:50%;cursor:pointer;border:2px solid transparent;transition:.2s;background:#f0f0f0}.avatar-choice:hover{transform:scale(1.1)}.avatar-choice.selected{border-color:#4caf50;animation:bounce .3s ease}@keyframes bounce{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.avatar-preview{margin-bottom:15px}.avatar-large{width:130px;height:130px;border-radius:50%;object-fit:cover;border:3px solid #4CAF50;transition:transform .3s ease-in-out}.avatar-large:hover{transform:scale(1.05)}input[type=text]{padding:10px;border-radius:8px;border:1px solid #ccc;font-size:16px;width:100%;outline:none;transition:border-color .2s ease-in-out}input[type=text]:focus{border-color:#4caf50}button{padding:12px;border:none;background:linear-gradient(135deg,#4caf50,#3ca944);color:#fff;border-radius:8px;cursor:pointer;transition:transform .2s ease-in-out,background .3s ease-in-out,box-shadow .2s;font-size:16px;font-weight:500}button:hover{transform:scale(1.05);background:linear-gradient(135deg,#45a049,#368e3f);box-shadow:0 4px 12px #00000026}.logout-red{background-color:#dc3545}.logout-red:hover{background-color:#bb2d3b;box-shadow:0 4px 12px #0003}@media (max-width: 768px){.cabinet-container{margin:40px 15px;padding:20px}.avatar-large{width:100px;height:100px}.avatar-list{gap:8px}}@media (max-width: 480px){.cabinet-container{margin:20px 10px}.avatar-choice{width:50px;height:50px}.avatar-large{width:80px;height:80px}}body[data-theme=dark] .cabinet-container{background-color:#2c2c2c;color:#f5f5f5}body[data-theme=dark] .cabinet-container h2{color:#fff}body[data-theme=dark] input[type=text]{background-color:#3a3a3a;color:#fff;border:1px solid #555}body[data-theme=dark] .avatar-choice{background:#444}body[data-theme=dark] button{background:linear-gradient(135deg,#5cb85c,#4cae4c)}body[data-theme=dark] .cabinet-banner{background:linear-gradient(135deg,#37474f,#263238);color:#fff}.cabinet-banner{width:100%;padding:15px;border-radius:10px;font-size:20px;font-weight:700;text-align:center;margin-bottom:20px;background:linear-gradient(135deg,#e0f7fa,#80deea);color:#000;transition:background .3s ease,color .3s ease}.chat-wrapper{display:flex;gap:20px;padding:20px;flex-wrap:wrap}.chat-container{flex:3;background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 8px #0000001a;min-width:300px}.chat-window{display:flex;flex-direction:column;gap:10px}.messages{height:500px;border:1px solid #ccc;border-radius:8px;padding:10px;overflow-y:auto;background:#f9f9f9}.message{display:flex;align-items:center;margin-bottom:10px}.message-avatar{width:30px;height:30px;border-radius:50%;margin-right:10px;border:2px solid #4caf50}.message-content{background:#e1ffc7;padding:6px 10px;border-radius:6px;max-width:80%}.time{font-size:12px;color:#666;margin-left:5px}.chat-input{display:flex;gap:10px;margin-top:10px}.chat-input input{flex:1;padding:10px;border:1px solid #ccc;border-radius:6px;outline:none}.chat-input button{padding:10px 16px;background:#4caf50;border:none;color:#fff;border-radius:6px;cursor:pointer;transition:background .2s ease}.chat-input button:hover{background:#45a049}.room-panel{flex:.8;background:#f8f8f8;padding:20px;border-radius:10px;box-shadow:0 2px 8px #0000001a;min-width:220px}.room-panel input{width:100%;margin-bottom:10px;padding:8px;border:1px solid #ccc;border-radius:6px}.room-panel button{width:100%;margin-bottom:10px;padding:8px;background:#4caf50;border:none;color:#fff;border-radius:6px;cursor:pointer;transition:background .2s ease}.room-panel button.delete-btn{background:#dc3545}.room-panel button.delete-btn:hover{background:#bb2d3b}.room-panel ul{list-style:none;padding:0}.room-panel li{display:flex;justify-content:space-between;margin-bottom:5px}.online-indicator{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:700;margin-bottom:10px}.online-dot{width:10px;height:10px;border-radius:50%;background-color:#28a745;animation:blink 1s infinite}@keyframes blink{0%,50%,to{opacity:1}25%,75%{opacity:.3}}.voice-chat{display:flex;align-items:center;gap:10px;margin-top:10px}.mute-btn{padding:6px 12px;background:#4caf50;color:#fff;border:none;border-radius:6px;cursor:pointer}.mute-btn:hover{background:#45a049}.volume-bar{flex:1;background:#ccc;height:8px;border-radius:4px;overflow:hidden}.volume-fill{height:100%;transition:width .1s linear}.room-users-list{list-style:none;padding:0;margin:0}.room-user{display:flex;align-items:center;gap:8px;padding:6px;margin-bottom:6px;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a}.room-user img{width:30px;height:30px;border-radius:50%;border:2px solid #28a745}.room-user-name{font-weight:500;font-size:14px}.room-users-header{font-weight:700;font-size:16px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}.announcement{background:linear-gradient(135deg,#007bff,#00d4ff);color:#fff;padding:15px;border-radius:10px;text-align:center;margin-bottom:20px}.announcement h3{margin-bottom:10px;font-size:18px}.announcement p{font-size:14px;line-height:1.4;text-align:left;color:#f0f0f0}.announcement ul{margin:0;padding-left:20px;text-align:left;font-size:14px}body[data-theme=dark] .chat-container{background:#2c2c2c;color:#f5f5f5}body[data-theme=dark] .messages{background:#3a3a3a;border-color:#555}body[data-theme=dark] .message-content{background:#444;color:#fff}body[data-theme=dark] .room-panel{background:#2c2c2c;color:#f5f5f5}body[data-theme=dark] .chat-input input{background:#444;color:#fff;border:1px solid #666}body[data-theme=dark] .chat-input button{background:#4caf50;color:#fff}Chat.css css Копировать Редактировать .chat-container,.room-panel,.messages,.message-content,body{transition:background .3s ease,color .3s ease,border-color .3s ease}.theme-toggle{width:40px;height:20px;background:#ccc;border-radius:20px;position:relative;cursor:pointer;transition:background .3s;margin-left:10px}.theme-toggle:after{content:"";position:absolute;width:18px;height:18px;background:#fff;border-radius:50%;top:1px;left:1px;transition:transform .3s ease}body[data-theme=dark] .theme-toggle{background:#4caf50}body[data-theme=dark] .theme-toggle:after{transform:translate(20px)}@media (max-width: 768px){.chat-wrapper{flex-direction:column}.chat-container{order:2}.room-panel{order:1;margin-bottom:20px}.messages{height:300px}}.stream-wrapper{width:100%;margin-bottom:15px;position:relative;padding-top:56.25%;border-radius:8px;overflow:hidden;background:#000}.stream-wrapper iframe,.stream-wrapper video{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px}.stream-btn{background:#007bff;color:#fff;padding:8px 16px;border:none;border-radius:6px;margin-bottom:15px;cursor:pointer;transition:background .2s ease,transform .2s ease}.stream-btn:hover{background:#0056b3;transform:scale(1.05)}body[data-theme=dark] .stream-btn{background:#28a745}body[data-theme=dark] .stream-btn:hover{background:#1e7e34}.room-user{position:relative;overflow:hidden;color:#000}.room-user:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffff80;z-index:0}.room-user img,.room-user-name{position:relative;z-index:1}body[data-theme=dark] .room-user:before{background:#00000080}body[data-theme=dark] .room-user-name{color:#fff}.support{margin-top:15px;font-size:14px;background:#ffffff1a;padding:8px;border-radius:6px;line-height:1.4}body[data-theme=dark] .support{background:#0003}.news-container{max-width:600px;margin:30px auto;padding:20px;background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000001a;font-family:Arial,sans-serif;animation:fadeIn .4s ease-in}@keyframes fadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.news-form{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.news-form textarea,.news-form input[type=text]{padding:10px;border-radius:8px;border:1px solid #ccc;font-size:14px;background:#fff;color:#000}.news-form button{background:#4caf50;color:#fff;border:none;padding:10px;border-radius:8px;cursor:pointer}.news-form button:hover{background:#45a049}.emoji-bar{display:flex;gap:5px;flex-wrap:wrap}.emoji-btn{border:none;background:#f1f1f1;border-radius:4px;cursor:pointer;font-size:18px;padding:4px 6px}.emoji-btn:hover{background:#ddd}.news-feed{display:flex;flex-direction:column;gap:15px}.news-card{background:#f9f9f9;padding:15px;border-radius:8px;border:1px solid #ddd;transition:.3s ease}.news-card:hover{box-shadow:0 4px 12px #00000026}.news-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.news-avatar{width:40px;height:40px;border-radius:50%;border:2px solid #4caf50}.news-text{font-size:14px;margin-bottom:10px;white-space:pre-wrap}.media-wrapper{position:relative;width:100%;padding-top:56.25%;margin-top:10px;border-radius:8px}.media-wrapper iframe,.media-wrapper video,.media-wrapper img{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:8px;object-fit:cover}.time{font-size:12px;color:#666}.news-actions{display:flex;gap:10px;margin:10px 0;align-items:center;flex-wrap:wrap}.like-btn{background:#e7f3ff;border:1px solid #90caf9;color:#1976d2;padding:5px 10px;border-radius:5px;cursor:pointer;font-size:14px;transition:transform .2s ease,background .2s ease}.like-btn:hover{background:#d0e9ff;transform:scale(1.1)}.delete-btn{background:#dc3545;border:none;color:#fff;padding:5px 10px;border-radius:5px;cursor:pointer;font-size:14px}.delete-btn:hover{background:#bb2d3b;transform:scale(1.05)}.comments-section{border-top:1px solid #ddd;margin-top:10px;padding-top:10px}.comment{font-size:14px;background:#f0f0f0;padding:5px 8px;border-radius:5px;margin-bottom:6px}.comment strong{color:#333}.comment .time{font-size:12px;color:#777;margin-left:5px}.comment-input{display:flex;gap:5px}.comment-input input{flex:1;padding:6px;border-radius:5px;border:1px solid #ccc}.comment-input button{padding:6px 10px;background:#4caf50;border:none;color:#fff;border-radius:5px;cursor:pointer}.comment-input button:hover{background:#45a049}.comment-count{font-size:14px;color:#555;margin-left:5px}.emoji-reaction-btn{background:#f1f1f1;border:1px solid #ccc;border-radius:20px;padding:5px 10px;cursor:pointer;font-size:16px;display:flex;align-items:center;gap:4px;transition:background .2s,transform .2s}.emoji-reaction-btn:hover{background:#ddd;transform:scale(1.05)}body[data-theme=dark] .news-container{background:#2c2c2c;color:#f5f5f5}body[data-theme=dark] .news-form textarea,body[data-theme=dark] .news-form input[type=text]{background:#3a3a3a;color:#fff;border:1px solid #555}body[data-theme=dark] .news-card{background:#3a3a3a;border:1px solid #555}body[data-theme=dark] .news-text{color:#f0f0f0}body[data-theme=dark] .comment{background:#444;color:#fff}body[data-theme=dark] .time{color:#aaa}body[data-theme=dark] .like-btn{background:#505f75;border:1px solid #6b8ba3;color:#fff}body[data-theme=dark] .delete-btn{background:#a32929}body[data-theme=dark] .delete-btn:hover{background:#801f1f}body[data-theme=dark] .emoji-reaction-btn{background:#505f75;border:1px solid #6b8ba3;color:#fff}body[data-theme=dark] .comment-count{color:#ddd}.active-like{background:#4caf50!important;color:#fff;transform:scale(1.1)}.active-dislike{background:#f44336!important;color:#fff;transform:scale(1.1)}.scroll-top-btn{position:fixed;bottom:20px;right:20px;background:#4caf50;color:#fff;border:none;padding:10px 15px;border-radius:50px;cursor:pointer;font-size:16px;box-shadow:0 2px 6px #0003;transition:transform .2s ease,background .2s ease}.scroll-top-btn:hover{background:#45a049;transform:scale(1.1)}@media (max-width: 576px){.news-container{margin:10px;padding:15px}.news-form textarea,.news-form input{font-size:13px}.like-btn{font-size:12px;padding:4px 8px}.comment{font-size:12px}.emoji-btn{font-size:16px;padding:3px 5px}}.stream-container{max-width:800px;margin:20px auto;background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 8px #0000001a;text-align:center}.stream-container input{width:80%;padding:10px;margin:10px 0;border:1px solid #ccc;border-radius:6px}.stream-container button{padding:8px 14px;background:#4caf50;color:#fff;border:none;border-radius:6px;cursor:pointer;margin:5px}.stream-container button:hover{background:#45a049}.stop-btn{background:#dc3545}.stop-btn:hover{background:#bb2d3b}.player-wrapper{margin-top:20px;border-radius:10px;overflow:hidden}.menu-bar{background-color:#fff;box-shadow:0 2px 8px #0000001a;padding:10px 20px;position:sticky;top:0;z-index:100;transition:background .3s ease}.menu-center{position:absolute;left:50%;transform:translate(-50%);display:flex;gap:10px;opacity:0;pointer-events:none;transition:opacity .3s ease}.user-logged .menu-center{opacity:1;pointer-events:auto}.container-menu{display:flex;justify-content:space-between;align-items:center}.menu-btn{background-color:#4caf50;color:#fff;padding:8px 16px;border-radius:20px;text-decoration:none;transition:transform .2s ease,background-color .2s ease;font-size:16px}.menu-btn.outline{background-color:transparent;border:2px solid #4CAF50;color:#4caf50}.menu-btn:hover{background-color:#45a049;transform:scale(1.05)}.menu-btn.outline:hover{background-color:#4caf50;color:#fff}.menu-right{margin-left:auto;display:flex;align-items:center;gap:10px}.avatar-icon{width:40px;height:40px;border-radius:50%;border:2px solid #4CAF50;cursor:pointer;transition:transform .2s ease}body[data-theme=dark] .menu-bar{background-color:#2c2c2c}body{background:linear-gradient(135deg,beige,#e0e0e0);transition:background .3s ease}body[data-theme=dark]{background:linear-gradient(135deg,#1c1c1c,#2c2c2c)}.icon-btn{background:transparent;border:2px solid #4CAF50;color:#4caf50;font-size:20px;padding:4px 10px;border-radius:20px;cursor:pointer;transition:transform .2s ease,background-color .2s ease,color .2s ease}.icon-btn:hover{background-color:#4caf50;color:#fff;transform:scale(1.05)}.avatar-icon{width:40px;height:40px;border-radius:50%;border:2px solid #4CAF50;background:#fff;cursor:pointer;transition:transform .2s ease}.avatar-icon:hover{transform:scale(1.1)}@media (max-width: 600px){.container-menu{flex-direction:column;gap:10px}.menu-center{position:static;transform:none}}body{margin:0;font-family:Arial,sans-serif;background-color:#222}
