/* comfyarts — AI Friends. Page layer over skin.css: the chat itself.
   Messages arrive with a short movement from the side they belong to, and an AI reply
   is revealed downward as if being written. Each plays once, when the message lands. */
.pg-friends .btn-go { display: inline-flex; height: auto; overflow: visible; }
.pg-friends .btn-go::before { display: none; }
.pg-friends .btn.btn-go { background-color: #F1EDE4 !important; color: #0B0A09 !important; border: 1px solid #F1EDE4 !important; }
.pg-friends .btn.btn-go:hover { background-color: #FF4A1C !important; border-color: #FF4A1C !important; }

.pg-friends .aifc-user-row { animation: afright .55s cubic-bezier(.19, 1, .22, 1) both; }
.pg-friends .aifc-ai-row { animation: afleft .65s cubic-bezier(.19, 1, .22, 1) both; }
@keyframes afright { from { opacity: 0; transform: translate(26px, 8px); } }
@keyframes afleft { from { opacity: 0; transform: translate(-22px, 8px); } }
.pg-friends .aifc-user-bubble { background: #F1EDE4 !important; color: #0B0A09 !important; border: 0 !important; box-shadow: none !important; font-weight: 500; }
.pg-friends .aifc-text { background: #12100F !important; border: 0 !important; border-left: 2px solid #FF4A1C !important; color: #F1EDE4 !important; box-shadow: none !important; animation: afwrite .9s cubic-bezier(.19, 1, .22, 1) both; }
@keyframes afwrite { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.pg-friends .aifc-nm { font: 500 10.5px/1 "JetBrains Mono", monospace !important; letter-spacing: .1em; text-transform: uppercase; color: #6F6A61 !important; }
.pg-friends .aifc-card, .pg-friends .aifc-user-image, .pg-friends .aifc-audio { animation: afleft .7s cubic-bezier(.19, 1, .22, 1) both; box-shadow: none !important; }
.pg-friends .aifc-card:nth-child(2) { animation-delay: .06s; } .pg-friends .aifc-card:nth-child(3) { animation-delay: .12s; } .pg-friends .aifc-card:nth-child(n+4) { animation-delay: .18s; }
.pg-friends .aifc-input-in { background: #12100F !important; border: 1px solid rgba(241, 237, 228, .3) !important; box-shadow: none !important; transition: border-color .25s; }
.pg-friends .aifc-input-in:focus-within { border-color: #F1EDE4 !important; }
.pg-friends .aifc-ta { border: 0 !important; background: none !important; }
.pg-friends .aifc-send { background: #F1EDE4 !important; color: #0B0A09 !important; border: 0 !important; box-shadow: none !important; transition: background-color .25s, transform .2s !important; }
.pg-friends .aifc-send:hover { background: #FF4A1C !important; }
.pg-friends .aifc-send:active { transform: scale(.94); }
.pg-friends .aifc-hd { border-bottom: 1px solid rgba(241, 237, 228, .13); background: #0B0A09 !important; backdrop-filter: none; }
.pg-friends .aifc-skel, .pg-friends .aifc-load { background: #1A1816 !important; }
@media (prefers-reduced-motion: reduce) { .pg-friends [class*="aifc-"] { animation: none !important; } }
