.bskyplus-bookmarks-toast { position: fixed; z-index: 2147483647; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); box-sizing: border-box; display: flex; align-items: center; gap: 16px; width: max-content; max-width: min(520px, calc(100vw - 32px)); padding: 14px 16px; border: 1px solid #1083fe; border-radius: 12px; background: #1c232d; color: #f1f3f5; box-shadow: 0 8px 32px #0005; font: 500 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } .bskyplus-bookmarks-toast[data-kind="error"] { border-color: #ff6b6b; } .bskyplus-bookmarks-toast button { flex-shrink: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; padding: 4px 8px; font-size: 20px; } .bskyplus-bookmarks-toast button:focus-visible { outline: 2px solid #1083fe; } [data-bskyplus-bookmark-actions] { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-inline-start: auto; max-width: 55%; } [data-bskyplus-bookmark-actions] .bskyplus-bookmarks-button { min-width: 0; min-height: 32px; padding: 6px 8px; font-size: 12px; } [data-bskyplus-bookmark-actions] [data-bookmark-sync] { flex-shrink: 0; } [data-bskyplus-bookmark-header] > :nth-last-child(2):empty { display: none; } [data-bskyplus-bookmarks] { box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; max-width: min(100%, var(--bskyplus-feed-width, 600px)); margin: 0 auto; padding: 12px 16px; color: var(--bskyplus-theme-text, inherit); } .bskyplus-bookmarks-button { appearance: none; min-height: 36px; padding: 8px 12px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 999px; background: rgb(34, 46, 63); color: inherit; font: 600 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; transition: border-color 0.15s ease; } .bskyplus-bookmarks-button:hover:not(:disabled) { border-color: color-mix(in srgb, currentColor 30%, transparent); } .bskyplus-bookmarks-button:focus-visible { outline: 2px solid #1083fe; outline-offset: 3px; } .bskyplus-bookmarks-button:disabled { opacity: 0.45; cursor: not-allowed; } /* Keep progress available to assistive technology and in the sync tooltip. */ .bskyplus-bookmarks-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } .bskyplus-bookmarks-search { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 4px; } .bskyplus-bookmarks-search label { display: flex; flex-direction: column; gap: 6px; min-width: 0; font: 600 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } .bskyplus-bookmarks-search label:first-child { grid-column: 1 / -1; } .bskyplus-bookmarks-search input, .bskyplus-bookmarks-search .bskyplus-bookmarks-select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 10px; background: var(--bskyplus-bookmarks-background, #ffffff); color: inherit; font: 400 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } .bskyplus-bookmarks-select-field { position: relative; } .bskyplus-bookmarks-select-field::after { content: ""; position: absolute; right: 15px; bottom: 17px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: 0.7; pointer-events: none; } .bskyplus-bookmarks-search .bskyplus-bookmarks-select { appearance: none; padding-right: 38px; text-align: left; cursor: pointer; transition: border-color 0.15s ease; } .bskyplus-bookmarks-search .bskyplus-bookmarks-select:hover { border-color: color-mix(in srgb, currentColor 35%, transparent); } .bskyplus-bookmarks-author-field { position: relative; min-width: 0; } .bskyplus-bookmarks-authors, .bskyplus-bookmarks-options { box-sizing: border-box; position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; max-height: 280px; overflow-y: auto; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 8px; background: var(--bskyplus-bookmarks-background, #ffffff); color: var(--bskyplus-bookmarks-foreground, #1c232d); box-shadow: 0 6px 20px #0003; } .bskyplus-bookmarks-authors[popover], .bskyplus-bookmarks-options[popover] { position: fixed; inset: auto; margin: 0; } .bskyplus-bookmarks-authors[hidden], .bskyplus-bookmarks-options[hidden] { display: none !important; } .bskyplus-bookmarks-authors [role="option"], .bskyplus-bookmarks-options [role="option"] { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; cursor: pointer; overflow-wrap: anywhere; font-size: 13px; } .bskyplus-bookmarks-authors [role="option"] { flex-direction: row; align-items: center; gap: 10px; padding-left: 6px; } .bskyplus-bookmarks-author-avatar { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; max-width: 32px; max-height: 32px; overflow: hidden; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, transparent); font-weight: 600; } .bskyplus-bookmarks-author-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; } .bskyplus-bookmarks-author-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; } .bskyplus-bookmarks-author-copy > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bskyplus-bookmarks-authors [role="option"] span { opacity: 0.7; font-size: 12px; } .bskyplus-bookmarks-authors [role="option"]:hover, .bskyplus-bookmarks-authors [aria-selected="true"], .bskyplus-bookmarks-options [role="option"]:hover, .bskyplus-bookmarks-options [aria-selected="true"] { background: color-mix(in srgb, currentColor 12%, transparent); } .bskyplus-bookmarks-search input::placeholder { color: inherit; opacity: 0.6; } .bskyplus-bookmarks-search input:focus-visible, .bskyplus-bookmarks-search .bskyplus-bookmarks-select:focus-visible { outline: 2px solid #1083fe; outline-offset: 2px; } .bskyplus-bookmarks-search [data-bookmark-results] { grid-column: 1 / -1; align-self: center; margin: 0; font-size: 12px; line-height: 1.4; } @media (max-width: 360px) { .bskyplus-bookmarks-search { grid-template-columns: minmax(0, 1fr); } } .bskyplus-bookmarks-search [hidden] { display: none !important; } .bskyplus-bookmarks-dialog { box-sizing: border-box; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; border: 1px solid color-mix(in srgb, var(--bskyplus-bookmarks-foreground) 20%, transparent); border-radius: 16px; background: var(--bskyplus-bookmarks-background, #ffffff); color: var(--bskyplus-bookmarks-foreground, #1c232d); box-shadow: 0 16px 60px #0006; } .bskyplus-bookmarks-dialog::backdrop { background: #0009; } .bskyplus-bookmarks-dialog-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; } .bskyplus-bookmarks-dialog-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; } .bskyplus-bookmarks-dialog-header h2:focus { outline: none; } .bskyplus-bookmarks-dialog-header h2 { margin: 0; font: 600 20px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }