:root { --bg-primary: #0c0a14; --bg-secondary: #110e1c; --bg-tertiary: #1a1528; --bg-card: #14111f; --bg-hover: #1e1932; --bg-elevated: #1a1528; --text-primary: #f4f0ff; --text-secondary: #a89ec8; --text-tertiary: #6b5f8a; --accent: #a855f7; --accent-hover: #c084fc; --accent-subtle: rgba(168, 85, 247, 0.15); --border: #2d2640; --border-hover: #3d3560; --success: #22c55e; --error: #ef4444; --warning: #f59e0b; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-full: 9999px; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4); --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.1); --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.3); --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 16px; } body { font-family: var(--font-sans); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; } a:hover { color: var(--accent-hover); } button { font-family: inherit; cursor: pointer; border: none; background: none; } input, textarea { font-family: inherit; font-size: inherit; } .app { min-height: 100vh; display: flex; flex-direction: column; } .main-content { flex: 1; max-width: 680px; width: 100%; margin: 0 auto; padding: 24px 16px; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; font-size: 0.9rem; font-weight: 500; border-radius: var(--radius-md); transition: all 0.15s ease; } .btn-primary { background: var(--accent); color: white; } .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border); } .btn-secondary:hover { background: var(--bg-hover); border-color: var(--border-hover); } .btn-ghost { color: var(--text-secondary); padding: 8px 12px; } .btn-ghost:hover { color: var(--text-primary); background: var(--bg-tertiary); } .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: all 0.2s ease; position: relative; } .card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); } .annotation-card { display: flex; flex-direction: column; gap: 16px; } .annotation-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; } .annotation-header-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; } .annotation-avatar { width: 40px; height: 40px; min-width: 40px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.95rem; color: white; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .annotation-avatar img { width: 100%; height: 100%; object-fit: cover; } .annotation-meta { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; } .annotation-avatar-link { text-decoration: none; border-radius: var(--radius-full); transition: transform 0.15s ease; } .annotation-avatar-link:hover { transform: scale(1.05); } .annotation-author-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .annotation-author { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; } .annotation-handle { font-size: 0.85rem; color: var(--text-tertiary); text-decoration: none; display: flex; align-items: center; gap: 3px; } .annotation-handle:hover { color: var(--accent); } .annotation-time { font-size: 0.8rem; color: var(--text-tertiary); } .annotation-content { display: flex; flex-direction: column; gap: 12px; } .annotation-source { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-tertiary); text-decoration: none; padding: 4px 10px; background: var(--bg-tertiary); border-radius: var(--radius-full); width: fit-content; transition: all 0.15s ease; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .annotation-source:hover { color: var(--text-primary); background: var(--bg-hover); } .annotation-source-title { color: var(--text-secondary); opacity: 0.8; } .annotation-highlight { display: block; position: relative; padding: 16px 20px; background: linear-gradient( 135deg, rgba(79, 70, 229, 0.03), rgba(168, 85, 247, 0.03) ); border-left: 3px solid var(--accent); border-radius: 4px var(--radius-md) var(--radius-md) 4px; text-decoration: none; transition: all 0.2s ease; margin: 4px 0; } .annotation-highlight:hover { background: linear-gradient( 135deg, rgba(79, 70, 229, 0.08), rgba(168, 85, 247, 0.08) ); transform: translateX(2px); } .annotation-highlight mark { background: transparent; color: var(--text-primary); font-style: italic; font-size: 1.05rem; line-height: 1.6; font-weight: 400; display: inline; } .annotation-text { font-size: 1rem; line-height: 1.65; color: var(--text-primary); white-space: pre-wrap; } .annotation-actions { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.03); } .annotation-actions-left { display: flex; align-items: center; gap: 8px; } .annotation-action { display: flex; align-items: center; gap: 6px; color: var(--text-tertiary); font-size: 0.85rem; font-weight: 500; padding: 6px 10px; border-radius: var(--radius-md); transition: all 0.2s ease; background: transparent; cursor: pointer; } .annotation-action:hover { color: var(--text-secondary); background: var(--bg-elevated); } .annotation-action.liked { color: #ef4444; background: rgba(239, 68, 68, 0.05); } .annotation-action.liked:hover { background: rgba(239, 68, 68, 0.1); } .annotation-action.active { color: var(--accent); background: var(--accent-subtle); } .action-icon-only { padding: 8px; } .annotation-delete { background: none; border: none; cursor: pointer; padding: 8px; font-size: 1rem; color: var(--text-tertiary); transition: all 0.2s ease; border-radius: var(--radius-md); opacity: 0.6; } .annotation-delete:hover { color: var(--error); background: rgba(239, 68, 68, 0.1); opacity: 1; } .annotation-delete:disabled { cursor: not-allowed; opacity: 0.3; } .share-menu-container { position: relative; } .share-menu { position: absolute; top: 100%; right: 0; margin-top: 8px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); min-width: 180px; padding: 8px 0; z-index: 100; animation: fadeInUp 0.15s ease; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } } .share-menu-section { display: flex; flex-direction: column; } .share-menu-label { padding: 4px 12px 8px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-tertiary); } .share-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: none; border: none; width: 100%; text-align: left; font-size: 0.9rem; color: var(--text-primary); cursor: pointer; transition: all 0.1s ease; } .share-menu-item:hover { background: var(--bg-tertiary); } .share-menu-icon { font-size: 1.1rem; width: 24px; text-align: center; } .share-menu-divider { height: 1px; background: var(--border); margin: 6px 0; } .feed { display: flex; flex-direction: column; gap: 16px; } .feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .feed-title { font-size: 1.5rem; font-weight: 700; } .page-header { margin-bottom: 32px; } .page-title { font-size: 2rem; font-weight: 700; margin-bottom: 8px; } .page-description { color: var(--text-secondary); font-size: 1.1rem; } .url-input-wrapper { margin-bottom: 32px; } .url-input-container { display: flex; gap: 12px; } .url-input { flex: 1; padding: 14px 18px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 1rem; transition: all 0.15s ease; } .url-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } .url-input::placeholder { color: var(--text-tertiary); } .empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); } .empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; } .empty-state-title { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; } .empty-state-text { font-size: 1rem; max-width: 400px; margin: 0 auto; } .feed-filters { display: flex; gap: 8px; margin-bottom: 24px; padding: 4px; background: var(--bg-tertiary); border-radius: var(--radius-lg); width: fit-content; } .login-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; padding: 60px 20px; width: 100%; max-width: 500px; margin: 0 auto; } .login-at-logo { font-size: 5rem; font-weight: 800; color: var(--accent); margin-bottom: 24px; line-height: 1; } .login-heading { font-size: 1.5rem; font-weight: 600; margin-bottom: 32px; display: flex; align-items: center; gap: 10px; text-align: center; line-height: 1.4; } .login-help-btn { background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 4px; display: flex; align-items: center; transition: color 0.15s; flex-shrink: 0; } .login-help-btn:hover { color: var(--accent); } .login-help-text { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; text-align: center; } .login-help-text code { background: var(--bg-tertiary); padding: 2px 8px; border-radius: var(--radius-sm); font-size: 0.9rem; } .login-form { display: flex; flex-direction: column; gap: 20px; width: 100%; } .login-input-wrapper { position: relative; } .login-input { width: 100%; padding: 18px 20px; background: var(--bg-elevated); border: 2px solid var(--border); border-radius: var(--radius-lg); color: var(--text-primary); font-size: 1.1rem; transition: border-color 0.15s, box-shadow 0.15s; } .login-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); } .login-input::placeholder { color: var(--text-tertiary); } .login-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 100; } .login-suggestion { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; background: transparent; border: none; cursor: pointer; text-align: left; color: var(--text-primary); transition: background 0.1s; } .login-suggestion:hover, .login-suggestion.selected { background: var(--bg-elevated); } .login-suggestion-avatar { width: 44px; height: 44px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; font-size: 0.9rem; font-weight: 600; color: white; } .login-suggestion-avatar img { width: 100%; height: 100%; object-fit: cover; } .login-suggestion-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .login-suggestion-name { font-weight: 600; font-size: 1rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .login-suggestion-handle { font-size: 0.9rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .login-error { padding: 12px 16px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--radius-md); color: #ef4444; font-size: 0.9rem; text-align: center; } .login-submit { padding: 18px 32px; font-size: 1.1rem; font-weight: 600; } .login-avatar-large { width: 100px; height: 100px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-weight: 700; font-size: 2rem; color: white; overflow: hidden; } .login-avatar-large img { width: 100%; height: 100%; object-fit: cover; } .login-welcome { font-size: 1.5rem; font-weight: 600; margin-bottom: 32px; text-align: center; } .login-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; } .login-avatar { width: 72px; height: 72px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-weight: 700; font-size: 1.5rem; color: white; overflow: hidden; } .login-avatar img { width: 100%; height: 100%; object-fit: cover; } .login-welcome-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 24px; } .login-actions { display: flex; flex-direction: column; gap: 12px; } .btn-bluesky { background: #0085ff; color: white; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.2s, transform 0.2s; } .btn-bluesky:hover { background: #0070dd; transform: translateY(-1px); } .login-btn { width: 100%; padding: 14px 24px; font-size: 1rem; font-weight: 600; } .login-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; } .login-brand-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--accent), #a855f7); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 800; color: white; } .login-brand-name { font-size: 1.75rem; font-weight: 700; } .login-form { display: flex; flex-direction: column; gap: 16px; } .login-input-wrapper { position: relative; } .login-input { width: 100%; padding: 14px 16px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s; } .login-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); } .login-input::placeholder { color: var(--text-tertiary); } .login-suggestions { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 100; } .login-suggestion { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: transparent; border: none; cursor: pointer; text-align: left; transition: background 0.1s; } .login-suggestion:hover, .login-suggestion.selected { background: var(--bg-elevated); } .login-suggestion-avatar { width: 40px; height: 40px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; font-size: 0.875rem; font-weight: 600; color: white; } .login-suggestion-avatar img { width: 100%; height: 100%; object-fit: cover; } .login-suggestion-info { display: flex; flex-direction: column; min-width: 0; } .login-suggestion-name { font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .login-suggestion-handle { font-size: 0.875rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .login-error { padding: 12px 16px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--radius-md); color: #ef4444; font-size: 0.875rem; } .login-legal { font-size: 0.75rem; color: var(--text-tertiary); line-height: 1.5; margin-top: 16px; } .profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); } .profile-avatar { width: 80px; height: 80px; min-width: 80px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 2rem; color: white; overflow: hidden; } .profile-avatar img { width: 100%; height: 100%; object-fit: cover; } .profile-avatar-link { text-decoration: none; } .profile-info { flex: 1; } .profile-name { font-size: 1.5rem; font-weight: 700; } .profile-handle-link { color: var(--text-secondary); text-decoration: none; } .profile-handle-link:hover { color: var(--accent); text-decoration: underline; } .profile-bluesky-link { display: inline-flex; align-items: center; gap: 6px; color: #0085ff; text-decoration: none; font-size: 0.95rem; padding: 4px 10px; border-radius: var(--radius-md); background: rgba(0, 133, 255, 0.1); transition: all 0.15s ease; } .profile-bluesky-link:hover { background: rgba(0, 133, 255, 0.2); color: #0070dd; } .profile-stats { display: flex; gap: 24px; margin-top: 8px; } .profile-stat { color: var(--text-secondary); font-size: 0.9rem; } .profile-stat strong { color: var(--text-primary); } .profile-tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); } .profile-tab { padding: 12px 20px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); background: transparent; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: all 0.15s ease; margin-bottom: -1px; } .profile-tab:hover { color: var(--text-primary); background: var(--bg-tertiary); } .profile-tab.active { color: var(--accent); border-bottom-color: var(--accent); } .bookmark-description { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.5; } .bookmark-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 0.85rem; color: var(--text-tertiary); } .bookmark-time { color: var(--text-tertiary); } .composer { margin-bottom: 24px; } .composer-textarea { width: 100%; min-height: 120px; padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 1rem; resize: vertical; transition: all 0.15s ease; } .composer-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } .composer-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; } .composer-char-count { font-size: 0.85rem; color: var(--text-tertiary); } .composer-char-count.warning { color: var(--warning); } .composer-char-count.error { color: var(--error); } .composer-add-quote { width: 100%; padding: 12px 16px; margin-bottom: 12px; background: var(--bg-tertiary); border: 1px dashed var(--border); border-radius: var(--radius-md); color: var(--text-secondary); font-size: 0.9rem; cursor: pointer; transition: all 0.15s ease; } .composer-add-quote:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); } .composer-quote-input-wrapper { margin-bottom: 12px; } .composer-quote-input { width: 100%; padding: 12px 16px; background: linear-gradient( 135deg, rgba(79, 70, 229, 0.05), rgba(168, 85, 247, 0.05) ); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--text-primary); font-size: 0.95rem; font-style: italic; resize: vertical; font-family: inherit; transition: all 0.15s ease; } .composer-quote-input:focus { outline: none; border-color: var(--accent); } .composer-quote-input::placeholder { color: var(--text-tertiary); font-style: italic; } .composer-quote-remove-btn { margin-top: 8px; padding: 6px 12px; background: none; border: none; color: var(--text-tertiary); font-size: 0.85rem; cursor: pointer; } .composer-quote-remove-btn:hover { color: var(--error); } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } .skeleton { background: linear-gradient( 90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75% ); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); } .skeleton-text { height: 1em; margin-bottom: 8px; } .skeleton-text:last-child { width: 60%; } @media (max-width: 640px) { .main-content { padding: 16px 12px; } .navbar-inner { padding: 0 16px; } .page-title { font-size: 1.5rem; } .url-input-container { flex-direction: column; } .profile-header { flex-direction: column; text-align: center; } .profile-stats { justify-content: center; } } .main { flex: 1; width: 100%; } .page-container { max-width: 680px; margin: 0 auto; padding: 24px 16px; } .navbar-logo { width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent), #8b5cf6); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: white; } .navbar-user { display: flex; align-items: center; gap: 8px; } .navbar-avatar { width: 36px; height: 36px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.85rem; color: white; text-decoration: none; } .btn-sm { padding: 6px 12px; font-size: 0.85rem; } .composer-url { font-size: 0.85rem; color: var(--text-secondary); word-break: break-all; } .composer-quote { position: relative; padding: 12px 16px; padding-right: 36px; background: var(--bg-secondary); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 16px; font-style: italic; color: var(--text-secondary); } .composer-quote-remove { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--bg-tertiary); color: var(--text-secondary); font-size: 1rem; display: flex; align-items: center; justify-content: center; } .composer-quote-remove:hover { background: var(--bg-hover); color: var(--text-primary); } .composer-input { width: 100%; min-height: 120px; padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 1rem; resize: vertical; transition: all 0.15s ease; } .composer-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } .composer-input::placeholder { color: var(--text-tertiary); } .composer-tags { margin-top: 12px; } .composer-tags-input { width: 100%; padding: 12px 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.95rem; transition: all 0.15s ease; } .composer-tags-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } .composer-tags-input::placeholder { color: var(--text-tertiary); } .composer-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; } .composer-count { font-size: 0.85rem; color: var(--text-tertiary); } .composer-actions { display: flex; gap: 8px; } .composer-error { margin-top: 12px; padding: 12px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--radius-md); color: var(--error); font-size: 0.9rem; } .annotation-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; margin-bottom: 8px; } .annotation-tag { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--bg-tertiary); color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; border-radius: var(--radius-full); transition: all 0.15s ease; border: 1px solid transparent; text-decoration: none; } .annotation-tag:hover { background: var(--bg-hover); color: var(--text-primary); border-color: var(--border); transform: translateY(-1px); } .url-input-wrapper { margin-bottom: 24px; } .url-input { width: 100%; padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: 1.1rem; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); } .url-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-subtle); background: var(--bg-primary); } .url-input::placeholder { color: var(--text-tertiary); } .annotation-detail-page { max-width: 680px; margin: 0 auto; padding: 24px 16px; } .annotation-detail-header { margin-bottom: 24px; } .back-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; } .back-link:hover { color: var(--accent); } .replies-section { margin-top: 32px; } .replies-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); } .reply-form { margin-bottom: 24px; } .reply-input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.95rem; resize: vertical; margin-bottom: 12px; font-family: inherit; } .reply-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } .replies-list { display: flex; flex-direction: column; gap: 12px; } .reply-card { padding: 16px; background: var(--bg-secondary); border-radius: var(--radius-md); border: 1px solid var(--border); } .reply-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .reply-avatar-link { text-decoration: none; } .reply-avatar { width: 36px; height: 36px; min-width: 36px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.85rem; color: white; overflow: hidden; } .reply-avatar img { width: 100%; height: 100%; object-fit: cover; } .reply-meta { flex: 1; min-width: 0; } .reply-author { font-weight: 600; color: var(--text-primary); } .reply-handle { font-size: 0.85rem; color: var(--text-tertiary); text-decoration: none; margin-left: 6px; } .reply-handle:hover { color: var(--accent); text-decoration: underline; } .reply-time { font-size: 0.85rem; color: var(--text-tertiary); white-space: nowrap; } .reply-text { color: var(--text-primary); line-height: 1.5; margin: 0; } .replies-title { display: flex; align-items: center; gap: 8px; } .replies-title svg { color: var(--accent); } .replies-list-threaded { display: flex; flex-direction: column; gap: 8px; } .reply-card-threaded { padding: 16px; transition: background 0.15s ease; } .reply-card-threaded .reply-header { margin-bottom: 8px; } .reply-card-threaded .reply-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .reply-dot { color: var(--text-tertiary); font-size: 0.75rem; } .reply-actions { display: flex; gap: 4px; margin-left: auto; } .reply-action-btn { background: none; border: none; padding: 4px 8px; color: var(--text-tertiary); cursor: pointer; border-radius: var(--radius-sm); transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; } .reply-action-btn:hover { color: var(--accent); background: var(--accent-subtle); } .reply-action-delete:hover { color: var(--error); background: rgba(239, 68, 68, 0.1); } .replying-to-banner { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; margin-bottom: 12px; background: var(--accent-subtle); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-secondary); } .cancel-reply { background: none; border: none; font-size: 1.2rem; color: var(--text-tertiary); cursor: pointer; padding: 0 4px; line-height: 1; } .cancel-reply:hover { color: var(--text-primary); } .reply-form.card { padding: 16px; margin-bottom: 16px; } .reply-form-actions { display: flex; justify-content: flex-end; } .inline-replies { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; } .main-reply-composer { margin-top: 16px; background: var(--bg-secondary); padding: 12px; border-radius: var(--radius-md); } .reply-input { width: 100%; min-height: 80px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); color: var(--text-primary); font-family: inherit; font-size: 0.95rem; resize: vertical; display: block; } .reply-input:focus { border-color: var(--accent); outline: none; } .reply-input.small { min-height: 60px; font-size: 0.9rem; margin-bottom: 8px; } .composer-actions { display: flex; justify-content: flex-end; } .btn-block { width: 100%; text-align: left; padding: 8px 12px; color: var(--text-secondary); background: var(--bg-tertiary); border-radius: var(--radius-md); margin-top: 8px; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; } .btn-block:hover { background: var(--border); color: var(--text-primary); } .annotation-action.active { color: var(--accent); } .new-page { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; } .loading-spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 60px auto; } @keyframes spin { to { transform: rotate(360deg); } } .navbar { position: sticky; top: 0; z-index: 1000; background: rgba(12, 10, 20, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); } .navbar-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; } .navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; } .navbar-logo { width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent), #8b5cf6); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: white; } .navbar-title { font-weight: 700; font-size: 1.25rem; color: var(--text-primary); } .navbar-center { display: flex; align-items: center; gap: 8px; background: var(--bg-tertiary); padding: 4px; border-radius: var(--radius-lg); } .navbar-link { display: flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; border-radius: var(--radius-md); transition: all 0.15s ease; } .navbar-link:hover { color: var(--text-primary); background: var(--bg-hover); } .navbar-link.active { color: var(--text-primary); background: var(--bg-card); box-shadow: var(--shadow-sm); } .navbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; } .navbar-icon-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--text-tertiary); border-radius: var(--radius-md); transition: all 0.15s ease; } .navbar-icon-link:hover { color: var(--text-primary); background: var(--bg-tertiary); } .navbar-icon-link.active { color: var(--accent); background: var(--accent-subtle); } .navbar-new-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: linear-gradient(135deg, var(--accent), #8b5cf6); color: white; font-size: 0.85rem; font-weight: 600; text-decoration: none; border-radius: var(--radius-full); transition: all 0.2s ease; } .navbar-new-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); color: white; } .navbar-user-section { display: flex; align-items: center; gap: 4px; } .navbar-avatar { width: 32px; height: 32px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.75rem; color: white; text-decoration: none; transition: transform 0.15s ease; } .navbar-avatar:hover { transform: scale(1.05); } .navbar-logout { width: 24px; height: 24px; border: none; background: transparent; color: var(--text-tertiary); font-size: 1.25rem; cursor: pointer; border-radius: var(--radius-sm); transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; } .navbar-logout:hover { color: var(--error); background: rgba(239, 68, 68, 0.1); } .navbar-signin { padding: 8px 16px; background: var(--accent); color: white; font-size: 0.9rem; font-weight: 500; text-decoration: none; border-radius: var(--radius-full); transition: all 0.15s ease; } .navbar-signin:hover { background: var(--accent-hover); color: white; } .navbar-user-menu { position: relative; } .navbar-avatar-btn { width: 36px; height: 36px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); border: none; cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform 0.15s ease, box-shadow 0.15s ease; } .navbar-avatar-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); } .navbar-avatar-img { width: 100%; height: 100%; object-fit: cover; } .navbar-avatar-text { font-weight: 600; font-size: 0.75rem; color: white; } .navbar-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 1001; animation: dropdownFade 0.15s ease; } @keyframes dropdownFade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } } .navbar-dropdown-header { padding: 12px 16px; background: var(--bg-secondary); } .navbar-dropdown-name { display: block; font-weight: 600; color: var(--text-primary); font-size: 0.9rem; } .navbar-dropdown-handle { display: block; color: var(--text-tertiary); font-size: 0.8rem; margin-top: 2px; } .navbar-dropdown-divider { height: 1px; background: var(--border); } .navbar-dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; font-size: 0.9rem; color: var(--text-primary); text-decoration: none; background: none; border: none; cursor: pointer; transition: background 0.15s ease; text-align: left; } .navbar-dropdown-item:hover { background: var(--bg-tertiary); } .navbar-dropdown-logout { color: var(--error); border-top: 1px solid var(--border); } .navbar-dropdown-logout:hover { background: rgba(239, 68, 68, 0.1); } @media (max-width: 768px) { .navbar-inner { padding: 10px 16px; } .navbar-title { display: none; } .navbar-center { display: none; } .navbar-new-btn span { display: none; } .navbar-new-btn { width: 36px; height: 36px; padding: 0; justify-content: center; } } .collections-list { display: flex; flex-direction: column; gap: 2px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; } .collection-row { display: flex; align-items: center; background: var(--bg-card); transition: background 0.15s ease; } .collection-row:not(:last-child) { border-bottom: 1px solid var(--border); } .collection-row:hover { background: var(--bg-secondary); } .collection-row-content { flex: 1; display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-decoration: none; min-width: 0; } .collection-row-icon { width: 44px; height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; background: linear-gradient( 135deg, rgba(79, 70, 229, 0.1), rgba(168, 85, 247, 0.15) ); color: var(--accent); border-radius: var(--radius-md); transition: all 0.2s ease; } .collection-row:hover .collection-row-icon { background: linear-gradient( 135deg, rgba(79, 70, 229, 0.15), rgba(168, 85, 247, 0.2) ); transform: scale(1.05); } .collection-row-info { flex: 1; min-width: 0; } .collection-row-name { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin: 0 0 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .collection-row:hover .collection-row-name { color: var(--accent); } .collection-row-desc { font-size: 0.85rem; color: var(--text-secondary); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .collection-row-arrow { color: var(--text-tertiary); opacity: 0; transition: all 0.2s ease; } .collection-row:hover .collection-row-arrow { opacity: 1; color: var(--accent); transform: translateX(2px); } .collection-row-edit { padding: 10px; margin-right: 12px; color: var(--text-tertiary); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer; opacity: 0; transition: all 0.15s ease; } .collection-row:hover .collection-row-edit { opacity: 1; } .collection-row-edit:hover { color: var(--text-primary); background: var(--bg-tertiary); } .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-tertiary); font-size: 0.9rem; font-weight: 500; text-decoration: none; margin-bottom: 24px; transition: color 0.15s ease; } .back-link:hover { color: var(--accent); } .collection-detail-header { display: flex; gap: 20px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 32px; position: relative; } .collection-detail-icon { width: 56px; height: 56px; min-width: 56px; display: flex; align-items: center; justify-content: center; background: linear-gradient( 135deg, rgba(79, 70, 229, 0.1), rgba(168, 85, 247, 0.1) ); color: var(--accent); border-radius: var(--radius-md); } .collection-detail-info { flex: 1; min-width: 0; } .collection-detail-visibility { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: capitalize; margin-bottom: 8px; } .collection-detail-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.3; } .collection-detail-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.5; margin-bottom: 12px; max-width: 600px; } .collection-detail-stats { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-tertiary); } .collection-detail-actions { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; gap: 8px; } .collection-detail-actions .share-menu-container { display: flex; align-items: center; } .collection-detail-actions .annotation-action { padding: 10px; color: var(--text-tertiary); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; } .collection-detail-actions .annotation-action:hover { color: var(--accent); background: var(--bg-tertiary); } .collection-detail-edit, .collection-detail-delete { padding: 10px; color: var(--text-tertiary); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; } .collection-detail-edit:hover { color: var(--accent); background: var(--bg-tertiary); } .collection-detail-delete:hover { color: var(--error); background: rgba(239, 68, 68, 0.1); } .collection-item-wrapper { position: relative; } .collection-item-remove { position: absolute; top: 12px; left: -40px; z-index: 10; padding: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-tertiary); cursor: pointer; opacity: 0; transition: all 0.15s ease; } .collection-item-wrapper:hover .collection-item-remove { opacity: 1; } .collection-item-remove:hover { color: var(--error); border-color: var(--error); background: rgba(239, 68, 68, 0.05); } .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; animation: fadeIn 0.2s ease-out; } .modal-container { background: var(--bg-secondary); border-radius: var(--radius-lg); width: 100%; max-width: 28rem; border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: zoomIn 0.2s ease-out; } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); } .modal-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); } .modal-close-btn { padding: 8px; color: var(--text-tertiary); border-radius: var(--radius-md); transition: color 0.15s; } .modal-close-btn:hover { color: var(--text-primary); background: var(--bg-hover); } .modal-form { padding: 16px; display: flex; flex-direction: column; gap: 16px; } .icon-picker-tabs { display: flex; gap: 4px; margin-bottom: 12px; } .icon-picker-tab { flex: 1; padding: 8px 12px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.15s ease; } .icon-picker-tab:hover { background: var(--bg-tertiary); } .icon-picker-tab.active { background: var(--accent); border-color: var(--accent); color: white; } .emoji-picker-wrapper { display: flex; flex-direction: column; gap: 10px; } .emoji-custom-input input { width: 100%; } .emoji-picker, .icon-picker { display: flex; flex-wrap: wrap; gap: 4px; max-height: 120px; overflow-y: auto; padding: 8px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); } .emoji-option, .icon-option { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: transparent; border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; color: var(--text-secondary); } .emoji-option:hover, .icon-option:hover { background: var(--bg-tertiary); transform: scale(1.1); color: var(--text-primary); } .emoji-option.selected, .icon-option.selected { border-color: var(--accent); background: var(--accent-subtle); color: var(--accent); } .form-group { margin-bottom: 0; } .form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; } .form-input, .form-textarea, .form-select { width: 100%; padding: 8px 12px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); transition: all 0.15s; } .form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-subtle); } .form-textarea { resize: none; } .modal-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 8px; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes zoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .annotation-detail-page { max-width: 680px; margin: 0 auto; padding: 24px 16px; } .annotation-detail-header { margin-bottom: 24px; } .back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 0.9rem; transition: color 0.15s; } .back-link:hover { color: var(--text-primary); } .text-secondary { color: var(--text-secondary); } .text-error { color: var(--error); } .text-center { text-align: center; } .flex { display: flex; } .items-center { align-items: center; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .mt-3 { margin-top: 12px; } .mb-6 { margin-bottom: 24px; } .btn-text { background: none; border: none; color: var(--text-secondary); font-size: 0.9rem; padding: 8px 12px; cursor: pointer; transition: color 0.15s; } .btn-text:hover { color: var(--text-primary); } .btn-sm { padding: 6px 12px; font-size: 0.85rem; } .annotation-edit-btn { background: none; border: none; cursor: pointer; padding: 6px 8px; color: var(--text-tertiary); border-radius: var(--radius-sm); transition: all 0.15s ease; } .annotation-edit-btn:hover { color: var(--accent); background: var(--accent-subtle); } .spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; } .spinner-sm { width: 16px; height: 16px; border-width: 2px; } @keyframes spin { to { transform: rotate(360deg); } } .collection-list-item { width: 100%; text-align: left; padding: 12px 16px; border-radius: var(--radius-md); background: var(--bg-primary); border: 1px solid transparent; color: var(--text-primary); transition: all 0.15s ease; display: flex; align-items: center; justify-content: space-between; cursor: pointer; } .collection-list-item:hover { background: var(--bg-hover); border-color: var(--border); } .collection-list-item:hover .collection-list-item-icon { opacity: 1; } .collection-list-item:disabled { opacity: 0.6; cursor: not-allowed; } .item-delete-overlay { position: absolute; top: 16px; right: 16px; z-index: 10; opacity: 0; transition: opacity 0.15s ease; } .card:hover .item-delete-overlay, div:hover > .item-delete-overlay { opacity: 1; } .btn-icon-danger { padding: 8px; background: var(--error); color: white; border: none; border-radius: var(--radius-md); cursor: pointer; box-shadow: var(--shadow-md); transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; } .btn-icon-danger:hover { background: #dc2626; transform: scale(1.05); } .action-buttons { display: flex; gap: 8px; } .action-buttons-end { display: flex; justify-content: flex-end; gap: 8px; } .filter-tab { padding: 8px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); background: transparent; border: none; border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s ease; } .filter-tab:hover { color: var(--text-primary); background: var(--bg-hover); } .filter-tab.active { color: var(--text-primary); background: var(--bg-card); box-shadow: var(--shadow-sm); } .inline-reply { padding: 12px 16px; border-bottom: 1px solid var(--border); } .inline-reply:last-child { border-bottom: none; } .inline-reply-avatar { width: 28px; height: 28px; min-width: 28px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--accent), #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.7rem; color: white; overflow: hidden; } .inline-reply-avatar img, .inline-reply-avatar-placeholder { width: 100%; height: 100%; object-fit: cover; } .inline-reply-avatar-placeholder { display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.7rem; color: white; } .inline-reply-content { flex: 1; min-width: 0; } .inline-reply-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .inline-reply-author { font-weight: 600; font-size: 0.85rem; color: var(--text-primary); } .inline-reply-handle { color: var(--text-tertiary); font-size: 0.8rem; text-decoration: none; } .inline-reply-time { color: var(--text-tertiary); font-size: 0.75rem; margin-left: auto; } .inline-reply-text { font-size: 0.9rem; color: var(--text-primary); line-height: 1.5; } .inline-reply-action { display: flex; align-items: center; gap: 4px; padding: 4px 8px; font-size: 0.8rem; color: var(--text-tertiary); background: none; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; } .inline-reply-action:hover { color: var(--text-secondary); background: var(--bg-hover); } .inline-reply-composer { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; } .history-panel { background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; margin-bottom: 1rem; font-size: 0.9rem; animation: fadeIn 0.2s ease-out; } .history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); } .history-title { font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; color: var(--text-secondary); } .history-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; } .history-item { position: relative; padding-left: 1rem; border-left: 2px solid var(--border); } .history-date { font-size: 0.75rem; color: var(--text-tertiary); margin-bottom: 0.25rem; } .history-content { color: var(--text-secondary); white-space: pre-wrap; } .history-close-btn { color: var(--text-tertiary); padding: 4px; border-radius: var(--radius-sm); transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .history-close-btn:hover { background: var(--bg-hover); color: var(--text-primary); } .history-status { text-align: center; color: var(--text-tertiary); font-style: italic; padding: 1rem; } .form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; } .color-input-container { display: flex; align-items: center; gap: 12px; background: var(--bg-tertiary); padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid var(--border); width: fit-content; } .color-input-wrapper { position: relative; width: 32px; height: 32px; border-radius: var(--radius-full); overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: transform 0.1s; } .color-input-wrapper:hover { transform: scale(1.1); border-color: var(--accent); } .color-input-wrapper input[type="color"] { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; padding: 0; margin: 0; border: none; cursor: pointer; opacity: 0; } .bookmark-card { display: flex; flex-direction: column; gap: 16px; } .bookmark-preview { display: flex; flex-direction: column; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; transition: all 0.2s ease; position: relative; } .bookmark-preview:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-1px); } .bookmark-preview::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); opacity: 0.7; } .bookmark-preview-content { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; } .bookmark-preview-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .bookmark-preview-site { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; display: flex; align-items: center; gap: 6px; } .bookmark-preview-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; } .bookmark-preview-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; } .bookmark-preview-arrow { display: none; } .bookmark-preview:hover { background: var(--bg-tertiary); border-color: var(--accent-subtle); transform: translateY(-1px); } .bookmark-preview-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .bookmark-preview-site { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.03em; } .bookmark-preview-title { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .bookmark-preview-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .bookmark-preview-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-tertiary); padding: 0 4px; transition: all 0.2s ease; } .bookmark-preview:hover .bookmark-preview-arrow { color: var(--accent); transform: translateX(2px); } .navbar-logo-img { width: 24px; height: 24px; object-fit: contain; } .login-logo-img { width: 80px; height: 80px; margin-bottom: 24px; object-fit: contain; } .legal-content { max-width: 800px; margin: 0 auto; padding: 20px; } .legal-content h1 { font-size: 2rem; margin-bottom: 8px; color: var(--text-primary); } .legal-content h2 { font-size: 1.4rem; margin-top: 32px; margin-bottom: 12px; color: var(--text-primary); } .legal-content h3 { font-size: 1.1rem; margin-top: 20px; margin-bottom: 8px; color: var(--text-primary); } .legal-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; } .legal-content ul { color: var(--text-secondary); line-height: 1.7; margin-left: 24px; margin-bottom: 12px; } .legal-content li { margin-bottom: 6px; } .legal-content a { color: var(--accent); text-decoration: none; } .legal-content a:hover { text-decoration: underline; } .legal-content section { margin-bottom: 24px; } .input { width: 100%; padding: 12px 14px; font-size: 0.95rem; color: var(--text-primary); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); outline: none; transition: all 0.15s ease; } .input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); } .input::placeholder { color: var(--text-tertiary); } .notifications-page { max-width: 680px; margin: 0 auto; } .notifications-list { display: flex; flex-direction: column; gap: 12px; } .notification-item { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit; } .notification-item:hover { background: var(--bg-hover); } .notification-icon { width: 36px; height: 36px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; background: var(--bg-tertiary); color: var(--text-secondary); flex-shrink: 0; } .notification-icon[data-type="like"] { color: #ef4444; background: rgba(239, 68, 68, 0.1); } .notification-icon[data-type="reply"] { color: #3b82f6; background: rgba(59, 130, 246, 0.1); } .notification-content { flex: 1; min-width: 0; } .notification-text { font-size: 0.95rem; margin-bottom: 4px; line-height: 1.4; color: var(--text-primary); } .notification-text strong { font-weight: 600; } .notification-time { font-size: 0.85rem; color: var(--text-tertiary); } .notification-link { position: relative; } .notification-badge { position: absolute; top: -2px; right: -2px; background: var(--error); color: white; font-size: 0.7rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--bg-primary); }