:root[data-theme=dark]{--bg-primary:#000;--bg-secondary:#0a0a0a;--bg-tertiary:#141414;--text-primary:#fff;--text-secondary:#a0a0a0;--text-tertiary:#707070;--border:#262626;--accent:#fff;--accent-hover:#f0f0f0}:root[data-theme=light]{--bg-primary:#fff;--bg-secondary:#fafafa;--bg-tertiary:#f5f5f5;--text-primary:#000;--text-secondary:#606060;--text-tertiary:#909090;--border:#e0e0e0;--accent:#000;--accent-hover:#1a1a1a}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.6;color:var(--text-primary);background:var(--bg-primary);transition:background-color .2s ease,color .2s ease}.lowercase{text-transform:lowercase}h1{font-size:32px}h1,h2{font-weight:600;text-transform:lowercase}h2{font-size:24px}h3{font-size:20px}button,h3{font-weight:500;text-transform:lowercase}button{padding:10px 20px;border-radius:8px;border:1.5px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;transition:all .15s cubic-bezier(.4,0,.2,1);font-size:15px;font-family:inherit;box-shadow:0 1px 2px rgba(0,0,0,.1)}button:hover:not(:disabled){background:var(--bg-tertiary);border-color:var(--text-secondary);transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.15)}button:active:not(:disabled){transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.1)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);color:var(--bg-primary);border-color:var(--accent);box-shadow:0 1px 3px rgba(0,0,0,.2)}button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);box-shadow:0 3px 6px rgba(0,0,0,.25)}button.secondary{background:transparent;border-color:var(--text-tertiary);color:var(--text-secondary)}button.secondary:hover:not(:disabled){border-color:var(--text-secondary);background:var(--bg-tertiary)}button.small{padding:6px 14px;font-size:13px;border-radius:6px}button.ghost{background:transparent;border-color:transparent;box-shadow:none}button.ghost:hover:not(:disabled){background:var(--bg-tertiary);border-color:transparent;box-shadow:none}input,select,textarea{padding:12px 16px;border-radius:4px;border:1px solid var(--border);background:var(--bg-primary);color:var(--text-primary);font-size:16px;font-family:inherit;transition:border-color .2s;width:100%}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent)}textarea{resize:vertical;min-height:100px}.card{border:1px solid var(--border);border-radius:8px;padding:24px;background:var(--bg-secondary)}a{color:var(--text-primary);text-decoration:none;transition:color .2s}a:hover{color:var(--text-secondary)}.container{max-width:800px;margin:0 auto;padding:0 24px}.mt-xs{margin-top:4px}.mt-sm{margin-top:8px}.mt-md{margin-top:16px}.mt-lg{margin-top:24px}.mt-xl{margin-top:32px}.mt-2xl{margin-top:48px}.mb-xs{margin-bottom:4px}.mb-sm{margin-bottom:8px}.mb-md{margin-bottom:16px}.mb-lg{margin-bottom:24px}.mb-xl{margin-bottom:32px}.mb-2xl{margin-bottom:48px}.p-sm{padding:8px}.p-md{padding:16px}.p-lg{padding:24px}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-sm{gap:8px}.gap-md{gap:16px}.gap-lg{gap:24px}.text-center{text-align:center}.text-secondary{color:var(--text-secondary)}.text-tertiary{color:var(--text-tertiary)}.text-accent{color:var(--accent);cursor:pointer;transition:opacity .15s}.text-accent:hover{opacity:.8}.gap-xs{gap:4px}.spinner{border-top:2px solid var(--border);border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:24px;height:24px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.error{color:#f44}.error,.success{font-size:14px;margin-top:4px}.success{color:#4f4}@media (max-width:768px){.desktop-nav{display:none!important}.mobile-menu-btn{display:flex!important;align-items:center;justify-content:center;padding:8px;background:transparent;border:none;cursor:pointer}.mobile-menu{display:block!important}header{padding:12px 16px!important;margin-bottom:16px!important}.container{padding:0 16px!important;max-width:100%!important}.card{padding:20px 16px!important;margin:0!important}button{min-height:44px;padding:12px 20px!important}input,select,textarea{font-size:16px!important;min-height:44px}textarea{min-height:120px}h1{font-size:24px!important}h2{font-size:20px!important}h3{font-size:18px!important}.flex.gap-lg{gap:12px!important}.flex.gap-md{gap:8px!important}.grid{grid-template-columns:1fr!important;gap:16px!important}.post-card{padding:16px!important}.dialog-content,.modal-content{width:calc(100vw - 32px)!important;max-width:100%!important;margin:16px!important}div,p{word-wrap:break-word;overflow-wrap:break-word}.footer-grid{grid-template-columns:1fr!important;gap:24px!important}.footer-bottom{flex-direction:column!important;gap:8px!important;text-align:center!important}.content-section,article,section{margin-bottom:24px!important}div[style*=border]+div[style*=border]{margin-top:16px!important}}@media (min-width:769px){.mobile-menu,.mobile-menu-btn{display:none!important}}@media (max-width:768px){.journal-layout{flex-direction:column!important;height:auto!important}.journal-sidebar{width:100%!important;border-right:none!important;border-bottom:1px solid var(--border);height:auto!important;max-height:none!important}.journal-content{height:auto!important;min-height:100vh!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch}}