/* GPT-чат рядом с роботом (legal-help.html, блок #federationLaunch) */
.fgpt{box-sizing:border-box;margin:18px 0 22px;padding:16px;border-radius:22px;color:#eef2f4;font:15px/1.5 Arial,Helvetica,sans-serif;
  background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border:1px solid rgba(213,194,148,.35);
  box-shadow:0 20px 50px rgba(0,0,0,.35);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.fgpt *{box-sizing:border-box}
.fgpt-head{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.fgpt-head strong{display:block;font-size:16px;color:#fff;letter-spacing:.02em}
.fgpt-head span{display:block;font-size:12px;color:#c9d3d8}
.fgpt-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#7CF29A;box-shadow:0 0 10px #7CF29A}
.fgpt-reset{margin-left:auto;min-height:34px;padding:0 14px;border-radius:99px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#e0c99b;font:700 12px Arial,sans-serif;cursor:pointer}
.fgpt-reset:hover{background:rgba(255,255,255,.08)}
.fgpt-log{height:300px;overflow-y:auto;overscroll-behavior:contain;padding:4px 4px 4px 0;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
.fgpt-msg{max-width:92%;padding:10px 14px;border-radius:16px;overflow-wrap:anywhere}
.fgpt-msg p{margin:0 0 6px}.fgpt-msg p:last-child{margin:0}
.fgpt-msg ul{margin:4px 0 8px;padding-left:20px}.fgpt-msg li{margin:0 0 4px}
.fgpt-msg .fgpt-h{font-weight:700;color:#e0c99b}
.fgpt-bot{align-self:flex-start;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-bottom-left-radius:5px}
.fgpt-user{align-self:flex-end;background:linear-gradient(135deg,#c5a76a,#a98848);color:#10202a;border-bottom-right-radius:5px}
.fgpt-err{align-self:stretch;background:rgba(182,30,53,.18);border:1px solid rgba(255,90,110,.4);color:#ffd6dc;font-size:14px}
.fgpt-wait{color:#c9d3d8;font-size:14px}
.fgpt-wait span{display:inline-block;width:6px;height:6px;margin-right:3px;border-radius:50%;background:#e0c99b;animation:fgpt-b 1.2s infinite ease-in-out}
.fgpt-wait span:nth-child(2){animation-delay:.15s}.fgpt-wait span:nth-child(3){animation-delay:.3s;margin-right:8px}
@keyframes fgpt-b{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.fgpt-form{display:flex;gap:8px;margin:12px 0 8px}
.fgpt-input{flex:1;min-height:52px;max-height:160px;resize:vertical;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.22);background:rgba(4,14,20,.55);color:#fff;font:15px/1.4 Arial,sans-serif}
.fgpt-input::placeholder{color:#93a4ad}
.fgpt-input:focus{outline:2px solid #e0c99b;outline-offset:1px}
.fgpt-send{flex:0 0 52px;min-height:52px;border:0;border-radius:14px;background:#e6ff00;color:#0b1820;font:900 22px/1 Arial,sans-serif;cursor:pointer}
.fgpt-send:disabled{opacity:.45;cursor:wait}
.fgpt-consent{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.45;color:#c9d3d8;cursor:pointer}
.fgpt-consent input{margin-top:2px;flex:0 0 auto;width:16px;height:16px;accent-color:#e0c99b}
.fgpt-consent a{color:#e0c99b}
.fgpt-consent.fgpt-need{color:#ffb4bf}
.fgpt-note{margin:8px 0 0;font-size:11.5px;color:#93a4ad}
/* компьютер: справа под роботом, текст и «Начать» слева */
@media(min-width:1100px){
  #federationLaunch .fgpt{float:right;width:min(520px,44%);margin:6px 0 24px 32px}
  #federationLaunch .an-hero-bottom{clear:both}
}
@media(max-width:620px){.fgpt{padding:12px;border-radius:18px}.fgpt-log{height:260px}.fgpt-msg{max-width:96%}}
@media(prefers-reduced-motion:reduce){.fgpt-wait span{animation:none}}
/* медленный поворот робота */
#federationLaunch .an-robot{animation-duration:24s!important}
