: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:#fff;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;min-width:320px;min-height:100vh}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:#f0f0f0;cursor:pointer;transition:border-color .25s}button:hover{border-color:#0077b5}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:dark){:root{color:#e0e0e0;background-color:#1a1a1a}a:hover{color:#747bff}button{background-color:#2a2a2a}}.consent-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:linear-gradient(135deg,#1a1a2e,#16213e);border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -4px 20px #0000004d;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.consent-content{max-width:1200px;margin:0 auto;padding:1rem 1.5rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1.5rem}.consent-text{margin:0;font-size:.9rem;line-height:1.5;color:#ffffffe6;flex:1}.consent-buttons{display:flex;gap:.75rem;flex-shrink:0}.consent-btn{padding:.6rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;white-space:nowrap}.consent-btn-decline{background:transparent;color:#ffffffb3;border:1px solid rgba(255,255,255,.2)}.consent-btn-decline:hover{background:#ffffff1a;color:#ffffffe6;border-color:#ffffff4d}.consent-btn-accept{background:linear-gradient(135deg,#0077b5,#0a66c2);color:#fff}.consent-btn-accept:hover{background:linear-gradient(135deg,#08c,#0a77d4);transform:translateY(-1px);box-shadow:0 4px 12px #0077b566}@media(max-width:640px){.consent-content{flex-direction:column;text-align:center;padding:1rem;gap:1rem}.consent-text{font-size:.85rem}.consent-buttons{width:100%;justify-content:center}.consent-btn{flex:1;max-width:140px}}.rich-text-editor-container{width:100%;height:100%;display:flex;flex-direction:column;border:1px solid var(--border-color, #ddd);border-radius:8px;overflow:hidden;background:var(--editor-bg, white);position:relative}.rich-text-toolbar{border-bottom:1px solid var(--border-color, #ddd);background:var(--toolbar-bg, #f8f9fa);padding:12px;display:flex;flex-wrap:wrap;gap:8px}.toolbar-btn strong,.toolbar-btn em,.toolbar-btn u,.toolbar-btn s{font-size:14px}.rich-text-editor{flex:1;overflow-y:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:300px;font-size:16px;line-height:1.6;padding:20px;color:var(--text-color, #333);outline:none}.rich-text-editor[contenteditable]:empty:before{content:attr(data-placeholder);color:var(--placeholder-color, #999);font-style:normal;pointer-events:none}.rich-text-editor.focused{background:var(--editor-bg, white)}.rich-text-editor h1{font-size:2em;font-weight:700;margin:.5em 0;line-height:1.3}.rich-text-editor h2{font-size:1.5em;font-weight:700;margin:.5em 0;line-height:1.3}.rich-text-editor h3{font-size:1.25em;font-weight:700;margin:.5em 0;line-height:1.3}.rich-text-editor p{margin:.5em 0}.rich-text-editor div{margin:.25em 0}.rich-text-editor strong,.rich-text-editor b{font-weight:700}.rich-text-editor em,.rich-text-editor i{font-style:italic}.rich-text-editor u{text-decoration:underline}.rich-text-editor s,.rich-text-editor strike{text-decoration:line-through}.rich-text-editor ul,.rich-text-editor ol{padding-left:1.5em;margin:.5em 0}.rich-text-editor li{margin:.25em 0}.rich-text-editor blockquote{border-left:4px solid var(--blockquote-border, #ccc);padding-left:16px;margin:1em 0;color:var(--blockquote-color, #666);font-style:italic}.rich-text-editor pre{background:var(--code-bg, #f5f5f5);border:1px solid var(--border-color, #ddd);border-radius:4px;padding:12px;margin:1em 0;overflow-x:auto;font-family:Courier New,Courier,monospace;white-space:pre-wrap}.rich-text-editor code{background:var(--code-bg, #f5f5f5);padding:2px 6px;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:.9em}.rich-text-editor a{color:var(--link-color, #007bff);text-decoration:underline}.rich-text-editor a:hover{color:var(--link-hover-color, #0056b3)}@media(prefers-color-scheme:dark){.rich-text-editor-container{--editor-bg: #1e1e1e;--toolbar-bg: #2d2d2d;--text-color: #e0e0e0;--border-color: #404040;--button-hover-bg: #3d3d3d;--button-active-bg: #4d4d4d;--placeholder-color: #888;--blockquote-border: #555;--blockquote-color: #aaa;--code-bg: #2d2d2d;--link-color: #4da6ff;--link-hover-color: #80bfff}}@media(max-width:768px){.rich-text-toolbar{padding:8px;gap:4px}.toolbar-btn{min-width:28px;height:28px;padding:0 6px;font-size:13px}.rich-text-editor{font-size:14px;padding:15px}}.rich-text-editor::-webkit-scrollbar{width:8px}.rich-text-editor::-webkit-scrollbar-track{background:var(--editor-bg, white)}.rich-text-editor::-webkit-scrollbar-thumb{background:var(--border-color, #ddd);border-radius:4px}.rich-text-editor::-webkit-scrollbar-thumb:hover{background:var(--text-color, #999)}.markdown-editor-container{width:100%;height:100%;display:flex;flex-direction:column;border:1px solid var(--border-color, #ddd);border-radius:8px;overflow:hidden;background:var(--editor-bg, white);position:relative}.markdown-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:var(--toolbar-bg, #f8f9fa);border-bottom:1px solid var(--border-color, #ddd)}.toolbar-group{display:flex;gap:4px}.toolbar-separator{width:1px;background:var(--border-color, #ddd);margin:0 4px}.toolbar-btn{min-width:32px;height:32px;padding:0 8px;border:none;background:transparent;color:var(--text-color, #333);border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.toolbar-btn:hover{background:var(--button-hover-bg, #e9ecef)}.toolbar-btn:active{background:var(--button-active-bg, #dee2e6);transform:scale(.95)}.toolbar-btn strong,.toolbar-btn em,.toolbar-btn s{font-size:14px}.toolbar-btn-emoji{font-size:18px}.emoji-picker-container{position:absolute;top:60px;right:20px;z-index:1000;box-shadow:0 4px 16px #0003;border-radius:8px;overflow:hidden}.markdown-textarea{flex:1;width:100%;min-height:300px;padding:20px;border:none;outline:none;font-family:Courier New,Courier,monospace;font-size:15px;line-height:1.6;resize:none;background:var(--editor-bg, white);color:var(--text-color, #333)}.markdown-textarea::placeholder{color:var(--placeholder-color, #999);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.markdown-help{border-top:1px solid var(--border-color, #ddd);background:var(--help-bg, #f8f9fa)}.markdown-help details{padding:0}.markdown-help summary{padding:10px 20px;cursor:pointer;font-size:13px;color:var(--text-secondary, #666);-webkit-user-select:none;user-select:none;transition:background .2s ease}.markdown-help summary:hover{background:var(--button-hover-bg, #e9ecef)}.markdown-help summary::marker{content:"▶ "}.markdown-help details[open] summary::marker{content:"▼ "}.help-content{padding:15px 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;background:var(--editor-bg, white);border-top:1px solid var(--border-color, #ddd)}.help-section{font-size:13px}.help-section strong{display:block;margin-bottom:8px;color:var(--text-color, #333);font-size:14px}.help-section ul{list-style:none;padding:0;margin:0}.help-section li{margin:4px 0;color:var(--text-secondary, #666);line-height:1.5}.help-section code{background:var(--code-bg, #f5f5f5);padding:2px 6px;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:12px;color:var(--code-color, #e83e8c)}@media(prefers-color-scheme:dark){.markdown-editor-container{--editor-bg: #1e1e1e;--toolbar-bg: #2d2d2d;--help-bg: #252525;--text-color: #e0e0e0;--text-secondary: #aaa;--border-color: #404040;--button-hover-bg: #3d3d3d;--button-active-bg: #4d4d4d;--placeholder-color: #888;--code-bg: #2d2d2d;--code-color: #ff6b9d}}@media(max-width:768px){.markdown-toolbar{padding:8px;gap:4px}.toolbar-btn{min-width:28px;height:28px;padding:0 6px;font-size:13px}.markdown-textarea{font-size:14px;padding:15px}.help-content{grid-template-columns:1fr;gap:12px}.markdown-help summary{padding:8px 15px;font-size:12px}.help-content{padding:12px 15px}}.markdown-textarea::-webkit-scrollbar{width:8px}.markdown-textarea::-webkit-scrollbar-track{background:var(--editor-bg, white)}.markdown-textarea::-webkit-scrollbar-thumb{background:var(--border-color, #ddd);border-radius:4px}.markdown-textarea::-webkit-scrollbar-thumb:hover{background:var(--text-secondary, #999)}.post-formatter-container{max-width:1400px;margin:0 auto;padding:2rem}.header{text-align:center;margin-bottom:2rem}.header h1{font-size:2.5rem;margin-bottom:.5rem;background:linear-gradient(135deg,#0077b5,#00a0dc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{font-size:1.1rem;color:#666;margin:0}.formatter-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.editor-section,.preview-section{background:#f8f9fa;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.section-header h2{font-size:1.5rem;margin:0;color:#333}.header-controls{display:flex;align-items:center;gap:1rem}.mode-toggle{display:flex;background:#e0e0e0;border-radius:8px;padding:3px;gap:2px}.mode-btn{padding:.5rem 1rem;border:none;background:transparent;color:#666;font-size:.9rem;font-weight:600;cursor:pointer;border-radius:6px;transition:all .2s ease;font-family:inherit}.mode-btn:hover{color:#333}.mode-btn.active{background:#fff;color:#0077b5;box-shadow:0 2px 4px #0000001a}.character-count{font-size:.9rem;color:#666;font-weight:500;white-space:nowrap}.character-count.over-limit{color:#dc3545;font-weight:700}.editor-wrapper{margin-bottom:1rem}.post-input{width:100%;min-height:300px;padding:1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;line-height:1.6;transition:border-color .3s}.post-input:focus{outline:none;border-color:#0077b5}.emoji-picker{margin:1.5rem 0}.emoji-picker h3{font-size:1rem;margin-bottom:.75rem;color:#555}.emoji-list{display:flex;flex-wrap:wrap;gap:.5rem}.emoji-button{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:.5rem;font-size:1.5rem;cursor:pointer;transition:all .2s;min-width:45px;min-height:45px;display:flex;align-items:center;justify-content:center}.emoji-button:hover{transform:scale(1.1);border-color:#0077b5;box-shadow:0 2px 8px #0077b533}.emoji-button:active{transform:scale(.95)}.action-buttons{display:flex;gap:1rem;margin-top:1rem;flex-wrap:wrap}.copy-buttons{display:flex;gap:.5rem;flex:1;flex-wrap:wrap}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;font-family:inherit;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-clear{background-color:#6c757d;color:#fff;min-width:100px}.btn-clear:hover:not(:disabled){background-color:#5a6268;transform:translateY(-2px);box-shadow:0 4px 12px #6c757d4d}.btn-copy{background-color:#6c757d;color:#fff;flex:1;min-width:140px}.btn-copy.btn-primary{background-color:#0077b5}.btn-copy:hover:not(:disabled){background-color:#5a6268;transform:translateY(-2px);box-shadow:0 4px 12px #6c757d4d}.btn-copy.btn-primary:hover:not(:disabled){background-color:#005582;box-shadow:0 4px 12px #0077b54d}.post-preview{background:#fff;border:2px solid #e0e0e0;border-radius:8px;padding:1.5rem;min-height:300px;max-height:600px;overflow-y:auto}.preview-text{white-space:pre-wrap;word-wrap:break-word;color:#333;line-height:1.6;font-size:1rem}.formatted-content{white-space:normal}.formatted-content h1{font-size:2em;font-weight:700;margin:.5em 0;line-height:1.3;color:#333}.formatted-content h2{font-size:1.5em;font-weight:700;margin:.5em 0;line-height:1.3;color:#333}.formatted-content h3{font-size:1.25em;font-weight:700;margin:.5em 0;line-height:1.3;color:#333}.formatted-content p{margin:.5em 0}.formatted-content strong{font-weight:700}.formatted-content em{font-style:italic}.formatted-content u{text-decoration:underline}.formatted-content s,.formatted-content del{text-decoration:line-through}.formatted-content ul,.formatted-content ol{padding-left:1.5em;margin:.5em 0}.formatted-content li{margin:.25em 0}.formatted-content blockquote{border-left:4px solid #ccc;padding-left:16px;margin:1em 0;color:#666;font-style:italic}.formatted-content pre{background:#f5f5f5;border:1px solid #ddd;border-radius:4px;padding:12px;margin:1em 0;overflow-x:auto}.formatted-content code{background:#f5f5f5;padding:2px 6px;border-radius:3px;font-family:Courier New,Courier,monospace;font-size:.9em}.formatted-content pre code{background:transparent;padding:0}.formatted-content a{color:#0077b5;text-decoration:underline}.formatted-content a:hover{color:#005582}.preview-placeholder{color:#999;font-style:italic;text-align:center;padding:2rem}.preview-placeholder small{display:block;margin-top:.5rem;font-size:.9em}.footer{text-align:center;padding:1.5rem;background:#f0f7ff;border-radius:12px;border-left:4px solid #0077b5}.footer p{margin:0;color:#555;font-size:1rem}@media(max-width:968px){.formatter-content{grid-template-columns:1fr}.header h1{font-size:2rem}.subtitle{font-size:1rem}.header-controls{width:100%;justify-content:space-between}}@media(max-width:640px){.post-formatter-container{padding:1rem}.header h1{font-size:1.75rem}.action-buttons{flex-direction:column}.copy-buttons{width:100%}.btn-copy{min-width:unset}.emoji-button{min-width:40px;min-height:40px;font-size:1.25rem}.section-header{flex-direction:column;align-items:flex-start}.header-controls,.mode-toggle{width:100%}.mode-btn{flex:1}}@media(prefers-color-scheme:dark){.editor-section,.preview-section{background:#2a2a2a}.section-header h2{color:#e0e0e0}.subtitle,.character-count{color:#aaa}.mode-toggle{background:#404040}.mode-btn{color:#aaa}.mode-btn:hover{color:#e0e0e0}.mode-btn.active{background:#1a1a1a;color:#0077b5}.post-input{background:#1a1a1a;color:#e0e0e0;border-color:#404040}.post-input:focus{border-color:#0077b5}.emoji-picker h3{color:#aaa}.emoji-button{background:#1a1a1a;border-color:#404040}.emoji-button:hover{border-color:#0077b5}.post-preview{background:#1a1a1a;border-color:#404040}.preview-text,.formatted-content h1,.formatted-content h2,.formatted-content h3{color:#e0e0e0}.formatted-content blockquote{border-left-color:#555;color:#aaa}.formatted-content pre{background:#2d2d2d;border-color:#404040}.formatted-content code{background:#2d2d2d}.formatted-content a{color:#4da6ff}.formatted-content a:hover{color:#80bfff}.preview-placeholder{color:#666}.footer{background:#1a2a3a;border-left-color:#0077b5}.footer p{color:#aaa}}.app{width:100%;min-height:100vh}
