@font-face { font-family:GChatGalano; src:url('./GalanoGrotesque-Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:GChatGalano; src:url('./GalanoGrotesque-Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:GChatGalano; src:url('./GalanoGrotesque-Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
.gchat { --gc-line:#2d3b56; --gc-muted:#b0bed4; --gc-gold:#ffcf73; box-sizing:border-box; min-width:0; width:100%; height:var(--gchat-height,560px); display:grid; grid-template-rows:auto minmax(0,1fr) auto; border:1px solid var(--gc-line); border-radius:16px; overflow:hidden; background:linear-gradient(#142039,#0c1527 75%); color:#f5f7fe; font:400 14px/1.48 var(--gchat-font,GChatGalano,system-ui,sans-serif); color-scheme:dark; }
.gchat *, .gchat *::before { box-sizing:border-box; }
.gchat [hidden] { display:none !important; }
.gchat-head { display:flex; align-items:center; gap:9px; min-height:62px; padding:8px 12px; border-bottom:1px solid var(--gc-line); }
.gchat-avatar { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#204aab; color:var(--gc-gold); flex:none; }
.gchat-identity { flex:1; line-height:1.25; }
.gchat-identity small,.gchat-attachment small { display:block; color:var(--gc-muted); font-size:12px; }
.gchat button { display:inline-flex; justify-content:center; align-items:center; gap:5px; border:1px solid transparent; border-radius:9px; padding:0 8px; min-height:44px; color:inherit; background:#233250; font:inherit; font-size:12px; cursor:pointer; }
.gchat button:hover { border-color:#779ce4; }
.gchat :focus-visible { outline:2px solid var(--gc-gold); outline-offset:2px; }
.gchat-log:focus-visible { outline-offset:-3px; }
.gchat-log { overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:14px 12px; }
.gchat-row { display:flex; align-items:flex-end; gap:7px; margin-bottom:12px; }
.gchat-row:last-of-type { margin-bottom:0; }
.gchat-user { justify-content:flex-end; }
.gchat-row .gchat-avatar { width:26px; height:26px; }
.gchat-bubble { min-width:0; max-width:min(86%,350px); border:1px solid var(--gc-line); border-radius:8px 15px 15px; background:#1a2841; padding:9px 11px; overflow-wrap:anywhere; }
.gchat-user .gchat-bubble { border-radius:15px 8px 15px 15px; background:linear-gradient(125deg,#214eb7,#254299); border-color:#4165bb; max-width:80%; }
.gchat-speaker { display:block; font-size:11px; font-weight:650; margin-bottom:2px; color:#c5d6f7; }
.gchat-bubble ul { margin:5px 0 0; padding-left:17px; }
.gchat-bubble li+li { margin-top:2px; }
.gchat-bubble p { margin:7px 0; }
.gchat-status { display:inline-block; color:var(--gc-gold); border:1px solid #6a583b; background:#352e28; border-radius:6px; padding:2px 6px; font-size:11px; }
.gchat-attachment { display:block; overflow:hidden; margin-top:7px; border-radius:8px; border:1px solid #455472; background:#111c30; text-decoration:none; color:inherit; }
.gchat-attachment img { display:block; width:100%; height:135px; object-fit:contain; background:#0e1728; }
.gchat-attachment>span { display:flex; align-items:center; padding:6px 8px; gap:6px; font-size:12px; }
.gchat-attachment svg { flex:none; }
.gchat-typing .gchat-bubble { display:flex; gap:4px; }
.gchat-typing i { width:6px; height:6px; border-radius:50%; background:#a4b6d8; }
.gchat[data-playing="true"] .gchat-typing i { animation:gchat-pulse .9s infinite alternate; }
.gchat-typing i:nth-last-child(2) { animation-delay:.15s !important; }
.gchat-typing i:last-child { animation-delay:.3s !important; }
@keyframes gchat-pulse { from { opacity:.4; } to { opacity:1; } }
.gchat-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.gchat-foot { padding:8px 11px 4px; border-top:1px solid var(--gc-line); }
.gchat-composer { display:flex; align-items:center; justify-content:space-between; padding:0 10px; height:40px; border:1px solid var(--gc-line); border-radius:11px; background:#17243c; color:var(--gc-muted); font-size:12px; }
.gchat-composer svg { opacity:.65; }
.gchat-transport { display:flex; gap:8px; align-items:center; margin-top:4px; }
.gchat-transport input { flex:1; min-width:20px; height:44px; margin:0; accent-color:#83aaff; cursor:pointer; }
.gchat .gchat-toggle { min-width:70px; }
.gchat-time { color:var(--gc-muted); white-space:nowrap; font-size:11px; font-variant-numeric:tabular-nums; }
@media (prefers-reduced-motion:reduce) { .gchat[data-playing="true"] .gchat-typing i { animation:none; } }
