#rtm-chat-launch{position:fixed;right:22px;bottom:22px;z-index:9998;border:1px solid #f24a59;border-radius:999px;background:#c8202b;color:#fff;padding:12px 19px 12px 12px;font:700 14px system-ui;box-shadow:0 10px 35px #0008;cursor:pointer;display:flex;align-items:center;gap:10px;transition:transform .25s,opacity .25s}#rtm-chat-launch:hover{transform:translateY(-3px)}.max-launch-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#111820;border:1px solid #fff8;color:white;font-weight:900;font-size:12px}#rtm-chat-launch.max-arrive{animation:maxEnter .65s ease both}@keyframes maxEnter{0%{opacity:0;transform:translateX(70px)}75%{opacity:1;transform:translateX(-7px)}100%{opacity:1;transform:translateX(0)}}#rtm-chat{position:fixed;right:22px;bottom:88px;width:min(370px,calc(100vw - 28px));height:min(590px,calc(100dvh - 120px));z-index:9999;background:#11151a;color:#f7f7f7;border:1px solid #343a42;border-radius:18px;box-shadow:0 18px 60px #0009;display:none;overflow:hidden;font:14px/1.45 system-ui,sans-serif}#rtm-chat.open{display:flex;flex-direction:column}#rtm-chat header{background:#1b2027;padding:14px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #343a42}.max-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#4b535d,#171c22);border:2px solid #d82435;color:white;font-weight:900;font-size:11px;letter-spacing:1px}#rtm-chat header strong{display:block;font-size:15px}#rtm-chat header small{color:#aeb6c1}#rtm-chat-close{margin-left:auto;background:transparent;border:0;color:#fff;font-size:24px;cursor:pointer}#rtm-chat-log{padding:14px;overflow:auto;flex:1;background:linear-gradient(#11151a,#151a20)}.rtm-msg{max-width:91%;padding:10px 12px;margin:0 0 10px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.rtm-bot{background:#252c35;border:1px solid #343d48}.rtm-user{background:#8f1720;margin-left:auto;color:white}.rtm-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.rtm-options button{background:#202832;border:1px solid #c8202b;color:#fff;padding:9px 6px;border-radius:9px;cursor:pointer;font-weight:650}.rtm-options button:hover{background:#3a2529}#rtm-chat-form{display:flex;gap:7px;padding:10px;border-top:1px solid #343a42;background:#1b2027}#rtm-chat-input{min-width:0;flex:1;border:1px solid #46505d;border-radius:22px;background:#0f1216;color:white;padding:11px 14px;font:inherit}#rtm-chat-form button{border:0;border-radius:22px;background:#c8202b;color:white;padding:0 16px;font-weight:700;cursor:pointer}#rtm-chat-note{font-size:10px;color:#929ba7;text-align:center;padding:0 8px 8px;background:#1b2027}@media(max-width:480px){#rtm-chat-launch{right:14px;bottom:14px}#rtm-chat{right:10px;bottom:76px;width:calc(100vw - 20px);height:min(600px,calc(100dvh - 92px))}}

#rtm-chat-launch{padding:0;border:0;background:transparent;box-shadow:none;width:154px;height:auto;overflow:visible;border-radius:0}
#rtm-chat-launch img{display:block;width:100%;height:auto;filter:drop-shadow(0 7px 15px #0009)}
#rtm-chat-launch:hover{transform:translateY(-4px) scale(1.02)}
.max-avatar-img{width:58px;height:58px;object-fit:contain;object-position:center bottom;background:transparent;flex:0 0 58px}
.max-welcome-image{display:block;width:min(100%,300px);height:auto;object-fit:contain;margin:0 auto 12px;border-radius:10px}
@media(max-width:480px){#rtm-chat-launch{width:125px;right:10px;bottom:10px}}

.max-welcome-image{width:170px;max-height:175px;object-fit:contain;object-position:center bottom;background:radial-gradient(circle,#303943,#14191f);padding:5px;border-radius:14px}

.max-action-card{width:min(92%,300px);margin:2px 0 12px;overflow:hidden;border-radius:13px;border:1px solid #414b57;background:#fff;box-shadow:0 5px 18px #0005}
.max-action-card img{display:block;width:100%;height:auto;max-height:185px;object-fit:contain;background:#fff}
#rtm-chat header .max-avatar-img{object-fit:contain;object-position:center;width:62px;height:62px;border-radius:9px}
.max-welcome-image{max-height:190px;object-fit:contain;background:#fff}

.max-welcome-image{width:min(100%,320px);max-height:220px;object-fit:contain;background:#fff;border-radius:12px}
.max-farewell-toast{position:fixed;right:18px;bottom:18px;width:min(290px,68vw);height:auto;z-index:10001;pointer-events:none;filter:drop-shadow(0 8px 24px #0008);animation:maxFarewellIn .35s ease both}
@keyframes maxFarewellIn{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.hero-image-edit{right:12px;bottom:12px}.hero-image-edit label{font-size:10px;padding:7px 9px}.max-farewell-toast{right:8px;bottom:8px;width:min(240px,72vw)}}
