/* LoveSpaceHub Support Chat — scoped to .lsh-support-live only */
.lsh-support-live{position:relative;margin:22px 0 8px;padding:0;overflow:hidden;border:1px solid rgba(123,83,177,.13);border-radius:28px;background:linear-gradient(145deg,#fff 0%,#fcf9ff 58%,#fff5f9 100%);box-shadow:0 22px 65px rgba(81,50,116,.10)}
.lsh-support-live:before{content:"";position:absolute;inset:-90px auto auto -80px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(191,159,255,.22),transparent 68%);pointer-events:none}
.lsh-support-live-head{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;padding:22px 24px;border-bottom:1px solid rgba(122,91,159,.09)}
.lsh-support-live-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#6f55e8,#9b6ae7);box-shadow:0 10px 24px rgba(111,85,232,.22);color:#fff}.lsh-support-live-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lsh-support-kicker{display:flex;align-items:center;gap:6px;margin-bottom:3px;color:#7764bf;font-size:10px;font-weight:900;letter-spacing:.12em}.lsh-support-kicker i{width:8px;height:8px;border-radius:50%;background:#33c77c;box-shadow:0 0 0 5px rgba(51,199,124,.10);animation:lshSupportPulse 1.8s ease-in-out infinite}@keyframes lshSupportPulse{50%{box-shadow:0 0 0 8px rgba(51,199,124,0)}}
.lsh-support-live-title h2{margin:0;font-size:22px;line-height:1.15}.lsh-support-live-title p{margin:5px 0 0;color:#77707d;font-size:14px;line-height:1.5}.lsh-support-time{align-self:start;padding:8px 11px;border-radius:999px;background:#f4efff;color:#7256c5;font-size:12px;font-weight:850;white-space:nowrap}
.lsh-support-guest{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px}.lsh-support-guest strong{display:block;font-size:16px}.lsh-support-guest p{margin:5px 0 0;color:#77707d;font-size:14px}.lsh-support-guest-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.lsh-support-app{padding:20px 24px 24px}.lsh-support-loading{padding:16px;border-radius:16px;background:#faf8fd;color:#786f82;text-align:center}.lsh-support-error{margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff0f2;color:#b13b51;font-size:13px;font-weight:700}
.lsh-support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lsh-support-new label,.lsh-support-message-field{display:grid;gap:6px}.lsh-support-new label>span,.lsh-support-message-field>span{font-size:12px;font-weight:850;color:#675f6d}.lsh-support-new input,.lsh-support-new select,.lsh-support-new textarea,.lsh-support-compose textarea{width:100%;box-sizing:border-box;border:1px solid #e7deee;border-radius:14px;background:#fff;padding:12px 13px;font:inherit;color:inherit;outline:none;transition:.16s border-color,.16s box-shadow}.lsh-support-new input:focus,.lsh-support-new select:focus,.lsh-support-new textarea:focus,.lsh-support-compose textarea:focus{border-color:#9a7ce8;box-shadow:0 0 0 4px rgba(154,124,232,.10)}.lsh-support-message-field{margin-top:12px}.lsh-support-message-field textarea{resize:vertical;min-height:104px}.lsh-support-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.lsh-support-actions small{color:#857d8a}
.lsh-support-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.lsh-support-chat-meta>div{display:grid;gap:3px}.lsh-support-chat-meta span:first-child{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8d7aab;font-weight:850}.lsh-support-chat-meta strong{font-size:16px}.lsh-support-status{padding:6px 9px;border-radius:999px;background:#eaf9f1;color:#25845b;font-size:11px;font-weight:850}.lsh-support-status.is-closed{background:#f3f0f5;color:#83798a}
.lsh-support-messages{display:flex;flex-direction:column;gap:9px;max-height:390px;overflow:auto;padding:16px;border:1px solid #eee6f2;border-radius:18px;background:rgba(255,255,255,.75);scrollbar-width:thin}.lsh-support-msg{display:flex}.lsh-support-msg.is-user{justify-content:flex-end}.lsh-support-msg-bubble{max-width:min(78%,620px);padding:10px 12px;border-radius:16px 16px 16px 5px;background:#f3eef8}.lsh-support-msg.is-user .lsh-support-msg-bubble{border-radius:16px 16px 5px 16px;background:linear-gradient(135deg,#7658e6,#9a66dc);color:#fff}.lsh-support-msg.is-system .lsh-support-msg-bubble{max-width:92%;margin:auto;border:1px dashed #dfd4e7;background:#fffaf2;color:#796e61;text-align:center;border-radius:14px}.lsh-support-msg-who{margin-bottom:3px;font-size:10px;font-weight:850;opacity:.72}.lsh-support-msg-text{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.lsh-support-msg time{display:block;margin-top:4px;font-size:9px;opacity:.6;text-align:right}
.lsh-support-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:10px;align-items:end}.lsh-support-compose textarea{resize:none;min-height:49px;max-height:130px}.lsh-support-compose .btn{min-height:49px}.lsh-support-closed{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:12px 13px;border-radius:14px;background:#f8f5fa;color:#746b7b}.lsh-support-closed span{font-size:13px;font-weight:750}
@media(max-width:700px){.lsh-support-live{border-radius:22px;margin-top:16px}.lsh-support-live-head{grid-template-columns:auto minmax(0,1fr);padding:18px 16px;gap:12px}.lsh-support-live-icon{width:46px;height:46px;border-radius:15px}.lsh-support-live-icon svg{width:24px;height:24px}.lsh-support-live-title h2{font-size:19px}.lsh-support-live-title p{font-size:13px}.lsh-support-time{display:none}.lsh-support-app{padding:16px}.lsh-support-guest{display:grid;padding:16px}.lsh-support-guest-actions{justify-content:stretch}.lsh-support-guest-actions .btn{flex:1;text-align:center}.lsh-support-form-grid{grid-template-columns:1fr}.lsh-support-actions{align-items:stretch;flex-direction:column}.lsh-support-actions .btn{width:100%}.lsh-support-messages{max-height:360px;padding:12px}.lsh-support-msg-bubble{max-width:86%}.lsh-support-compose{grid-template-columns:1fr}.lsh-support-compose .btn{width:100%;min-height:44px}.lsh-support-closed{align-items:stretch;flex-direction:column}.lsh-support-closed .btn{width:100%}}
