* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #1a1a1a; background: #fff; } #app { max-width: 800px; margin: 0 auto; padding: 20px; } /* Dark mode */ @media (prefers-color-scheme: dark) { body { background: #0a0a0a; color: #e0e0e0; } .profile { background: #1a1a1a; } .post-item { border-color: #333; } .post-link:hover { background: #1a1a1a; } .browser-input { background: #1a1a1a; border-color: #333; color: #e0e0e0; } } /* Header */ #header { margin-bottom: 24px; } .header-form { display: flex; gap: 8px; align-items: center; } .header-input { flex: 1; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; } .header-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f0f0f0; color: #333; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; font-size: 16px; font-weight: bold; } .header-btn:hover { background: #e0e0e0; } .header-btn.at-btn { background: #0066cc; color: #fff; border-color: #0066cc; } .header-btn.at-btn:hover { background: #0052a3; } .header-btn.login-btn { color: #666; } .header-btn.user-btn { background: #0066cc; color: #fff; border-color: #0066cc; } /* Post Form */ .post-form-container { padding: 20px 0; } .post-form-container h3 { font-size: 18px; margin-bottom: 16px; } .post-form { display: flex; flex-direction: column; gap: 12px; } .post-form-title { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; } .post-form-body { padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; resize: vertical; min-height: 120px; font-family: inherit; } .post-form-footer { display: flex; justify-content: space-between; align-items: center; } .post-form-collection { font-size: 12px; color: #888; font-family: monospace; } .post-form-btn { padding: 10px 24px; background: #0066cc; color: #fff; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; } .post-form-btn:hover { background: #0052a3; } .post-form-btn:disabled { background: #ccc; cursor: not-allowed; } .post-status { margin-top: 12px; } .post-success { color: #155724; } .post-error { color: #dc3545; } /* Profile */ .profile { display: flex; gap: 16px; padding: 20px; background: #f5f5f5; border-radius: 12px; margin-bottom: 24px; } .profile-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; } .profile-info { flex: 1; } .profile-name { font-size: 20px; font-weight: 600; margin-bottom: 4px; } .profile-handle { font-size: 14px; color: #666; margin-bottom: 8px; } .profile-desc { font-size: 14px; color: #444; } /* Post List */ .post-list { list-style: none; } .post-item { border-bottom: 1px solid #eee; } .post-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 8px; text-decoration: none; color: inherit; } .post-link:hover { background: #f9f9f9; } .post-title { font-weight: 500; } .post-date { font-size: 13px; color: #888; } /* Post Detail */ .post-detail { padding: 20px 0; } .post-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; } .post-header .post-title { font-size: 28px; font-weight: 600; margin-bottom: 8px; } .post-meta { display: flex; align-items: center; gap: 12px; } .post-header .post-date { font-size: 14px; color: #888; } .json-btn { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; background: #f0f0f0; color: #666; border-radius: 4px; text-decoration: none; font-family: monospace; font-size: 12px; } .json-btn:hover { background: #e0e0e0; color: #333; } .post-content { font-size: 16px; line-height: 1.8; white-space: pre-wrap; } .post-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid #eee; } .back-link { color: #0066cc; text-decoration: none; } .back-link:hover { text-decoration: underline; } /* Utility */ .no-posts, .no-data, .error { padding: 40px; text-align: center; color: #888; } .loading { padding: 40px; text-align: center; color: #666; } /* Footer */ .site-footer { margin-top: 60px; padding: 20px 0; text-align: center; font-size: 13px; color: #888; } .site-footer p { margin: 4px 0; } /* Mode Tabs */ .mode-tabs { display: flex; gap: 4px; margin-bottom: 16px; } .tab { padding: 8px 16px; text-decoration: none; color: #666; border-radius: 6px; font-size: 14px; } .tab:hover { background: #f0f0f0; } .tab.active { background: #0066cc; color: #fff; } /* AT Browser */ .collections, .records, .record-detail { padding: 16px 0; } .collections h3, .records h3, .record-detail h3 { font-size: 18px; margin-bottom: 12px; } .collection-list, .record-list { list-style: none; } .collection-item, .record-item { border-bottom: 1px solid #eee; } .collection-link, .record-link { display: flex; align-items: center; gap: 12px; padding: 12px 8px; text-decoration: none; color: inherit; font-family: monospace; font-size: 14px; } .collection-link:hover, .record-link:hover { background: #f9f9f9; } .collection-favicon { width: 20px; height: 20px; flex-shrink: 0; } .collection-nsid { flex: 1; } .collection-service { font-size: 12px; color: #888; font-family: -apple-system, BlinkMacSystemFont, sans-serif; } .record-link { display: flex; gap: 16px; } .record-rkey { color: #0066cc; min-width: 120px; } .record-preview { color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .record-count { font-size: 13px; color: #888; margin-bottom: 12px; } /* Record Detail */ .record-header { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee; } .record-uri, .record-cid { font-family: monospace; font-size: 12px; color: #666; margin: 4px 0; word-break: break-all; } .schema-status { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 12px; margin-top: 8px; } .schema-verified { background: #d4edda; color: #155724; } .schema-none { background: #f0f0f0; color: #666; } /* JSON View */ .json-view { background: #f5f5f5; border-radius: 8px; padding: 16px; overflow-x: auto; } .json-view pre { margin: 0; } .json-view code { font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; font-size: 13px; line-height: 1.5; } /* Dark mode additions */ @media (prefers-color-scheme: dark) { .header-input { background: #1a1a1a; border-color: #333; color: #e0e0e0; } .header-btn { background: #2a2a2a; border-color: #333; color: #e0e0e0; } .header-btn:hover { background: #333; } .header-btn.at-btn, .header-btn.user-btn { background: #0066cc; border-color: #0066cc; color: #fff; } .post-form-title, .post-form-body { background: #1a1a1a; border-color: #333; color: #e0e0e0; } .json-btn { background: #2a2a2a; color: #888; } .json-btn:hover { background: #333; color: #e0e0e0; } .tab:hover { background: #333; } .tab.active { background: #0066cc; } .collection-link:hover, .record-link:hover { background: #1a1a1a; } .collection-item, .record-item, .record-header { border-color: #333; } .json-view { background: #1a1a1a; } .schema-verified { background: #1e3a29; color: #75b798; } .schema-none { background: #2a2a2a; color: #888; } }