/* The front door: a person, an open terminal, and a few things worth keeping. */
.wallpaper{transform:translate3d(var(--scene-x,0px),var(--scene-y,0px),0) scale(1.045);will-change:transform}
.wallpaper:after{
  background:linear-gradient(#e7f0fb55 76px,#e7f0fba8 205px);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
[data-theme=dark] .wallpaper:after{
  background:linear-gradient(#060f2060 76px,#060f20c4 205px);
}
body[data-page=home]{
  --cover-top:#fff9ea0a;
  --cover-tint:#fffaf037;
  --cover-text-halo:#fffbf1ef;
}
[data-theme=dark] body[data-page=home]{
  --cover-top:#080d182b;
  --cover-tint:#090f1d88;
  --cover-text-halo:#070c18;
}
body[data-page=home] .wallpaper:before{display:none}
:root[data-theme=light] .main-home .home-profile{
  background:linear-gradient(110deg,#fffffff0,#fffef9d6 55%,#fffef9a8);
}
:root .site-header[data-photo-ink=light]{
  --nav-text:#fff;--nav-text-halo:#0b101c;--nav-pill:#f3f8ff30;
}
:root .site-header[data-photo-ink=dark]{
  --nav-text:#101b2a;--nav-text-halo:#fff;--nav-pill:#ffffff40;
}
:root[data-theme] .site-header[data-photo-ink] :is(.brand,.main-nav>a){
  text-shadow:0 1px 2px var(--nav-text-halo);
}
@media(max-width:680px){
  .site-header[data-photo-ink=light] .main-nav{--nav-menu-tint:#111b2be6}
  .site-header[data-photo-ink=dark] .main-nav{--nav-menu-tint:#fffdf4e6}
}
.wallpaper.has-daily-image:before{display:none}
.daily-wallpaper{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
body:not([data-page=home]) .daily-wallpaper{filter:blur(2px)}
@media(prefers-reduced-motion:no-preference){
  .daily-wallpaper{animation:daily-exposure .65s ease-out both}
  @keyframes daily-exposure{from{opacity:0}to{opacity:1}}
}
body[data-page=home] .wallpaper:after{
  background:linear-gradient(var(--cover-top) 76px,var(--cover-tint) 205px);
}
.main-home .home-writing>header,body[data-page=home] .site-footer{
  text-shadow:0 1px 3px var(--cover-text-halo),0 0 6px var(--cover-text-halo);
}
.main-home{display:block;max-width:1120px;width:calc(100% - 80px);min-height:0;margin:50px auto 0;padding:0 0 58px}
.home-stage{display:grid;grid-template-columns:1fr 1.04fr;gap:32px;align-items:start}
.home-profile{padding:27px 36px 24px;border-radius:36px;min-width:0;box-shadow:none;animation:home-enter .9s cubic-bezier(.16,1,.3,1) both}
.home-hello{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;gap:12px}
.home-hello>span:last-child{display:flex;align-items:center;gap:4px;font-size:10px}.home-hello .icon{width:13px;height:13px}
.home-avatar{display:block;position:relative;width:91px;height:91px;margin:30px 0 22px;border-radius:30px}
.home-avatar .avatar{display:block;width:91px;height:91px;border-radius:30px;border:3px solid #ffffff90;box-shadow:0 9px 28px #0b214c30;transition:transform .65s cubic-bezier(.16,1,.3,1)}
.home-avatar:hover .avatar{transform:rotate(-9deg) scale(1.06)}
.avatar-orbit{position:absolute;inset:-7px;border:1px solid #ffffff55;border-radius:36px;pointer-events:none;transform:rotate(-8deg);transition:transform .7s}
.home-avatar:hover .avatar-orbit{transform:rotate(9deg) scale(1.06)}
.home-name h1{color:var(--ink);font-family:"Segoe UI",sans-serif;font-size:57px;line-height:1.15;letter-spacing:-2.5px;font-weight:650}
.home-name h1>span{color:var(--blue);margin-left:2px}.home-name>p{color:var(--blue);font-size:15px;margin-top:12px;letter-spacing:.6px}
.home-intro{font-size:14px;line-height:2.05;margin-top:23px;color:var(--muted)}
.footer-bottom>.footer-signature{display:flex;align-items:center;gap:18px;min-width:0;flex:1;width:auto}.footer-signature>span{flex-shrink:0}
.footer-hitokoto{display:flex;align-items:center;gap:9px;min-width:0;max-width:480px;padding:4px 0;border:0;background:transparent;color:var(--muted);font:inherit;text-align:left;cursor:pointer}
.footer-hitokoto:disabled{cursor:default;opacity:1}.footer-hitokoto:focus-visible{outline:2px solid var(--blue);outline-offset:5px;border-radius:4px}
.hitokoto-label{display:flex;align-items:center;flex-shrink:0;color:var(--faint);font-size:0}.hitokoto-label .icon{width:12px;height:12px;transition:transform .3s ease,color .2s ease}
.footer-hitokoto:hover .hitokoto-label .icon{transform:rotate(60deg);color:var(--blue)}
.hitokoto-content{display:block;min-width:0}.hitokoto-text{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.hitokoto-source{margin-left:8px;color:var(--faint);font-size:10px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:1000px){body[data-page=home] .footer-bottom{flex-wrap:wrap}.footer-bottom>.footer-signature{flex-basis:100%}.footer-bottom>.footer-signature+.footer-controls{width:auto}}
@media(max-width:680px){.footer-bottom>.footer-signature{align-items:flex-start;gap:12px}.footer-hitokoto{padding:0}.hitokoto-text{font-size:10px}.hitokoto-source{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hitokoto-label .icon{transition:none}.footer-hitokoto:hover .hitokoto-label .icon{transform:none}}

.home-buttons{display:flex;gap:11px;margin-top:26px;flex-wrap:wrap}.home-buttons .button{min-height:46px;padding:12px 23px;font-size:13px}.home-buttons .button-primary{color:#fff}[data-theme=dark] .home-buttons .button-primary{color:#142e54}.home-buttons .button-outline{color:var(--ink)}
.home-social{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:19px;margin-top:29px;font-size:10px;color:var(--muted)}
.home-social>a{display:flex;align-items:center;gap:6px;border-radius:8px}.home-social>a:hover{color:var(--blue)}.home-social .icon{width:16px;height:16px}.home-time{display:flex;flex-direction:column;line-height:1.6;margin-left:auto;text-align:right;font-variant-numeric:tabular-nums;font-size:11px}.home-time small{font-size:8px;color:var(--faint)}
.home-side{min-width:0;padding-top:32px;animation:home-enter 1s .12s cubic-bezier(.16,1,.3,1) both}
.home-console{border-radius:25px;overflow:hidden;min-width:0;font-family:"Cascadia Code",Consolas,"Microsoft YaHei",monospace;box-shadow:0 23px 55px #0b244625,inset 0 1px 1px #ffffff80}
.console-bar{min-height:50px;display:flex;align-items:center;padding:0 19px;gap:16px;border-bottom:1px solid var(--line);background:#ffffff0a}
.console-dots{display:flex;gap:7px}.console-dots i{display:block;width:9px;height:9px;border-radius:50%;background:#ed8a7e;box-shadow:inset 0 1px 1px #ffffff50}.console-dots i:nth-child(2){background:#e6bd61}.console-dots i:nth-child(3){background:#83b89a}
.console-bar h2{font-size:11px;letter-spacing:0;line-height:1.5;font-weight:400;color:var(--ink)}.console-bar h2 span{color:var(--faint);font-size:10px}.console-bar .icon-button{margin-left:auto;width:27px;height:27px;color:var(--faint)}.console-bar .icon{width:14px;height:14px}
.console-screen{padding:24px 25px 18px;min-height:304px;font-size:13px;line-height:1.9}
.console-command{color:var(--muted);font-size:11px;margin-bottom:17px}.console-command>span,.console-form label>span:first-child{color:var(--green);padding-right:7px}
.home-code{font:inherit;line-height:1.9;margin:0;min-height:94px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);tab-size:2}
.code-line{display:block;min-height:1.9em}.syn-keyword{color:#8053ae}.syn-type{color:#267c8c}.syn-method{color:#396bb2}.syn-string{color:#94712d}[data-theme=dark] .syn-keyword{color:#c5a4ee}[data-theme=dark] .syn-type{color:#83cfcc}[data-theme=dark] .syn-method{color:#a4c5ff}[data-theme=dark] .syn-string{color:#e9c98c}
.code-typing:after{content:"";display:inline-block;vertical-align:-2px;height:14px;width:6px;margin-left:2px;background:var(--blue);animation:caret-blink .8s step-end infinite}
.console-output{font-size:12px;line-height:1.8;margin:13px 0 14px;border-left:2px solid #739e8b66;padding-left:11px;min-height:43px;transition:opacity .4s,transform .4s}.console-output p{color:var(--green)}.console-output.is-pending{opacity:0;transform:translateY(5px)}
.console-log{max-height:145px;overflow:auto;scrollbar-width:thin;font-size:11px;overflow-wrap:anywhere}.console-log p{margin-bottom:7px;white-space:pre-wrap;color:var(--muted)}.console-log .command-echo{color:var(--blue)}.console-log a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.console-form{display:flex;align-items:center;gap:5px;border-top:1px solid var(--line);padding-top:10px}.console-form label{display:flex;align-items:center}.console-form input{width:100%;min-width:0;flex:1;background:transparent;border:0;outline:none;box-shadow:none;font:inherit;font-size:11px;color:var(--ink);padding:5px 0}.console-form input::placeholder{color:var(--faint)}.console-form:focus-within{border-top-color:var(--blue)}.console-form button{font:inherit;font-size:16px;color:var(--blue);width:28px;border-radius:8px}
.console-footer{display:flex;justify-content:space-between;gap:10px;padding:10px 19px;border-top:1px solid var(--line);font:9px "Segoe UI","Microsoft YaHei",sans-serif;color:var(--faint)}.console-footer>span{display:flex;align-items:center;gap:6px}.console-footer i{width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #82b49b15;animation:status-pulse 3s ease-in-out infinite}.console-footer button{font-size:9px;padding:2px 3px;color:var(--muted);border-radius:4px}.console-footer .icon{width:11px;height:11px}
.linux-screen{height:326px;position:relative;overflow:hidden;font:11px/1.85 "Cascadia Code",Consolas,"Liberation Mono",monospace;color:var(--ink);background:#f3f7fc0a}
.linux-scrollback{height:100%;overflow:auto;padding:20px 21px;scrollbar-width:thin;scrollbar-color:var(--line) transparent;overflow-wrap:anywhere;overscroll-behavior:contain}
.linux-line{white-space:pre-wrap;min-height:1.85em;word-break:break-word}.linux-muted{color:var(--faint)}.linux-user,.linux-success{color:var(--green)}.linux-path{color:var(--blue)}.linux-debug{color:#9d69b8}.linux-error{color:var(--red)}[data-theme=dark] .linux-debug{color:#c7a0e4}
.linux-caret{display:inline-block;width:.62em;min-width:.62em;background:var(--ink);color:var(--bg);line-height:1.45;vertical-align:baseline;animation:terminal-caret 1.1s step-end infinite;white-space:pre}.linux-scene-label{max-width:52%;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.console-playback{font:11px monospace}
.linux-editor{height:100%;display:flex;flex-direction:column;padding-top:9px}.vim-buffer{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding-bottom:4px;font-size:10.5px;line-height:1.7;tab-size:4;scrollbar-color:var(--line) transparent}
.vim-line{display:flex;min-height:1.7em;white-space:pre;width:max-content;min-width:100%;padding-right:13px}.vim-line.is-current{background:#6f9bd313}.vim-linenum{width:34px;flex-shrink:0;text-align:right;padding-right:11px;color:var(--faint);user-select:none}.vim-code{white-space:pre}.vim-number{color:#98714f}[data-theme=dark] .vim-number{color:#e5ba91}.vim-caret{display:inline-block;background:var(--ink);color:var(--bg);line-height:1.4;min-width:.62em;white-space:pre;animation:terminal-caret 1.1s step-end infinite}.vim-caret.is-insert{background:transparent;color:inherit;box-shadow:inset 1px 0 var(--ink)}
.vim-status{display:flex;align-items:center;gap:12px;font-size:9px;line-height:2.2;background:#4b79b61c;color:var(--muted);border-top:1px solid var(--line);padding-right:13px}.vim-status>span:first-child{background:var(--blue-soft);color:var(--blue);font-weight:600;padding:0 10px}.vim-status>span:last-child{margin-left:auto}.vim-command{min-height:24px;padding:2px 10px;white-space:pre;font-size:10px;line-height:2}.vim-command:has(.linux-caret){color:var(--ink)}
.linux-screen.is-paused *{animation-play-state:paused!important}.linux-screen.is-paused .linux-caret{opacity:.65}@keyframes terminal-caret{50%{opacity:.15}}
.linux-train,.linux-process{position:absolute;inset:0;margin:0;padding:28px 10px;overflow:hidden;white-space:pre;font:inherit;line-height:1.55;color:var(--ink);display:flex;align-items:center}.linux-process{display:block;padding:20px 15px;font-size:10px;line-height:1.85}.linux-train{padding-top:75px;display:block}
@media(min-width:1500px){.linux-screen{height:347px;font-size:12px}.vim-buffer{font-size:11px}}
@media(max-width:1000px) and (min-width:681px){.linux-screen{font-size:10px;height:312px}.linux-scrollback{padding:18px 17px}.vim-buffer{font-size:9.5px}.vim-linenum{width:29px;padding-right:8px}}
@media(max-width:680px){.linux-screen{height:326px;font-size:10.5px}.linux-scrollback{padding:20px 18px}.vim-buffer{font-size:10px}.console-bar h2 span{font-size:8px;display:block}.console-bar h2{font-size:10px}.console-bar{min-height:50px}}
@media(max-width:360px){.linux-screen{font-size:9.5px}.linux-scrollback{padding:19px 15px}.vim-buffer{font-size:9px}}
.home-project{display:flex;align-items:center;gap:15px;margin-top:24px;border-radius:22px;padding:20px 22px}.project-mini-icon{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:14px;background:#6fa58b1a;color:var(--green);border:1px solid #8eb7a73a}.project-mini-icon .icon{width:24px;height:24px}.home-project>div{min-width:0}.home-project>div>span{font-size:10px;color:var(--muted)}.home-project h2{font-size:17px;font-weight:600;letter-spacing:-.3px;color:var(--ink);overflow-wrap:anywhere}.home-project p{font-size:10px;margin-top:3px}.home-project>.icon{margin-left:auto;width:18px;height:18px;color:var(--blue);transition:transform .3s}.home-project:hover>.icon{transform:translate(3px,-3px)}
.home-writing{margin-top:57px}.home-writing>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:21px;padding:0 5px}.section-kicker{font-size:10px;color:var(--muted);letter-spacing:2px}.home-writing h2{font-size:25px;line-height:1.6;margin-top:3px;letter-spacing:-.5px;color:var(--ink)}.home-writing>header>div:last-child{display:flex;gap:22px}.home-writing>header a{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;border-radius:6px}.home-writing>header .icon{width:13px;height:13px}
.home-entries{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-entry{display:block;border-radius:24px;padding:25px 27px;min-width:0}.home-entry-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:9px;color:var(--muted)}.home-entry-meta>span:first-child{color:var(--blue)}.home-entry h3{font-size:21px;line-height:1.5;margin-top:15px;display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--ink)}.home-entry h3 .icon{height:17px;width:17px;color:var(--blue);transition:transform .3s}.home-entry:hover h3 .icon{transform:translate(3px,-3px)}.home-entry>p{font-size:11px;margin-top:9px;line-height:1.9}.home-entry-tags{display:flex;gap:17px;margin-top:20px;font-size:9px;color:var(--faint)}
.home-profile>.home-avatar,.home-profile>.home-name,.home-profile>.home-intro,.home-profile>.home-buttons,.home-profile>.home-social{animation:home-detail .9s cubic-bezier(.16,1,.3,1) both}.home-profile>.home-avatar{animation-delay:.13s}.home-profile>.home-name{animation-delay:.2s}.home-profile>.home-intro{animation-delay:.28s}.home-profile>.home-buttons{animation-delay:.36s}.home-profile>.home-social{animation-delay:.43s}
@keyframes home-enter{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes home-detail{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes caret-blink{50%{opacity:0}}@keyframes status-pulse{50%{box-shadow:0 0 0 5px #82b49b00}}
.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:10000;opacity:0;transition:opacity .18s;will-change:transform}.cursor-dot{width:5px;height:5px;border-radius:50%;background:var(--blue)}.cursor-ring{border:1px solid #527ead90;background:#709fe008;box-shadow:0 0 10px #8eb7ed10;box-sizing:border-box}.cursor-ring.is-hover{border-color:#668fcb88;background:#84aaf411;box-shadow:0 0 17px #6b9de518}.cursor-visible .cursor-dot,.cursor-visible .cursor-ring{opacity:1}.cursor-hidden .cursor-dot,.cursor-hidden .cursor-ring{opacity:0}.has-custom-cursor{cursor:auto}.has-custom-cursor a,.has-custom-cursor button{cursor:pointer}.has-custom-cursor input,.has-custom-cursor textarea,.has-custom-cursor [contenteditable]{cursor:text}.has-custom-cursor .search-dialog,.has-custom-cursor .search-dialog *,.has-custom-cursor .focus-dialog,.has-custom-cursor .focus-dialog *{cursor:auto}
[data-magnet]{translate:var(--magnet-x,0px) var(--magnet-y,0px);transition:translate .3s cubic-bezier(.16,1,.3,1),background-color .2s,border-color .2s,box-shadow .2s,transform .25s}.button .icon{transition:transform .25s}.button:hover .icon:last-child{transform:translateX(2px)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.has-custom-cursor.cursor-native{cursor:auto}.has-custom-cursor.cursor-native a,.has-custom-cursor.cursor-native button{cursor:pointer}
body[data-page=home] .site-footer{padding-bottom:24px}
@media(min-width:1500px){.main-home{margin-top:65px}.home-profile{padding:31px 40px 26px}.home-avatar{margin-top:35px}.home-name h1{font-size:62px}.home-intro{margin-top:27px}.home-buttons{margin-top:30px}.home-social{margin-top:34px}.home-side{padding-top:38px}.console-screen{min-height:325px;padding-top:29px}.home-writing{margin-top:66px}}
@media(max-width:1000px){.main-home{width:calc(100% - 56px);margin-top:32px}.home-stage{gap:22px;grid-template-columns:1fr 1fr}.home-profile{padding:24px 27px}.home-name h1{font-size:49px}.home-intro{font-size:12px}.home-name>p{font-size:12px}.home-buttons{gap:8px}.home-buttons .button{font-size:11px;padding:11px 17px;min-height:43px}.home-social{gap:17px}.home-social>a span{display:none}.console-screen{padding:21px 19px;min-height:290px;font-size:11px}.console-bar{padding-inline:15px;gap:11px}.console-bar h2{font-size:10px}.console-bar h2 span{font-size:8px}.console-dots{gap:5px}.console-dots i{width:7px;height:7px}.console-footer{padding-inline:15px}.console-footer button{font-size:8px}.home-project{padding:19px 17px;gap:11px}.home-project h2{font-size:14px}.project-mini-icon{width:35px;height:35px;border-radius:12px}.home-entry{padding:23px}.home-entry h3{font-size:19px}}
@media(max-width:680px){.main-home{width:calc(100% - 32px);margin-top:23px;padding:0 0 35px}.home-stage{grid-template-columns:1fr;gap:23px}.home-profile{padding:25px 27px 22px;border-radius:30px}.home-avatar{margin-top:26px;width:81px;height:81px}.home-avatar .avatar{width:81px;height:81px;border-radius:27px}.avatar-orbit{border-radius:33px}.home-name h1{font-size:51px}.home-name>p{font-size:13px;margin-top:10px}.home-intro{font-size:13px;margin-top:21px}.home-buttons{margin-top:23px;gap:11px}.home-buttons .button{font-size:12px;padding:12px 21px}.home-social{margin-top:24px;gap:23px}.home-social>a span{display:inline;font-size:9px}.home-social .icon{width:15px;height:15px}.home-time{font-size:10px}.home-side{padding-top:0;animation-delay:.2s}.home-console{border-radius:25px}.console-screen{font-size:11px;min-height:298px;padding:23px 23px 18px}.console-bar{min-height:47px;padding-inline:19px;gap:13px}.console-bar h2{font-size:10px}.console-bar h2 span{font-size:9px}.console-footer{padding:11px 18px}.console-footer button{font-size:9px}.home-project{margin-top:17px;padding:19px 23px}.home-project h2{font-size:16px}.project-mini-icon{width:39px;height:39px}.home-writing{margin-top:33px}.home-writing>header{margin-bottom:17px}.home-writing h2{font-size:23px}.home-writing>header>div:last-child{gap:15px}.home-entries{grid-template-columns:1fr;gap:17px}.home-entry{padding:23px 25px}.home-entry h3{font-size:21px}.home-entry>p{font-size:12px}.home-entry-meta{font-size:10px}.home-entry-tags{font-size:9px}}
@media(max-width:360px){.home-profile{padding-inline:23px}.home-name h1{font-size:46px}.home-name>p{font-size:12px}.home-intro{font-size:12px}.home-social{gap:18px}.home-social>a span{display:none}.console-screen{padding-inline:18px;font-size:10px}.console-bar h2 span{font-size:8px}.home-project{padding:18px;gap:11px}.home-project h2{font-size:14px}.home-writing>header{gap:8px}.home-writing>header a{font-size:10px}.home-entry h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.cursor-dot,.cursor-ring{display:none}.has-custom-cursor,.has-custom-cursor a,.has-custom-cursor button{cursor:auto}[data-magnet]{translate:none!important}.wallpaper{will-change:auto}}
@media print{.home-console,.cursor-dot,.cursor-ring{display:none!important}}

/* Console keeps its own opaque palette in both site themes. */
.home-side{animation:none}
.home-console{--bg:#000;--ink:#d3dedc;--muted:#a2b0b5;--faint:#89969e;--blue:#8ab4f8;--green:#a8cf98;--red:#f28b82;--line:#ffffff18;--blue-soft:#243c53;background:var(--bg);color:var(--ink);border:1px solid #33404b;border-radius:18px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;animation:none;transition:none;transform:none}
.home-console :is(.console-bar,.console-footer){background:var(--bg)}.home-console .console-footer i{animation:none;box-shadow:none}.home-console .linux-screen{background:var(--bg);outline-offset:-2px}.home-console .linux-screen:focus-visible{outline:1px solid #8ab4f8}
.home-console .linux-screen{cursor:text}
.home-console .icon-button,.home-console .icon-button:hover{background:transparent;transform:none;transition:none}.home-console .ripple{display:none}
.home-console .syn-keyword{color:#c5a4ee}.home-console .syn-type{color:#83cfcc}.home-console .syn-method{color:#a4c5ff}.home-console .syn-string{color:#e9c98c}.home-console .vim-number{color:#e5ba91}.home-console .linux-debug{color:#c7a0e4}
.terminal-interactive{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);padding:15px 19px 10px;font:inherit;cursor:text}
.terminal-interactive[hidden],.terminal-vim[hidden],.terminal-stage-output[hidden]{display:none}.terminal-row{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.85em}
.terminal-input-row{display:flex;align-items:center;gap:4px;flex-shrink:0;min-height:28px;border-top:1px solid var(--line);padding-top:6px}.terminal-prompt{color:var(--green);white-space:nowrap;font-size:.88em}.terminal-input{background:transparent;color:var(--ink);font:inherit;border:0;outline:0;border-radius:0;padding:0;min-width:0;width:100%;box-shadow:none;caret-color:var(--ink)}.terminal-enter{flex-shrink:0;color:var(--muted);font:inherit;width:24px;min-height:26px;background:none;border:0;cursor:pointer;animation:none;transition:none}.terminal-enter:hover{color:var(--blue)}
.terminal-vim{flex:1;min-height:0;display:flex;flex-direction:column}.terminal-editor{flex:1;min-height:0;width:100%;resize:none;background:var(--bg);color:var(--ink);font:inherit;line-height:1.7;tab-size:4;border:0;outline:none;box-shadow:none;padding:0;white-space:pre;overflow:auto;border-radius:0;caret-color:var(--ink)}.terminal-vim-status{font-size:9px;line-height:2;background:#243c53;color:#b3c9e1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 5px;margin-top:5px}
.linux-scrollback>.terminal-input-row{border:0;padding:0;min-height:1.85em}.terminal-input-row.is-stage{position:absolute;bottom:0;left:0;right:0;z-index:4;background:var(--bg);padding:3px 12px}.terminal-stage-output{position:absolute;bottom:33px;left:0;right:0;max-height:65%;z-index:4;overflow:auto;background:var(--bg);padding:10px 14px;scrollbar-width:thin;border-top:1px solid var(--line)}.terminal-prompt{font-size:inherit}
@media(max-width:680px){.terminal-interactive{padding-inline:15px}.terminal-input-row{flex-wrap:wrap;gap:1px}.terminal-prompt{width:100%}.terminal-input{flex:1;width:auto}}
.terminal-input-row.is-capture{position:absolute;left:0;bottom:0;width:1px;height:1px;min-height:0;padding:0;border:0;overflow:hidden;opacity:0;pointer-events:none}.terminal-input-row.is-capture .terminal-input{width:1px;min-width:1px;font-size:16px}.terminal-live-line{font:inherit}

.terminal-program{z-index:5;background:var(--bg);color:#d3dedc;pointer-events:none}.terminal-program.linux-train{padding-top:55px}
.home-console.is-shutting-down { position: relative; border-color: #000; }
.terminal-power-curtain {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-radius: inherit;
  color: #fff;
  cursor: default;
}
.terminal-power-curtain[hidden],
.terminal-power-button[hidden],
.terminal-boot-log[hidden] { display: none; }
.terminal-power-question {
  display: none;
  font: 900 clamp(62px, 10vw, 116px)/1 system-ui, sans-serif;
}
.terminal-power-curtain[data-power=question] .terminal-power-question { display: block; }
.terminal-power-button {
  border: 1px solid #ffffff50;
  border-radius: 6px;
  padding: 10px 18px;
  background: #161616;
  color: #fff;
  font: 600 14px/1.5 Consolas, monospace;
}
.terminal-power-button:hover { background: #262626; }
.terminal-boot-log {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
  color: #dfe5df;
  font: clamp(10px, 1vw, 12px)/1.55 "Cascadia Code", Consolas, monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.terminal-boot-log > div { min-height: 1.55em; }
.terminal-boot-log[data-stage=logo] { display: grid; place-items: center; }
.terminal-boot-log[data-stage=logo][hidden] { display: none; }
.terminal-vm-splash { position: relative; text-align: center; }
.terminal-boot-title { font: 650 clamp(28px, 4vw, 48px)/1 system-ui, sans-serif; letter-spacing: -.055em; color: #fff; }
.terminal-vm-progress {
  position: absolute;
  inset: calc(100% + 16px) -12px auto;
  height: 2px;
  background: #444;
}
.terminal-vm-progress::after { content: ""; display: block; height: 100%; background: #ddd; transform-origin: left; }
.terminal-boot-ok { color: #a3d99a; }
.terminal-grub-label { text-align: center; margin-block: 10px 15px; }
.terminal-grub-menu {
  min-height: clamp(75px, 17vh, 136px) !important;
  margin-bottom: 12px;
  padding: 1px;
  border: 1px solid #9599a1;
}
.terminal-grub-selected { background: #ced0d3; color: #090909; }
@media (prefers-reduced-motion: no-preference) {
  .terminal-vm-progress::after { animation: terminal-vm-start 1s ease-out both; }
  @keyframes terminal-vm-start {
    0% { transform: scaleX(.08); }
    36% { transform: scaleX(.42); }
    58% { transform: scaleX(.46); }
    100% { transform: scaleX(1); }
  }
  .terminal-power-curtain[data-power=signal] { background: transparent; }
  .terminal-power-curtain[data-power=signal]::before {
    position: absolute;
    inset: 0;
    background: var(--bg);
    content: "";
    animation: terminal-signal-close var(--signal-duration, 480ms) cubic-bezier(.45,.03,.6,.96) both;
  }
  .terminal-power-curtain[data-power=signal]::after {
    position: absolute;
    top: calc(50% - .5px);
    left: 12%;
    right: 12%;
    height: 1px;
    background: #d4e9e5;
    content: "";
    animation: terminal-signal-line var(--signal-duration, 480ms) ease-out both;
  }
  @keyframes terminal-signal-close {
    0% {
      clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
        0 0, 100% 0, 100% 100%, 0 100%, 0 0);
    }
    65% {
      clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
        12% 47%, 88% 47%, 88% 53%, 12% 53%, 12% 47%);
    }
    77% {
      clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
        12% calc(50% - 1px), 88% calc(50% - 1px), 88% calc(50% + 1px), 12% calc(50% + 1px), 12% calc(50% - 1px));
    }
    100% {
      clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
        50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%);
    }
  }
  @keyframes terminal-signal-line {
    0%, 64% { opacity: 0; transform: scaleX(1); }
    77% { opacity: .72; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
  }
  .terminal-power-question {
    animation: terminal-power-question 2.25s .24s both;
  }
  @keyframes terminal-power-question {
    0%, 100% { opacity: 0; }
    29%, 62% { opacity: 1; }
  }
}
