:root{--bg-primary:#fff;--bg-secondary:#f8fafc;--bg-tertiary:#f1f5f9;--text-primary:#0f172a;--text-secondary:#475569;--text-tertiary:#94a3b8;--border-color:#e2e8f0;--border-hover:#cbd5e1;--shadow-light:0 4px 12px rgba(0,0,0,.05);--shadow-medium:0 8px 24px rgba(0,0,0,.08);--shadow-glow:none;--accent-primary:#d4af37;--accent-secondary:#0f172a;--accent-tertiary:#64748b;--grid-line:rgba(15,23,42,.04);--accent-gold:var(--accent-primary);--accent-gold-light:#e5c558;--accent-gold-dim:rgba(212,175,55,.1);--border-gold:rgba(212,175,55,.3);--code-bg:#f8fafc;--code-border:#e2e8f0;--header-bg:hsla(0,0%,100%,.9);--hero-overlay-end:hsla(0,0%,100%,.95)}[data-theme=dark]{--bg-primary:#0b1120;--bg-secondary:#161e2e;--bg-tertiary:#1e293b;--text-primary:#f8fafc;--text-secondary:#94a3b8;--text-tertiary:#64748b;--border-color:#1e293b;--border-hover:#334155;--shadow-light:0 4px 12px rgba(0,0,0,.3);--shadow-medium:0 8px 24px rgba(0,0,0,.5);--shadow-glow:none;--accent-primary:#d4af37;--accent-secondary:#3b82f6;--accent-tertiary:#475569;--grid-line:hsla(0,0%,100%,.03);--accent-gold:var(--accent-primary);--accent-gold-light:#f4cf57;--accent-gold-dim:rgba(212,175,55,.1);--border-gold:rgba(212,175,55,.3);--code-bg:#0b1120;--code-border:#1e293b;--header-bg:rgba(11,17,32,.9);--hero-overlay-end:var(--bg-primary);--code-comment:#64748b;--code-punctuation:#94a3b8;--code-property:#d4af37;--code-string:#cbd5e1;--code-operator:#e2e8f0;--code-keyword:#3b82f6;--code-function:#e2e8f0;--code-variable:#d4af37}*{transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}.theme-toggle{width:32px;height:32px;background:transparent;border-radius:6px;transition:all .2s ease;position:relative;z-index:1001}.theme-toggle:hover{color:var(--accent-primary);background:var(--bg-tertiary);transform:translateY(-1px)}.theme-toggle svg{width:18px;height:18px;transition:transform .5s cubic-bezier(.4,0,.2,1)}.theme-toggle:hover svg{transform:rotate(45deg)}*{box-sizing:border-box;padding:0;margin:0;-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}#__next,body,html{max-width:100vw;overflow-x:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-primary);color:var(--text-primary);line-height:1.6}a{color:inherit;text-decoration:none}.loading{display:flex;justify-content:center;align-items:center;height:200px;font-size:1.1rem;color:var(--text-secondary)}.error-message{background:var(--error-color);color:var(--bg-primary);padding:12px;border-radius:6px;font-size:.9rem;text-align:center}@media (max-width:768px){body,html{font-size:14px}}.main-header{width:100%;padding:24px 0;background:var(--header-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:-webkit-sticky;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border-color)}.header-content{max-width:1200px;margin:0 auto;padding:0 24px;justify-content:space-between}.avatar-section,.header-content{display:flex;align-items:center}.avatar-link{display:block;text-decoration:none;transition:transform .3s ease}.avatar-link:hover{transform:scale(1.05)}.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.avatar-image{width:100%;height:100%;object-fit:cover}.main-header nav{display:flex;gap:48px}.nav-link{color:var(--text-secondary);font-size:.95rem;font-weight:500;text-decoration:none;padding:8px 0;position:relative;transition:color .3s ease;letter-spacing:.02em;font-family:var(--font-sans)}.nav-link:after{content:"";position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--accent-gold);transition:width .3s ease}.nav-link:hover{color:var(--text-primary)}.nav-link:hover:after{width:100%}.social-links{gap:8px}.social-link,.social-links{display:flex;align-items:center}.social-link{justify-content:center;width:36px;height:36px;color:var(--text-secondary);border-radius:8px;transition:all .3s ease;position:relative;background:none;border:none}.social-link:hover{color:var(--accent-gold);background:rgba(212,175,55,.1);transform:translateY(-2px)}.social-link svg{width:18px;height:18px}@media (max-width:768px){.header-content{padding:0 16px}.main-header nav{gap:24px}.nav-link{font-size:.9rem}.social-links{gap:12px}.social-link{width:32px;height:32px}}.theme-toggle{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:8px;border-radius:8px;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.theme-toggle:hover{color:var(--accent-gold);background:rgba(212,175,55,.1)}.theme-toggle svg{width:20px;height:20px}.home-container{width:100%;min-height:100vh;background-color:var(--bg-primary)}.home-hero{width:100%;height:400px;display:flex;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at center,var(--bg-secondary) 0,var(--bg-primary) 100%);position:relative;overflow:hidden;margin-bottom:48px}.home-hero:before{top:0;background:linear-gradient(90deg,transparent,var(--accent-gold-dim),transparent)}.home-hero:after,.home-hero:before{content:"";position:absolute;left:0;right:0;height:1px}.home-hero:after{bottom:0;background:linear-gradient(90deg,transparent,var(--border-gold),transparent)}.hero-content{padding:0 24px;animation:fadeIn 1s ease-out}.home-title{font-family:var(--font-serif);font-size:4rem;font-weight:700;color:var(--text-primary);margin-bottom:16px;background:linear-gradient(135deg,var(--text-primary) 0,var(--text-secondary) 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 10px 30px rgba(0,0,0,.5)}.home-subtitle{font-family:var(--font-sans);font-size:1.2rem;color:var(--accent-gold);letter-spacing:.2em;text-transform:uppercase;opacity:.9}.home-content-wrapper{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1fr 320px;grid-gap:48px;gap:48px}.main-content{width:100%}.sidebar-wrapper{position:-webkit-sticky;position:sticky;top:100px;height:-moz-fit-content;height:fit-content}.articles-list{display:grid;grid-template-columns:1fr;grid-gap:32px;gap:32px}.article-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:16px;overflow:hidden;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;display:flex;flex-direction:column;height:100%}.article-item:hover{transform:translateY(-4px);border-color:var(--accent-gold);box-shadow:var(--shadow-glow)}.article-cover-wrapper{width:100%;height:240px;overflow:hidden;position:relative;background:var(--bg-tertiary)}.article-cover-image{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}.article-item:hover .article-cover-image{transform:scale(1.05)}.article-cover-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--bg-tertiary) 0,var(--bg-secondary) 100%);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.article-cover-placeholder:before{content:"";position:absolute;width:200%;height:200%;background:radial-gradient(circle,var(--accent-gold-dim) 0,transparent 60%);opacity:.5}.article-content-wrapper{padding:24px;flex:1 1;display:flex;flex-direction:column}.article-item-title{font-family:var(--font-serif);font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-bottom:12px;line-height:1.4;transition:color .3s ease}.article-item:hover .article-item-title{color:var(--accent-gold)}.article-item-excerpt{font-size:.95rem;color:var(--text-secondary);line-height:1.6;margin-bottom:20px;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1 1}.article-item-meta{display:flex;align-items:center;justify-content:space-between;font-size:.85rem;color:var(--text-tertiary);padding-top:16px;border-top:1px solid var(--border-color)}.article-date{display:flex;align-items:center;gap:6px}.article-item-tags{display:flex;gap:8px}.tag{padding:2px 8px;background:var(--bg-tertiary);border-radius:4px;color:var(--text-secondary);font-size:.8rem;transition:all .2s ease}.article-item:hover .tag{background:var(--accent-gold-dim);color:var(--accent-gold)}.loading-indicator{text-align:center}.loading-spinner{gap:12px;color:var(--accent-gold)}.spinner{border:2px solid var(--bg-tertiary);border-top-color:var(--accent-gold);animation:spin .8s linear infinite}.no-more{font-family:var(--font-serif);opacity:.6}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1024px){.home-content-wrapper{grid-template-columns:1fr}.sidebar-wrapper{display:none}}@media (max-width:768px){.home-hero{height:300px}.home-title{font-size:2.5rem}.home-subtitle{font-size:1rem}.article-cover-wrapper{height:200px}}.article-container{max-width:1200px;margin:0 auto;padding:0 24px}.article-hero{width:100%;height:60vh;min-height:400px;position:relative;display:flex;align-items:flex-end;justify-content:center;margin-bottom:64px;background:var(--bg-secondary);overflow:hidden}.hero-bg{position:absolute;top:0;left:0;z-index:0}.hero-bg,.hero-bg img{width:100%;height:100%}.hero-bg img{object-fit:cover}.hero-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,rgba(0,0,0,.2) 0,var(--hero-overlay-end) 100%)}.hero-content{position:relative;z-index:1;text-align:center;padding:0 24px 64px;animation:fadeInUp .8s ease-out}.article-title{font-family:var(--font-serif);font-size:3.5rem;font-weight:700;color:#fff;margin-bottom:24px;line-height:1.2;text-shadow:0 4px 12px rgba(0,0,0,.5)}.article-meta{display:flex;justify-content:center;align-items:center;gap:24px;color:hsla(0,0%,100%,.9);font-size:1rem;font-family:var(--font-mono)}.article-meta span{display:inline-flex;align-items:center;gap:6px;line-height:1}.article-meta svg{width:16px;height:16px;margin-top:-2px}.article-layout{display:grid;grid-template-columns:1fr 300px;grid-gap:64px;gap:64px;position:relative}.article-main{min-width:0}.article-sidebar{position:relative}.sticky-sidebar{position:-webkit-sticky;position:sticky;top:100px}.toc-widget{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:var(--shadow-light)}.toc-title{font-family:var(--font-serif);font-size:1.2rem;color:var(--accent-gold);margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border-color)}.toc-list{list-style:none;padding:0;margin:0;max-height:calc(100vh - 300px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--accent-gold) transparent}.toc-list::-webkit-scrollbar{width:4px}.toc-list::-webkit-scrollbar-track{background:transparent}.toc-list::-webkit-scrollbar-thumb{background-color:var(--accent-gold);border-radius:4px;opacity:.5}.toc-list::-webkit-scrollbar-thumb:hover{background-color:var(--accent-hover)}.toc-item{cursor:pointer;color:var(--text-secondary);font-size:.9rem;transition:all .2s ease;border-left:2px solid transparent;padding:6px 0 6px 12px;margin-left:-12px}.toc-item:hover{color:var(--accent-gold);background:var(--bg-tertiary);border-left-color:var(--accent-gold)}.toc-level-1{font-weight:600}.toc-level-2{padding-left:24px}.toc-level-3{padding-left:36px;font-size:.85rem}.article-content{font-size:1.15rem;line-height:1.8;color:var(--text-primary);margin-bottom:64px}.article-content p{margin-bottom:1.5em}.article-content h2{font-size:2rem;margin:2.5em 0 1em;color:var(--accent-gold);font-family:var(--font-serif);padding-bottom:.5em;position:relative}.article-content h3{font-size:1.5rem;margin:2em 0 1em;color:var(--text-primary);font-weight:600}.article-content blockquote{border-left:4px solid var(--accent-gold);background:var(--bg-secondary);padding:24px 32px;margin:2em 0;border-radius:0 8px 8px 0;font-style:italic;color:var(--text-secondary)}.article-content img{max-width:100%;border-radius:12px;margin:2em 0;box-shadow:var(--shadow-light);border:1px solid var(--border-color)}.article-content code{background:var(--bg-tertiary);color:var(--accent-gold);padding:2px 6px;border-radius:4px;font-family:var(--font-mono);font-size:.9em}.article-content pre{background:var(--code-bg);padding:24px;border-radius:12px;overflow-x:auto;margin:2em 0;border:1px solid var(--code-border)}.article-content pre code{background:transparent;color:inherit;padding:0}.article-content a{color:var(--accent-gold);text-decoration:none;border-bottom:1px solid rgba(212,175,55,.3);transition:all .2s}.article-content a:hover{border-bottom-color:var(--accent-gold);background:rgba(212,175,55,.1)}.article-tags-footer{display:flex;gap:12px;margin-top:48px;padding-top:24px;border-top:1px solid var(--border-color)}.mt-8{margin-top:32px}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1024px){.article-layout{grid-template-columns:1fr}.article-sidebar{display:none}}@media (max-width:768px){.article-hero{height:50vh}.article-title{font-size:2.2rem}.article-meta{flex-direction:column;gap:12px}}.tags-container{max-width:800px;margin:0 auto;padding:0 24px}.tags-title{font-size:2.2rem;font-weight:600;color:var(--text-primary);margin:48px 0 32px;text-align:center;letter-spacing:-.02em}.tags-list{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.tags-list .tag{display:inline-flex;align-items:center;padding:8px 16px;background:var(--code-bg);color:var(--text-secondary);font-size:.9rem;border-radius:20px;text-decoration:none;transition:all .3s ease;border:1px solid var(--code-border);font-weight:500;letter-spacing:.02em;position:relative;overflow:hidden;box-shadow:0 2px 6px var(--shadow-light)}.tags-list .tag:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.4),transparent);transition:left .5s ease}.tags-list .tag:hover{background:var(--bg-tertiary);color:var(--text-primary);border-color:var(--border-hover);transform:translateY(-2px);box-shadow:0 4px 12px var(--shadow-medium)}.tags-list .tag:hover:before{left:100%}.tag-count{margin-left:6px;background:var(--shadow-light);color:var(--text-secondary);padding:2px 6px;border-radius:8px;font-size:.75rem;font-weight:600}.back-link{color:var(--text-tertiary);font-size:.9rem;text-decoration:none;transition:color .2s ease;font-weight:400;background:none;border:none;cursor:pointer;padding:0;font-family:inherit}.back-link:hover{color:var(--text-secondary)}.tags-list-wrapper{max-width:700px;margin:0 auto;background:var(--bg-primary);border-radius:10px;box-shadow:0 2px 16px var(--shadow-light);padding:32px 24px;display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-start}.loading-indicator{display:flex;justify-content:center;align-items:center;padding:40px 0;min-height:120px}.loading-spinner{display:flex;flex-direction:column;align-items:center;gap:16px;color:var(--text-secondary)}.spinner{width:32px;height:32px;border-top:3px solid var(--border-color);border:3px solid var(--border-color);border-top-color:var(--text-secondary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.no-more{display:flex;justify-content:center;align-items:center;padding:20px;color:var(--text-tertiary);font-size:.9rem;font-weight:300;font-style:italic}@media (max-width:768px){.tags-container{padding:0 16px}.tags-title{font-size:1.8rem;margin:32px 0 24px}.tags-list{gap:8px}.back-link,.tags-list .tag{padding:6px 12px;font-size:.85rem}}.archives-container{max-width:800px;margin:0 auto;padding:64px 24px}.archives-header{text-align:center;margin-bottom:64px}.archives-title{font-family:var(--font-serif);font-size:3rem;color:var(--accent-gold);margin-bottom:16px}.archives-subtitle{color:var(--text-secondary);font-size:1.1rem}.timeline{position:relative;padding-left:24px}.timeline:before{content:"";position:absolute;top:0;bottom:0;left:7px;width:2px;background:linear-gradient(to bottom,var(--accent-gold),transparent);opacity:.3}.timeline-year-section{margin-bottom:48px;position:relative}.timeline-year{font-family:var(--font-serif);font-size:2rem;color:var(--accent-gold);margin-bottom:24px;position:relative;padding-left:24px;display:flex;align-items:center}.timeline-year:before{content:"";position:absolute;left:-26px;width:16px;height:16px;background:var(--bg-primary);border:2px solid var(--accent-gold);border-radius:50%;z-index:1;box-shadow:0 0 10px var(--accent-gold-dim)}.timeline-list{list-style:none;padding:0;margin:0}.timeline-item{margin-bottom:24px;position:relative;padding-left:24px;transition:transform .2s ease}.timeline-item:before{content:"";position:absolute;left:-20px;top:10px;width:8px;height:8px;background:var(--text-secondary);border-radius:50%;transition:all .3s ease}.timeline-item:hover:before{background:var(--accent-gold);box-shadow:0 0 8px var(--accent-gold);transform:scale(1.2)}.timeline-link{display:block;text-decoration:none;padding:16px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;transition:all .3s ease}.timeline-link:hover{border-color:var(--accent-gold);transform:translateX(8px);box-shadow:var(--shadow-light)}.timeline-meta{display:flex;align-items:center;gap:12px;font-size:.85rem;color:var(--text-tertiary);margin-bottom:8px;font-family:var(--font-mono)}.timeline-date{color:var(--accent-gold)}.timeline-article-title{font-size:1.1rem;color:var(--text-primary);font-weight:500;margin:0;transition:color .2s ease}.timeline-link:hover .timeline-article-title{color:var(--accent-gold)}@media (max-width:768px){.archives-title{font-size:2.5rem}.timeline-year{font-size:1.5rem}}.admin-login{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-primary);padding:20px}.login-container{background:var(--bg-secondary);padding:40px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1);width:100%;max-width:400px;border:1px solid #e0e0e0}.login-container h1{text-align:center;margin-bottom:30px;color:var(--text-primary);font-size:1.8rem}.login-form{gap:20px}.form-group,.login-form{display:flex;flex-direction:column}.form-group{gap:8px}.form-group label{color:#555;font-size:.9rem}.form-input{border-radius:8px;font-size:1rem}.form-input:focus{border-color:#333}.login-button{background:#333;color:#fff;border:none;padding:14px;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.login-button:hover:not(:disabled){background:#555}.login-button:disabled{opacity:.7;cursor:not-allowed}.admin-dashboard{max-width:1200px;margin:0 auto;padding:20px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f0f0f0}.dashboard-header h1{font-size:2rem;color:var(--text-primary);margin:0}.header-actions{display:flex;gap:12px}.new-article-btn{color:#fff;padding:10px 20px;border-radius:6px;text-decoration:none;font-weight:500;transition:background-color .2s}.new-article-btn,.new-article-btn:hover{background:var(--success-color)}.config-btn{background:var(--accent-color);color:#fff;padding:10px 20px;border-radius:6px;text-decoration:none;font-weight:500;transition:background-color .2s}.config-btn:hover{background:var(--accent-hover)}.logout-btn{color:#fff;border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500;transition:background-color .2s}.logout-btn,.logout-btn:hover{background:var(--error-color)}.articles-table-container{overflow-x:auto;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);min-width:1200px;-webkit-overflow-scrolling:touch}.articles-table{width:100%;border-collapse:collapse;background:var(--bg-secondary);font-size:15px;font-weight:400;line-height:1.4;table-layout:fixed;min-width:1200px;color:var(--text-primary)}.articles-table th{background:var(--bg-tertiary);padding:14px 10px;text-align:left;font-weight:600;color:var(--text-primary);border-bottom:2px solid var(--border-color);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;font-size:14px;overflow:hidden;text-overflow:ellipsis}.articles-table th.sortable{cursor:pointer;transition:background-color .2s}.articles-table th.sortable:hover{background:var(--bg-tertiary)}.articles-table td{padding:14px 10px;border-bottom:1px solid var(--border-color);vertical-align:top;word-wrap:break-word;font-weight:400;font-size:14px;overflow:hidden;text-overflow:ellipsis;background:var(--bg-secondary);color:var(--text-primary)}.articles-table tbody tr:hover{background:var(--bg-tertiary)}.resize-handle{position:absolute;right:0;top:0;bottom:0;width:4px;background:transparent;cursor:col-resize;transition:background-color .2s}.resize-handle:hover{background:#007bff}.title-cell{font-weight:500;color:var(--text-primary)}.title-cell,.url-cell{max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.url-cell{font-family:Courier New,monospace;font-size:12px;color:#666}.top-cell{text-align:center}.top-status{padding:2px 8px;border-radius:12px;font-size:12px;font-weight:500}.top-status.top{background:#fff3cd;color:#856404}.top-status.normal{background:var(--bg-tertiary);color:#6c757d}.visible-cell{text-align:center}.status{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status.published{background:#d4edda;color:#155724}.status.draft{background:#f8d7da;color:#721c24}.views-cell,.words-cell{text-align:center}.created-at-cell,.updated-at-cell,.views-cell,.words-cell{font-family:Courier New,monospace;color:#666;font-weight:500}.created-at-cell,.updated-at-cell{font-size:12px;white-space:nowrap}.actions-cell{text-align:center;min-width:120px}.actions{display:flex;gap:6px;justify-content:center;flex-wrap:nowrap}.actions .delete-btn,.actions .edit-btn{padding:6px 10px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;text-decoration:none;transition:all .2s;white-space:nowrap;min-width:50px}.actions .edit-btn{background:#007bff;color:#fff}.actions .edit-btn:hover{background:#0056b3}.actions .delete-btn{background:#dc3545;color:#fff}.actions .delete-btn:hover{background:#c82333}.admin-article-form{max-width:800px;margin:0 auto;padding:20px}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f0f0f0}.form-header h1{font-size:2rem;color:var(--text-primary);margin:0}.back-btn{background:var(--border-color);color:var(--text-primary);border:none;padding:10px 20px;border-radius:6px;cursor:pointer;font-weight:500;transition:background-color .2s}.back-btn:hover{background:var(--border-hover)}.article-form{background:var(--bg-secondary);padding:30px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.1);border:1px solid #e0e0e0}.form-textarea{border-radius:8px;font-size:1rem;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}.form-textarea:focus{border-color:#333}.checkbox-label{color:#555}.form-checkbox{width:18px;height:18px;cursor:pointer}.form-actions{padding-top:20px;border-top:1px solid #e9ecef}.submit-btn{color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.submit-btn,.submit-btn:hover:not(:disabled){background:var(--success-color)}.submit-btn:disabled{opacity:.7;cursor:not-allowed}.cancel-btn{background:var(--border-color);color:var(--text-primary);border:none;padding:12px 24px;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.cancel-btn:hover{background:var(--border-hover)}.pagination-container{margin-top:20px;padding:20px;background:var(--bg-secondary);border-radius:8px;box-shadow:0 2px 8px var(--shadow-light);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;color:var(--text-primary);border:1px solid var(--border-color)}.pagination-info{font-size:14px;color:#666;font-weight:500}.pagination-controls{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.page-size-selector{display:flex;align-items:center;gap:8px}.page-size-selector label{font-size:14px;color:#333;font-weight:500}.page-size-select{padding:6px 10px;border:1px solid #ddd;border-radius:4px;font-size:14px;background:#fff;cursor:pointer}.page-buttons{display:flex;align-items:center;gap:5px}.page-btn{padding:6px 12px;border:1px solid #ddd;background:#fff;color:#333;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s;min-width:40px}.page-btn:hover:not(:disabled){background:var(--bg-tertiary);border-color:#007bff;color:#007bff}.page-btn.active{background:var(--primary,#444);border-color:#007bff;color:#fff}.page-btn:disabled{background:var(--bg-tertiary);color:#ccc;cursor:not-allowed;border-color:#e9ecef}.page-jump{display:flex;align-items:center;gap:8px}.page-jump label{font-size:14px;color:#333;font-weight:500}.page-jump-input{width:60px;padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:14px;text-align:center}.page-jump-btn{padding:6px 12px;border:1px solid #007bff;background:#007bff;color:#fff;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.page-jump-btn:hover{background:#0056b3;border-color:#0056b3}@media (max-width:1200px){.articles-table-container{min-width:1000px}.articles-table td,.articles-table th{padding:8px 6px;font-size:12px}.actions{gap:4px}.actions .delete-btn,.actions .edit-btn{padding:4px 8px;font-size:11px;min-width:40px}}.admin-container{max-width:800px;margin:0 auto;padding:20px}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f0f0f0}.admin-header h1{font-size:2rem;color:var(--text-primary);margin:0}.admin-btn{padding:10px 20px;border-radius:6px;text-decoration:none;font-weight:500;border:none;cursor:pointer;transition:background-color .2s;font-size:14px}.admin-btn.primary{background:#007bff;color:#fff}.admin-btn.primary:hover:not(:disabled){background:#0056b3}.admin-btn.secondary{background:var(--border-color);color:var(--text-primary)}.admin-btn.secondary:hover{background:var(--border-hover)}.admin-btn.danger{color:#fff}.admin-btn.danger,.admin-btn.danger:hover:not(:disabled){background:var(--error-color)}.admin-btn:disabled{opacity:.7;cursor:not-allowed}.admin-form{background:var(--bg-secondary);padding:30px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.admin-form,.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:var(--text-primary)}.form-input{width:100%;padding:12px 16px;border:2px solid #e1e5e9;border-radius:6px;font-size:16px;transition:border-color .2s;box-sizing:border-box}.form-input:focus{outline:none;border-color:#007bff}.form-textarea{width:100%;padding:12px 16px;border:2px solid #e1e5e9;border-radius:6px;font-size:14px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;line-height:1.5;resize:vertical;transition:border-color .2s;box-sizing:border-box}.form-textarea:focus{outline:none;border-color:#007bff}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;color:#333}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.form-actions{display:flex;gap:12px;margin-top:30px}.message{padding:12px 16px;border-radius:6px;margin-bottom:20px;font-weight:500}.message.success{background:var(--success-color);color:var(--text-primary);border:1px solid var(--success-color)}.message.error{background:var(--error-color);color:var(--text-primary);border:1px solid var(--error-color)}.about-info{background:var(--bg-tertiary);padding:20px;border-radius:6px;border-left:4px solid var(--accent-color)}.about-info h3{margin:0 0 15px;color:var(--text-primary);font-size:1.1rem}.about-info p{margin:8px 0;color:#666;font-size:14px}.about-info strong{color:#333}.config-section{margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #e9ecef}.config-section:last-child{border-bottom:none}.config-section h3{margin:0 0 20px;color:#333;font-size:1.2rem;font-weight:600}.config-info{background:var(--bg-secondary);padding:20px;border-radius:6px;border-left:4px solid var(--accent-color);margin-top:20px}.config-info h3{margin:0 0 15px;color:var(--text-primary);font-size:1.1rem}.config-info ul{margin:0;padding-left:20px}.config-info li{margin:8px 0;color:#666;font-size:14px;line-height:1.5}.config-info strong{color:#333}.likes-cell{text-align:center;font-family:Courier New,monospace;color:#666;font-weight:500}@media (prefers-color-scheme:dark){.admin-container,.admin-dashboard,body{background:var(--bg-primary,#18181a);color:var(--text-primary,#f5f5f5)}.about-info h3,.admin-header h1,.config-info h3,.config-section h3,.dashboard-header h1,.form-header h1{color:var(--text-primary,#f5f5f5)}.about-info p,.about-info strong,.config-info li,.config-info strong{color:var(--text-secondary,#aaa)}.admin-btn.danger,.admin-btn.primary,.admin-btn.secondary,.back-btn,.cancel-btn,.submit-btn{color:#fff}.back-link{color:var(--text-secondary,#aaa)!important}.back-link:hover{color:var(--text-primary,#f5f5f5)!important}.articles-table{background:var(--bg-secondary,#232326);color:var(--text-primary,#f5f5f5)}.articles-table th{background:var(--bg-tertiary,#232326);color:var(--text-primary,#f5f5f5);border-bottom:2px solid var(--border-color,#333)}.articles-table td{border-bottom:1px solid var(--border-color,#333);color:var(--text-primary,#f5f5f5)}.articles-table tbody tr:hover{background:var(--bg-hover,#23232a)}.admin-header,.dashboard-header{border-bottom:2px solid var(--border-color,#333)}.form-input,.form-textarea{background:var(--bg-secondary,#232326);color:var(--text-primary,#f5f5f5);border:2px solid var(--border-color,#333)}.form-input:focus,.form-textarea:focus{border-color:var(--primary,#888)}.admin-btn,.cancel-btn,.config-btn,.logout-btn,.new-article-btn,.submit-btn{color:#fff}.admin-article-form,.admin-form,.article-form,.pagination-container{background:var(--bg-secondary,#232326);color:var(--text-primary,#f5f5f5);border:1px solid var(--border-color,#333)}.pagination-container{box-shadow:0 2px 8px rgba(0,0,0,.3)}.pagination-info{color:var(--text-secondary,#aaa)}.page-size-selector label{color:var(--text-primary,#f5f5f5)}.page-btn,.page-size-select{background:var(--bg-secondary,#232326);color:var(--text-primary,#f5f5f5);border:1px solid var(--border-color,#333)}.page-btn.active{background:var(--primary,#444);color:#fff}.page-btn:disabled{color:var(--text-tertiary,#888);background:var(--bg-secondary,#232326);border-color:var(--border-color,#333)}.form-group label{color:var(--text-primary,#f5f5f5)}.message{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.message.success{background:var(--success-color);color:var(--text-primary);border-color:var(--success-color)}.message.error{background:var(--error-color);color:var(--text-primary);border-color:var(--error-color)}.likes-cell{color:var(--text-primary,#f5f5f5)}.page-jump label{color:var(--text-secondary,#aaa)}.page-jump-input{background:var(--bg-secondary,#232326);color:var(--text-primary,#f5f5f5)}.page-jump-btn,.page-jump-input{border:1px solid var(--border-color,#333)}.page-jump-btn{background:var(--primary,#444);color:#fff}.config-info{background:var(--bg-secondary,#232326);color:var(--text-secondary,#aaa);border:1px solid var(--border-color,#333)}.config-info h3{color:var(--text-primary,#f5f5f5)}.config-info li,.config-info strong{color:var(--text-secondary,#aaa)}}body{background-color:var(--bg-primary);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transition:background-color .3s ease,color .3s ease}::selection{background:var(--accent-primary);color:#000}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--bg-tertiary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}