.profile-side-panel { display: none; } .profile-side-panel.open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 480px; height: 100vh; background: var(--bg); border-left: 1px solid var(--border); z-index: 900; box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08); animation: profile-side-slide-in 0.2s ease-out; } @keyframes profile-side-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } } .profile-side-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 1; } .profile-side-title { font-size: 17px; font-weight: 700; color: var(--text-h); } .profile-side-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: none; color: var(--text-h); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; } .profile-side-close:hover { background: var(--hover-bg); } .profile-side-body { overflow-y: auto; flex: 1; } .profile-side-banner { width: 100%; max-height: 140px; overflow: hidden; background: var(--border); } .profile-side-banner img { width: 100%; height: 140px; object-fit: cover; } .profile-side-info { padding: 0 16px 12px; position: relative; } .profile-side-info-top { display: flex; justify-content: space-between; align-items: flex-start; } .profile-side-avatar-wrap { margin-top: -30px; } .profile-side-info.no-banner .profile-side-avatar-wrap { margin-top: 0; } .profile-side-avatar { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; background: var(--border); } .profile-side-avatar-placeholder { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--bg); background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: var(--accent); } .profile-side-names { margin-top: 6px; display: flex; flex-direction: column; } .profile-side-name-row { display: flex; align-items: baseline; gap: 6px; } .profile-side-display-name { font-size: 17px; font-weight: 700; color: var(--text-h); } .profile-side-pronouns { font-size: 12px; font-weight: 400; color: var(--text); white-space: nowrap; } .profile-side-handle { font-size: 13px; color: var(--text); } .profile-side-handle-row { display: flex; align-items: center; gap: 6px; } .profile-side-bio { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--text-h); white-space: pre-wrap; word-break: break-word; } .profile-side-website { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--accent); text-decoration: none; word-break: break-all; transition: opacity 0.15s; } .profile-side-website:hover { text-decoration: underline; } .profile-side-website svg { font-size: 11px; flex-shrink: 0; } .profile-side-meta { margin-top: 8px; display: flex; gap: 12px; } .profile-side-meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text); } .profile-side-meta-item svg { font-size: 11px; } .profile-side-stats { margin-top: 8px; display: flex; gap: 14px; } .profile-side-stat { font-size: 12px; color: var(--text); background: none; border: none; padding: 0; font-family: inherit; cursor: default; } .profile-side-stat strong { color: var(--text-h); font-weight: 600; } .profile-side-stat--clickable { cursor: pointer; transition: opacity 0.15s; } .profile-side-stat--clickable:hover strong { text-decoration: underline; } .profile-side-tabs { display: flex; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 1; } .profile-side-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px 0; background: none; border: none; border-bottom: 2px solid transparent; color: var(--text); font-size: 12px; font-weight: 500; font-family: inherit; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; } .profile-side-tab:hover { background: var(--hover-bg); color: var(--accent); } .profile-side-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; } .profile-side-tab-icon { font-size: 12px; } .profile-side-tab-label { display: inline; } @media (max-width: 1100px) { .profile-side-tab-label { display: none; } .profile-side-tab-icon { font-size: 14px; } } .profile-side-feed { border-top: none; } .profile-side-loading { padding: 24px 16px; text-align: center; color: var(--text); font-size: 13px; } .profile-side-error { padding: 24px 16px; text-align: center; color: #ef4444; font-size: 13px; } .profile-side-empty { padding: 24px 16px; text-align: center; color: var(--text); font-size: 13px; } .profile-side-load-more { display: block; width: 100%; padding: 10px; background: none; border: none; border-top: 1px solid var(--border); color: var(--accent); font-size: 13px; cursor: pointer; font-family: inherit; transition: background 0.15s; } .profile-side-load-more:hover { background: var(--hover-bg); } .profile-side-load-more:disabled { opacity: 0.5; cursor: not-allowed; } @media (max-width: 1100px) { .profile-side-panel.open { width: 400px; } } @media (max-width: 768px) { .profile-side-panel.open { width: 100%; } } [data-theme="dark"] .profile-side-panel.open { box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3); } .profile-side-pinned-post { border-bottom: 1px solid var(--border); } .profile-side-pinned-label { display: flex; align-items: center; gap: 6px; padding: 8px 16px 0; font-size: 12px; font-weight: 500; color: var(--text); } .profile-side-pinned-icon { font-size: 11px; }