/* Live chat demos (.gxcd*): long rows that unfold on hover and run the chat itself inside. See plugin genx-studio/chat-demos.php. */
.gxcd-list{display:flex;flex-direction:column;gap:12px}
.gxcd-i{border:1px solid var(--ln);border-radius:14px;background:var(--pn);overflow:hidden;transition:border-color .4s}
.gxcd-i.on{border-color:rgba(220,197,162,.45)}
.gxcd-h{display:grid;grid-template-columns:auto minmax(0,auto) minmax(0,1fr) auto;align-items:baseline;column-gap:22px;row-gap:4px;padding:24px 28px;color:var(--tx);text-decoration:none}
.gxcd-h .n{font:600 12px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.1em;color:var(--a)}
.gxcd-h b{font-size:clamp(19px,2vw,26px);font-weight:700;line-height:1.2}
.gxcd-h .hs{font:500 13px/1.3 "JetBrains Mono",ui-monospace,monospace;color:var(--mu);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gxcd-h .ds{grid-column:2/4;color:var(--tx2);font-size:14.5px;line-height:1.55}
.gxcd-h i{grid-column:4;grid-row:1/3;align-self:center;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--ln2);font-style:normal;color:var(--a);transition:transform .5s cubic-bezier(.19,1,.22,1),background .3s,color .3s,border-color .3s}
.gxcd-i.on .gxcd-h i{transform:rotate(90deg);background:var(--a);color:var(--ink);border-color:var(--a)}
.gxcd-b{height:0;overflow:hidden;transition:height .7s cubic-bezier(.19,1,.22,1)}
.gxcd-f{position:relative;height:min(600px,74vh);margin:0 14px 14px;border-radius:10px;border:1px solid var(--ln2);background:#05070a;overflow:hidden}
.gxcd-f iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#0a0d11;opacity:0;transition:opacity .5s ease}
.gxcd-f.live iframe{opacity:1}
.gxcd-f::before{content:"";position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;border:2px solid rgba(220,197,162,.25);border-top-color:var(--a);animation:gxcd-s .9s linear infinite}
.gxcd-f.live::before,.gxcd-i[data-live="0"] .gxcd-f::before{display:none}
@keyframes gxcd-s{to{transform:rotate(360deg)}}
.gxcd-i[data-live="0"] .gxcd-f{height:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:20px 22px}
.gxcd-n{margin:0;color:var(--tx2);font-size:14.5px}
.gxcd-go{position:absolute;right:12px;bottom:12px;z-index:2;display:none;padding:9px 14px;border-radius:999px;border:1px solid rgba(220,197,162,.5);background:rgba(8,11,15,.86);color:var(--tx);font-size:13px;text-decoration:none}
.gxcd-i[data-live="0"] .gxcd-go{position:static;display:inline-block}
@media (hover:none){.gxcd-go{display:inline-block}}
/* /proeqtebi/: in the chat category the rows take the place of the cards */
#projects.gxcd-web #gx-work,#projects.gxcd-web #gx-none{display:none!important}
.gxcd-arch{margin-top:6px}
/* one project: the chat itself in the page */
.gxcd-one{padding:0 0 46px}.gxcd-one .eb{display:flex;align-items:center;gap:9px;margin:0 0 14px}.gxcd-one .gxcd-f{margin:0;height:min(680px,80vh)}
.gxcd-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 0 rgba(110,231,183,.6);animation:gxcd-p 2s infinite}
@keyframes gxcd-p{70%{box-shadow:0 0 0 9px rgba(110,231,183,0)}100%{box-shadow:0 0 0 0 rgba(110,231,183,0)}}
@media (max-width:760px){.gxcd-h{grid-template-columns:auto minmax(0,1fr) auto;padding:18px 16px;column-gap:12px}.gxcd-h .hs{grid-column:2;grid-row:2}.gxcd-h .ds{grid-column:1/4;grid-row:3;margin-top:4px}.gxcd-h i{grid-column:3;grid-row:1/3;width:36px;height:36px}.gxcd-f{margin:0 8px 8px;height:min(560px,72vh)}}
@media (prefers-reduced-motion:reduce){.gxcd-b{transition:none}.gxcd-f::before,.gxcd-dot{animation:none}}
@media print{.gxcd-b{display:none}}
