/* Neutral daylight outside, larger familiar XP controls inside. */
body{background:#eeeeeb;color:#303930}.masthead{color:#303930;font:700 15px 'Courier New',Courier,monospace;letter-spacing:.6px}.status-dot{background:#537b4b}.scene-footer>p{color:#566052;font:700 13px 'Courier New',Courier,monospace}.controls{background:#ffffffd9;border-color:#fff;box-shadow:0 5px 22px #26382e12;color:#354135}.controls button{font:700 22px 'Courier New',Courier,monospace}.controls button:hover{background:#e1e5dc}.controls .divider{background:#bdc7b6}.controls #open-portfolio{background:#354b3e;color:#fff;font:700 15px 'Courier New',Courier,monospace}.controls #open-portfolio:hover{background:#49644e}.controls #open-books{font:700 15px 'Courier New',Courier,monospace}#loading,.skip{font:700 14px 'Courier New',Courier,monospace;color:#455344}.no-webgl #scene{background:radial-gradient(ellipse at 50% 60%,#fff,#eeeeeb 75%)}
.desktop-shortcuts{left:24px;top:28px;gap:20px}.desktop-shortcuts button{width:108px;font:15px Tahoma,Arial,sans-serif;gap:10px;padding:5px}.xp-sprite{display:block;width:48px;height:48px;background-image:url('./assets/xp-icons.png');background-size:960px 960px;background-repeat:no-repeat;filter:drop-shadow(1px 2px 1px #0003)}.icon-person{background-position:-192px 0}.icon-folder{background-position:-48px -432px}.icon-gear{background-position:-768px 0}.icon-globe{background-position:-528px 0}
.folder-window{width:min(880px,calc(100% - 190px));height:min(650px,78%);font-size:15px}.folder-window .window-title{height:37px;font-size:16px}.window-actions button{width:27px;height:27px;font-size:20px}.window-actions button[data-action=close]{font-size:25px}.folder-window .page-heading{font-size:30px}.folder-window .page-text{font-size:16px;line-height:1.7}.folder-window .page-kicker{font-size:12px}.folder-window .project-card h3,.folder-window .experience-item h3{font-size:21px}.folder-window .project-card p,.folder-window .experience-item p{font-size:15px}.folder-window .project-card small,.folder-window .experience-item small{font-size:12px}.folder-window .project-card .index{font-size:12px}.folder-window .text-button,.folder-window .tags span{font-size:14px}.folder-content .empty-note{font-size:15px}.folder-window .window-status{font-size:12px;height:28px}.start-menu button{font-size:15px;padding:12px 18px}.start-menu strong{font-size:18px}#task-buttons button{font-size:13px;min-width:120px}.os-taskbar .taskbar-right{font-size:12px}.exit-computer{font-size:13px}.home-folders button{font-size:15px}.home-folders .xp-folder{width:48px;height:48px;background-size:960px 960px;background-position:-48px -432px}
:is(#books-dialog,#contact-dialog){width:min(880px,calc(100% - 36px));max-height:calc(100dvh - 56px);padding:0;border:3px solid #0655df;border-top:0;border-radius:8px 8px 0 0;color:#234374;background:#fff;box-shadow:0 20px 70px #25372d50;overflow:auto;font-family:Tahoma,Arial,sans-serif}:is(#books-dialog,#contact-dialog)::backdrop{background:#44504444;backdrop-filter:blur(4px)}:is(#books-dialog,#contact-dialog) .window-title{font-size:16px;height:38px;position:sticky;top:0;z-index:1}:is(#close-books,#close-contact){margin-left:auto;width:27px;height:27px;border:1px solid #ffe5d3;border-radius:3px;background:linear-gradient(135deg,#f4ae93,#d83d19 70%);box-shadow:inset 1px 1px #ffffff65;font:bold 25px/21px Arial;color:#fff}.book-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:34px}.book-collection article{min-width:0}.book-collection img{width:100%;height:265px;object-fit:contain;object-position:bottom;background:#fafaf6}.book-collection h2{font-size:17px;line-height:1.35;margin:18px 0 8px}.book-collection p{font-size:13px;line-height:1.5;color:#687a92;margin:0}
@media(max-width:1100px){.scene-footer>p{display:none}}
@media(max-width:600px){.masthead{font-size:14px}.controls{gap:1px}.controls button{font-size:20px;padding:9px}.controls #open-portfolio,.controls #open-books{font-size:13px}.controls #open-portfolio{gap:12px;padding:12px}.controls .divider{margin:0 3px}.desktop-shortcuts{left:12px;top:22px;gap:16px}.desktop-shortcuts button{width:94px;font-size:14px;gap:8px}.folder-window{width:calc(100% - 24px);height:calc(100% - 115px)}.folder-window .window-title{font-size:15px;height:36px}.folder-window .page-heading{font-size:27px}.folder-window .page-text,.folder-window .project-card p,.folder-window .experience-item p{font-size:15px}.folder-window .window-status{font-size:11px}.folder-content{padding:24px 20px}#task-buttons button{font-size:12px;min-width:95px}.os-taskbar .taskbar-right{font-size:11px}.exit-computer{font-size:12px}.book-collection{grid-template-columns:1fr;gap:30px;padding:24px}.book-collection article{display:grid;grid-template-columns:110px 1fr;column-gap:20px}.book-collection img{height:170px;grid-row:span 2;object-position:top}.book-collection h2{font-size:17px;margin:5px 0 8px}.book-collection p{font-size:13px}:is(#books-dialog,#contact-dialog) .window-title{font-size:14px}}

/* Tahoma is the classic XP interface face; keep the desktop consistently bold. */
#computer,#computer :not(.katex):not(.katex *){font-family:Tahoma,'MS Sans Serif',Arial,sans-serif!important;font-weight:700!important}
