/* LINK PREVIEWS */ .post-link-previews { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; } .link-preview-card { display: block; padding: 0.5rem 0.75rem; border: 1px solid var(--border); background: var(--light-background); text-decoration: none; color: var(--detail); transition: background 0.2s ease; } .link-preview-card:hover { background: var(--surface-muted); text-decoration: none; } .lp-title { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; font-weight: bold; } .lp-desc { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; } .lp-url { display: block; font-size: 0.7rem; font-family: "IBM Plex Mono", monospace; color: var(--text-muted); margin-top: 0.15rem; } /* SEARCH MODAL */ .search-toggle { font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; color: var(--text-muted); background: none; border: 1px solid var(--border); padding: 0.25rem 0.75rem; cursor: pointer; transition: opacity 0.2s ease; } .search-toggle:hover { opacity: 0.7; } .search-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; display: flex; justify-content: center; padding-top: 10vh; } .search-modal[hidden] { display: none; } .search-modal-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); } .search-modal-content { position: relative; width: 100%; max-width: 600px; max-height: 70vh; display: flex; flex-direction: column; background: var(--light-background); border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); z-index: 1; } .search-input { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; font-family: "IBM Plex Mono", monospace; background: var(--background); border: none; border-bottom: 1px solid var(--border); color: var(--detail); outline: none; } .search-input:focus { border-bottom-color: var(--highlight); } .search-results-container { overflow-y: auto; max-height: calc(70vh - 3rem); } .search-results { list-style: none; margin: 0; padding: 0; } .search-result { border-bottom: 1px solid var(--border); } .search-result:last-child { border-bottom: none; } .search-result-link { display: block; padding: 0.6rem 1rem; text-decoration: none; color: var(--detail); transition: background 0.1s ease; } .search-result-link:hover, .search-result.search-active .search-result-link { background: var(--surface-muted); text-decoration: none; } .search-result-title { display: block; font-weight: bold; font-size: 0.9rem; } .search-result-meta { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; color: var(--text-muted); margin-top: 0.15rem; } .search-result-snippet { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .search-empty { padding: 1.5rem 1rem; text-align: center; color: var(--text-muted); font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; } /* POST ENDORSEMENTS */ .endorsed { color: var(--highlight); font-weight: bold; } .endorsement-count { color: var(--detail); font-size: 0.85rem; margin-left: 0.25rem; }