#gate,#socialLayer{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:#24463eea;overflow:auto}#gate[hidden],#socialLayer[hidden]{display:none}#gate{background:radial-gradient(ellipse at 12% 20%,#d9e5c3 0,transparent 40%),radial-gradient(ellipse at 85% 75%,#e5bfb3 0,transparent 40%),#d7e2d1}.gate-card,.social-card{width:min(440px,100%);max-height:94dvh;overflow:auto;background:#fffdf7;border:1px solid #fff;border-radius:24px;padding:24px;box-shadow:0 20px 70px #29483d35}.gate-card h1{font: bold 31px Georgia,serif;line-height:1.1;margin:12px 0 4px}.gate-card .logo{width:55px;height:55px;font-size:31px}.gate-card form{display:grid;gap:10px;margin:18px 0 8px}.gate-card label,.social-card label{display:grid;gap:5px;font-size:12px;font-weight:650;color:#607565}.gate-card input,.social-card input,.social-card textarea{width:100%;border:1px solid #d4dbcb;background:white;color:#29483d;border-radius:11px;padding:11px;font:inherit;min-width:0}.gate-switch{display:flex;gap:5px;background:#edf0e5;padding:4px;border-radius:12px;margin-top:18px}.gate-switch button{flex:1}.gate-switch button:not(.primary){background:transparent}.online-error{color:#9b433b;font-size:12px;line-height:1.4;white-space:pre-wrap;min-height:1em}.online-status{font-size:11px;color:#587963}.online-status.bad{color:#a55e4f}.social-card{width:min(840px,100%);padding:18px;display:flex;flex-direction:column;gap:12px;height:min(740px,92dvh)}.social-header{display:flex;justify-content:space-between;gap:8px;align-items:center}.social-columns{display:grid;grid-template-columns: minmax(210px, .85fr) minmax(0,1.15fr);flex:1;min-height:0;gap:12px}.social-list{overflow:auto;min-height:0}.social-chat{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f3f5ea;border-radius:14px;padding:10px;gap:9px}.social-chat h3{margin:0}.chat-messages{overflow:auto;flex:1;min-height:100px;display:flex;flex-direction:column;gap:8px}.chat-bubble{align-self:flex-start;background:white;border-radius:13px 13px 13px 3px;padding:9px 11px;max-width:86%;overflow-wrap:anywhere;white-space:pre-wrap}.chat-bubble.mine{align-self:flex-end;background:#dbe9d3;border-radius:13px 13px 3px 13px}.chat-bubble small{display:block;color:#718272;font-size:10px;margin-top:4px}.chat-compose{display:flex;gap:6px}.chat-compose input{flex:1}.social-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.social-row button{font-size:11px;padding:7px 9px}.social-row strong{flex:1;min-width:90px;overflow-wrap:anywhere}.social-code{letter-spacing:2px;font-size:17px;font-weight:bold;color:#315e4d}.social-card .card{padding:10px;margin-bottom:8px}.social-card .card p{overflow-wrap:anywhere}.social-chat .empty{margin:auto;text-align:center;color:#78877b;font-size:13px}.social-card #chatBack{display:none}.clock #socialOpen{position:relative}.clock #socialBadge{position:absolute;right:-3px;top:-5px;background:#b36866;color:#fff;font-size:10px;border-radius:12px;padding:1px 5px}.sync-tag{font-size:10px;color:#60846c;max-width:90px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sync-tag.bad{color:#a34c40}@media(max-width:650px){#gate,#socialLayer{padding:8px}.gate-card{padding:20px}.social-card{height:94dvh;padding:12px}.social-columns{display:block;min-height:0;overflow:auto}.social-list,.social-chat{height:100%}.social-columns.chat-active .social-list{display:none}.social-columns:not(.chat-active) .social-chat{display:none}.social-card #chatBack{display:inline-block}.sync-tag{max-width:60px}.clock{gap:3px}.clock button{padding:7px!important}}
