    :root {
      --bg-dark: #060913;
      --card-bg: #0b1020;
      --bubble-bg: #141a30;
      --card-border: rgba(255, 255, 255, 0.08);
      --cyan: #00f2fe;
      --cyan-glow: rgba(0, 242, 254, 0.35);
      --pink: #f472b6;
      --green: #10b981;
      --text-main: #f8fafc;
      --text-dim: #64748b;
    }



    .compact-chat-card {
      width: 100%;
      max-width: 420px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 18px;
      padding: 12px 14px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
      display: flex;
      flex-direction: column;
    }

    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 10px;
      margin-bottom: 8px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .header-left { display: flex; align-items: center; gap: 7px; }
    .live-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #f59e0b; box-shadow: 0 0 8px #f59e0b;
      transition: all 0.3s;
    }
    .live-dot.connected {
      background: var(--green); box-shadow: 0 0 8px var(--green);
    }
    .card-title { font-size: 14px; font-weight: 800; color: #fff; }
    .status-text { font-size: 10px; color: var(--text-dim); }

    .header-right { display: flex; align-items: center; gap: 6px; }
    .sound-btn {
      width: 26px; height: 26px; border-radius: 8px; background: #13182c;
      border: 1px solid var(--card-border); color: var(--cyan);
      display: flex; align-items: center; justify-content: center; cursor: pointer;
    }
    .user-chip {
      font-size: 10px; font-weight: 800; color: var(--pink);
      background: rgba(244, 114, 182, 0.12); border: 1px solid rgba(244, 114, 182, 0.25);
      padding: 3px 8px; border-radius: 12px; cursor: pointer;
    }

    /* Messages Box (Height: 230px) */
    .messages-box {
      height: 230px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 8px;
      scroll-behavior: smooth;
    }
    .chat-bubble {
      padding: 7px 11px; background: var(--bubble-bg);
      border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 11px;
      font-size: 12px; word-break: break-word;
    }
    .chat-bubble.mine {
      background: linear-gradient(135deg, #0d2238, #0e1a2f);
      border-color: rgba(0, 242, 254, 0.3);
    }
    .bubble-header { display: flex; justify-content: space-between; margin-bottom: 2px; }
    .user-name { font-weight: 800; font-size: 11px; }
    .time-stamp { font-size: 9px; color: var(--text-dim); }

    /* Reactions */
    .reactions-bar { display: flex; gap: 5px; overflow-x: auto; margin-bottom: 6px; }
    .reaction-pill {
      background: #12182c; border: 1px solid var(--card-border); border-radius: 12px;
      padding: 3px 8px; font-size: 10px; font-weight: 700; color: #94a3b8;
      cursor: pointer; white-space: nowrap; flex-shrink: 0;
    }

    /* Input */
    .input-row { display: flex; gap: 6px; align-items: center; }
    .chat-input {
      flex: 1; height: 38px; padding: 0 12px; background: #090d1a;
      border: 1px solid var(--card-border); border-radius: 11px;
      color: #fff; font-size: 12px; outline: none;
    }
    .chat-input:focus { border-color: var(--cyan); }
    .send-btn {
      height: 38px; padding: 0 14px; background: var(--cyan); color: #060913;
      font-weight: 800; font-size: 12px; border-radius: 11px; border: none;
      display: flex; align-items: center; gap: 5px; cursor: pointer;
      box-shadow: 0 0 12px var(--cyan-glow); flex-shrink: 0;
    }
  