/* НаСвязи 3.2 */
.login-card>.brand-mark{width:104px;height:104px;margin:0 auto 4px;background:none!important;box-shadow:none!important}.brand-mark>img{width:100%;height:100%;object-fit:contain}.login-card h1{font-size:30px;letter-spacing:-1px;color:#142c50;margin:4px 0}.v32-release{display:block;color:#738298;font-size:11px;margin:0 0 12px}.profile-avatar-image,.profile-icon{width:88px!important;height:88px!important;min-width:88px;object-fit:cover;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #c4d7ec;flex-shrink:0}.profile-hero{padding:16px!important;min-height:120px;overflow:visible!important;gap:16px!important}.profile-ident{min-width:0}.profile-avatar-tools{display:flex;flex-wrap:wrap;gap:7px}.profile-avatar-tools button{min-height:38px;font-size:12px}.chat-home-contact .avatar,.contact-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:50%!important;overflow:hidden;box-shadow:0 0 0 2px #fff,0 0 0 3px #d9e4f2}.avatar img,.contact-avatar img,.header-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.header-avatar{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:50%;overflow:hidden}.chat-home-contact{min-height:80px!important;gap:13px!important}.avatar-editing{overflow:hidden}.v32-editor{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;background:#0b1c32c9;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}.v32-editor-card{width:min(480px,100%);max-height:100%;overflow:auto;box-sizing:border-box;background:#fff;border-radius:22px;padding:16px}.v32-editor header{display:flex;align-items:center;gap:12px}.v32-editor h2{font-size:18px;flex:1;margin:0}.v32-editor button{min-width:42px;min-height:42px;border:0;border-radius:11px;background:#edf3fb;color:#194e86;cursor:pointer}.v32-editor p{font-size:12px;line-height:1.5;color:#5c6c7e}.avatar-stage{height:clamp(220px,43dvh,390px);width:100%;overflow:hidden;border-radius:16px;background:#132139}.avatar-stage>img{display:block;max-width:100%}.avatar-stage .cropper-view-box,.avatar-stage .cropper-face{border-radius:50%}.avatar-stage .cropper-view-box{outline:none;box-shadow:0 0 0 2px #fff}.avatar-stage .cropper-line,.avatar-stage .cropper-point{display:none}.avatar-tools{display:flex;gap:8px;margin:12px 0}.avatar-tools button{flex:1;font-size:22px}.v32-editor footer{display:flex;align-items:center;gap:10px}.avatar-live-preview{width:72px;height:72px;border-radius:50%;overflow:hidden;border:2px solid #d3e2f2;flex:none}#avatarPreviewLabel{flex:1;color:#8ba0b7}#avatarSave{padding:10px 18px}#avatarEditorError{color:#b2233a}.scanflow-screen>header{min-height:68px!important;padding:10px 12px!important}.scanflow-screen header small{color:#e1ebf7!important;font-size:12px!important;line-height:1.4}.scanflow-screen header button{border:1px solid #7e9fbd!important;background:#294c6d!important;min-width:44px;min-height:44px}.bottom-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}.bottom-tabs button{min-width:0!important;padding-inline:2px!important}.bottom-tabs button span{font-size:10px!important;line-height:1.3}.bottom-tabs svg{width:21px!important;height:21px!important}
@media(max-width:360px){.profile-hero{padding:12px!important;gap:12px!important}.profile-avatar-image,.profile-icon{width:76px!important;height:76px!important;min-width:76px}.header-avatar{width:30px!important;height:30px!important;flex-basis:30px!important}.v32-editor-card{padding:12px}.v32-editor h2{font-size:16px}}

.games-screen{position:fixed;inset:0 0 var(--bottom-nav-height);z-index:94;background:#f3f6fb;display:flex;flex-direction:column;color:#173454}.games-head{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:64px;background:#132e4e;color:#fff;flex-shrink:0}.games-head button{border:0;border-radius:10px;min-width:42px;min-height:42px;font-size:30px;background:#ffffff16;color:#fff}.games-head strong{flex:1;font-size:17px}.games-release{font-size:11px;background:#ffffff16;padding:6px 10px;border-radius:20px}.games-content{width:100%;max-width:720px;margin:0 auto;overflow:auto;padding:16px;box-sizing:border-box;flex:1;min-height:0}.games-intro{display:flex;align-items:center;gap:14px;margin-bottom:18px}.games-intro img{width:76px;height:76px;flex-shrink:0;object-fit:contain}.games-intro h2{font-size:21px;line-height:1.2;margin:0 0 8px;letter-spacing:-.5px}.games-intro p{font-size:12px;line-height:1.5;color:#61768f;margin:0}#gamesContactLabel{font-size:12px;display:block;margin-bottom:6px}#gamesContact{width:100%;min-height:44px;padding:9px 12px;border:1px solid #d0deed;border-radius:12px;background:#fff;color:#193f67;font:inherit;font-size:14px;box-sizing:border-box}.game-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px}.game-catalog>button{border:1px solid #dbe6f3;border-radius:18px;padding:14px 12px;background:#fff;text-align:left;cursor:pointer;min-width:0;color:#173454;box-shadow:0 5px 18px #17345407}.game-catalog strong{font-size:14px;display:block;margin:10px 0 6px}.game-catalog small{display:block;font-size:11px;line-height:1.5;color:#697e96}.game-art{display:block;font-size:34px;line-height:1.4;font-weight:800;letter-spacing:4px;color:#167af0}.game-art-four{font-size:20px;line-height:1.2;letter-spacing:8px;color:#ee697b}.game-list-row{display:flex;flex-direction:column;width:100%;text-align:left;padding:14px 16px;background:white;color:#173454;border:1px solid #e0e7f1;border-radius:13px;margin:8px 0;gap:7px;cursor:pointer}.game-list-row strong{font-size:13px;overflow-wrap:anywhere}.game-list-row small{font-size:11px;color:#647b96}.games-empty{font-size:13px;color:#738298;padding:12px;text-align:center}.game-status{display:block;margin:14px 0 18px;color:#126ed0;font-size:15px}.game-board{display:grid;margin:0 auto 20px;max-width:420px;gap:8px}.game-board.ttt{grid-template-columns:repeat(3,minmax(0,1fr))}.game-cell{aspect-ratio:1;border:1px solid #cddced;border-radius:16px;background:#fff;font-size:clamp(26px,9vw,58px);font-weight:700;cursor:pointer;min-width:0;padding:0;display:grid;place-items:center}.game-cell:disabled{opacity:1;cursor:default}.game-cell.player-1{color:#176fe8}.game-cell.player-2{color:#d84d66}.game-board.connect4{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:10px;background:#205ba1;border-radius:16px}.connect4 .game-cell{border-radius:50%;background:#e9f0f9;border:1px solid #113e79}.connect4 .player-1{background:#4bb5ff;box-shadow:inset 0 2px 4px #ffffff70}.connect4 .player-2{background:#ff8d9c;box-shadow:inset 0 2px 4px #ffffff70}.game-actions{display:flex;gap:8px;flex-wrap:wrap}.game-actions button,#gameRoom>.secondary{padding:11px 14px;min-height:42px;border-radius:11px;border:1px solid #d5e2f1;font-size:12px}#gameRoom>h2{font-size:22px;margin-bottom:8px}#gameRoom>p{font-size:13px;color:#6c819a}.games-badge{position:absolute;top:2px;right:12%;background:#de546e;color:white!important;border-radius:20px;font-size:9px;min-width:15px;height:15px;display:grid;place-items:center}.bottom-tabs>[data-tab="games"]{position:relative}
@media(min-width:900px){.games-screen{left:50%;transform:translateX(-50%);width:min(780px,100%)}}@media(max-width:350px){.games-content{padding:12px}.games-intro img{width:60px;height:60px}.games-intro h2{font-size:19px}.game-catalog{gap:8px}.game-catalog>button{padding:12px 9px}.game-catalog strong{font-size:12px}.game-board{gap:6px}}

.profile-avatar-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}.profile-avatar-tools button{width:100%!important;min-width:0!important;margin:0!important}
