.thread-page { display: flex; flex-direction: column; } .thread-header { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 10; } .thread-back { background: none; border: none; color: var(--accent); font-size: 14px; cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: background 0.15s; display: inline-flex; align-items: center; gap: 4px; } .thread-back svg { font-size: 14px; width: 14px; height: 14px; } .thread-back:hover { background: var(--hover-bg); } .thread-header-title { font-size: 18px; font-weight: 700; color: var(--text-h); } .thread-loading, .thread-error, .thread-no-replies { padding: 48px 20px; text-align: center; color: var(--text); } .thread-error { color: #e53e3e; } .thread-ancestor { border-bottom: 1px solid var(--border); } .thread-main-post { border-bottom: 1px solid var(--border); } .thread-post-detail { padding: 16px 20px; } .thread-post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .thread-post-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--border); } .thread-post-avatar-btn { padding: 0; border: none; background: none; cursor: pointer; display: flex; flex-shrink: 0; border-radius: 50%; transition: opacity 0.15s; } .thread-post-avatar-btn:hover { opacity: 0.8; } .thread-post-avatar-placeholder { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--accent); flex-shrink: 0; } .thread-post-author-info { display: flex; flex-direction: column; min-width: 0; } .thread-post-name { font-size: 17px; font-weight: 700; color: var(--text-h); } .thread-post-pronouns { font-size: 13px; color: var(--text); opacity: 0.6; font-weight: 400; margin-left: 2px; } .thread-post-handle { font-size: 14px; color: var(--text); } .thread-post-handle-row { display: flex; align-items: center; gap: 6px; min-width: 0; } .thread-post-name-btn { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 0; border: none; background: none; cursor: pointer; font-family: inherit; text-align: left; } .thread-post-name-row { display: flex; align-items: baseline; gap: 4px; } .thread-post-name-btn:hover .thread-post-name { text-decoration: underline; } .thread-post-body { font-size: 17px; line-height: 1.5; color: var(--text-h); white-space: pre-wrap; word-break: break-word; margin-bottom: 12px; } .thread-post-body .post-body-link { color: var(--accent); text-decoration: none; cursor: pointer; } .thread-post-body .post-body-link:hover { text-decoration: underline; } .thread-post-body .post-body-url { word-break: break-all; } .thread-post-meta { font-size: 13px; color: var(--text); padding-bottom: 12px; border-bottom: 1px solid var(--border); } .thread-post-stats { display: flex; gap: 16px; padding: 12px 0; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); } .thread-post-stats strong { color: var(--text-h); font-weight: 700; } .thread-stat-btn { background: none; border: none; color: var(--text); font-size: 13px; cursor: pointer; padding: 0; font-family: inherit; transition: text-decoration 0.15s; } .thread-stat-btn:hover { text-decoration: underline; } .thread-stat-btn strong { color: var(--text-h); font-weight: 700; } .thread-post-actions { display: flex; gap: 4px; padding-top: 10px; position: relative; } .thread-post-actions .post-action { flex: 0 0 auto; } .thread-reply-composer { padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--bg); } .thread-reply-input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text-h); font-size: 15px; font-family: inherit; resize: vertical; min-height: 60px; outline: none; transition: border-color 0.15s; } .thread-reply-input:focus { border-color: var(--accent); } .thread-reply-actions { display: flex; justify-content: flex-end; margin-top: 8px; } .thread-reply-submit { padding: 8px 20px; border-radius: 999px; border: none; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.15s; } .thread-reply-submit:hover:not(:disabled) { opacity: 0.9; } .thread-reply-submit:disabled { opacity: 0.5; cursor: not-allowed; } .thread-quote-composer { padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--card-bg, var(--bg)); } .thread-quote-header { font-size: 14px; font-weight: 600; color: var(--text-h); margin-bottom: 8px; } .thread-quote-input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text-h); font-size: 15px; font-family: inherit; resize: vertical; min-height: 60px; outline: none; transition: border-color 0.15s; } .thread-quote-input:focus { border-color: var(--accent); } .thread-quote-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; } .thread-quote-cancel { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: none; color: var(--text-h); font-size: 14px; cursor: pointer; } .thread-quote-cancel:hover { background: var(--hover-bg); } .thread-quote-submit { padding: 8px 20px; border-radius: 999px; border: none; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity 0.15s; } .thread-quote-submit:hover:not(:disabled) { opacity: 0.9; } .thread-quote-submit:disabled { opacity: 0.5; cursor: not-allowed; } .thread-replies { display: flex; flex-direction: column; } .thread-reply { border-bottom: 1px solid var(--border); } .thread-reply-clickable { cursor: pointer; transition: background 0.15s; display: block; text-decoration: none; color: inherit; } .thread-reply-clickable:hover { background: var(--hover-bg); } .thread-reply-unavailable { padding: 16px 20px; color: var(--text); font-size: 13px; border-bottom: 1px solid var(--border); opacity: 0.55; } .thread-reply-unavailable--blocked { opacity: 0.55; color: #ef4444; } .thread-reply-unavailable--deleted { opacity: 0.55; } .thread-replies--depth-1 { margin-left: 32px; border-left: 2px solid var(--border); } .thread-replies--depth-2 { margin-left: 24px; border-left: 2px solid color-mix(in srgb, var(--border) 70%, transparent); } .thread-replies--depth-3 { margin-left: 20px; border-left: 2px solid color-mix(in srgb, var(--border) 50%, transparent); } [data-theme="dark"] .thread-replies--depth-1 { border-left-color: color-mix(in srgb, var(--accent) 25%, transparent); } [data-theme="dark"] .thread-replies--depth-2 { border-left-color: color-mix(in srgb, var(--accent) 15%, transparent); } [data-theme="dark"] .thread-replies--depth-3 { border-left-color: color-mix(in srgb, var(--accent) 10%, transparent); } .thread-replies--flat .thread-reply { position: relative; } .thread-replies--flat .thread-reply::before { content: ''; position: absolute; left: 40px; top: 0; bottom: 0; width: 2px; background: var(--border); }