* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: system-ui, sans-serif; max-width: 640px; margin: 0 auto; padding: 1rem; background: #1a1a2e; color: #e0e0e0; } header { border-bottom: 1px solid #333; padding-bottom: 0.5rem; margin-bottom: 1rem; } header h1 { font-size: 1.4rem; color: #7fdbca; } #stats-bar { font-size: 0.8rem; color: #bbc; margin-top: 0.25rem; } /* Setup overlay */ .overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10, 10, 20, 0.92); display: flex; align-items: center; justify-content: center; z-index: 200; } .overlay.hidden { display: none; } .overlay-box { background: #16213e; border: 1px solid #333; border-radius: 8px; padding: 2rem; max-width: 360px; width: 90%; text-align: center; } .overlay-box h2 { color: #7fdbca; margin-bottom: 0.5rem; font-size: 1.3rem; } .overlay-box p { color: #bbc; margin-bottom: 1rem; font-size: 0.9rem; } .overlay-box input { width: 100%; padding: 0.6rem; background: #1a1a2e; color: #e0e0e0; border: 1px solid #555; border-radius: 4px; font-size: 1rem; margin-bottom: 0.75rem; text-align: center; transition: border-color 0.15s; } .overlay-box input:focus { outline: none; border-color: #7fdbca; } .overlay-box button { margin-top: 0.25rem; } /* Popover overlay */ .overlay-wide { max-width: 480px; text-align: left; padding: 0; } .overlay-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid #333; } .overlay-header h3 { color: #7fdbca; font-size: 1rem; margin: 0; } .overlay-close { background: none; border: none; color: #889; font-size: 1.4rem; cursor: pointer; padding: 0 0.3rem; line-height: 1; transition: color 0.15s; } .overlay-close:hover { color: #e74c3c; } .overlay-body { padding: 1rem; max-height: 70vh; overflow-y: auto; } .overlay-body select { width: 100%; background: #1a1a2e; color: #e0e0e0; border: 1px solid #444; border-radius: 4px; padding: 0.4rem; font-size: 0.85rem; font-family: inherit; margin-bottom: 0.75rem; } .overlay-body select:focus { outline: none; border-color: #7fdbca; } .overlay-body label { display: block; font-size: 0.8rem; color: #bbc; margin-bottom: 0.25rem; } /* Clickable activity peer IDs */ .activity-peer[data-full-id] { cursor: pointer; transition: color 0.15s; } .activity-peer[data-full-id]:hover { color: #7fdbca; } .activity-peer-expanded { display: block; font-size: 0.6rem; color: #556; word-break: break-all; padding-left: 0.5rem; font-family: 'SF Mono', 'Consolas', monospace; } /* Buttons */ .btn { padding: 0.4rem 0.8rem; border: 1px solid #555; border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-family: inherit; transition: background 0.15s, transform 0.1s, border-color 0.15s; } .btn:hover { transform: translateY(-1px); } .btn:active { transform: scale(0.97); } .btn:disabled { opacity: 0.5; cursor: default; transform: none; } .btn-primary { background: #0f3460; color: #e0e0e0; } .btn-primary:hover { background: #1a5276; } .btn-danger { background: transparent; color: #e74c3c; border-color: #553333; } .btn-danger:hover { background: #3a1a1a; } .btn-ghost { background: transparent; color: #aab; border-color: #444; } .btn-ghost:hover { background: #1e2040; color: #ccd; } .btn-full { width: 100%; } .btn-sm { padding: 0.2rem 0.5rem; font-size: 0.75rem; } /* Compose area */ #compose { margin-bottom: 1rem; background: #16213e; border: 1px solid #333; border-radius: 8px; padding: 0.75rem; transition: border-color 0.15s; } #compose:focus-within { border-color: #7fdbca40; } #post-content { width: 100%; padding: 0.5rem; background: transparent; color: #e0e0e0; border: none; resize: none; font-family: inherit; font-size: 0.95rem; min-height: 60px; overflow: hidden; line-height: 1.5; } #post-content:focus { outline: none; } #post-content::placeholder { color: #778; } #compose-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #2a2a40; } .hint { font-size: 0.7rem; color: #778; } #char-count { font-size: 0.7rem; color: #778; font-family: monospace; margin-right: 0.5rem; transition: color 0.15s; } #char-count.char-warn { color: #e2b93d; } #char-count.char-over { color: #e74c3c; } .compose-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; } .compose-left { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; } /* Tabs */ #tabs { display: flex; gap: 0; margin-bottom: 1rem; border-bottom: 1px solid #333; } .tab { background: none; border: none; color: #99a; padding: 0.5rem 0.6rem; cursor: pointer; border-bottom: 2px solid transparent; font-size: 0.82rem; transition: color 0.15s, border-color 0.15s; position: relative; flex: 1; text-align: center; white-space: nowrap; } .tab:hover { color: #ccd; } .tab.active { color: #7fdbca; border-bottom-color: #7fdbca; } .tab-badge { display: inline-flex; align-items: center; justify-content: center; background: #0f3460; color: #7fdbca; font-size: 0.6rem; min-width: 1.1rem; height: 1.1rem; border-radius: 0.55rem; padding: 0 0.3rem; margin-left: 0.25rem; font-family: system-ui, sans-serif; vertical-align: middle; } /* Views / tab content transitions */ .view { display: none; animation: viewFadeIn 0.2s ease-out; } .view.active { display: block; } .view-exit { display: block; opacity: 0; } @keyframes viewFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } /* Section cards */ .section-card { background: #16213e; border: 1px solid #262640; border-radius: 8px; padding: 0.75rem; margin-bottom: 0.75rem; } .section-card h3 { font-size: 0.95rem; color: #dde; margin-bottom: 0.5rem; } /* Subsection titles (e.g. inside collapsibles) */ .subsection-title { font-size: 0.85rem; color: #aab; margin: 0.5rem 0 0.35rem; font-weight: 600; } /* Collapsible section toggle buttons */ .section-toggle { width: 100%; text-align: left; } /* Input rows */ .input-row { display: flex; gap: 0.4rem; } .input-row input { flex: 1; padding: 0.4rem; background: #1a1a2e; color: #e0e0e0; border: 1px solid #333; border-radius: 4px; font-family: monospace; font-size: 0.8rem; transition: border-color 0.15s; } .input-row input:focus { outline: none; border-color: #7fdbca; } /* Button row */ .button-row { display: flex; gap: 0.4rem; margin-top: 0.5rem; flex-wrap: wrap; } /* Post cards */ .post { background: #16213e; border: 1px solid #262640; border-radius: 8px; padding: 0.75rem; margin-bottom: 0.5rem; animation: postAppear 0.25s ease-out both; } .post:hover { border-color: #333; } .post-meta { font-size: 0.75rem; color: #aab; display: flex; justify-content: space-between; align-items: center; } .post-author { display: inline-flex; align-items: center; gap: 0.35rem; font-family: monospace; } .post-author-link { color: #ccd; text-decoration: none; cursor: pointer; transition: color 0.15s; } .post-author-link:hover { color: #7fdbca; text-decoration: underline; } .post-meta .author-me { color: #7fdbca; } .post-time { color: #889; font-size: 0.7rem; } .post-content { margin-top: 0.4rem; white-space: pre-wrap; word-break: break-word; line-height: 1.5; } .post-id { font-size: 0.65rem; color: #667; margin-top: 0.4rem; font-family: monospace; } /* Post attachments */ .post-attachments { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; } .post-image { max-width: 100%; max-height: 300px; border-radius: 6px; cursor: pointer; object-fit: cover; background: #1a1a2e; border: 1px solid #333; } .image-lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999999; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center; cursor: zoom-out; } .download-prompt-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999999; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; } .download-prompt { background: #1a1a2e; border: 1px solid #333; border-radius: 12px; padding: 1.5rem; max-width: 360px; width: 90%; text-align: center; } .download-prompt h3 { margin: 0 0 0.75rem; color: #e0e0e0; font-size: 1.1rem; } .download-filename { font-family: monospace; color: #5b8def; font-size: 0.95rem; margin: 0.5rem 0; word-break: break-all; } .download-warning { color: #999; font-size: 0.85rem; line-height: 1.4; margin: 0.5rem 0 1rem; } .download-prompt-btns { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; } .download-prompt-btns .btn { padding: 0.4rem 0.8rem; font-size: 0.85rem; border-radius: 6px; border: none; cursor: pointer; } .download-prompt-btns .btn-secondary { background: #333; color: #ccc; } .download-prompt-btns .btn-primary { background: #5b8def; color: #fff; } .download-prompt-btns .btn-primary:hover { background: #4a7cde; } .download-prompt-btns .btn-secondary:hover { background: #444; } .image-lightbox img { max-width: 95vw; max-height: 95vh; object-fit: contain; } .post-image-missing { opacity: 0.4; min-height: 60px; min-width: 80px; display: flex; align-items: center; justify-content: center; } .post-video { max-width: 100%; max-height: 300px; border-radius: 6px; background: #1a1a2e; border: 1px solid #333; cursor: pointer; } .post-video.video-expanded { max-height: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; max-width: 100vw; border-radius: 0; border: none; z-index: 99999; object-fit: contain; background: #000; } .video-wrap { display: flex; flex-direction: column; align-items: center; max-width: 100%; } .video-controls { display: flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 0.25rem 0; } .video-speed { background: #1a1a2e; color: #ccc; border: 1px solid #333; border-radius: 4px; padding: 0.15rem 0.3rem; font-size: 0.75rem; cursor: pointer; } .video-download { background: #1a1a2e; color: #ccc; border: 1px solid #333; border-radius: 4px; padding: 0.15rem 0.5rem; font-size: 0.75rem; cursor: pointer; } .video-download:hover { background: #2a2a4e; } .post-audio { width: 100%; max-width: 400px; border-radius: 6px; } .post-file { font-size: 0.75rem; color: #aab; padding: 0.3rem 0.5rem; background: #1e2040; border-radius: 4px; border: 1px solid #333; cursor: pointer; } .post-file:hover { background: #2a2a4e; } /* Attachment preview in compose */ #attachment-preview { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; } #attachment-preview:empty { display: none; } .attach-thumb { position: relative; display: inline-block; } .attach-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; border: 1px solid #444; } .attach-thumb .attach-file-name { display: inline-block; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.7rem; color: #aab; padding: 0.2rem 0.3rem; background: #1e2040; border-radius: 4px; } .attach-remove { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: #e74c3c; color: #fff; border: none; font-size: 0.65rem; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; } @keyframes postAppear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } /* Empty states */ .empty-state { text-align: center; padding: 2rem 1rem; } .empty-state-icon { width: 48px; height: 48px; margin: 0 auto 0.75rem; border-radius: 50%; background: #1e2040; border: 2px dashed #445; position: relative; } .empty-state-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border: 2px solid #556; border-radius: 50%; } .empty-state-msg { color: #aab; font-size: 0.95rem; margin-bottom: 0.35rem; } .empty-state-hint { color: #778; font-size: 0.8rem; } /* Connect status */ #connect-status { font-size: 0.8rem; margin-top: 0.25rem; min-height: 1.2em; } .status-ok { color: #7fdbca; } .status-err { color: #e74c3c; } /* Peer and follow lists */ #peers-list, #suggested-list { list-style: none; font-family: monospace; font-size: 0.8rem; } #peers-list li, #suggested-list li { padding: 0.35rem 0; color: #ccd; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; border-bottom: 1px solid #1e2040; } #peers-list li:last-child, #suggested-list li:last-child { border-bottom: none; } .peer-label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.35rem; } .peer-meta { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; color: #889; font-size: 0.7rem; } .anchor-badge { background: #0f3460; color: #7fdbca; font-size: 0.65rem; padding: 0.1rem 0.35rem; border-radius: 3px; font-family: system-ui, sans-serif; } .intro-tag { color: #889; font-size: 0.7rem; font-style: italic; } .peer-addr { color: #778; font-size: 0.7rem; } .peer-seen { color: #778; font-size: 0.65rem; } .self-tag { color: #7fdbca; font-size: 0.65rem; font-family: system-ui, sans-serif; } .audience-badge { font-size: 0.65rem; padding: 0.1rem 0.35rem; border-radius: 3px; font-family: system-ui, sans-serif; background: #1a3a2e; color: #7fdbca; } .audience-badge.pending { background: #2a2a1e; color: #e2b93d; } .mutual-badge { font-size: 0.65rem; padding: 0.1rem 0.35rem; border-radius: 3px; font-family: system-ui, sans-serif; background: #1a2e3a; color: #7fc4db; } .peer-bio { font-size: 0.75rem; color: #889; font-family: system-ui, sans-serif; margin-top: 0.15rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; } .peer-card-bio:empty { display: none; } .peer-name-link { cursor: pointer; color: inherit; text-decoration: none; border-bottom: 1px dotted #556; } .peer-name-link:hover { color: var(--accent); border-bottom-color: var(--accent); } .peer-card-bio.bio-expanded { display: block !important; -webkit-line-clamp: unset; max-height: none; } /* Identicon */ .identicon { display: inline-block; vertical-align: middle; flex-shrink: 0; border-radius: 2px; } /* Visibility selector */ #visibility-row { display: flex; gap: 0.4rem; margin-top: 0.35rem; align-items: center; } #visibility-select, #circle-select { background: #1a1a2e; color: #fff; border: 1px solid #444; border-radius: 3px; padding: 0.2rem 0.4rem; font-size: 0.75rem; font-family: inherit; -webkit-appearance: none; appearance: none; color-scheme: dark; } #visibility-select:focus, #circle-select:focus { outline: none; border-color: #7fdbca; } #visibility-select option, #circle-select option { background: #1a1a2e; color: #fff; } /* Visibility badges on posts */ .vis-badge { font-size: 0.6rem; padding: 0.1rem 0.35rem; border-radius: 3px; margin-left: 0.4rem; font-family: system-ui, sans-serif; vertical-align: middle; } .vis-encrypted-mine { background: #1a3a2e; color: #7fdbca; border: 1px solid #2a5a3e; } .vis-encrypted { background: #3a2a1e; color: #e2b93d; border: 1px solid #5a4a2e; } .encrypted-placeholder { color: #778; font-style: italic; } /* Delete post button */ .delete-post-btn { background: none; border: 1px solid transparent; color: #667; cursor: pointer; font-size: 0.7rem; padding: 0 0.3rem; border-radius: 3px; opacity: 0; transition: opacity 0.15s, color 0.15s, border-color 0.15s; margin-left: auto; } .post:hover .delete-post-btn { opacity: 1; } .delete-post-btn:hover { color: #e74c3c; border-color: #553333; } .delete-post-btn:disabled { opacity: 0.3; cursor: default; } /* Profile editor */ #profile-editor { display: flex; flex-direction: column; gap: 0.5rem; } #profile-editor label { font-size: 0.8rem; color: #aab; } #profile-editor input, #profile-editor textarea { padding: 0.5rem; background: #1a1a2e; color: #e0e0e0; border: 1px solid #444; border-radius: 4px; font-family: inherit; font-size: 0.9rem; transition: border-color 0.15s; } #profile-editor input:focus, #profile-editor textarea:focus { outline: none; border-color: #7fdbca; } #profile-editor textarea { resize: vertical; min-height: 60px; line-height: 1.4; } #save-profile-btn { align-self: flex-start; } /* Identity section */ #node-info { font-size: 0.75rem; color: #aab; font-family: monospace; display: flex; align-items: center; gap: 0.5rem; } .connect-string-box { font-family: monospace; font-size: 0.7rem; color: #bbc; background: #1a1a2e; border: 1px solid #333; border-radius: 4px; padding: 0.5rem; margin-top: 0.5rem; word-break: break-all; user-select: all; -webkit-user-select: all; line-height: 1.4; } .connect-string-box:empty { display: none; } .qr-container { display: flex; justify-content: center; padding: 0.75rem 0; max-width: 240px; margin: 0 auto; } .qr-container:empty { display: none; } .qr-container svg { border-radius: 6px; } /* Redundancy panel */ #redundancy-panel { font-size: 0.85rem; } .redundancy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; } .redundancy-item { background: #1a1a2e; border-radius: 4px; padding: 0.5rem; text-align: center; } .redundancy-value { font-size: 1.2rem; font-weight: 600; color: #e0e0e0; } .redundancy-label { font-size: 0.7rem; color: #889; margin-top: 0.15rem; } .redundancy-item.warn .redundancy-value { color: #e2b93d; } .redundancy-item.ok .redundancy-value { color: #7fdbca; } /* Circles */ .circle-card { background: #1a1a2e; border: 1px solid #2a2a40; border-radius: 6px; padding: 0.6rem; margin-top: 0.5rem; } .circle-header { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; margin-bottom: 0.3rem; } .circle-count { color: #889; font-size: 0.75rem; } .circle-members { font-size: 0.75rem; font-family: monospace; color: #bbc; display: flex; flex-wrap: wrap; gap: 0.3rem; } .circle-member { background: #1e2040; padding: 0.2rem 0.5rem; border-radius: 3px; display: inline-flex; align-items: center; gap: 0.35rem; } .circle-add-row { display: flex; gap: 0.3rem; margin-top: 0.4rem; } .add-member-select { flex: 1; background: #1a1a2e; color: #e0e0e0; border: 1px solid #444; border-radius: 3px; padding: 0.2rem; font-size: 0.75rem; } .empty-hint { color: #667; font-size: 0.8rem; font-style: italic; } .hidden { display: none !important; } /* Anchor list */ #anchors-list { font-size: 0.8rem; font-family: monospace; } .anchor-item { display: flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0; border-bottom: 1px solid #1e2040; } .anchor-item:last-child { border-bottom: none; } .anchor-item .peer-label { flex: 1; display: flex; align-items: center; gap: 0.35rem; } #anchor-add-select { flex: 1; background: #1a1a2e; color: #e0e0e0; border: 1px solid #444; border-radius: 3px; padding: 0.2rem; font-size: 0.75rem; } /* DM compose */ #dm-compose textarea { width: 100%; padding: 0.5rem; background: #1a1a2e; color: #e0e0e0; border: 1px solid #333; border-radius: 4px; resize: none; font-family: inherit; font-size: 0.9rem; min-height: 60px; line-height: 1.5; transition: border-color 0.15s; margin-top: 0.5rem; } #dm-compose textarea:focus { outline: none; border-color: #7fdbca; } #dm-compose textarea::placeholder { color: #778; } .dm-compose-row { margin-bottom: 0; } #dm-recipient-select { width: 100%; background: #1a1a2e; color: #e0e0e0; border: 1px solid #444; border-radius: 4px; padding: 0.4rem; font-size: 0.85rem; font-family: inherit; } #dm-recipient-select:focus { outline: none; border-color: #7fdbca; } .dm-compose-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #2a2a40; } /* Conversation threads */ .conversation-item { cursor: default; transition: border-color 0.15s; } .conversation-item .conv-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; } .conversation-item .conv-header:hover { opacity: 0.85; } .conv-header-left { display: inline-flex; align-items: center; gap: 0.4rem; } .conv-name { font-size: 0.9rem; font-weight: 600; color: #dde; } .conv-time { font-size: 0.7rem; color: #889; } .conv-preview { font-size: 0.8rem; color: #99a; margin-top: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .conv-you { color: #7fdbca; } .conversation-active { border-color: #7fdbca40; } .conversation-messages { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #2a2a40; } /* Chat window */ .chat-window { max-height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.35rem; padding: 0.5rem 0; } .chat-bubble { max-width: 80%; padding: 0.5rem 0.75rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; word-break: break-word; } .chat-mine { align-self: flex-end; background: #0f3460; color: #e0e0e0; border-bottom-right-radius: 4px; } .chat-theirs { align-self: flex-start; background: #1e2040; color: #dde; border-bottom-left-radius: 4px; } .chat-text { white-space: pre-wrap; } .chat-time { font-size: 0.6rem; color: #778; margin-top: 0.2rem; text-align: right; } .chat-theirs .chat-time { text-align: left; } .conv-reply { display: flex; gap: 0.4rem; align-items: flex-end; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #2a2a40; } .conv-reply-input { flex: 1; padding: 0.4rem; background: #1a1a2e; color: #e0e0e0; border: 1px solid #333; border-radius: 4px; resize: none; font-family: inherit; font-size: 0.85rem; min-height: 36px; line-height: 1.4; transition: border-color 0.15s; } .conv-reply-input:focus { outline: none; border-color: #7fdbca; } .conv-reply-input::placeholder { color: #778; } /* Message request action (follow button below message) */ .msg-request-action { padding: 0.35rem 0.75rem 0.5rem; margin-top: -0.25rem; margin-bottom: 0.5rem; } /* Peer cards (diagnostics/audience) */ .peer-card { background: #1a1a2e; border: 1px solid #2a2a40; border-radius: 6px; padding: 0.6rem; margin-bottom: 0.4rem; } .peer-card-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; } .peer-card-meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.25rem; font-size: 0.7rem; color: #889; } .peer-card-lastseen { font-size: 0.7rem; color: #666; margin-top: 0.15rem; } .last-seen { color: #666; } .follows-section-header { font-size: 0.8rem; font-weight: 600; color: #888; padding: 0.5rem 0 0.25rem; border-bottom: 1px solid #2a2a40; margin-bottom: 0.3rem; margin-top: 0.5rem; } .follows-section-header:first-child { margin-top: 0; } .peer-card-actions { display: flex; gap: 0.3rem; margin-top: 0.35rem; } .peer-card-highlight { border-color: #7fdbca; animation: peerHighlight 2s ease-out; } @keyframes peerHighlight { 0% { border-color: #7fdbca; box-shadow: 0 0 8px rgba(127, 219, 202, 0.3); } 100% { border-color: #2a2a40; box-shadow: none; } } /* Slot kind badges */ .slot-badge { font-size: 0.65rem; padding: 0.1rem 0.4rem; border-radius: 3px; font-family: system-ui, sans-serif; } .slot-preferred { background: #1a3a2e; color: #7fdbca; } .slot-local { background: #1e2040; color: #aab; } .slot-wide { background: #2a2a1e; color: #e2b93d; } /* Reach level badges */ .reach-badge { font-size: 0.65rem; padding: 0.1rem 0.4rem; border-radius: 3px; font-family: system-ui, sans-serif; } .reach-mesh { background: #1a3a2e; color: #7fdbca; } .reach-n1 { background: #1a2e3a; color: #7fc4db; } .reach-n2 { background: #1e2040; color: #aab; } .reach-n3 { background: #1e2040; color: #667; } /* Diagnostics summary grid */ .diag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 0.75rem; } .diag-item { background: #1a1a2e; border-radius: 4px; padding: 0.4rem; text-align: center; } .diag-value { display: block; font-size: 1.1rem; font-weight: 600; color: #7fdbca; } .diag-label { display: block; font-size: 0.65rem; color: #889; } /* Diagnostics action row */ .diag-actions { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; align-items: center; } .diag-timestamp { color: #889; font-size: 0.7rem; margin-left: auto; } /* Toast */ .toast { position: fixed; bottom: 1rem; right: 1rem; background: #0f3460; color: #e0e0e0; padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; z-index: 100; border: 1px solid #1a5276; animation: toastSlideIn 0.25s ease-out; transition: opacity 0.3s, transform 0.3s; } .toast.hidden { opacity: 0; transform: translateY(8px); pointer-events: none; } @keyframes toastSlideIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } /* Activity log */ .activity-log-container { max-height: 300px; overflow-y: auto; border: 1px solid #262640; border-radius: 4px; background: #12122a; } .activity-entry { display: flex; align-items: baseline; gap: 0.4rem; padding: 0.2rem 0.5rem; font-family: 'SF Mono', 'Consolas', monospace; font-size: 0.72rem; line-height: 1.4; border-bottom: 1px solid #1a1a30; } .activity-entry:last-child { border-bottom: none; } .activity-time { color: #667; white-space: nowrap; flex-shrink: 0; } .activity-badge { display: inline-block; padding: 0 0.3rem; border-radius: 3px; font-size: 0.62rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; } .badge-growth { background: #1a3050; color: #5ba3d9; } .badge-rebalance { background: #1a3838; color: #5bb8b8; } .badge-recovery { background: #3a1a1a; color: #d96060; } .badge-anchor { background: #3a3010; color: #d9b35b; } .badge-connection { background: #252530; color: #99a; } .badge-relay { background: #2a1a3a; color: #b87fd9; } .activity-msg { color: #ccd; flex: 1; min-width: 0; } .activity-peer { color: #667; font-size: 0.65rem; white-space: nowrap; flex-shrink: 0; } .activity-entry.level-warn { background: rgba(217, 179, 91, 0.05); } .activity-entry.level-warn .activity-msg { color: #d9b35b; } .activity-entry.level-error { background: rgba(217, 96, 96, 0.08); } .activity-entry.level-error .activity-msg { color: #d96060; } /* Timer cards */ .timer-card { background: #1a1a2e; border-radius: 4px; padding: 0.5rem; text-align: center; } .timer-label { font-size: 0.65rem; color: #889; margin-bottom: 0.2rem; } .timer-value { font-size: 1rem; font-weight: 600; color: #7fdbca; font-family: 'SF Mono', 'Consolas', monospace; } .timer-bar { height: 3px; background: #262640; border-radius: 2px; margin-top: 0.3rem; overflow: hidden; } .timer-bar-fill { height: 100%; background: #7fdbca; border-radius: 2px; transition: width 3s linear; } .activity-empty { color: #667; font-size: 0.75rem; padding: 1rem; text-align: center; } /* Loading state */ .loading-state { display: flex; justify-content: center; padding: 2rem; } .loading-dots { display: flex; gap: 0.4rem; } .loading-dots span { width: 6px; height: 6px; border-radius: 50%; background: #7fdbca; animation: loadDot 1.2s ease-in-out infinite; } .loading-dots span:nth-child(2) { animation-delay: 0.15s; } .loading-dots span:nth-child(3) { animation-delay: 0.3s; } @keyframes loadDot { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); } 40% { opacity: 1; transform: scale(1.2); } } /* Engagement bar */ .engagement-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; padding-top: 0.35rem; border-top: 1px solid #2a2a4a; } .reaction-pills { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; } .reaction-pill { background: #2a2a4a; border: 1px solid #3a3a5a; border-radius: 1rem; padding: 0.15rem 0.5rem; font-size: 0.78rem; cursor: pointer; color: #ccc; transition: all 0.15s; } .reaction-pill:hover { background: #3a3a5a; border-color: #7fdbca; } .reaction-pill.reacted { background: #1a3a3a; border-color: #7fdbca; color: #7fdbca; } .react-btn { background: none; border: 1px dashed #3a3a5a; border-radius: 1rem; padding: 0.15rem 0.45rem; font-size: 0.78rem; cursor: pointer; color: #888; transition: all 0.15s; } .react-btn:hover { border-color: #7fdbca; color: #7fdbca; } .reaction-summary { font-size: 0.72rem; color: #889; padding: 0.15rem 0.3rem; white-space: nowrap; } .engagement-right { display: flex; gap: 0.25rem; align-items: center; } .comment-toggle-btn { background: none; border: none; color: #888; font-size: 0.78rem; cursor: pointer; padding: 0.15rem 0.4rem; transition: color 0.15s; } .comment-toggle-btn:hover { color: #7fdbca; } .share-btn { background: none; border: 1px dashed #3a3a5a; border-radius: 1rem; padding: 0.15rem 0.5rem; font-size: 0.72rem; cursor: pointer; color: #888; transition: all 0.15s; } .share-btn:hover { border-color: #5b8def; color: #5b8def; } /* Emoji picker */ .emoji-picker { position: absolute; background: #2a2a4a; border: 1px solid #3a3a5a; border-radius: 0.5rem; padding: 0.4rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.15rem; z-index: 10; margin-top: 0.25rem; box-shadow: 0 4px 12px rgba(0,0,0,0.4); } .emoji-pick { background: none; border: none; font-size: 1.2rem; cursor: pointer; padding: 0.25rem; border-radius: 0.25rem; transition: background 0.1s; } .emoji-pick:hover { background: #3a3a5a; } /* Comment thread */ .comment-thread { padding: 0.4rem 0 0 0; } .comment-bubble { display: flex; gap: 0.35rem; align-items: baseline; padding: 0.2rem 0; font-size: 0.82rem; } .comment-author { color: #7fdbca; font-weight: 600; white-space: nowrap; font-size: 0.78rem; } .comment-text { color: #ddd; } .comment-time { color: #777; font-size: 0.7rem; white-space: nowrap; } .comment-compose { display: flex; gap: 0.35rem; margin-top: 0.4rem; align-items: center; } .comment-input { flex: 1; background: #1a1a2e; border: 1px solid #3a3a5a; border-radius: 0.35rem; padding: 0.3rem 0.5rem; color: #e0e0e0; font-size: 0.82rem; } .comment-input:focus { border-color: #7fdbca; outline: none; }