.lr-modal-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: flex-start; padding: 60px 20px; overflow-y: auto; animation: lr-fade 0.15s ease-out; } @keyframes lr-fade { from { opacity: 0; } to { opacity: 1; } } .lr-modal-content { background: var(--bg); border-radius: 16px; width: 100%; max-width: 480px; max-height: calc(100vh - 120px); display: flex; flex-direction: column; box-shadow: var(--shadow); animation: lr-slide 0.2s ease-out; overflow: hidden; } @keyframes lr-slide { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .lr-modal-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; } .lr-modal-title { font-size: 17px; font-weight: 700; color: var(--text-h); } .lr-modal-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: none; color: var(--text-h); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; } .lr-modal-close:hover { background: var(--hover-bg); } .lr-modal-body { overflow-y: auto; flex: 1; padding: 8px 0; } .lr-modal-loading, .lr-modal-empty, .lr-modal-error { padding: 40px 20px; text-align: center; color: var(--text); } .lr-modal-error { color: #e53e3e; } .lr-modal-user { display: flex; align-items: center; gap: 12px; padding: 10px 16px; transition: background 0.15s; } .lr-modal-user:hover { background: var(--hover-bg); } .lr-modal-user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; } .lr-modal-user-avatar-placeholder { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--accent); flex-shrink: 0; } .lr-modal-user-info { display: flex; flex-direction: column; min-width: 0; } .lr-modal-user-name { font-size: 14px; font-weight: 600; color: var(--text-h); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lr-modal-user-handle { font-size: 13px; color: var(--text); } .lr-modal-load-more { display: block; width: 100%; padding: 12px; border: none; background: none; color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s; } .lr-modal-load-more:hover { background: var(--hover-bg); } .lr-modal-load-more:disabled { opacity: 0.5; cursor: not-allowed; } [data-theme="dark"] .lr-modal-overlay { background: rgba(0, 0, 0, 0.7); } @media (max-width: 768px) { .lr-modal-overlay { padding: 0; align-items: flex-end; } .lr-modal-content { max-width: 100%; max-height: 80vh; border-radius: 16px 16px 0 0; } }