*{box-sizing:border-box}body,html{width:100%;min-height:100%;margin:0}:root{--title-size:clamp(48px,3.6vw,72px);--regular-size:clamp(24px,1.8vw,34px);--button-size:clamp(30px,2.1vw,42px);--subtitle-size:clamp(20px,1.4vw,28px)}:root,[data-theme=dark]{--foreground:#ffffff;--muted:#c9c9c9;--button-fill:rgba(255,255,255,0.1);--button-fill-hover:rgba(255,255,255,0.17);--terminal-surface:#1c1d20;--button-border:rgba(255,255,255,1);--link:#8fc7ff;--link-hover:#b8ddff;--hairline:rgba(255,255,255,0.18);--reading-surface:transparent;--reading-text:#e9e9e9;--heading:#ffffff;--page-bg:linear-gradient(rgba(43,43,43,0.733),rgba(43,43,43,0.733)),radial-gradient(circle at 50% 38%,rgba(80,87,96,0.62),rgba(42,45,50,0.74) 34%,rgba(16,17,20,1) 78%),linear-gradient(145deg,#3c4047,#24262b 46%,#0f1115)}[data-theme=light]{--foreground:#1a1a1a;--muted:#555555;--button-fill:rgba(0,0,0,0.05);--button-fill-hover:rgba(0,0,0,0.1);--terminal-surface:#f4f4f5;--button-border:rgba(0,0,0,0.35);--link:#1c5d99;--link-hover:#0f3f6e;--hairline:rgba(0,0,0,0.12);--reading-surface:#f7f6f3;--reading-text:#2a2a2a;--heading:#1a1a1a;--page-bg:linear-gradient(rgba(255,255,255,0.55),rgba(255,255,255,0.55)),radial-gradient(circle at 50% 38%,rgba(245,247,250,0.9),rgba(228,232,238,0.85) 34%,rgba(214,219,226,1) 78%),linear-gradient(145deg,#f3f5f8,#e7eaef 46%,#d6dbe2)}body{background:var(--page-bg);background-attachment:fixed;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}.terminal-window,body{color:var(--foreground)}.terminal-window{position:fixed;left:20px;bottom:20px;z-index:50;width:min(92vw,440px);height:280px;min-width:260px;min-height:140px;max-width:96vw;max-height:90vh;display:flex;flex-direction:column;resize:both;overflow:hidden;border:1px solid var(--hairline);border-radius:10px;background:var(--terminal-surface);box-shadow:0 18px 48px rgba(0,0,0,.35);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;opacity:.95}.terminal-mobile-resize-handle{display:none}.terminal-window.expanded{width:min(96vw,900px);height:min(80vh,600px)}.terminal-window.minimized{height:auto;min-height:0;resize:none}.terminal-window.minimized .terminal-titlebar{border-bottom:none;cursor:pointer}.terminal-window.minimized .terminal-body{display:none}.terminal-titlebar{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--hairline);cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.terminal-dot{width:12px;height:12px;border-radius:50%;border:none;padding:0;flex-shrink:0}.terminal-dot.red{background:#ff5f56;cursor:pointer}.terminal-dot.yellow{background:#ffbd2e}.terminal-dot.green{background:#27c93f;cursor:pointer}button.terminal-dot{padding:0}.terminal-label{margin-left:8px;font-size:13px;opacity:.7}.terminal-body{flex:1 1 auto;padding:14px 16px;overflow-y:auto;font-size:14px;line-height:1.6;text-align:left}.terminal-line{white-space:pre-wrap;word-break:break-word}.terminal-prompt{color:#27c93f;margin-right:4px}.terminal-response{opacity:.75}.terminal-input-line{display:flex;align-items:center;position:relative}.terminal-input-text{white-space:pre}.terminal-hidden-input{position:absolute;inset:0;width:100%;border:none;background:transparent;color:transparent;caret-color:transparent;outline:none;font:inherit;padding:0;margin:0}.terminal-cursor{display:inline-block;width:8px;height:1.05em;vertical-align:text-bottom;background:var(--foreground);animation:terminal-blink 1s steps(2,start) infinite}@keyframes terminal-blink{to{opacity:0}}@media (prefers-reduced-motion:reduce){.terminal-cursor{animation:none}}@media (max-width:600px){.terminal-window,.terminal-window.expanded{left:0;right:0;bottom:0;top:auto;width:100%;max-width:100%;height:55vh;height:55svh;max-height:90svh;min-width:0;resize:none;border-left:none;border-right:none;border-bottom:none;border-radius:12px 12px 0 0}.terminal-window.expanded{height:82vh;height:82svh}.terminal-window.minimized{height:auto;min-height:0;bottom:0;top:auto}.terminal-window.minimized .terminal-titlebar{cursor:pointer}.terminal-window:not(.minimized) .terminal-mobile-resize-handle{position:absolute;top:0;left:0;right:0;z-index:1;display:block;height:12px;cursor:ns-resize;touch-action:none}}.theme-toggle{position:fixed;top:16px;right:16px;z-index:1000;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid var(--button-border);border-radius:50%;background:var(--button-fill);color:var(--foreground);cursor:pointer;transition:background .15s ease}.theme-toggle:focus-visible,.theme-toggle:hover{background:var(--button-fill-hover)}.theme-toggle:focus-visible{outline:2px solid var(--link);outline-offset:2px}