/* Autonomous blog features */
:root { --feature-cyan: #9ce8f5; --feature-violet: #b8a8ff; --feature-panel: rgba(10,13,18,.96); --feature-line: rgba(220,238,244,.14); }
.theme-toggle, .nav-icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; flex: none; border: 1px solid var(--feature-line); border-radius: 50%; background: rgba(255,255,255,.02); color: #b9c7cc; cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease; }
.theme-toggle:hover, .nav-icon-button:hover { color: #fff; border-color: rgba(156,232,245,.4); background: rgba(156,232,245,.06); transform: translateY(-2px); }
.theme-toggle svg, .nav-icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.command-trigger { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--feature-line); border-radius: 999px; background: rgba(7,10,14,.88); color: #a9bac0; backdrop-filter: blur(18px); cursor: pointer; font: 9px/1 var(--font-mono); letter-spacing: .08em; box-shadow: 0 12px 35px rgba(0,0,0,.22); transition: transform .25s ease, border-color .25s ease; }
.command-trigger:hover { transform: translateY(-2px); border-color: rgba(156,232,245,.42); }.command-trigger kbd { padding: 3px 6px; border: 1px solid var(--feature-line); border-radius: 5px; color: #69777d; background: rgba(255,255,255,.025); font: 8px/1 var(--font-mono); }
.back-to-top { position: fixed; right: 24px; bottom: 82px; z-index: 80; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--feature-line); border-radius: 50%; background: rgba(7,10,14,.88); color: #a9bac0; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease, border-color .3s ease; backdrop-filter: blur(18px); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }.back-to-top:hover { border-color: rgba(156,232,245,.42); color: #fff; }
.command-palette { position: fixed; inset: 0; z-index: 300; display: grid; place-items: start center; padding-top: min(15vh, 130px); background: rgba(2,4,7,.72); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }.command-palette.open { opacity: 1; visibility: visible; }
.command-dialog { width: min(680px, calc(100vw - 32px)); border: 1px solid rgba(220,238,244,.18); border-radius: 18px; background: var(--feature-panel); box-shadow: 0 35px 100px rgba(0,0,0,.55); overflow: hidden; transform: translateY(-10px) scale(.985); transition: transform .3s var(--ease); }.command-palette.open .command-dialog { transform: translateY(0) scale(1); }
.command-search-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--feature-line); }.command-search-row svg { width: 19px; fill: none; stroke: #7f9096; stroke-width: 1.6; }.command-search-row input { border: 0; outline: 0; background: transparent; color: #f2f7f8; font-size: 17px; }.command-search-row input::placeholder { color: #5f6c72; }.command-search-row kbd { padding: 4px 7px; border: 1px solid var(--feature-line); border-radius: 5px; color: #65747a; font: 9px/1 var(--font-mono); }
.command-results { max-height: min(58vh, 520px); overflow: auto; padding: 9px; }.command-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 13px; border-radius: 10px; color: #bac7cb; transition: background .2s ease, color .2s ease; }.command-item:hover, .command-item.active { background: rgba(156,232,245,.055); color: #fff; }.command-item-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--feature-line); border-radius: 9px; color: var(--feature-cyan); }.command-item-icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }.command-item strong { display: block; font-size: 13px; font-weight: 520; }.command-item small { display: block; margin-top: 4px; color: #66767c; font-size: 10px; }.command-item > span:last-child { color: #5e6d72; font: 9px/1 var(--font-mono); }.command-empty { padding: 44px 20px; text-align: center; color: #718087; font-size: 13px; }
.article-toc { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--feature-line); }.article-toc > span { display: block; margin-bottom: 12px; color: #5f6c72; font: 8px/1 var(--font-mono); letter-spacing: .12em; }.article-toc a { display: block; margin: 0; padding: 5px 0; color: #83949a; font: 10px/1.5 var(--font-mono); }.article-toc a:hover, .article-toc a.active { color: var(--feature-cyan); }.article-toc a.depth-3 { padding-left: 12px; }
.article-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }.article-tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--feature-line); border-radius: 999px; background: transparent; color: #85969c; cursor: pointer; font-size: 10px; }.article-tool:hover, .article-tool.active { color: #fff; border-color: rgba(156,232,245,.38); background: rgba(156,232,245,.05); }.article-tool svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
body[data-reader-size="small"] .article-body { font-size: 14px; }body[data-reader-size="large"] .article-body { font-size: 19px; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 54px; }.page-link { min-height: 108px; padding: 20px; border: 1px solid var(--feature-line); border-radius: 14px; background: rgba(255,255,255,.016); transition: border-color .25s ease, background .25s ease, transform .25s ease; }.page-link:hover { border-color: rgba(156,232,245,.28); background: rgba(156,232,245,.03); transform: translateY(-3px); }.page-link span { color: #5f6c72; font: 8px/1 var(--font-mono); letter-spacing: .1em; }.page-link strong { display: block; margin-top: 13px; color: #d6e1e4; font-size: 15px; font-weight: 500; line-height: 1.45; }.page-link.next { text-align: right; }
.related-posts { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--feature-line); }.related-posts h2 { margin: 0 0 20px; font-size: 20px; letter-spacing: -.03em; }.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.related-card { padding: 18px; border: 1px solid var(--feature-line); border-radius: 12px; background: rgba(255,255,255,.012); }.related-card:hover { border-color: rgba(156,232,245,.28); }.related-card span { color: #5f6c72; font: 8px/1 var(--font-mono); }.related-card strong { display: block; margin-top: 10px; color: #cbd7da; font-size: 14px; line-height: 1.5; font-weight: 500; }
.lightbox { position: fixed; inset: 0; z-index: 320; display: grid; place-items: center; padding: 24px; background: rgba(2,4,7,.9); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }.lightbox.open { opacity: 1; visibility: visible; }.lightbox img { max-width: min(1200px, 92vw); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 100px rgba(0,0,0,.5); }.lightbox button { position: absolute; top: 20px; right: 22px; width: 40px; height: 40px; border: 1px solid var(--feature-line); border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; cursor: pointer; }
.toast-message { position: fixed; left: 50%; bottom: 30px; z-index: 340; padding: 10px 15px; border: 1px solid var(--feature-line); border-radius: 999px; background: rgba(7,10,14,.94); color: #d7e2e5; font-size: 11px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }.toast-message.show { opacity: 1; transform: translate(-50%,0); }
.extra-page .page-hero { padding: 175px 0 64px; border-bottom: 1px solid var(--feature-line); }.extra-page .page-hero h1 { margin: 24px 0 20px; font-size: clamp(54px, 7vw, 110px); line-height: .95; letter-spacing: -.075em; font-weight: 510; }.extra-page .page-hero p { max-width: 720px; color: #909ea4; line-height: 1.8; }.extra-page .page-content { padding: 72px 0 130px; }.extra-page .page-content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }.extra-page .page-card { min-height: 160px; padding: 24px; border: 1px solid var(--feature-line); border-radius: 16px; background: rgba(255,255,255,.014); }.extra-page .page-card h2 { margin: 0 0 12px; font-size: 22px; font-weight: 520; letter-spacing: -.035em; }.extra-page .page-card p { margin: 0; color: #87979d; line-height: 1.75; }
body[data-theme="light"] { --redesign-bg:#f2f4f5; --redesign-surface:#fff; --redesign-line:rgba(10,24,30,.12); --redesign-line-strong:rgba(10,24,30,.24); --redesign-text:#11181b; --redesign-muted:#526168; --redesign-dim:#78868c; --feature-panel:rgba(255,255,255,.97); --feature-line:rgba(10,24,30,.13); background:#f2f4f5; color:#11181b; }
body[data-theme="light"] #particle-canvas { opacity:.16; }body[data-theme="light"] .scanline,body[data-theme="light"] .noise { display:none; }body[data-theme="light"] .site-header.scrolled { background:rgba(242,244,245,.88); border-color:var(--feature-line); }body[data-theme="light"] .brand-copy strong,body[data-theme="light"] h1,body[data-theme="light"] h2,body[data-theme="light"] h3,body[data-theme="light"] .metrics strong,body[data-theme="light"] .hero-stats strong { color:#11181b !important; }body[data-theme="light"] .hero-lead,body[data-theme="light"] p,body[data-theme="light"] .article-main p { color:#526168 !important; }body[data-theme="light"] .button-ghost,body[data-theme="light"] .nav-cta,body[data-theme="light"] .theme-toggle,body[data-theme="light"] .article-tool,body[data-theme="light"] .back-to-top,body[data-theme="light"] .command-trigger { background:rgba(255,255,255,.7); color:#263237; }body[data-theme="light"] .article-row:hover,body[data-theme="light"] .topic-line:hover { background:linear-gradient(90deg,rgba(0,150,180,.055),transparent); }body[data-theme="light"] .site-footer { background:#e8ecee; }body[data-theme="light"] .command-search-row input { color:#11181b; }body[data-theme="light"] .command-item:hover,body[data-theme="light"] .command-item.active { background:rgba(0,150,180,.06); color:#11181b; }
@media (max-width: 720px) { .command-trigger { right: 14px; bottom: 14px; padding: 10px 12px; }.command-trigger kbd { display: none; }.back-to-top { right: 14px; bottom: 66px; }.article-pagination, .related-grid, .extra-page .page-content-grid { grid-template-columns: 1fr; }.page-link.next { text-align: left; } }
