:root { color-scheme: dark; } body { margin: 0; font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0a0a0a; color: #f4f4f5; min-height: 100vh; } a { color: inherit; text-decoration: none; } main { min-height: 100vh; } .landing { display: grid; place-items: center; padding: 4rem 1.5rem; } .panel { background: rgba(21, 23, 28, 0.85); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 2.5rem; max-width: 720px; width: min(100%, 720px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); } .panel__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; } .primary, .secondary, .chatItem { font: inherit; border: none; cursor: pointer; } .primary { display: inline-block; margin-top: 1.5rem; padding: 0.85rem 1.6rem; border-radius: 999px; background: linear-gradient(135deg, #ff3b30, #ff9500); color: #fff; font-weight: 600; transition: transform 120ms ease, box-shadow 120ms ease; } .primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 99, 71, 0.35); } .secondary { margin-top: 1rem; padding: 0.6rem 1.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #f4f4f5; } .muted { color: rgba(244, 244, 245, 0.6); margin-top: 0.6rem; } .dashboard { display: flex; flex-direction: column; height: 100vh; overflow-y: hidden; overflow-x: hidden; background: #0a0a0a; } .connectionPrompt { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 2rem; } .connectionPrompt__content { max-width: 500px; width: 100%; } .connectionPrompt__content h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: #e5e7eb; text-align: center; } .connectionPrompt__form { display: flex; flex-direction: column; gap: 1rem; } .connectionPrompt__form input { padding: 0.875rem 1rem; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px; color: #e5e7eb; font-size: 0.95rem; transition: border-color 150ms ease; } .connectionPrompt__form input:focus { outline: none; border-color: #60a5fa; } .connectionPrompt__form input::placeholder { color: #6b7280; } .connectionPrompt__form button { padding: 0.875rem 1rem; background: #60a5fa; border: none; border-radius: 6px; color: #fff; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 150ms ease; } .connectionPrompt__form button:hover:not(:disabled) { background: #3b82f6; } .connectionPrompt__form button:disabled { opacity: 0.5; cursor: not-allowed; } .dashboard__tabs { display: flex; justify-content: space-around; align-items: center; background: #1a1a1a; border-bottom: 1px solid #2a2a2a; padding: 0.3rem 0.5rem; } .tab { flex: 1; text-align: center; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: #9ca3af; background: #141414; border-radius: 6px; margin: 0 0.2rem; cursor: pointer; transition: all 200ms ease; } .tab:hover { background: #1f1f1f; color: #d1d5db; } .tab__count { color: #60a5fa; font-weight: 700; margin-left: 0.25rem; } .message-count { padding: 0.35rem 0.75rem; background: rgba(255, 255, 255, 0.08); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #94a3b8; } .dashboard__grid { flex: 1; display: flex; gap: 0; padding: 0; width: 100%; min-height: 0; height: 100%; overflow: hidden; } .dashboard__grid-right { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; } .panel--chat { flex: 2; border-right: 1px solid #2a2a2a; min-width: 0; } .panel--super { flex: 0 1 auto; border-bottom: 1px solid #2a2a2a; min-height: 200px; max-height: 40%; } .panel--members { flex: 1; min-height: 200px; } @media (max-width: 1024px) { .dashboard__grid { flex-direction: column; } .panel--chat { border-right: none; border-bottom: 1px solid #2a2a2a; } .dashboard__grid-right { flex-direction: column; } } .connectionControl { width: 100%; padding: 1rem clamp(1rem, 3vw, 2rem); background: rgba(30, 41, 59, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .connectionControl__content { max-width: 960px; margin: 0 auto; display: flex; justify-content: center; } .connectionControl__connected { display: flex; justify-content: center; align-items: center; gap: 1.25rem; flex-wrap: wrap; } .connectionControl__info { display: flex; align-items: center; gap: 1.25rem; } .connectionControl__badge { padding: 0.5rem 1rem; background: rgba(34, 197, 94, 0.2); color: #4ade80; border-radius: 999px; font-weight: 600; font-size: 0.9rem; } .connectionControl__liveId { color: #94a3b8; font-size: 0.9rem; font-family: 'Monaco', 'Courier New', monospace; } .connectionControl__form { display: flex; gap: 1.25rem; align-items: flex-end; justify-content: center; width: 100%; } .connectionControl__input { flex: 0 1 460px; display: flex; flex-direction: column; gap: 0.5rem; max-width: 100%; min-width: 280px; } .connectionControl__input label { color: #94a3b8; font-size: 0.85rem; font-weight: 500; } .connectionControl__input input { padding: 0.75rem 1rem; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #e2e8f0; font-size: 0.95rem; font-family: 'Monaco', 'Courier New', monospace; transition: border-color 150ms ease; } .connectionControl__input input:focus { outline: none; border-color: rgba(96, 165, 250, 0.5); } .connectionControl__input input::placeholder { color: #64748b; } .connectionControl__input input:disabled { opacity: 0.5; cursor: not-allowed; } .btn-connect, .btn-disconnect { padding: 0.75rem 1.5rem; border: none; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 150ms ease; white-space: nowrap; } .btn-connect { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; } .btn-connect:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3); } .btn-connect:disabled { opacity: 0.5; cursor: not-allowed; } .btn-disconnect { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); } .btn-disconnect:hover { background: rgba(239, 68, 68, 0.25); transform: translateY(-1px); } @media (max-width: 768px) { .connectionControl__form { flex-direction: column; align-items: stretch; justify-content: flex-start; } .connectionControl__connected { flex-direction: column; align-items: flex-start; width: 100%; } .connectionControl__content { justify-content: flex-start; } } /* Inline variant for header placement */ .connectionControl--inline { width: auto; padding: 0; background: transparent; border: 0; } .connectionControl--inline .connectionControl__content { max-width: none; margin: 0; } .connectionControl--inline .connectionControl__form { gap: 0.75rem; } .connectionControl--inline .connectionControl__input { flex: 0 1 320px; min-width: 220px; } .connectionControl--inline .btn-connect { padding: 0.5rem 0.9rem; } .connectionControl--inline .connectionControl__connected { gap: 0.75rem; } .panel { background: #141414; border: none; border-radius: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; min-height: 0; min-width: 0; max-width: 100%; height: 100%; overflow: hidden; } .panel__header { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 0.875rem; padding-bottom: 0; border-bottom: none; flex-shrink: 0; } .panel__header h2 { margin: 0; font-size: 0.8125rem; color: #9ca3af; display: flex; align-items: center; gap: 0.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .badge--count { background: rgba(96, 165, 250, 0.2); color: #60a5fa; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; } .btn-clear { padding: 0.6rem 1.4rem; background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 999px; font-weight: 600; cursor: pointer; transition: all 150ms ease; } .btn-clear:hover { background: rgba(239, 68, 68, 0.25); transform: translateY(-1px); } .btn-clear-fixed { position: fixed; bottom: 2rem; right: 2rem; padding: 0.75rem 2rem; background: #2a2a2a; color: #e5e7eb; border: 1px solid #3a3a3a; border-radius: 6px; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; cursor: pointer; transition: all 200ms ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); z-index: 100; } .btn-clear-fixed:hover { background: #3a3a3a; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6); } .chatList { display: flex; flex-direction: column; gap: 0.375rem; flex: 1; overflow-y: auto; overflow-x: hidden; padding-right: 0.25rem; padding-bottom: 1rem; /* Add space at the bottom */ min-height: 0; } .chatList::-webkit-scrollbar { width: 6px; } .chatList::-webkit-scrollbar-track { background: #0a0a0a; border-radius: 10px; } .chatList::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 10px; } .chatList::-webkit-scrollbar-thumb:hover { background: #4a4a4a; } .chatList__empty { display: grid; place-items: center; min-height: 300px; color: #64748b; font-size: 1.1rem; } .chatItem { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.625rem 0.875rem; border-radius: 6px; background: #1f1f1f; border: 1px solid #2a2a2a; text-align: left; transition: all 150ms ease; cursor: pointer; flex-shrink: 0; } .chatItem:hover { background: #262626; border-color: #3a3a3a; transform: translateX(2px); } .chatItem--active { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); } .chatItem__header { display: flex; gap: 0.75rem; align-items: flex-start; } .chatItem__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.1); } .chatItem__meta { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; } .chatItem__authorLine { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } .chatItem__author { font-weight: 600; font-size: 0.9rem; color: #e5e7eb; } .chatItem__membership { font-weight: 500; font-size: 0.85rem; color: #10b981; font-style: italic; } .chatItem__time { font-size: 0.75rem; color: #64748b; } .chatItem__text { margin: 0; line-height: 1.5; color: #9ca3af; word-break: break-word; overflow-wrap: break-word; font-size: 0.875rem; } .chatItem__superchat { padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .chatItem__membership { padding: 0.6rem 1rem; background: linear-gradient(135deg, #10b981, #059669); border-radius: 8px; font-weight: 600; font-size: 0.9rem; color: #fff; } .badge { font-size: 0.85rem; padding: 0.15rem 0.4rem; border-radius: 4px; display: inline-flex; align-items: center; gap: 0.25rem; } .badge--moderator { background: rgba(239, 68, 68, 0.2); color: #fca5a5; } .badge--member { background: rgba(34, 197, 94, 0.2); color: #86efac; } .badge--verified { background: rgba(59, 130, 246, 0.2); color: #93c5fd; } .memberItem { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.625rem 0.875rem; border-radius: 6px; background: #1f1f1f; border: 1px solid #2a2a2a; text-align: left; transition: all 150ms ease; cursor: pointer; flex-shrink: 0; } .memberItem:hover { background: #262626; border-color: #3a3a3a; transform: translateX(2px); } .memberItem--active { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); } .memberItem__header { display: flex; gap: 0.75rem; align-items: center; } .memberItem__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(16, 185, 129, 0.4); } .memberItem__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; } .memberItem__author { font-weight: 600; font-size: 0.9rem; color: #e5e7eb; } .memberItem__level { font-size: 0.85rem; color: #6ee7b7; font-weight: 600; } .memberItem__time { font-size: 0.7rem; color: #64748b; } .memberItem__text { margin: 0; line-height: 1.4; color: #d1fae5; font-size: 0.9rem; } .selectedPreview { width: 100%; background: rgba(59, 130, 246, 0.1); border: 2px solid rgba(59, 130, 246, 0.3); border-radius: 20px; padding: 1.5rem; backdrop-filter: blur(10px); } .selectedPreview h3 { margin: 0 0 1rem 0; font-size: 1.2rem; color: #93c5fd; } .selectedPreview__card { background: rgba(15, 23, 42, 0.6); padding: 1.5rem; border-radius: 14px; display: flex; flex-direction: column; gap: 1rem; } .selectedPreview__header { display: flex; gap: 1rem; align-items: center; } .selectedPreview__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(96, 165, 250, 0.4); } .selectedPreview__authorLine { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } .selectedPreview__author { font-weight: 700; font-size: 1.1rem; color: #60a5fa; } .selectedPreview__superchat { padding: 0.75rem 1.25rem; border-radius: 10px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .selectedPreview__text { font-size: 1.1rem; line-height: 1.6; color: #f1f5f9; margin: 0; } .overlay { min-height: 100vh; display: grid; place-items: center; background: transparent; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes fadeOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.95); } } .overlay__card { padding: 2rem 2.5rem; border-radius: 24px; background: linear-gradient(135deg, #0f172a, #1e293b); border: 2px solid rgba(96, 165, 250, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; min-width: min(600px, 90vw); max-width: min(900px, 95vw); animation: fadeIn 0.4s ease-out; } .overlay__card--fadeOut { animation: fadeOut 0.3s ease-in forwards; } .overlay__header { display: flex; gap: 1rem; align-items: center; justify-content: center; width: 100%; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .overlay__header > div { display: flex; flex-direction: column; align-items: center; } .overlay__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(96, 165, 250, 0.5); box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3); } .overlay__authorLine { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; } .overlay__author { font-size: 1.4rem; font-weight: 700; color: #60a5fa; text-shadow: 0 2px 8px rgba(96, 165, 250, 0.4); } .overlay__badge { font-size: 1.2rem; padding: 0.25rem 0.5rem; border-radius: 6px; display: inline-flex; align-items: center; } .overlay__badge--moderator { background: rgba(239, 68, 68, 0.3); border: 1px solid rgba(239, 68, 68, 0.5); } .overlay__badge--member { background: rgba(34, 197, 94, 0.3); border: 1px solid rgba(34, 197, 94, 0.5); } .overlay__badge--verified { background: rgba(59, 130, 246, 0.3); border: 1px solid rgba(59, 130, 246, 0.5); } .overlay__superchat { padding: 1rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 1.2rem; color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); text-align: center; } .overlay__membership { padding: 1rem 1.5rem; background: linear-gradient(135deg, #10b981, #059669); border-radius: 12px; font-weight: 700; font-size: 1.2rem; color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4); text-align: center; } .overlay__text { font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.5; color: #f1f5f9; font-weight: 500; text-align: center; } .overlay__placeholder { padding: 1rem 1.4rem; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); display: flex; align-items: center; justify-content: center; text-align: center; } .status { padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; } .status--connecting { background: rgba(125, 211, 252, 0.2); color: #7dd3fc; } .status--live { background: rgba(74, 222, 128, 0.2); color: #4ade80; } .status--error { background: rgba(248, 113, 113, 0.2); color: #f87171; }