:root{--bg-dark:#000500;--bg-light:#001408;--green-primary:#00FF00;--green-dim:#00BB00;--green-faded:rgba(0,255,0,0.6);--green-bright:rgba(0,255,0,0.9);--green-text:rgba(0,255,0,0.85);--error-red:#FF0000;--ui-text-scale:1}*{box-sizing:border-box}*,body,html{margin:0;padding:0}body,html{overflow-x:hidden;background:var(--bg-dark);color:var(--green-bright);font-family:Courier New,Monaco,Lucida Console,monospace}body{min-height:100vh;position:relative}body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9998;background:repeating-linear-gradient(0deg,rgba(0,0,0,.15),rgba(0,0,0,.15) 1px,transparent 0,transparent 2px);animation:scanlines .1s linear infinite}@keyframes scanlines{0%{transform:translateY(0)}to{transform:translateY(2px)}}body:after{content:"";position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9997;background:radial-gradient(circle at center,transparent 0,transparent 60%,rgba(0,5,0,.4) 100%)}h1,h2,h3,h4,h5,h6{color:var(--green-primary);text-transform:uppercase;letter-spacing:2px;font-weight:400}p{line-height:1.6;color:var(--green-text)}a{color:var(--green-primary);text-decoration:none;transition:color .2s}a:hover{color:var(--green-dim);text-decoration:underline}button{background:transparent;border:1px solid var(--green-primary);color:var(--green-primary);padding:10px 20px;font-family:Courier New,monospace;text-transform:uppercase;letter-spacing:2px;cursor:pointer;transition:all .2s;font-size:12px}button:hover{background:var(--green-faded);box-shadow:0 0 10px var(--green-faded)}button:active{transform:scale(.98)}.page-container{min-height:100vh;padding:80px 40px 60px;position:relative;z-index:1}.content{max-width:900px;margin:0 auto}.writing-page-content{max-width:1400px!important}.terminal-box{border:1px solid var(--green-dim);background:rgba(0,5,0,.7);padding:20px;margin:20px 0;position:relative}.terminal-box:before{top:0}.terminal-box:after,.terminal-box:before{content:"";display:block;position:absolute;left:0;right:0;height:1px;background:linear-gradient(to right,var(--green-dim) 10px,transparent 10px,transparent calc(100% - 10px),var(--green-dim) calc(100% - 10px));background-size:20px 1px;background-repeat:repeat-x}.terminal-box:after{bottom:0}.text-dim{color:var(--green-dim)}.text-faded{color:var(--green-faded)}.uppercase{text-transform:uppercase;letter-spacing:1px}@keyframes flicker{0%,to{opacity:1}50%{opacity:.98}}body{animation:flicker .15s infinite;cursor:none}.custom-cursor{position:fixed;pointer-events:none;z-index:10002;transform:translate(-50%,-50%);transition:opacity .1s}.cursor-line{position:absolute;background:var(--green-primary);box-shadow:0 0 4px var(--green-primary);transition:all .15s ease-out}.cursor-line-h{width:20px;height:1px}.cursor-line-h,.cursor-line-v{top:50%;left:50%;transform:translate(-50%,-50%)}.cursor-line-v{width:1px;height:20px}.cursor-expand .cursor-line-h{width:28px}.cursor-expand .cursor-line-v{height:28px}.cursor-expand .cursor-bracket{transition:all .15s ease-out}.cursor-expand .cursor-bracket-tl{top:-14px;left:-14px}.cursor-expand .cursor-bracket-tr{top:-14px;right:-14px}.cursor-expand .cursor-bracket-bl{bottom:-14px;left:-14px}.cursor-expand .cursor-bracket-br{bottom:-14px;right:-14px}.cursor-contract .cursor-line-h{width:14px}.cursor-contract .cursor-line-v{height:14px}.cursor-contract .cursor-bracket{transition:all .15s ease-out}.cursor-contract .cursor-bracket-tl{top:-7px;left:-7px}.cursor-contract .cursor-bracket-tr{top:-7px;right:-7px}.cursor-contract .cursor-bracket-bl{bottom:-7px;left:-7px}.cursor-contract .cursor-bracket-br{bottom:-7px;right:-7px}.cursor-scroll .cursor-line-h{width:0;opacity:0}.cursor-scroll .cursor-line-v{height:40px}.cursor-scroll .cursor-bracket{transition:all .15s ease-out}.cursor-scroll .cursor-bracket-tl{top:-20px;left:-10px;border-bottom:1px solid var(--green-primary);border-right:none}.cursor-scroll .cursor-bracket-tr{top:-20px;right:-10px;border-bottom:1px solid var(--green-primary);border-left:none}.cursor-scroll .cursor-bracket-bl{bottom:-20px;left:-10px;border-top:1px solid var(--green-primary);border-right:none}.cursor-scroll .cursor-bracket-br{bottom:-20px;right:-10px;border-top:1px solid var(--green-primary);border-left:none}.cursor-center{position:absolute;width:4px;height:4px;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--green-primary);border-radius:50%;box-shadow:0 0 6px var(--green-primary)}.cursor-bracket{position:absolute;width:8px;height:8px;border:1px solid var(--green-primary)}.cursor-bracket-tl{top:-10px;left:-10px;border-right:none;border-bottom:none}.cursor-bracket-tr{top:-10px;right:-10px;border-left:none;border-bottom:none}.cursor-bracket-bl{bottom:-10px;left:-10px;border-right:none;border-top:none}.cursor-bracket-br{bottom:-10px;right:-10px;border-left:none;border-top:none}.cursor-trail{position:fixed;pointer-events:none;z-index:10001;background:var(--green-primary);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 4px var(--green-primary)}.recon-target,a,button,input,select,textarea{cursor:none!important}.recon-target{position:relative;display:inline;border-bottom:1px dotted var(--green-dim);transition:border-color .2s}.recon-target:hover{border-bottom-color:var(--green-primary)}.recon-box{background:rgba(0,5,0,.95);border:1px solid var(--green-primary);box-shadow:0 0 20px rgba(0,255,0,.3);min-width:280px;max-width:400px;font-size:11px;animation:reconFadeIn .2s ease-out;pointer-events:none}@keyframes reconFadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.recon-box-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:rgba(0,255,0,.1);border-bottom:1px solid var(--green-dim)}.recon-box-id{color:var(--green-dim);font-size:10px;flex-shrink:0;margin-left:12px}.recon-box-content{padding:12px}.recon-box-title{color:var(--green-primary);font-weight:700;text-transform:uppercase;letter-spacing:1px;font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recon-box-category{color:var(--green-dim);font-size:10px;margin-bottom:8px}.recon-box-description{color:var(--green-bright);line-height:1.5;margin-bottom:8px}.recon-box-meta{border-top:1px solid var(--green-dim);padding-top:8px;margin-top:8px}.recon-box-meta-item{color:var(--green-dim);font-size:10px;margin-bottom:3px}.recon-box-footer{padding:6px 12px;background:rgba(0,255,0,.05);border-top:1px solid var(--green-dim);text-align:center;color:var(--green-dim);font-size:10px}@media (min-width:769px){.recon-box{transform:scale(var(--ui-text-scale,1));transform-origin:top left}}.site-header{position:fixed;top:20px;left:20px;right:20px;z-index:1000;justify-content:space-between}.back-to-cube,.site-header{display:flex;align-items:center}.back-to-cube{gap:8px;padding:8px 16px;background:rgba(0,5,0,.8);border:1px solid var(--green-dim);color:var(--green-dim);text-decoration:none;font-size:11px;letter-spacing:1px;transition:all .2s;backdrop-filter:blur(4px)}.back-to-cube:hover{border-color:var(--green-primary);color:var(--green-primary);background:rgba(0,5,0,.95);box-shadow:0 0 10px rgba(0,255,0,.2);text-decoration:none;transform:translateX(-2px)}.back-arrow{font-size:14px;transition:transform .2s}.back-to-cube:hover .back-arrow{transform:translateX(-3px)}.back-text,.page-title-header{text-transform:uppercase}.page-title-header{color:var(--green-primary);font-size:16px;letter-spacing:2px;font-weight:400;padding:8px 16px;background:rgba(0,5,0,.8);border:1px solid var(--green-dim);backdrop-filter:blur(4px)}.site-footer{position:fixed;bottom:0;left:0;right:0;background:rgba(0,5,0,.95);border-top:1px solid var(--green-primary);padding:20px 0 10px;z-index:10;opacity:0;pointer-events:none;transition:opacity .3s ease,transform .3s ease}.site-footer.visible{opacity:1;pointer-events:auto}.site-footer.collapsed{transform:translateY(100%)}.site-footer.collapsed .footer-collapse-btn{transform:translateY(-29px)}.footer-collapse-btn{position:absolute;top:5px;right:20px;background:transparent;border:1px solid var(--green-dim);color:var(--green-primary);font-size:12px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:2px;transition:all .2s ease;z-index:11}.footer-collapse-btn:hover{background:rgba(0,255,0,.1);border-color:var(--green-primary);box-shadow:0 0 5px rgba(0,255,0,.3)}.footer-content{display:flex;justify-content:space-between;align-items:flex-start;padding:0 30px 15px;max-width:1400px;margin:0 auto}.footer-section{flex:1;font-size:10px}.footer-center{text-align:center}.footer-right{text-align:right}.footer-line{margin-bottom:6px;color:var(--green-bright);letter-spacing:.5px}.footer-label{color:var(--green-dim);margin-right:6px}.footer-copyright,.footer-value{color:var(--green-primary)}.footer-copyright{margin:0 6px}.footer-bracket,.footer-dim{color:var(--green-dim)}.footer-dim{font-size:9px}.footer-border{text-align:center;color:var(--green-dim);font-size:10px;padding:5px 0;overflow:hidden}main.with-layout{min-height:100vh}.text-glow:hover{text-shadow:0 0 8px var(--green-primary);transition:text-shadow .2s}.typing-indicator:after{content:"_";animation:blink 1s infinite}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}.blink-prompt{animation:blink 1s infinite}.thinker-tooltip{position:relative;cursor:pointer;border-bottom:1px dotted var(--green-dim);transition:border-color .2s}.thinker-tooltip:hover{border-bottom-color:var(--green-primary)}.thinker-tooltip .tooltip-text{visibility:hidden;opacity:0;position:absolute;bottom:125%;left:50%;transform:translateX(-50%);background:rgba(0,5,0,.98);border:1px solid var(--green-primary);box-shadow:0 0 15px rgba(0,255,0,.3);padding:8px 12px;border-radius:3px;white-space:nowrap;z-index:1000;font-size:11px;color:var(--green-bright);pointer-events:none;transition:opacity .2s,visibility .2s}.thinker-tooltip:hover .tooltip-text{visibility:visible;opacity:1}.thinker-tooltip .tooltip-text:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top:5px solid var(--green-primary)}.terminal-prompt{color:var(--green-primary);font-weight:700}.terminal-prompt:before{content:"> ";color:var(--green-dim)}.loading-dots:after{content:"...";animation:loadingDots 1.5s infinite}@keyframes loadingDots{0%{content:"."}33%{content:".."}66%{content:"..."}}.glitch{position:relative;animation:glitch 3s infinite}@keyframes glitch{0%,90%,to{transform:translate(0)}92%{transform:translate(-2px,1px)}94%{transform:translate(2px,-1px)}96%{transform:translate(-1px,2px)}98%{transform:translate(1px,-2px)}}.crt-screen{border-radius:8px;box-shadow:inset 0 0 100px rgba(0,255,0,.05)}.border-glow{border:1px solid var(--green-primary);box-shadow:0 0 5px var(--green-primary),inset 0 0 5px var(--green-primary);animation:borderPulse 2s infinite}@keyframes borderPulse{0%,to{box-shadow:0 0 5px var(--green-primary),inset 0 0 5px var(--green-primary)}50%{box-shadow:0 0 10px var(--green-primary),inset 0 0 8px var(--green-primary)}}.aphorism-container{max-width:900px;margin:0 auto;padding:40px 20px;min-height:calc(100vh - 200px);display:flex;flex-direction:column;justify-content:center}.aphorism-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:60px}.aphorism-header h1{font-size:16px;margin:0}.aphorism-counter{font-size:11px;color:var(--green-dim);letter-spacing:1px}.aphorism-content{text-align:center;margin:60px 0;padding:0 40px}.aphorism-quote{font-size:20px;line-height:1.8;color:var(--green-primary);margin-bottom:30px;font-style:italic;min-height:150px;display:flex;align-items:center;justify-content:center}.aphorism-author{font-size:14px;color:var(--green-dim);letter-spacing:2px;text-transform:uppercase}.aphorism-controls{display:flex;justify-content:center;gap:20px;margin-top:60px}.aphorism-btn{padding:12px 24px;font-size:11px;background:transparent;border:1px solid var(--green-dim);color:var(--green-dim);transition:all .2s}.aphorism-btn:hover{background:rgba(0,255,0,.05);box-shadow:0 0 10px rgba(0,255,0,.2)}.aphorism-btn-random,.aphorism-btn:hover{border-color:var(--green-primary);color:var(--green-primary)}.aphorism-btn-random:hover{background:rgba(0,255,0,.1);box-shadow:0 0 15px rgba(0,255,0,.3)}.aphorism-hint{text-align:center;margin-top:40px;font-size:10px}.writing-layout{display:grid;grid-template-columns:350px 1fr;gap:30px;margin-top:40px;height:600px}.writing-browser{border:1px solid var(--green-dim);background:rgba(0,5,0,.5);height:fit-content;max-height:600px;display:flex;flex-direction:column}.browser-header{padding:12px;background:var(--bg-dark);border-bottom:1px solid var(--green-dim);font-size:11px;letter-spacing:1px;flex-shrink:0}.file-tree{padding:15px;font-size:12px;overflow-y:auto;flex:1;min-height:0}.file-tree-root,.text-bright{color:var(--green-primary)}.file-tree-root{margin-bottom:12px;font-weight:700;letter-spacing:1px}.file-tree-folder{margin-bottom:8px}.file-tree-item{display:flex;align-items:center;padding:6px 8px;cursor:pointer;transition:all .15s;border-left:2px solid transparent}.file-tree-item:hover{background:rgba(0,255,0,.08);border-left-color:var(--green-dim)}.file-tree-item.selected{background:rgba(0,255,0,.15);border-left-color:var(--green-primary)}.folder-item{color:var(--green-primary)}.file-item{color:var(--green-bright);padding-left:16px}.file-tree-icon{margin-right:8px;font-size:14px;flex-shrink:0}.file-tree-name{flex:1;font-family:Courier New,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-name{color:var(--green-primary);font-weight:700;letter-spacing:1px}.file-tree-type{margin-left:8px;color:var(--green-dim);font-size:10px;flex-shrink:0}.file-tree-contents{margin-left:12px}.file-tree::-webkit-scrollbar{width:8px}.file-tree::-webkit-scrollbar-track{background:rgba(0,5,0,.5)}.file-tree::-webkit-scrollbar-thumb{background:var(--green-dim);border-radius:4px}.file-tree::-webkit-scrollbar-thumb:hover{background:var(--green-primary)}.writing-main{height:600px}.document-viewer{border:1px solid var(--green-dim);background:rgba(0,5,0,.3);height:100%;display:flex;flex-direction:column}.document-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:500px;padding:40px;text-align:center}.document-header{padding:15px 20px;background:rgba(0,255,0,.05);border-bottom:1px solid var(--green-dim);position:sticky;top:0;z-index:10;backdrop-filter:blur(4px)}.document-title{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:1px}.document-type{font-size:10px;color:var(--green-dim);letter-spacing:.5px}.document-content{padding:30px;overflow-y:auto;line-height:1.8;flex:1;min-height:0}.document-text{font-family:Courier New,monospace;white-space:pre-wrap;word-wrap:break-word}.document-html,.document-text{color:var(--green-bright);font-size:13px;line-height:1.8}.document-html p{margin-bottom:16px}.document-html h1,.document-html h2,.document-html h3{color:var(--green-primary);margin-top:24px;margin-bottom:12px;text-transform:uppercase;letter-spacing:2px}.document-html h1{font-size:18px;border-bottom:1px solid var(--green-dim);padding-bottom:8px}.document-html h2{font-size:16px}.document-html h3{font-size:14px}.document-html b,.document-html strong{color:var(--green-primary);font-weight:700}.document-html em,.document-html i{color:var(--green-bright);font-style:italic}.document-html ol,.document-html ul{margin-left:30px;margin-bottom:16px}.document-html li{margin-bottom:8px}.document-html img{max-width:100%;height:auto;margin:20px 0;border:1px solid var(--green-dim);padding:4px;background:rgba(0,5,0,.5)}.document-html code{background:rgba(0,255,0,.1);border:1px solid var(--green-dim);padding:2px 6px;font-family:Courier New,monospace;color:var(--green-primary);font-size:12px}.document-html pre{background:rgba(0,5,0,.7);border:1px solid var(--green-dim);padding:15px;overflow-x:auto;margin-bottom:16px}.document-html pre code{background:none;border:none;padding:0}.document-html .katex{color:var(--green-primary);font-size:1.1em}.document-html .katex-display{margin:20px 0;padding:15px;background:rgba(0,255,0,.05);border-left:3px solid var(--green-dim);overflow-x:auto}.document-content::-webkit-scrollbar{width:8px}.document-content::-webkit-scrollbar-track{background:rgba(0,5,0,.5)}.document-content::-webkit-scrollbar-thumb{background:var(--green-dim);border-radius:4px}.document-content::-webkit-scrollbar-thumb:hover{background:var(--green-primary)}.error-text{color:var(--error-red)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:rgba(0,5,0,.5)}::-webkit-scrollbar-thumb{background:var(--green-dim);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--green-primary)}@media (max-width:1024px){.writing-layout{grid-template-columns:300px 1fr;gap:20px}.page-container{padding:70px 30px 50px}.site-header{top:15px;left:15px;right:15px}}@media (max-width:768px){.writing-layout{grid-template-columns:1fr}.writing-browser{max-height:400px}.page-container{padding:70px 20px 40px}.content{max-width:100%}.site-header{top:10px;left:10px;right:10px;flex-direction:column;gap:10px;align-items:flex-start}.back-to-cube{font-size:10px;padding:6px 12px}.page-title-header{font-size:14px;padding:6px 12px;width:100%;text-align:center}.footer-content{flex-direction:column;gap:15px;padding:0 20px 15px}.footer-right,.footer-section{text-align:center!important}.terminal-box{padding:15px;margin:15px 0}h1{font-size:18px}h2{font-size:16px}h3{font-size:14px}p{font-size:13px}button{padding:8px 16px;font-size:11px}.aphorism-quote{font-size:16px;min-height:100px;padding:0 10px}.aphorism-author{font-size:12px}.aphorism-controls{gap:10px;flex-wrap:wrap}.aphorism-btn{padding:10px 18px}.document-viewer{max-height:500px}.document-content{padding:20px;font-size:12px}@media (hover:none) and (pointer:coarse){.cursor-trail,.custom-cursor{display:none!important}body{cursor:auto!important}a,button,input,select,textarea{cursor:pointer!important}}}@media (max-width:480px){.page-container{padding:60px 15px 30px}.back-to-cube{font-size:9px;padding:5px 10px}.page-title-header{font-size:12px;padding:5px 10px}.terminal-box{padding:12px}.aphorism-quote{font-size:14px;padding:0 5px}.footer-line{font-size:9px}}@media (hover:none) and (pointer:coarse){button{min-width:44px}a,button{min-height:44px}a{display:inline-flex;align-items:center}*{-webkit-tap-highlight-color:rgba(0,255,0,.1);-webkit-touch-callout:none}a:active,button:active{background:rgba(0,255,0,.1)}}@media (min-width:769px){html{overflow:hidden}body,html{height:100%}body{overflow-x:hidden;overflow-y:auto}.page-container,main.with-layout{overflow:visible}.page-container{transform:scale(var(--ui-text-scale,1));transform-origin:top center;width:100%;max-width:100%}.fixed.inset-0.z-50{display:flex!important;align-items:center!important;justify-content:center!important;z-index:10001!important}.fixed.inset-0.z-50>div:not([class*=bg-black]):not([class*=opacity-]){transform:scale(var(--ui-text-scale,1))!important;transform-origin:center center!important}}@keyframes pulse{0%,to{text-shadow:0 0 10px rgba(0,255,0,.5)}50%{text-shadow:0 0 20px rgba(0,255,0,.8),0 0 30px rgba(0,255,0,.4)}}@keyframes slideIn{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}