:root{--font-system:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Helvetica,Arial,sans-serif;--menu-bar-height:28px;--dock-height:72px;--traffic-red:#ff5f57;--traffic-yellow:#febc2e;--traffic-green:#28c840;--window-bg:#fff;--window-title-bg:linear-gradient(180deg,#e8e8e8,#d0d0d0);--window-shadow:0 8px 32px rgba(0,0,0,.25),0 2px 8px rgba(0,0,0,.1);--window-radius:10px;--guestbook-brown:#8b6914;--guestbook-cream:#faf5eb}*{box-sizing:border-box;margin:0;padding:0}body,html{width:100%;height:100%;overflow:hidden;font-family:var(--font-system);font-size:13px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.desktop{width:100vw;height:100vh;background:linear-gradient(180deg,#3a7bd5,#5a9de6 30%,#7cb8f0 60%,#a8d8ea);position:relative;display:flex;flex-direction:column}.desktop-area{flex:1 1;position:relative;padding:20px;overflow:hidden}.menu-bar{height:var(--menu-bar-height);background:hsla(0,0%,100%,.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.1);padding:0 12px;z-index:10000;flex-shrink:0}.menu-bar,.menu-bar-item{display:flex;align-items:center;position:relative}.menu-bar-item{padding:2px 12px;font-family:var(--font-system);font-size:13.5px;font-weight:600;cursor:default;height:100%;color:#1d1d1f;border-radius:4px}.menu-bar-item.active,.menu-bar-item:hover{background:rgba(0,0,0,.08)}.menu-bar-logo{font-size:15px;font-weight:700;padding:2px 12px;letter-spacing:-.5px;color:#1d1d1f}.menu-bar-right{margin-left:auto;display:flex;align-items:center;gap:8px}.menu-bar-clock{font-family:var(--font-system);font-size:13px;font-weight:500;color:#1d1d1f;padding:2px 8px}.menu-dropdown{position:absolute;top:calc(100% + 4px);left:0;background:hsla(0,0%,100%,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(0,0,0,.12);border-radius:6px;min-width:200px;z-index:10001;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:4px 0;overflow:hidden}.menu-dropdown-item{padding:6px 16px;font-family:var(--font-system);font-size:13px;font-weight:400;cursor:default;white-space:nowrap;color:#1d1d1f;border-radius:4px;margin:0 4px}.menu-dropdown-item:hover{background:#007aff;color:#fff}.menu-dropdown-divider{border-top:1px solid rgba(0,0,0,.1);margin:4px 0}.menu-dropdown-item.disabled{color:#999;pointer-events:none}.menu-dropdown-item.disabled:hover{background:none;color:#999}.window{position:absolute;background:var(--window-bg);border-radius:var(--window-radius);box-shadow:var(--window-shadow);display:flex;flex-direction:column;min-width:280px;min-height:150px;overflow:hidden}.title-bar{height:38px;background:var(--window-title-bg);border-bottom:1px solid silver;display:flex;align-items:center;padding:0 12px;cursor:-webkit-grab;cursor:grab;flex-shrink:0;position:relative}.title-bar:active{cursor:-webkit-grabbing;cursor:grabbing}.title-bar-title{position:absolute;left:50%;transform:translateX(-50%);font-family:var(--font-system);font-size:13px;font-weight:600;color:#4d4d4d;white-space:nowrap;pointer-events:none}.traffic-lights{gap:8px;z-index:1}.traffic-light,.traffic-lights{display:flex;align-items:center}.traffic-light{width:12px;height:12px;border-radius:50%;border:none;cursor:pointer;position:relative;justify-content:center}.traffic-light svg{width:8px;height:8px;opacity:0;transition:opacity .1s}.traffic-lights:hover .traffic-light svg{opacity:1}.traffic-light-close{background:var(--traffic-red);border:1px solid #e04b43}.traffic-light-minimize{background:var(--traffic-yellow);border:1px solid #dca726}.traffic-light-maximize{background:var(--traffic-green);border:1px solid #1fb636}.window-fullscreen{border-radius:0!important}.resize-handle{position:absolute;z-index:2}.resize-n{top:-3px;cursor:n-resize}.resize-n,.resize-s{left:10px;right:10px;height:6px}.resize-s{bottom:-3px;cursor:s-resize}.resize-e{right:-3px;cursor:e-resize}.resize-e,.resize-w{top:10px;bottom:10px;width:6px}.resize-w{left:-3px;cursor:w-resize}.resize-ne{right:-3px;cursor:ne-resize}.resize-ne,.resize-nw{top:-3px;width:14px;height:14px}.resize-nw{left:-3px;cursor:nw-resize}.resize-se{right:-3px;cursor:se-resize}.resize-se,.resize-sw{bottom:-3px;width:14px;height:14px}.resize-sw{left:-3px;cursor:sw-resize}.window-content{flex:1 1;overflow:auto;font-family:var(--font-system);font-size:13px;line-height:1.5;color:#1d1d1f}.window-content-padded{padding:16px}.window-content::-webkit-scrollbar{width:8px}.window-content::-webkit-scrollbar-track{background:transparent}.window-content::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:4px}.window-content::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.35)}.desktop-folders{display:flex;flex-direction:column;align-items:center;gap:24px;position:absolute;top:20px;left:24px}.desktop-folder-wrapper{position:relative}.desktop-folder-icon{display:flex;flex-direction:column;align-items:center;width:80px;cursor:pointer;padding:6px;border-radius:8px;transition:background .15s}.desktop-folder-icon:hover{background:hsla(0,0%,100%,.15)}.desktop-folder-img{width:64px;height:64px;margin-bottom:6px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.2))}.desktop-folder-label{font-family:var(--font-system);font-size:11px;font-weight:600;text-align:center;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5);word-break:break-word;line-height:1.3}.folder-expansion{position:absolute;top:50%;left:100%;transform:translateY(-50%);margin-left:12px;width:240px;padding:16px;background:rgba(30,30,30,.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:20px;border:1px solid hsla(0,0%,100%,.15);box-shadow:0 8px 32px rgba(0,0,0,.4);z-index:999;animation:folderOpen .2s ease-out}@keyframes folderOpen{0%{opacity:0;transform:translateY(-50%) scale(.85)}to{opacity:1;transform:translateY(-50%) scale(1)}}.folder-expansion-title{font-family:var(--font-system);font-size:16px;font-weight:700;color:#fff;text-align:center;margin-bottom:14px}.folder-expansion-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}.folder-app-item{display:flex;flex-direction:column;align-items:center;cursor:pointer;padding:6px;border-radius:10px;transition:background .15s}.folder-app-item:hover{background:hsla(0,0%,100%,.12)}.folder-app-icon{display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.12);margin-bottom:4px;font-size:20px}.folder-app-icon,.folder-app-icon img{width:44px;height:44px;border-radius:12px}.folder-app-icon img{object-fit:contain}.folder-app-label{font-family:var(--font-system);font-size:10px;font-weight:500;color:#fff;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.5);line-height:1.2}.dock-container{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);z-index:9000}.dock{display:flex;align-items:flex-end;gap:6px;padding:6px 10px;background:hsla(0,0%,100%,.2);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid hsla(0,0%,100%,.3);border-radius:18px;box-shadow:0 4px 16px rgba(0,0,0,.1)}.dock-item{position:relative;flex-direction:column;cursor:pointer}.dock-icon,.dock-item{display:flex;align-items:center}.dock-icon{width:48px;height:48px;border-radius:11px;justify-content:center;font-size:24px;background:hsla(0,0%,100%,.25);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 2px 8px rgba(0,0,0,.12);transition:transform .2s cubic-bezier(.34,1.56,.64,1)}.dock-item:hover .dock-icon{transform:scale(1.35) translateY(-8px)}.dock-tooltip{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:12px;padding:4px 12px;background:rgba(30,30,30,.85);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:500;border-radius:4px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}.dock-item:hover .dock-tooltip{opacity:1}.dock-dot{width:4px;height:4px;border-radius:50%;background:hsla(0,0%,100%,.8);margin-top:3px}.btn{font-family:var(--font-system);font-size:13px;font-weight:500;padding:6px 16px;border:1px solid rgba(0,0,0,.15);border-radius:6px;background:#fff;cursor:pointer;color:#1d1d1f;transition:background .15s}.btn:hover{background:#f0f0f0}.btn:active{background:#e0e0e0}.btn-primary{background:#007aff;color:#fff;border-color:#006ae0}.btn-primary:hover{background:#0066d6}.btn-primary:active{background:#005cbf}.btn-brown{background:hsla(0,0%,100%,.9);color:#5c4a1e;border:1px solid hsla(0,0%,100%,.6);border-radius:8px;font-weight:600;padding:8px 20px}.btn-brown:hover,.input-field{background:#fff}.input-field{font-family:var(--font-system);font-size:13px;padding:8px 12px;border:1px solid #d0d0d0;border-radius:6px;outline:none;color:#1d1d1f;transition:border-color .15s,box-shadow .15s}.input-field:focus{border-color:#007aff;box-shadow:0 0 0 3px rgba(0,122,255,.15)}textarea.input-field{resize:vertical;min-height:80px}.guestbook-header{background:linear-gradient(135deg,#a67c3d,#8b6914 50%,#7a5c12);padding:20px 24px;display:flex;align-items:center;justify-content:space-between}.guestbook-header-text h2{font-size:18px;font-weight:700;color:#fff;margin-bottom:2px}.guestbook-header-text p{font-size:12px;color:hsla(0,0%,100%,.8);font-weight:400}.guestbook-entries{display:flex;flex-direction:column}.guestbook-entry{padding:16px 24px;background:var(--guestbook-cream);border-bottom:1px solid rgba(0,0,0,.06)}.guestbook-entry:last-child{border-bottom:none}.guestbook-entry-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}.guestbook-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;flex-shrink:0}.guestbook-entry-meta{flex:1 1;display:flex;align-items:baseline;gap:8px}.guestbook-entry-name{font-weight:700;font-size:14px;color:#1d1d1f}.guestbook-entry-date{font-size:12px;color:#888;margin-left:auto}.guestbook-entry-message{font-size:14px;line-height:1.5;color:#333;padding-left:44px}.guestbook-entry-delete{font-size:11px;color:#999;cursor:pointer;border:none;background:none;padding:2px 6px;border-radius:4px}.guestbook-entry-delete:hover{background:rgba(255,0,0,.1);color:#ff3b30}.guestbook-form{display:flex;flex-direction:column;gap:10px;padding:16px 24px}.guestbook-form,.guestbook-login{background:#f8f4ec;border-bottom:1px solid rgba(0,0,0,.08)}.guestbook-login{text-align:center;padding:20px 24px}.notes-container{display:flex;height:100%}.notes-sidebar{width:240px;border-right:1px solid #e0e0e0;background:#f5f5f5;display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto}.notes-sidebar-header{padding:12px 16px;font-size:14px;font-weight:700;color:#1d1d1f;border-bottom:1px solid #e0e0e0}.notes-sidebar-header span{display:block;font-size:11px;font-weight:400;color:#888;margin-top:2px}.notes-item{padding:10px 16px;cursor:pointer;border-bottom:1px solid #e8e8e8;transition:background .1s}.notes-item:hover{background:#eaeaea}.notes-item.active{background:#007aff;color:#fff}.notes-item-title{font-size:13px;font-weight:600;margin-bottom:2px}.notes-item.active .notes-item-title{color:#fff}.notes-item-date{font-size:11px;color:#888}.notes-item.active .notes-item-date{color:hsla(0,0%,100%,.7)}.notes-item-preview{font-size:11px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-item.active .notes-item-preview{color:hsla(0,0%,100%,.7)}.notes-content{flex:1 1;overflow-y:auto;padding:24px;background:#fff}.notes-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#999;font-size:15px;font-style:italic}.notes-content h1{font-size:22px;font-weight:700;margin-bottom:4px}.notes-content .notes-date{font-size:12px;color:#888;margin-bottom:20px}.notes-content .notes-body{font-size:14px;line-height:1.7;color:#333;-webkit-user-select:text;-moz-user-select:text;user-select:text}.notes-content .notes-body p{margin-bottom:12px}.bookshelf-page{height:100%;overflow-y:auto;background:#f4f3ef;padding:32px 28px 48px;position:relative}.bookshelf-page-header{text-align:center;margin-bottom:36px}.bookshelf-page-header .label{font-size:14px;color:#1d1d1f;letter-spacing:.5px;margin-bottom:2px}.bookshelf-page-header .title{font-family:Georgia,Times New Roman,serif;font-size:64px;font-weight:700;letter-spacing:4px;color:#111;line-height:1}.bookshelf-shelf-section{margin-bottom:40px}.bookshelf-shelf-header{display:flex;align-items:baseline;justify-content:space-between;padding:0 4px 12px}.bookshelf-shelf-title{font-size:18px;font-weight:700;color:#1d1d1f}.bookshelf-shelf-meta{display:flex;align-items:center;gap:10px;color:#888;font-size:13px}.bookshelf-shelf-nav{display:inline-flex;gap:2px}.bookshelf-shelf-nav button{background:none;border:none;cursor:pointer;font-size:18px;padding:2px 6px;color:#555;line-height:1}.bookshelf-shelf-nav button:hover{color:#000}.bookshelf-shelf-stage{position:relative;padding-bottom:22px}.bookshelf-shelf-track{display:flex;gap:8px;align-items:flex-end;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 8px 14px;scrollbar-width:none;-ms-overflow-style:none}.bookshelf-shelf-track::-webkit-scrollbar{display:none}.bookshelf-book{flex:0 0 auto;width:110px;height:165px;cursor:pointer;scroll-snap-align:start;transition:transform .12s ease;background:none;border:none;padding:0}.bookshelf-book:hover{transform:translateY(-4px)}.bookshelf-book img{object-fit:cover}.bookshelf-book img,.bookshelf-book-placeholder{width:100%;height:100%;border-radius:2px;box-shadow:0 6px 14px rgba(0,0,0,.18)}.bookshelf-book-placeholder{background:linear-gradient(135deg,#e8e4d8,#c9c1a8);display:flex;align-items:center;justify-content:center;padding:10px;font-size:11px;font-weight:700;text-align:center;color:#5a4a2a}.bookshelf-shelf-bar{position:absolute;left:0;right:0;bottom:0;height:36px;border-radius:6px;background:var(--shelf-color,rgba(255,170,80,.55));backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.4),0 4px 10px rgba(0,0,0,.08);pointer-events:none}.bookshelf-screw{position:absolute;bottom:12px;width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#dcdcdc,#9a9a9a 70%,#7a7a7a);box-shadow:inset 0 -1px 1px rgba(0,0,0,.35),0 1px 1px hsla(0,0%,100%,.6)}.bookshelf-screw.left{left:14px}.bookshelf-screw.right{right:14px}.bookshelf-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:20px;z-index:10}.bookshelf-modal{background:#fff;border-radius:12px;max-width:560px;width:100%;max-height:90%;overflow-y:auto;display:flex;gap:24px;padding:24px;box-shadow:0 24px 60px rgba(0,0,0,.35);position:relative;-webkit-user-select:text;-moz-user-select:text;user-select:text}.bookshelf-modal-close{position:absolute;top:8px;right:12px;background:none;border:none;font-size:24px;cursor:pointer;color:#777;line-height:1}.bookshelf-modal-close:hover{color:#000}.bookshelf-modal-cover{flex:0 0 160px}.bookshelf-modal-cover img{width:100%;border-radius:4px;box-shadow:0 6px 16px rgba(0,0,0,.2)}.bookshelf-modal-cover-placeholder{width:100%;aspect-ratio:2/3;background:linear-gradient(135deg,#f5f5f5,#e0e0e0);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:48px}.bookshelf-modal-info{flex:1 1;min-width:0}.bookshelf-modal-title{font-size:22px;font-weight:700;color:#1d1d1f;line-height:1.2;margin-bottom:4px}.bookshelf-modal-author{font-size:13px;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-bottom:14px}.bookshelf-modal-rating{display:flex;align-items:center;gap:10px;margin-bottom:14px}.bookshelf-modal-stars{color:#f4b400;font-size:18px;letter-spacing:2px}.bookshelf-modal-rating-num{font-size:12px;color:#888}.bookshelf-modal-summary-label{font-size:11px;font-weight:700;color:#1d1d1f;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px}.bookshelf-modal-summary-text{font-size:14px;line-height:1.6;color:#444;margin-bottom:18px}.bookshelf-modal-link{display:inline-block}@media (max-width:640px){.bookshelf-page{padding:20px 16px 32px}.bookshelf-page-header .title{font-size:44px;letter-spacing:2px}.bookshelf-book{width:88px;height:132px}.bookshelf-shelf-nav{display:none}.bookshelf-modal{flex-direction:column;max-width:100%;padding:18px;gap:14px}.bookshelf-modal-cover{flex:0 0 auto;max-width:140px;align-self:center}}.dock-icon-img{width:36px;height:36px;border-radius:8px;object-fit:cover}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:16px;gap:16px;padding:16px}.video-card{border-radius:8px;overflow:hidden;background:#f5f5f5;cursor:pointer;transition:transform .15s,box-shadow .15s}.video-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12)}.video-card-thumb{width:100%;aspect-ratio:16/9;background:#e0e0e0;display:flex;align-items:center;justify-content:center;overflow:hidden}.video-card-thumb img{width:100%;height:100%;object-fit:cover}.video-card-title{padding:10px 12px;font-size:12px;font-weight:600;color:#1d1d1f}.video-player{width:100%;aspect-ratio:16/9;border:none;border-radius:6px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:16px;gap:16px;padding:16px}.project-card{border:1px solid #e0e0e0;border-radius:10px;padding:16px;background:#fff;transition:box-shadow .15s}.project-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}.project-card-title{font-size:14px;font-weight:700;margin-bottom:8px;color:#1d1d1f}.project-card-desc{font-size:12px;color:#555;margin-bottom:10px;line-height:1.5}.project-card-tech{font-size:11px;color:#888}.project-card-link{display:inline-block;margin-top:10px;font-size:12px;font-weight:600;color:#007aff;text-decoration:none;cursor:pointer}.project-card-link:hover{text-decoration:underline}.about-dialog{text-align:center;padding:32px 24px}.about-dialog-icon{font-size:56px;margin-bottom:16px}.about-dialog h2{font-size:20px;font-weight:700;color:#1d1d1f;margin-bottom:4px}.about-dialog p{font-size:13px;line-height:1.7;color:#555;margin-bottom:4px}.boot-screen{position:fixed;inset:0;background:linear-gradient(180deg,#3a7bd5,#7cb8f0);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:99999;animation:bootFadeOut .6s ease-in 2.5s forwards}.boot-screen-icon{font-size:72px;margin-bottom:24px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.2))}.boot-screen-text{font-family:var(--font-system);font-size:18px;font-weight:600;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.2)}.boot-screen-bar{width:200px;height:6px;border-radius:3px;background:hsla(0,0%,100%,.3);margin-top:20px;overflow:hidden}.boot-screen-bar-fill{height:100%;background:#fff;border-radius:3px;animation:bootLoad 2s ease-in-out forwards}@keyframes bootLoad{0%{width:0}to{width:100%}}@keyframes bootFadeOut{0%{opacity:1;pointer-events:all}to{opacity:0;pointer-events:none}}@media (max-width:768px){.desktop-icons{position:relative;top:0;right:0;flex-direction:row;flex-wrap:wrap;justify-content:center;padding:8px}.window{width:calc(100vw - 8px)!important;height:calc(100vh - var(--menu-bar-height) - 80px)!important;left:4px!important;top:4px!important}.dock{gap:4px;padding:4px 8px}.dock-icon{width:40px;height:40px;font-size:20px}.notes-sidebar{width:160px}}