:root { --blue: #277ed0; --blue-deep: #1768b5; --white: #f5f7fb; --ink: #173355; --muted: #b9d7f2; --yellow: #ffda5e; --green: #86da66; --orange: #ffb84c; --window: rgba(247, 250, 255, .97); --maxz: 100; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body { margin: 0; color: var(--white); background: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', 'Microsoft YaHei', monospace; }
body:not(.is-launched) .desktop { transform: scale(1.025); filter: blur(10px); }
button, a { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.boot-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: #09101a; transition: opacity .6s, visibility .6s; }.boot-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }.boot-window { width: min(620px, 100%); overflow: hidden; border: 1px solid #3c5369; background: #101a25; box-shadow: 0 30px 90px rgba(0,0,0,.4); animation: boot-arrive .55s cubic-bezier(.2,.8,.2,1) both; }.boot-bar, .window-header { display: flex; align-items: center; justify-content: space-between; }.boot-bar { justify-content: flex-start; gap: 7px; padding: 10px 13px; color: #a9bfd1; border-bottom: 1px solid #314454; font-size: 12px; }.window-dot { width: 9px; height: 9px; border-radius: 50%; }.red { background: #ff6d68; }.yellow { background: #ffd05b; }.green { background: #83dc70; }.boot-bar > span:last-child { margin-left: 8px; }.boot-body { min-height: 260px; display: flex; flex-direction: column; justify-content: center; padding: 32px; color: #dceaf4; font-size: 13px; }.boot-muted { color: #8199ac; }.blink { color: var(--yellow); animation: blink 1s steps(2) infinite; }.boot-body button { width: fit-content; margin-top: 34px; padding: 11px 16px; color: var(--yellow); border: 1px solid #d4aa49; background: transparent; }.boot-body button:hover { color: #111; background: var(--yellow); }.boot-body button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }.boot-body button b { margin-left: 15px; } @keyframes blink { 50% { opacity: 0; } } @keyframes boot-arrive { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.desktop { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: radial-gradient(circle at 50% 52%, rgba(255,255,255,.06), transparent 34%), linear-gradient(135deg, var(--blue-deep), var(--blue)); transition: transform .75s cubic-bezier(.2,.8,.2,1), filter .75s; }.desktop::before, .desktop::after { content: ''; position: absolute; pointer-events: none; }.desktop::before { inset: 0; opacity: .78; background-image: radial-gradient(circle, var(--yellow) 0 1px, transparent 1.7px), radial-gradient(circle, rgba(255,255,255,.35) 0 1px, transparent 1.5px); background-position: 4% 10%, 16% 18%; background-size: 170px 140px, 230px 190px; }.desktop::after { left: 9%; bottom: -42%; width: 72%; height: 80%; opacity: .11; border: 1px solid #fff; border-radius: 50%; transform: rotate(-18deg); box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.03); }.stars { position: absolute; z-index: 0; width: 6px; height: 6px; background: var(--yellow); transform: rotate(45deg); filter: drop-shadow(0 0 4px rgba(255,218,94,.8)); }.stars-a { left: 25%; top: 29%; }.stars-b { left: 54%; top: 19%; width: 4px; height: 4px; }.stars-c { left: 71%; top: 66%; width: 8px; height: 8px; }.aurora { position: absolute; z-index: 0; width: 33vw; height: 15vw; opacity: .12; border-radius: 50%; filter: blur(30px); background: #74dcff; transform: rotate(-20deg); }.aurora-a { left: 18%; bottom: -3%; }.aurora-b { right: 17%; top: 13%; background: #f7a7d8; }

.desktop-topbar { position: relative; z-index: 4; display: flex; align-items: center; height: 52px; padding: 0 20px; color: var(--muted); }.os-brand { color: var(--yellow); font-size: 15px; font-weight: 700; font-style: italic; }.os-brand i { color: #fff; font-style: normal; }.top-links { display: flex; gap: 24px; margin-left: 24px; }.top-links button { padding: 5px 0; color: var(--muted); background: transparent; font-size: 12px; }.top-links button:hover { color: white; }.desktop-topbar time { margin-left: auto; font-size: 12px; }
.desktop-art { position: absolute; z-index: 1; left: 50%; bottom: 24%; width: 180px; height: 180px; transform: translateX(-50%); }.desktop-art img { position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px); object-fit: cover; opacity: .9; border: 3px solid rgba(255,255,255,.6); border-radius: 50%; box-shadow: 0 0 35px rgba(255,255,255,.2); }.avatar-orbit { position: absolute; inset: -18px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; transform: rotate(25deg) scaleY(.42); }.avatar-orbit::after { content: '✦'; position: absolute; top: 7px; left: 20%; color: var(--yellow); font-size: 22px; }
.desktop-icons { position: absolute; z-index: 4; top: 74px; right: 32px; display: grid; grid-template-columns: repeat(3, 88px); gap: 18px 24px; }.desktop-icon { width: 88px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); background: transparent; font-size: 10px; }.desktop-icon:hover { color: var(--yellow); }.desktop-icon:focus-visible { outline: 2px solid var(--yellow); }.icon { width: 48px; height: 44px; display: grid; place-items: center; position: relative; color: #2e79bd; background: #f8fafc; border-radius: 11px; box-shadow: 0 5px 10px rgba(0,0,0,.13); font-size: 10px; font-weight: 700; text-shadow: none; }.folder-icon { color: #6f561b; background: linear-gradient(#ffe782 0 20%, #ffd968 20%); border-radius: 10px 10px 12px 12px; font-size: 0; }.folder-icon::before { content: ''; position: absolute; top: -4px; left: 7px; width: 20px; height: 10px; border-radius: 5px 5px 0 0; background: #ffe782; }.file-icon::after { content: ''; position: absolute; right: 7px; bottom: 7px; width: 23px; height: 4px; background: #2c79be; border-radius: 2px; }.file-icon.html::before { content: '<html>'; position: absolute; top: 9px; color: #2c79be; font-size: 8px; }.app-icon { color: #e97848; font-size: 25px; }.desktop-tip { position: absolute; z-index: 2; left: 25px; bottom: 80px; color: rgba(255,255,255,.75); font-size: 11px; }.prompt { color: #d8f6b8; }.command { color: var(--yellow); }

.dock { position: absolute; z-index: 20; left: 50%; bottom: 28px; display: flex; gap: 4px; padding: 6px; border: 6px solid rgba(255,255,255,.72); border-radius: 35px; background: rgba(236,244,253,.92); box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: translateX(-50%); }.dock-item { min-width: 86px; display: flex; flex-direction: column; gap: 1px; align-items: center; padding: 9px 14px; color: #5f6f86; border-radius: 25px; background: transparent; font-size: 11px; }.dock-item b { color: #9da9b9; font-size: 9px; font-weight: 400; }.dock-item.active, .dock-item:hover { color: #fff; background: #398bd8; }.dock-item.active b, .dock-item:hover b { color: #d6edff; }.dock-contact { min-width: 66px; }

.app-window { position: absolute; z-index: 50; top: 15%; left: 18%; width: min(560px, calc(100vw - 40px)); max-height: 70vh; overflow: hidden; color: var(--ink); border: 1px solid rgba(255,255,255,.85); border-radius: 10px; background: var(--window); box-shadow: 0 18px 45px rgba(7,37,76,.32); }.app-window.focused { box-shadow: 0 22px 60px rgba(7,37,76,.42), 0 0 0 1px rgba(255,255,255,.45); }.app-window.window-enter { animation: window-enter .22s cubic-bezier(.2,.8,.2,1); }.app-window.wide { width: min(760px, calc(100vw - 40px)); }.app-window.small-window { width: min(450px, calc(100vw - 40px)); }.app-window[hidden] { display: none; }.window-header { height: 38px; padding: 0 11px; color: #718094; border-bottom: 1px solid #d9e3ee; background: rgba(232,240,249,.86); font-size: 11px; cursor: grab; user-select: none; touch-action: none; }.window-header:active { cursor: grabbing; }.window-header > span { display: flex; gap: 8px; align-items: center; }.window-header button { width: 25px; height: 25px; color: #8b98a8; background: transparent; font-size: 18px; }.window-header button:hover { color: #1c3654; }.mini-icon { width: 19px; height: 19px; display: inline-grid; place-items: center; border-radius: 5px; color: #fff; font-size: 8px; font-style: normal; }.green-bg { background: #63bf62; }.orange-bg { background: #f0a453; }.blue-bg { background: #4e99d8; }.pink-bg { background: #db82aa; }.window-content { max-height: calc(70vh - 38px); overflow: auto; padding: 28px; }.window-content::-webkit-scrollbar { width: 6px; }.window-content::-webkit-scrollbar-thumb { background: #c4d0de; border-radius: 10px; }.eyebrow { margin: 0 0 12px; color: #408dce; font-size: 10px; letter-spacing: 1.5px; }.window-content h1, .window-content h2 { margin: 0 0 18px; color: var(--ink); font-size: 27px; line-height: 1.25; }.window-content p { color: #64758a; font-size: 12px; }.muted { color: #97a4b2 !important; }.about-content { display: grid; grid-template-columns: 130px 1fr; gap: 25px; align-items: center; }.window-avatar { width: 130px; height: 155px; padding: 5px; background: #eaf2fa; border: 1px solid #c0d5e8; }.window-avatar img { width: 100%; height: 100%; object-fit: cover; }.green-link { display: inline-block; margin-top: 13px; color: #3a9a58; font-size: 11px; }.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.project-grid article { min-height: 190px; display: flex; flex-direction: column; padding: 17px; border: 1px solid #d8e3ee; background: #f8fbff; }.project-no { color: #a3b1bf; font-size: 10px; }.project-grid h3 { margin: 25px 0 8px; color: #28577c; font-size: 16px; }.project-grid p { min-height: 70px; margin: 0; font-size: 10px; }.project-status { margin-top: auto; color: #55a35e; font-size: 9px; }.project-status.pending { color: #c1a056; }.notes { border-top: 1px solid #dbe4ee; }.notes a { display: grid; grid-template-columns: 80px 50px 1fr 16px; gap: 10px; align-items: center; padding: 16px 0; border-bottom: 1px solid #dbe4ee; }.notes time, .note-tag { color: #8b9bad; font-size: 9px; }.note-tag { color: #e0984c; }.notes strong { color: #335b7b; font-size: 11px; font-weight: 500; }.notes b { color: #4c9b68; }.os-list { display: grid; gap: 16px; margin: 30px 0; }.os-list div { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding-bottom: 13px; border-bottom: 1px dashed #d4e0ec; color: #61778c; font-size: 11px; }.os-list b { color: #e2a04d; font-weight: 400; }.skill-label { margin-top: 28px; }.tags { display: flex; flex-wrap: wrap; gap: 7px; }.tags span { padding: 6px 8px; color: #477699; border: 1px solid #c8dbea; border-radius: 4px; font-size: 9px; }.online { display: flex; align-items: center; gap: 8px; margin: 20px 0; color: #55a35e; font-size: 10px; }.online i { width: 7px; height: 7px; border-radius: 50%; background: #65c96a; box-shadow: 0 0 8px #65c96a; }.now-content p:not(.eyebrow) { margin-bottom: 18px; }.meter { display: grid; grid-template-columns: 70px 1fr 35px; gap: 8px; align-items: center; margin-top: 12px; color: #8b9bad; font-size: 9px; }.meter > div { height: 5px; background: #dbe7f0; }.meter i { display: block; height: 100%; background: #67b9df; }.meter b { font-weight: 400; text-align: right; }.contact-content h2 { font-size: 34px; }.contact-content .quote { margin: 25px 0; color: #7d90a3; font-size: 12px; line-height: 1.8; }.contact-content a { display: block; margin-top: 14px; color: #438dbe; font-size: 11px; }.contact-content a:hover { color: #dd8b4b; } @keyframes window-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.desktop-icon { touch-action: none; user-select: none; }
.desktop-art { opacity: .18; }

.page-shell { position: absolute; z-index: 5; top: 62px; left: clamp(20px, 5vw, 78px); width: min(830px, calc(100vw - 430px)); height: calc(100vh - 158px); min-height: 430px; overflow: hidden; color: var(--ink); border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(248,251,255,.96); box-shadow: 0 26px 70px rgba(6,36,76,.28), inset 0 1px rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.page-shell::before { content: ''; position: absolute; z-index: 0; right: -90px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(95,181,237,.13); }
.page-shell-header { position: relative; z-index: 3; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; color: #7d91a7; border-bottom: 1px solid #dfe8f1; font-size: 9px; letter-spacing: .8px; }
.page-shell-brand { display: flex; align-items: center; gap: 8px; color: #3f739a; font-weight: 700; }
.page-shell-brand i { width: 7px; height: 7px; border-radius: 50%; background: #69c66e; box-shadow: 0 0 0 4px rgba(105,198,110,.12); }
.page-shell-hint { display: flex; gap: 12px; align-items: center; }
.page-shell-hint b { color: #2e79bd; font-weight: 500; }
.page-viewport { position: relative; height: calc(100% - 50px); overflow: hidden; touch-action: pan-y; cursor: grab; }
.page-viewport:active { cursor: grabbing; }
.page-track { height: 100%; display: flex; will-change: transform; transition: transform .56s cubic-bezier(.22,.76,.22,1); }
.page-track.is-dragging { transition: none; }
.app-page { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; overflow-x: hidden; overflow-y: auto; padding: clamp(30px, 5vh, 58px) clamp(28px, 5vw, 66px); scrollbar-width: thin; scrollbar-color: #c7d7e5 transparent; }
.app-page .eyebrow { margin-bottom: 16px; }
.app-page h1, .app-page h2 { margin: 0; color: #173c61; letter-spacing: -1.8px; }
.app-page h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; }
.app-page h1 em, .app-page h2 em { color: #2d83ca; font-style: normal; }
.app-page h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
.page-home { display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; align-items: center; }
.page-home-copy > p:not(.eyebrow) { max-width: 420px; margin: 25px 0 0; color: #73869a; font-size: 12px; line-height: 1.9; }
.page-action { display: inline-flex; align-items: center; gap: 25px; margin-top: 32px; padding: 12px 16px; color: #fff; border-radius: 24px; background: #2d83ca; font-size: 10px; }
.page-action span { color: #d9efff; }
.page-portrait { position: relative; justify-self: center; width: min(220px, 22vw); aspect-ratio: .83; padding: 7px; background: #e6f0f8; transform: rotate(2deg); }
.page-portrait::before { content: '✦'; position: absolute; z-index: 2; top: -27px; right: -24px; color: #f5bb4f; font-size: 35px; }
.page-portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.page-portrait > span { position: absolute; right: -13px; bottom: 16px; padding: 7px 10px; color: #36784b; background: #e6f6e9; box-shadow: 0 7px 20px rgba(36,87,55,.15); font-size: 8px; transform: rotate(-2deg); }
.portrait-ring { position: absolute; inset: -22px -27px; border: 1px solid rgba(54,131,193,.3); border-radius: 50%; transform: rotate(-12deg) scaleY(.58); }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-heading > span { flex: 0 0 auto; padding-bottom: 4px; color: #9aabbc; font-size: 8px; letter-spacing: 1px; }
.page-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.page-projects article { min-height: 230px; display: flex; flex-direction: column; padding: 19px; border: 1px solid #d7e4ef; border-radius: 15px; background: rgba(255,255,255,.7); transition: transform .2s, border-color .2s; }
.page-projects article:hover { border-color: #88b9df; transform: translateY(-4px); }
.page-projects .project-no { color: #70a2c7; font-size: 8px; }
.page-projects h3 { margin: 35px 0 10px; color: #265b83; font-size: 17px; }
.page-projects p { margin: 0; color: #7c8c9c; font-size: 9px; line-height: 1.8; }
.page-projects b { margin-top: auto; color: #65a06c; font-size: 8px; font-weight: 500; }
.page-os-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; }
.os-principles { display: grid; gap: 8px; }
.os-principles article { display: grid; grid-template-columns: 48px 1fr; align-items: center; min-height: 76px; padding: 12px 16px; border-bottom: 1px dashed #cfdeea; }
.os-principles b { color: #e5a349; font-size: 11px; font-weight: 400; }
.os-principles span { color: #5c748a; font-size: 12px; line-height: 1.65; }
.os-skills { padding: 24px; border-radius: 18px; background: #eaf3fa; }
.os-skills .tags { align-content: flex-start; }
.os-skills .tags span { padding: 8px 9px; background: rgba(255,255,255,.55); }
.page-contact { display: flex; flex-direction: column; justify-content: center; }
.page-contact h2 { max-width: 650px; font-size: clamp(35px, 5vw, 58px); }
.contact-lead { margin: 26px 0 30px; color: #8999a9; font-size: 11px; }
.page-contact-links { max-width: 680px; border-top: 1px solid #d7e3ed; }
.page-contact-links a { display: grid; grid-template-columns: 80px 1fr 20px; gap: 20px; align-items: center; padding: 18px 4px; color: #487491; border-bottom: 1px solid #d7e3ed; transition: padding .2s, color .2s; }
.page-contact-links a:hover { padding-left: 12px; color: #dd8b4b; }
.page-contact-links span { color: #9baaba; font-size: 8px; }
.page-contact-links b { font-size: 11px; font-weight: 500; }
.page-contact-links i { font-style: normal; }
.page-dots { position: absolute; z-index: 4; left: 50%; bottom: 13px; display: flex; gap: 5px; transform: translateX(-50%); pointer-events: none; }
.page-dots i { width: 5px; height: 5px; border-radius: 5px; background: #cad8e4; transition: width .25s, background .25s; }
.page-dots i.active { width: 17px; background: #438dca; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 800px) { .desktop-icons { right: 16px; grid-template-columns: repeat(2, 78px); gap: 14px 8px; }.desktop-icon { width: 78px; }.desktop-art { left: 37%; bottom: 32%; transform: translateX(-50%) scale(.8); }.desktop-tip { left: 15px; bottom: 110px; }.dock { bottom: 15px; }.dock-item { min-width: 72px; padding-inline: 9px; }.app-window, .app-window.wide, .app-window.small-window { top: 12%; left: 50%; width: calc(100vw - 30px); transform: translateX(-50%); }.project-grid { grid-template-columns: 1fr; }.project-grid article { min-height: 125px; }.project-grid h3 { margin-top: 12px; }.project-grid p { min-height: auto; }.project-status { margin-top: 15px; } }
@media (max-width: 480px) { .desktop-topbar { padding: 0 13px; }.top-links { gap: 10px; margin-left: 14px; }.top-links button { font-size: 10px; }.desktop-topbar time { font-size: 10px; }.desktop-icons { top: 68px; right: 8px; transform: scale(.82); transform-origin: top right; }.desktop-art { left: 36%; bottom: 31%; transform: translateX(-50%) scale(.62); }.desktop-tip { display: none; }.dock { width: calc(100vw - 20px); justify-content: center; }.dock-item { min-width: 0; flex: 1; padding-inline: 5px; font-size: 9px; }.dock-contact { min-width: 0; }.window-content { padding: 21px; }.about-content { grid-template-columns: 80px 1fr; gap: 15px; }.window-avatar { width: 80px; height: 96px; }.window-content h1, .window-content h2 { font-size: 22px; }.notes a { grid-template-columns: 68px 42px 1fr 12px; gap: 5px; }.notes strong { font-size: 10px; }.notes time, .note-tag { font-size: 8px; } }

@media (max-width: 1040px) {
  .page-shell { left: 20px; width: calc(100vw - 300px); }
  .desktop-icons { right: 12px; grid-template-columns: repeat(2, 78px); gap: 14px 8px; }
  .desktop-icon { width: 78px; }
  .page-projects { grid-template-columns: 1fr; }
  .page-projects article { min-height: 135px; }
  .page-projects h3 { margin-top: 14px; }
  .page-os-grid { grid-template-columns: 1fr; }
  .page-home { grid-template-columns: 1fr .65fr; }
}

@media (max-width: 800px) {
  .desktop-icons, .desktop-tip { display: none; }
  .page-shell { top: 58px; left: 15px; width: calc(100vw - 30px); height: calc(100vh - 145px); min-height: 0; border-radius: 23px; }
  .page-shell-header { padding-inline: 18px; }
  .dock { bottom: 15px; }
  .app-window, .app-window.wide, .app-window.small-window { top: 12%; left: 50%; width: calc(100vw - 30px); transform: translateX(-50%); }
  .page-home { grid-template-columns: 1.1fr .7fr; }
  .page-portrait { width: min(190px, 28vw); }
}

@media (max-width: 560px) {
  .desktop-topbar { padding: 0 13px; }
  .top-links { display: none; }
  .desktop-topbar time { font-size: 10px; }
  .dock { width: calc(100vw - 20px); justify-content: center; }
  .dock-item { min-width: 0; flex: 1; padding-inline: 5px; font-size: 9px; }
  .dock-contact { min-width: 0; }
  .page-shell { left: 10px; width: calc(100vw - 20px); height: calc(100vh - 137px); }
  .page-shell-hint { font-size: 0; }
  .page-shell-hint b { font-size: 9px; }
  .app-page { padding: 30px 24px 38px; }
  .page-home { display: flex; flex-direction: column-reverse; justify-content: center; align-items: flex-start; gap: 25px; }
  .page-portrait { align-self: flex-end; width: 120px; max-height: 145px; }
  .page-home h1 { font-size: 39px; }
  .page-home-copy > p:not(.eyebrow) { margin-top: 17px; font-size: 10px; }
  .page-action { margin-top: 18px; }
  .page-heading { align-items: flex-start; }
  .page-projects { gap: 8px; }
  .page-projects article { min-height: 128px; padding: 15px; }
  .page-projects p { line-height: 1.55; }
  .page-os-grid { gap: 18px; }
  .os-principles article { min-height: 61px; padding: 7px 10px; }
  .os-principles span { font-size: 10px; }
  .os-skills { padding: 17px; }
  .page-contact-links a { grid-template-columns: 58px 1fr 15px; gap: 8px; }
  .page-contact-links b { overflow-wrap: anywhere; font-size: 9px; }
}
