:root{--bg-primary: #f7f8fa;--bg-secondary: #ffffff;--bg-sidebar: #f2f3f5;--bg-hover: #e8eaed;--bg-active: #dfe1e5;--text-primary: #1a1a1a;--text-secondary: #6c6c6c;--text-tertiary: #9e9e9e;--border-light: #e0e0e0;--border-medium: #d0d0d0;--border-dark: #b0b0b0;--accent-blue: #087cfa;--accent-blue-hover: #0969da;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 2px 8px rgba(0, 0, 0, .08);--shadow-lg: 0 4px 16px rgba(0, 0, 0, .12);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.5;font-weight:400;color:var(--text-primary);background:var(--bg-primary);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;padding:0;min-width:320px;min-height:100vh;background:var(--bg-primary)}#root{width:100%;min-height:100vh}h1,h2,h3,h4,h5,h6{color:var(--text-primary);margin:0}a{font-weight:500;color:var(--accent-blue);text-decoration:none;transition:color .2s}a:hover{color:var(--accent-blue-hover)}button{border-radius:var(--radius-md);border:1px solid var(--border-medium);padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--bg-secondary);color:var(--text-primary);cursor:pointer;transition:all .2s}button:hover{background-color:var(--bg-hover);border-color:var(--border-dark)}button:focus,button:focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}button:active{background-color:var(--bg-active)}.sidebar{width:100%;height:100%;background:var(--bg-secondary);border-right:1px solid var(--border-light);display:flex;flex-direction:column;overflow-y:auto}.sidebar-section{border-bottom:1px solid var(--border-light)}.sidebar-section:last-child{border-bottom:none;flex:1}.sidebar-header{padding:1.25rem 1rem .75rem}.sidebar-title{font-size:.6875rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05rem}.sidebar-nav{padding:0 0 .5rem}.sidebar-menu{list-style:none;margin:0;padding:0}.sidebar-menu-item{margin:.0625rem 0}.sidebar-link{display:flex;align-items:center;gap:.625rem;padding:.5rem 1rem;color:var(--text-primary);font-size:.875rem;font-weight:400;text-decoration:none;border-radius:var(--radius-sm);margin:0 .5rem;transition:all .15s ease;cursor:pointer}.sidebar-link:hover{background:var(--bg-hover);color:var(--text-primary)}.sidebar-menu-item.active .sidebar-link{background:var(--bg-active);color:var(--accent-blue);font-weight:500}.sidebar-menu-item.disabled .sidebar-link{color:var(--text-secondary);opacity:.6;cursor:not-allowed}.sidebar-menu-item.disabled .sidebar-link:hover{background:transparent}.sidebar-icon{font-size:1rem;width:1.25rem;text-align:center;flex-shrink:0}.sidebar-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.sidebar-link-more{color:var(--text-secondary);font-style:italic}.sidebar-link-more:hover{color:var(--text-primary)}.sidebar-loading,.sidebar-error{padding:1rem;font-size:.875rem;color:var(--text-secondary);text-align:center}.sidebar-error{color:var(--error-color, #dc3545)}@media(max-width:768px){.sidebar{height:auto;border-right:none;border-bottom:1px solid var(--border-light)}.sidebar-section{border-bottom:none}.sidebar-nav{padding:.5rem}.sidebar-menu{display:flex;flex-wrap:wrap;gap:.5rem}.sidebar-menu-item{margin:0}.sidebar-link{margin:0;padding:.375rem .75rem}}.post-card{width:40vw;margin-left:auto;margin-right:auto;background:var(--bg-secondary);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);transition:transform .2s,box-shadow .2s;margin-bottom:1.5rem;border:1px solid var(--border-light)}.post-card:hover{transform:translateY(-.125rem);box-shadow:var(--shadow-lg)}.post-header{padding:1rem 1.25rem;background:var(--bg-secondary);border-bottom:1px solid var(--border-light)}.post-image-container{width:100%;overflow:hidden;background:var(--bg-hover)}.post-image{width:100%;height:auto;display:block}.post-image-placeholder{width:100%;height:12.5rem;display:flex;align-items:center;justify-content:center;color:var(--text-tertiary);font-size:.875rem;font-weight:400}.post-content{padding:1rem 1.25rem}.post-title{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:var(--text-primary);line-height:1.4}.clickable{cursor:pointer;transition:opacity .2s}.clickable:hover{opacity:.8}.post-description{margin:0 0 .75rem;font-size:.8125rem;line-height:1.5;color:var(--text-secondary)}.post-categories{display:flex;flex-wrap:wrap;gap:.375rem;margin-bottom:0}.post-category{background:var(--bg-hover);color:var(--text-secondary);padding:.25rem .625rem;border-radius:var(--radius-sm);font-size:.75rem;font-weight:400;border:1px solid var(--border-light)}.post-meta{display:flex;align-items:center;font-size:.75rem;color:var(--text-tertiary)}.post-date{font-style:normal}@media(max-width:768px){.post-card{width:100%}}.page-container{min-height:100%;display:flex;flex-direction:column;width:100%;padding:2rem 2rem 1.5rem}@media(max-width:768px){.page-container{padding:1rem}}.posts-category-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-light)}.posts-category-title{font-size:1.25rem;font-weight:600;color:var(--text-primary);text-transform:capitalize;margin:0}.posts-grid{display:flex;flex-direction:column;gap:1rem}.posts-loading,.posts-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:25rem;color:var(--text-secondary)}.posts-loading p,.posts-error p{margin-top:1rem;font-size:.875rem;font-weight:400}.spinner{width:2.5rem;height:2.5rem;border:.1875rem solid var(--border-light);border-top-color:var(--accent-blue);border-radius:50%;animation:spin .8s linear infinite}.spinner-small{width:1.5rem;height:1.5rem;border:.125rem solid var(--border-light);border-top-color:var(--accent-blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.posts-loading-more{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 0;color:var(--text-secondary)}.posts-loading-more p{margin-top:.75rem;font-size:.8125rem}.posts-end-message{text-align:center;padding:2rem 0;color:var(--text-tertiary);font-size:.8125rem;font-weight:400}.retry-button{margin-top:1rem;padding:.625rem 1.25rem;background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-medium);border-radius:var(--radius-md);font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s}.retry-button:hover{background:var(--bg-hover);border-color:var(--border-dark)}.post-page-loading,.post-page-error{text-align:center;padding:4rem 2rem;color:var(--text-primary)}.post-page-error h2{margin-bottom:1.5rem;color:var(--text-primary)}.categories-page{padding:2rem;max-width:75rem;margin:0 auto}.categories-header{margin-bottom:2rem;text-align:center}.categories-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin:0 0 .5rem}.categories-subtitle{font-size:1rem;color:var(--text-secondary);margin:0}.categories-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}.category-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem 1rem;background:var(--bg-secondary);border:1px solid var(--border-light);border-radius:var(--radius-md, .5rem);text-decoration:none;transition:all .2s ease;cursor:pointer}.category-card:hover{background:var(--bg-hover);border-color:var(--accent-blue);transform:translateY(-.125rem);box-shadow:0 .25rem .75rem #0000001a}.category-card-icon{font-size:2rem}.category-card-name{font-size:.875rem;font-weight:500;color:var(--text-primary);text-transform:capitalize;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.categories-loading,.categories-error{display:flex;justify-content:center;align-items:center;min-height:12.5rem;font-size:1rem;color:var(--text-secondary)}.categories-error{color:var(--error-color, #dc3545)}@media(max-width:1200px){.categories-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:900px){.categories-grid{grid-template-columns:repeat(3,1fr)}.categories-page{padding:1.5rem}}@media(max-width:600px){.categories-grid{grid-template-columns:repeat(2,1fr)}.categories-page{padding:1rem}.categories-title{font-size:1.5rem}.category-card{padding:1rem .75rem}.category-card-icon{font-size:1.5rem}}.loading-bar-container{position:fixed;top:0;left:0;right:0;height:.25rem;z-index:9999;pointer-events:none}.loading-bar{height:100%;background:linear-gradient(90deg,#4facfe,#00f2fe,#43e97b,#38f9d7,#4facfe);background-size:200% 100%;animation:shimmer 1.5s linear infinite;transition:width .3s cubic-bezier(.4,0,.2,1);box-shadow:0 0 1rem #4facfe80}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.app{width:100%;min-height:100vh;background:var(--bg-primary);padding:0}.app-header-fixed{position:fixed;top:0;left:0;right:0;padding:1.25rem 1.5rem 1rem;z-index:100;background:var(--bg-primary);border-bottom:1px solid var(--border-light)}.app-header-fixed h1{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0 0 .25rem}.app-header-fixed p{font-size:.8125rem;color:var(--text-secondary);margin:0;font-weight:400}.app-sidebar-container{position:fixed;top:5rem;left:0;width:15rem;bottom:0;z-index:50}.app-content{margin-left:15rem;margin-right:15rem;margin-top:5rem;min-height:calc(100vh - 5rem);position:relative}.post-page-overlay{position:fixed;top:0;left:15rem;right:15rem;bottom:0;background:var(--bg-primary);z-index:75;overflow-y:auto;padding-top:5rem}.app-right-sidebar{position:fixed;top:5rem;right:0;width:15rem;bottom:0;z-index:50}.right-sidebar{width:100%;height:100%;background:var(--bg-secondary);border-left:1px solid var(--border-light);opacity:.5}@media(max-width:768px){.app{padding:0}.app-header-fixed{padding:1rem 1.25rem}.app-header-fixed h1{font-size:1.25rem}.app-header-fixed p{font-size:.75rem}.app-sidebar-container{position:fixed;top:4rem;left:0;right:0;width:auto;bottom:auto;max-height:12rem;overflow-y:auto}.app-content{margin-left:0;margin-right:0;margin-top:16rem;min-height:calc(100vh - 16rem)}.post-page-overlay{left:0;right:0;top:0;padding-top:16rem}.app-right-sidebar{display:none}}
