diff --git a/index.html b/index.html index 81d2f56..7901bd0 100644 --- a/index.html +++ b/index.html @@ -971,6 +971,15 @@ } /* ── Chat ──────────────────────────────────────────────── */ + /* Slot sits in document flow — zero height when closed */ + #chat-panel-slot { + display: none; + padding-top: 8px; + padding-bottom: 6px; + } + #chat-panel-slot.open { + display: block; + } .nav-chat-panel { width: 340px; max-width: 100%; @@ -980,14 +989,8 @@ border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,0.5); overflow: hidden; - display: none; - flex-direction: column; - z-index: 9999; - margin-top: 66px; - margin-left: 24px; - } - .nav-chat-panel.open { display: flex; + flex-direction: column; } .nav-chat-main { display: flex; @@ -1140,14 +1143,16 @@ -