:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;letter-spacing:1px}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.profile-container{max-width:700px;margin:20px auto;padding:20px;font-family:sans-serif;border:1px solid #ddd;border-radius:8px}h2{text-align:center;margin-top:0;margin-bottom:25px;border-bottom:1px solid #eee;padding-bottom:10px}h3{margin-top:0;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #eee;font-size:1.2em}label{display:block;margin-top:15px;margin-bottom:5px;font-weight:700;font-size:.9em}input[type=text]{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;margin-bottom:5px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 15px;margin-top:20px;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:1em;text-align:center;transition:background-color .2s ease}button:hover{background-color:#0056b3}button:disabled{background-color:#ccc;cursor:not-allowed}button[onClick*=backupAllProfiles]{background-color:#6c757d;margin-top:10px;width:auto;padding:8px 15px;font-size:.9em}button[onClick*=backupAllProfiles]:hover{background-color:#5a6268}.save-message{margin-top:15px;padding:10px;border-radius:5px;font-weight:700;text-align:center}.save-message.success{background-color:#d1e7dd;color:#0f5132;border:1px solid #badbcc}.save-message.error{background-color:#f8d7da;color:#842029;border:1px solid #f5c2c7}.search-input{margin-bottom:20px}.profile-list{margin-top:10px}.profile-card{border:1px solid #e0e0e0;padding:15px;margin-bottom:15px;border-radius:6px;box-shadow:0 1px 3px #0000000d}.profile-header{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #f0f0f0}.profile-icon{flex-shrink:0}.profile-card strong{font-size:1.1em}.profile-card p{margin:6px 0;font-size:.95em;display:flex;align-items:center;gap:5px}.section-box{border:1px solid #e0e0e0;padding:15px 20px;margin-bottom:25px;border-radius:5px}.identity-management .pubkey-display{border:1px solid #adc6ff;padding:10px;border-radius:4px;margin-bottom:15px}.identity-management .pubkey-display code{font-family:monospace;font-size:.9em;word-break:break-all}.identity-management .pubkey-display small{display:inline-block;margin-left:8px;font-size:.85em}.identity-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}label.button{display:inline-flex;align-items:center;justify-content:center;background-color:#5bc0de;color:#fff;border:none;border-radius:5px;cursor:pointer;font-size:.9em;gap:5px;transition:background-color .2s ease;margin-top:0;height:30px;width:auto}label.button:hover{background-color:#31b0d5}.key-action{width:auto;font-size:.9em;padding:8px 15px;margin-top:0}.secondary-button{background-color:#6c757d;color:#fff}.secondary-button:hover{background-color:#5a6268}.profile-form button{width:100%;background-color:#5cb85c;margin-top:20px}.profile-form button:hover{background-color:#449d44}.community-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:20px}.community-actions .search-input{flex-grow:1;margin:0;min-width:200px}.community-actions button{margin-top:0;width:auto}hr{border:none;border-top:1px dashed #ccc;margin:30px 0}.bulletin-section{margin-top:20px}.bulletin-container h2{text-align:left;border-bottom:none;margin-bottom:15px;font-size:1.3em}.post-input-area textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;margin-bottom:10px;min-height:60px}.post-input-area button{width:auto;padding:8px 15px;margin-top:0}.offline-indicator{padding:10px 15px;background-color:#fff3cd;border:1px solid #ffeeba;color:#856404;text-align:center;border-radius:4px;margin-bottom:20px;font-weight:700;font-size:.9em}.offline-indicator svg{vertical-align:middle;margin-right:8px}.bulletin-container h2{font-size:1.3em;margin-bottom:20px;text-align:left;border-bottom:1px solid #eee;padding-bottom:8px}.post-input-area{display:flex;flex-direction:column;gap:10px;margin-bottom:25px}.post-input-area textarea{width:100%;min-height:70px;padding:10px;border:1px solid #ccc;border-radius:4px;font-size:1em;font-family:inherit;resize:vertical;box-sizing:border-box;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out}.post-input-area textarea:focus{border-color:#007bff;box-shadow:0 0 0 2px #007bff40;outline:none}.post-input-area textarea:disabled{opacity:.6;cursor:not-allowed}.post-input-area button{width:auto;padding:10px 20px;font-size:1em;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;align-self:flex-end;margin-top:0;transition:background-color .2s ease}.post-input-area button:hover:not(:disabled){background-color:#218838}.post-input-area button:disabled{background-color:#ccc;cursor:not-allowed;opacity:.7}.bulletin-container .error-message,.bulletin-container .fetch-error-message{padding:8px 12px;margin:15px 0;border-radius:4px;font-size:.9em;text-align:center}.bulletin-container .error-message{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.bulletin-container .fetch-error-message{background-color:#fff3cd;color:#856404;border:1px solid #ffeeba}.bulletin-container p{letter-spacing:.5px;text-align:center;margin:25px 0}.posts-list{margin-top:25px}.post{border:1px solid #e8e8e8;padding:12px 15px;margin-bottom:15px;border-radius:5px;box-shadow:0 1px 2px #0000000a;transition:box-shadow .2s ease}.post:hover{box-shadow:0 2px 5px #00000014}.post-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:5px}.post-username{font-weight:700;font-size:1.05em;margin-right:10px;word-break:break-word}.post-content{margin:8px 0 10px;line-height:1.5;word-wrap:break-word}.post-timestamp{font-size:.8em;color:#777;white-space:nowrap;flex-shrink:0}.post.failed-post{border-left:4px solid #ffc107;opacity:.85}.failed-indicator{color:#ffc107;margin-left:5px;font-weight:700}.reddit-container{max-width:800px;margin:2rem auto;padding:1rem;font-family:sans-serif;color:#333}h1{text-align:center;color:#ff4500}.controls{margin-bottom:1.5rem;display:flex;justify-content:flex-end}.controls select{padding:.5rem;border-radius:4px;border:1px solid #ccc}.submit-post{background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;padding:1rem;margin-bottom:2rem;display:flex;flex-direction:column;gap:.75rem}.submit-post input,.submit-post textarea{padding:.8rem;border:1px solid #ccc;border-radius:4px;font-size:1rem;width:100%;box-sizing:border-box}.submit-post button{padding:.8rem 1.5rem;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:1rem;align-self:flex-end;transition:background-color .2s ease}.submit-post button:hover:not(:disabled){background-color:#0056b3}.submit-post button:disabled{background-color:#ccc;cursor:not-allowed}.loading-message,.error-message{text-align:center;padding:1rem;color:#777}.error-message{color:red}.posts-list{display:flex;flex-direction:column;gap:1.5rem}.post-card{border:1px solid #e0e0e0;border-radius:6px;padding:1rem 1.5rem;background-color:#fff;box-shadow:0 1px 3px #0000000d;margin-bottom:1.5rem}h3{margin-top:0;margin-bottom:.5rem;color:#222}.author{font-size:.8rem;color:#777;margin-bottom:.8rem}.post-content{margin-bottom:1rem;color:#555;white-space:pre-wrap;word-wrap:break-word}.post-footer{border-top:1px solid #eee;padding-top:1rem;margin-top:1rem}.votes{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.votes button{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:.2rem;line-height:1;color:#888}.votes button:hover{color:#ff4500}.votes span{font-weight:700;min-width:20px;text-align:center;color:#333}.comment{border-left:2px solid #eee;padding-left:12px;margin-bottom:12px;margin-top:8px}.comment p{margin-top:0;margin-bottom:4px;word-wrap:break-word}.comment strong{color:#333}.reply-btn{color:#0070f3;background:none;border:none;cursor:pointer;font-size:13px;padding:2px 0}.reply-btn:hover:not(:disabled){text-decoration:underline}.reply-btn:disabled{color:#aaa;cursor:not-allowed}.reply-form{margin-top:6px;display:flex;flex-direction:column;gap:4px}.reply-form input{width:100%;padding:6px;border:1px solid #ddd;border-radius:4px;box-sizing:border-box;font-size:14px}.submit-btn{padding:6px 12px;background:#0070f3;color:#fff;border:none;border-radius:4px;cursor:pointer;align-self:flex-start;font-size:13px}.submit-btn:hover:not(:disabled){background:#005ecb}.submit-btn:disabled{background-color:#ccc;cursor:not-allowed}.replies{margin-left:16px}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}
