:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.6;--bg: #0c0c0e;--bg-surface: #15151a;--bg-card: #1a1a22;--bg-hover: #22222e;--border: rgba(255, 255, 255, .08);--border-hover: rgba(255, 255, 255, .15);--text: #e8e8ed;--text-dim: rgba(255, 255, 255, .5);--text-muted: rgba(255, 255, 255, .35);--accent: #7c8aff;--accent-dim: rgba(124, 138, 255, .15)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;background:var(--bg);color:var(--text)}button{cursor:pointer;font:inherit;border:none;background:none;color:inherit;text-align:left}input{font:inherit;border:none;background:none;color:inherit}.app{min-height:100vh;display:flex;flex-direction:column}.header{position:sticky;top:0;z-index:100;display:flex;align-items:center;gap:1.5rem;padding:0 2rem;height:60px;background:#0c0c0ed9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.logo{display:flex;align-items:center;gap:.6rem;flex-shrink:0}.logo-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#7c8aff,#5a6aef);font-weight:700;font-size:1rem;color:#fff}.logo-text{font-weight:700;font-size:1.1rem;letter-spacing:-.02em}.search-bar{display:flex;align-items:center;flex:1;max-width:480px;background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:0 .75rem;transition:border-color .2s}.search-bar:focus-within{border-color:var(--accent)}.search-bar input{flex:1;padding:.5rem 0;font-size:.9rem;outline:none;color:var(--text)}.search-bar input::placeholder{color:var(--text-muted)}.search-bar button{display:flex;align-items:center;padding:.25rem;color:var(--text-dim);transition:color .2s}.search-bar button:hover{color:var(--accent)}.layout{display:flex;flex:1}.sidebar{width:260px;flex-shrink:0;padding:1.25rem;border-right:1px solid var(--border);background:var(--bg-surface);overflow-y:auto;height:calc(100vh - 60px);position:sticky;top:60px}.sidebar-section{margin-bottom:1.5rem}.sidebar-title{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);padding:0 .5rem;margin-bottom:.5rem}.sidebar-list{list-style:none;display:flex;flex-direction:column;gap:2px}.sidebar-link{display:flex;align-items:center;gap:.5rem;width:100%;padding:.45rem .6rem;border-radius:6px;font-size:.85rem;color:var(--text-dim);transition:all .15s}.sidebar-link:hover{background:var(--bg-hover);color:var(--text)}.sidebar-link.active{background:var(--accent-dim);color:var(--accent)}.sidebar-count{margin-left:auto;font-size:.75rem;color:var(--text-muted);background:var(--bg);padding:.1rem .45rem;border-radius:4px}.sidebar-article-link{font-size:.82rem;padding-left:.6rem}.category-icon{font-size:1rem;width:1.2rem;text-align:center;flex-shrink:0}.content{flex:1;min-width:0;padding:2rem 2.5rem 4rem;max-width:900px}.hero{margin-bottom:2.5rem;padding-bottom:2rem;border-bottom:1px solid var(--border)}.hero h1{font-size:2rem;font-weight:700;letter-spacing:-.03em;margin-bottom:.5rem}.hero p{color:var(--text-dim);font-size:1.05rem;max-width:600px}.section{margin-bottom:2.5rem}.section-title{font-size:1.15rem;font-weight:600;letter-spacing:-.02em;margin-bottom:1rem}.page-title{font-size:1.75rem;font-weight:700;letter-spacing:-.03em;margin-bottom:.3rem}.page-subtitle{color:var(--text-dim);font-size:.9rem;margin-bottom:1.5rem}.card-grid{display:grid;gap:1rem}.article-card{display:block;padding:1.25rem 1.5rem;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;transition:all .2s}.article-card:hover{background:var(--bg-hover);border-color:var(--border-hover);transform:translateY(-1px)}.card-category{display:inline-block;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);background:var(--accent-dim);padding:.15rem .5rem;border-radius:4px;margin-bottom:.5rem}.article-card h3{font-size:1.1rem;font-weight:600;margin-bottom:.35rem;letter-spacing:-.01em}.article-card p{color:var(--text-dim);font-size:.88rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}.category-card{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:1.5rem 1rem;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;transition:all .2s;text-align:center}.category-card:hover{background:var(--bg-hover);border-color:var(--border-hover);transform:translateY(-2px)}.category-card .category-icon{font-size:1.8rem}.category-card-name{font-weight:600;font-size:.95rem}.category-card-count{font-size:.78rem;color:var(--text-muted)}.article{max-width:720px}.article-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}.breadcrumb{display:inline-block;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);background:var(--accent-dim);padding:.2rem .6rem;border-radius:4px;margin-bottom:.75rem;transition:opacity .2s}.breadcrumb:hover{opacity:.8}.article-header h1{font-size:2rem;font-weight:700;letter-spacing:-.03em;margin-bottom:.5rem}.article-summary{font-size:1.05rem;color:var(--text-dim);margin-bottom:.75rem}.article-meta{font-size:.78rem;color:var(--text-muted)}.article-body p{margin-bottom:1.25rem;font-size:.95rem;line-height:1.75;color:var(--text)}.article-body p:last-child{margin-bottom:0}.related{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}.related h3{font-size:.9rem;font-weight:600;margin-bottom:.75rem}.related-list{display:flex;flex-wrap:wrap;gap:.5rem}.related-link{display:inline-block;padding:.4rem .85rem;font-size:.82rem;background:var(--bg-card);border:1px solid var(--border);border-radius:6px;transition:all .15s;color:var(--text-dim)}.related-link:hover{background:var(--accent-dim);border-color:var(--accent);color:var(--accent)}.not-found{text-align:center;padding:4rem 2rem;color:var(--text-dim)}.not-found h1{font-size:1.5rem;margin-bottom:.5rem;color:var(--text)}@media(max-width:768px){.sidebar{display:none}.header{padding:0 1rem;gap:.75rem}.logo-text{display:none}.content{padding:1.25rem 1rem 3rem}.hero h1,.article-header h1{font-size:1.5rem}.category-grid{grid-template-columns:repeat(2,1fr)}}
