/* Nexus web — chat et Studio, version de livraison 2026-10-10. */
#reply { font-size: clamp(25px, 2.9vh + 8px, 32px); line-height: 1.3; }
#reply .accent { color: #6fe1f2; font-style: normal; font-size: 1.06em; }
#reply.nx-welcome-in { animation: nxWelcomeIn .65s cubic-bezier(.22,1,.36,1) both; }
@keyframes nxWelcomeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.nx-credit-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: #f1ecff; }
#nx-chat-credits { gap: 7px; display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; padding: 5px 10px; }
#nx-chat-credits b, .vis-credits, #pcredits-card b { color: #c4b5fd !important; background: none !important; -webkit-text-fill-color: #c4b5fd !important; }
#visual .vis-credits { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; }
#visual .vis-credits::before { content: none; }
#psheet { scroll-padding-top: 148px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
#nx-profile-logout { position: sticky; top: 58px; z-index: 4; padding: 0 0 12px; margin: 0 0 12px; background: #17113b; }
#nx-profile-logout button { width: 100%; min-height: 48px; border: 1px solid rgba(255,150,164,.26); color: #ffc6cf; background: rgba(255,150,164,.06); border-radius: 15px; font: 600 14px inherit; cursor: pointer; }
#visual #vis-create, #studio #st-create { color: #201a32; background: #f0eaf7; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.12); font-weight: 750; }
#visual #vis-create:hover, #studio #st-create:hover { background: #fff8ff; }
#visual .nx-briefs { margin: 24px 0; }
#visual .nx-briefs h3 { margin: 0 0 8px; font-size: 20px; }
#visual .nx-briefs > p { font-size: 12px; color: rgba(255,255,255,.57); margin: 0 0 14px; line-height: 1.5; }
.nx-brief-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.nx-brief-card { text-align: left; min-height: 88px; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; color: #eee7f6; background: rgba(255,255,255,.045); cursor: pointer; font-family: inherit; }
.nx-brief-card:hover, .nx-brief-card[aria-pressed="true"] { border-color: rgba(196,181,253,.55); background: rgba(196,181,253,.09); }
.nx-brief-card span { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #b6a6d0; margin-bottom: 7px; }
.nx-brief-card strong { font-size: 14px; line-height: 1.3; }
#actfeed .actviz { display: none; }
#actfeed .actline { background: none; border: 0; box-shadow: none; }
@media (max-width: 380px) { #nx-chat-credits { padding: 5px 8px; } }
@media (min-width: 900px) { .nx-brief-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (prefers-reduced-motion: reduce) { #reply.nx-welcome-in { animation: none; } }

.chat-vis-video-open { display:block; position:relative; width:100%; border:0; padding:0; background:transparent; color:#fff; cursor:pointer; }
.chat-vis-video-open video { width:100%; display:block; border-radius:inherit; }
.chat-vis-video-open > span { position:absolute; bottom:14px; left:14px; padding:8px 13px; border-radius:999px; background:rgba(12,8,24,.72); backdrop-filter:blur(8px); font:600 13px system-ui; border:1px solid rgba(255,255,255,.25); }
