/* The live desktop stays inside the 3D monitor on every screen size. */
.monitor-content{background:linear-gradient(#0f315124,#0b273967),url('/wallpaper.jpg') center/cover; height:450px;padding:30px 36px}
.monitor-content h1{font-size:30px;max-width:650px;text-shadow:3px 3px #172442;margin:20px 0 12px}
.screen-kicker{color:#fff}.monitor-content p{font-size:20px;text-shadow:1px 2px #172442}
.screen-icons{margin-top:55px;gap:12px}.screen-icons button{font-size:18px;text-shadow:1px 2px #172442;padding:8px;border:1px solid transparent}
.screen-icons button:hover{border:1px dotted white;background:#00008060}.screen-status{background:#142535ad;padding:6px 10px;left:36px;bottom:18px}
#monitor-ui button{cursor:pointer}#monitor-ui .gm-btn,#monitor-ui .dpad{color:#111;min-height:44px;font-size:18px}
#monitor-ui .gm-body{display:none;grid-template-rows:none;padding:16px;overflow:auto}
#monitor-ui .is-playing .gm-body{display:block}
#monitor-ui .gm-game{display:none;height:100%;padding:12px;overflow:auto;box-sizing:border-box}
#monitor-ui .gm-game.is-selected{display:grid;align-content:center;justify-items:center;gap:8px;border:0;background:#f3f2ec}
#monitor-ui .games-launcher{flex:1;min-height:0;background:#fff;padding:28px;color:#111;overflow:auto}
#monitor-ui .is-playing .games-launcher{display:none}
.games-launcher-title{font:22px 'Press Start 2P',monospace;border-bottom:2px solid #111;padding-bottom:20px}
.games-launcher-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
#monitor-ui .game-shortcut{border:1px solid transparent;background:transparent;color:#111;display:flex;align-items:center;flex-direction:column;gap:18px;font:22px 'VT323',monospace;padding:16px 8px;min-height:150px}
.game-shortcut img{width:100px;height:90px;object-fit:contain}.game-shortcut:hover,.game-shortcut:focus-visible{outline:2px dotted #000080;background:#dce5f3}
#games-back{width:auto;min-width:44px;color:#111}#games-modal:not(.is-playing) #games-back{display:none}
#monitor-ui .ttt-grid{grid-template-columns:repeat(3,70px);gap:4px;margin:0}
#monitor-ui .ttt-cell{width:70px;height:70px;font-size:48px;border-color:#888;background:#fff}
#monitor-ui .gm-title{font-size:22px;margin:0}#monitor-ui .gm-status{font-size:18px}
#monitor-ui .gm-game:has(#snake-canvas).is-selected{grid-template-columns:minmax(0,1fr) 160px;grid-template-rows:auto auto 1fr;align-content:stretch;align-items:center}
#monitor-ui .gm-game:has(#snake-canvas) .gm-title{grid-column:1/-1}
#monitor-ui .snake-row{grid-column:1/-1;width:100%}
#monitor-ui #snake-canvas{grid-column:1;grid-row:3/5;width:280px;height:280px;max-width:100%;max-height:none;aspect-ratio:1;object-fit:contain}
#monitor-ui #snake-start{grid-column:2;grid-row:3;align-self:end}
#monitor-ui .snake-dpad{grid-column:2;grid-row:4;align-self:start;gap:4px}
#monitor-ui .dpad{width:44px;height:44px;min-width:44px;font-size:20px}#monitor-ui .dpad-row{gap:4px}
.mobile-room-toggle{display:none}
.legacy-confirm{position:fixed;z-index:90;box-sizing:border-box;box-shadow:4px 4px #0008}.legacy-confirm[hidden]{display:none}
.legacy-confirm{padding:0;max-width:calc(100vw - 32px);width:230px;background:#c0c0c0;color:#000;border:2px solid;border-color:#fff #555 #555 #fff;box-shadow:inset -1px -1px 0 #808080,4px 4px 0 #0008;font:18px/1.15 'VT323','Courier New',monospace}.legacy-title{height:23px;box-sizing:border-box;background:#000080;color:#fff;padding:2px 7px;font:bold 14px Tahoma,sans-serif}.legacy-confirm p{margin:0;padding:8px 12px 10px}.legacy-actions{display:flex;justify-content:center;gap:8px;padding:0 12px 10px}.legacy-actions a,.legacy-actions button{display:grid;place-items:center;min-width:64px;min-height:32px;box-sizing:border-box;background:#c0c0c0;color:#000;border:2px solid;border-color:#fff #555 #555 #fff;font:18px/1.15 'VT323','Courier New',monospace;text-decoration:none;cursor:pointer}@media(pointer:coarse){.legacy-actions a,.legacy-actions button{min-height:44px}}
.phone-controls,.phone-menu,.phone-intro{display:none}
.copy-email{min-height:44px;margin:8px 0 16px;padding:8px 14px;font:20px 'VT323',monospace;color:#111;background:#c0c0c0;border:2px solid;border-color:#fff #555 #555 #fff}
.ideas-page{max-width:640px;margin:auto;color:#171717;font:20px/1.45 'VT323',monospace}.ideas-page h2{font:18px/1.5 'Press Start 2P',monospace}.ideas-page ol{padding-left:26px}.ideas-page li{padding:12px 0;border-bottom:1px solid #aca99c}.ideas-page li p{margin:6px 0 0;color:#454545}.ideas-page strong{font-size:23px}
@media(max-width:900px){
 html,body{margin:0;overflow:hidden;background:#17130e}
 .lowpoly #monitor-ui{position:absolute;inset:0 auto auto 0;width:360px;height:322px;visibility:visible;will-change:transform;box-shadow:none}
 .lowpoly .desk-caption{display:none}.lowpoly #portal-room{visibility:visible;height:100%}
 .lowpoly .desk-controls{position:fixed;bottom:0;left:0;transform:none;width:100%;max-width:none;box-sizing:border-box;height:calc(60px + env(safe-area-inset-bottom));padding:4px 4px calc(4px + env(safe-area-inset-bottom));flex-wrap:nowrap;gap:4px;justify-content:space-evenly;z-index:50}
 .lowpoly .desk-controls button{min-height:44px;padding:4px 8px;font-size:17px}
 #view-computer,.mobile-room-toggle{display:none}
 .monitor-bar{height:28px;font-size:12px;align-items:center;padding:4px 10px}.monitor-content{height:calc(100% - 28px);padding:14px 16px;box-sizing:border-box;overflow:auto;background-position:center}
 .monitor-content .screen-kicker,.monitor-content p,.screen-status{display:none}
 .monitor-content h1{font-size:18px;letter-spacing:0;line-height:1.5;margin:0 0 12px;color:#fff;text-shadow:2px 2px #163459}
 .screen-icons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;margin-top:0}.screen-icons button{width:100%;font:17px 'VT323',monospace;min-height:85px;gap:6px;padding:6px 2px;color:#fff;text-shadow:1px 1px #101826,1px -1px #101826,-1px 1px #101826}.screen-icons img{width:42px;height:42px}
 #monitor-ui .mm-body{padding:18px 14px;font-size:18px}#monitor-ui .mm-body .ab-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 #monitor-ui .mm-body .pe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#monitor-ui .mm-body .pe-entry-name{font-size:18px}
 #monitor-ui .mm-body .skb-name{flex-basis:110px}#monitor-ui .mm-body .c-val{font-size:21px;overflow-wrap:anywhere}
 #monitor-ui .mm-titlebar,#monitor-ui .gm-titlebar{min-height:48px}#monitor-ui .mw-tb-btn,#monitor-ui #mm-close,#monitor-ui #gm-close{min-width:44px;height:44px}
 #monitor-ui .games-launcher{padding:24px 14px}.games-launcher-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px;margin-top:28px}.games-launcher-title{font-size:18px}
 #monitor-ui .game-shortcut{font-size:20px;padding:12px 4px}.game-shortcut img{width:88px;height:80px}
 #monitor-ui .gm-body{padding:8px}#monitor-ui .gm-game:has(#snake-canvas).is-selected{display:flex;flex-direction:column;justify-content:flex-start;gap:12px}
 #monitor-ui #snake-canvas{width:min(280px,100%);height:auto;flex-shrink:0;align-self:center}
 #monitor-ui #snake-start,#monitor-ui .snake-dpad{align-self:center}
 #monitor-ui .ttt-grid{grid-template-columns:repeat(3,76px)}#monitor-ui .ttt-cell{width:76px;height:76px}
 .boot95-flag{left:calc(50% - 63px);top:15%}.boot95-brand{left:20px;right:20px;top:48%;text-align:center}.boot95-brand strong{font-size:50px;letter-spacing:-3px}.boot95-brand strong b{font-size:42px}.boot95-brand p{font-size:16px}
 #monitor-ui .doom-help{font-size:12px;line-height:1.4}
 .lowpoly .desk-controls>button{display:none}
 .phone-controls{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:3px}
 .phone-controls button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1;font-size:22px!important}
 .phone-controls button span{font-size:14px}.phone-controls button:disabled{color:#777}
 .phone-menu:not([hidden]){display:grid;position:fixed;z-index:80;bottom:calc(68px + env(safe-area-inset-bottom));left:8px;right:8px;padding:6px;background:#c0c0c0;border:3px solid;border-color:#fff #444 #444 #fff;box-shadow:4px 4px #0008}
 .phone-menu button{min-height:48px;text-align:left;background:#ddd;color:#111;border:1px solid #999;padding:8px 16px;font:24px 'VT323',monospace}
 .phone-intro{display:flex;position:fixed;inset:0;z-index:200;background:#111511;color:#fff1c6;border:0;padding:28px;align-items:center;justify-content:center;flex-direction:column;gap:28px;width:100%;height:100dvh;cursor:pointer}
 .phone-intro strong{font:18px/1.8 'Press Start 2P',monospace}.phone-intro span{font:22px/1.5 'VT323',monospace}
 .screen-icons{grid-template-columns:repeat(2,minmax(0,1fr))}
 .screen-icons img{width:54px;height:54px}.screen-icons button{min-height:94px;font-size:20px}
 .monitor-content h1{font-size:17px;margin-bottom:10px}
 #monitor-ui .mm-body{padding:10px 12px}
 #monitor-ui .mm-body .pe-grid{display:flex;flex-direction:column;gap:4px}
 #monitor-ui .mm-body .pe-entry{display:grid;grid-template-columns:40px 1fr;align-items:center;min-height:58px;padding:6px 8px;text-align:left;gap:10px}
 #monitor-ui .mm-body .pe-entry img{width:36px;height:36px}.pe-entry-kind{display:none}
 #monitor-ui .mm-body .pe-entry-name{font-size:20px}.pe-toolbar{gap:4px;padding:4px}.pe-address{padding:4px}
 .boot95{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 12px 50px;gap:16px;box-sizing:border-box}
 .boot95 .boot95-flag{position:relative;inset:auto;width:72px;height:64px;flex-shrink:0;gap:4px;padding:5px;box-shadow:-8px 6px 0 -3px #111}
 .boot95 .boot95-brand{position:static;text-align:center}.boot95-brand small,.boot95-brand p{display:none}.boot95 .boot95-brand strong{font-size:36px;letter-spacing:-2px}.boot95 .boot95-brand strong b{font-size:30px;margin-left:6px}
 .boot95-bottom{font-size:14px;padding-top:6px}.boot95-progress{height:12px;margin-top:5px}
 #monitor-ui .games-launcher{padding:12px}.games-launcher-title{font-size:14px;padding-bottom:10px}.games-launcher-grid{gap:8px;margin-top:12px}
 #monitor-ui .game-shortcut{min-height:100px;gap:6px}.game-shortcut img{width:64px;height:58px}
}

@media(min-width:901px){
 .lowpoly .desk-controls button[aria-pressed="true"]{background:#393939;color:#fff;border:2px solid;border-color:#222 #eee #eee #222;box-shadow:inset 1px 1px 0 #161616;text-shadow:none}
}

/* Desktop and personal file share the same restrained Windows palette. */
#monitor-ui .monitor-bar{background:#c0c0c0;color:#303030;border-bottom:2px solid #fff;font:14px/1 Tahoma,sans-serif;height:30px;box-sizing:border-box}
#monitor-ui .monitor-content{padding:26px 30px 44px;height:450px;box-sizing:border-box;background:linear-gradient(#18385915,#142c382b),url('/wallpaper.jpg') center/cover;overflow:hidden}
.desktop-welcome{background:#d4d0c8;color:#171717;border:2px solid;border-color:#fff #404040 #404040 #fff;box-shadow:3px 3px #0005;max-width:610px;margin:0 auto}
.welcome-title{background:#000080;color:white;font:15px Tahoma,sans-serif;padding:5px 9px;margin:2px}
.welcome-content{display:flex;align-items:center;gap:22px;padding:22px}
.welcome-content>img{width:72px;height:84px;object-fit:contain;image-rendering:pixelated}
#monitor-ui .welcome-content h1{font:23px/1.5 'Press Start 2P',monospace;color:#171717;letter-spacing:-1px;text-shadow:none;margin:0 0 8px}
#monitor-ui .welcome-content p{font:20px/1.4 'VT323',monospace;color:#000080;text-shadow:none;margin:0}
.welcome-note{display:block;margin-top:8px;font:16px/1.4 Tahoma,sans-serif}
#monitor-ui .screen-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:24px auto 0;max-width:640px}
#monitor-ui .screen-icons button{width:100%;min-height:104px;gap:8px;padding:8px 4px;font:19px/1.2 'VT323',monospace}
#monitor-ui .screen-icons img{width:60px;height:60px}
#monitor-ui .screen-icons button span{background:#183b3be0;padding:3px 7px;text-shadow:none;color:#fff}
.desktop-taskbar{position:absolute;bottom:0;left:0;right:0;height:34px;display:flex;align-items:center;justify-content:space-between;padding:3px 7px;background:#c0c0c0;border-top:2px solid #fff;color:#222;font:14px Tahoma,sans-serif;box-sizing:border-box}
.desktop-system{font-weight:bold;border:2px solid;border-color:#fff #555 #555 #fff;padding:2px 8px}
#monitor-ui .screen-status{position:static;display:block;background:transparent;padding:3px 8px;color:#163d25;font:14px Tahoma,sans-serif}
#monitor-ui .profile-page{color:#252525;font:18px/1.45 Tahoma,sans-serif;max-width:720px;margin:0 auto;padding:4px 8px 16px}
.profile-header{display:flex;align-items:center;gap:20px;padding-bottom:18px;border-bottom:2px solid #888}
.profile-header>img{width:76px;height:84px;object-fit:contain;image-rendering:pixelated;background:#d7e0ec;border:2px solid;border-color:#777 #fff #fff #777;padding:6px;box-sizing:border-box}
#monitor-ui .profile-header h2{font:22px/1.5 'Press Start 2P',monospace;letter-spacing:-1px;margin:0 0 7px;color:#000080}
.profile-header p{margin:0;font:23px/1.3 'VT323',monospace}.profile-header span{font-size:15px;color:#555}
.profile-intro{font-size:22px;line-height:1.4;margin:18px 0 8px}.profile-description{margin:0 0 18px;color:#444;font-size:17px}
.profile-facts{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 22px;padding:12px 0;border-top:1px solid #aaa;border-bottom:1px solid #aaa;gap:10px}
.profile-facts div+div{border-left:1px solid #bbb;padding-left:14px}.profile-facts dt{font:28px/1.2 'VT323',monospace;color:#000080}.profile-facts dd{margin:3px 0 0;font-size:14px}
.profile-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:28px}.profile-columns h3{font:bold 18px Tahoma,sans-serif;margin:0 0 10px}.profile-columns p{font-size:15px;line-height:1.5;margin:0 0 8px}.profile-school{font-weight:bold}.profile-extra{color:#555}.profile-skills{list-style:none;padding:0;margin:0;font-size:16px;line-height:1.8}
.profile-contact{display:inline-flex;gap:10px;align-items:center;margin-top:20px;padding:8px 14px;border:2px solid;border-color:#fff #555 #555 #fff;background:#c0c0c0;color:#000080;text-decoration:none;min-height:44px;box-sizing:border-box;font-size:17px}.profile-contact img{width:25px;height:25px;object-fit:contain}
@media(max-width:900px){
 #monitor-ui .monitor-bar{height:24px;font-size:10px;padding:4px 8px}
 #monitor-ui .monitor-content{height:calc(100% - 24px);padding:10px 12px 28px}
 .desktop-welcome{box-shadow:2px 2px #0004}.welcome-title{font-size:11px;padding:3px 6px}.welcome-content{gap:10px;padding:8px 10px}.welcome-content>img{width:32px;height:38px}
 #monitor-ui .welcome-content h1{font-size:12px;letter-spacing:-.5px;margin:0;line-height:1.5}#monitor-ui .welcome-content p{display:block;font-size:16px}.welcome-note{display:none}
 #monitor-ui .screen-icons{grid-template-columns:repeat(2,1fr);gap:4px 16px;margin:8px auto 0}
 #monitor-ui .screen-icons button{min-height:79px;gap:3px;padding:3px;font-size:18px}#monitor-ui .screen-icons img{width:46px;height:46px}#monitor-ui .screen-icons button span{padding:2px 5px}
 .desktop-taskbar{height:23px;font-size:10px;padding:2px 4px}.desktop-system{padding:1px 5px}#monitor-ui .screen-status{font-size:10px;padding:2px}
 #monitor-ui .profile-page{padding:0 0 14px;font-size:16px}.profile-header{gap:12px;padding-bottom:12px}.profile-header>img{width:52px;height:60px;padding:3px}#monitor-ui .profile-header h2{font-size:14px;letter-spacing:-.5px}.profile-header p{font-size:20px}.profile-header span{font-size:12px}
 .profile-intro{font-size:18px;margin-top:12px}.profile-description{font-size:15px}.profile-facts{grid-template-columns:repeat(2,1fr);gap:12px}.profile-facts div+div{border:0;padding:0}.profile-facts dt{font-size:26px}.profile-facts dd{font-size:13px}.profile-columns{grid-template-columns:1fr;gap:20px}.profile-contact{font-size:16px}
}

#monitor-ui .contact-page{max-width:720px;margin:0 auto;padding:6px 8px 16px;color:#242424;font:17px/1.4 Tahoma,sans-serif}
.contact-heading{display:flex;align-items:center;gap:20px;margin-bottom:24px}.contact-heading>img{width:60px;height:60px;object-fit:contain;image-rendering:pixelated}#monitor-ui .contact-heading h2{font:24px/1.5 'Press Start 2P',monospace;color:#000080;margin:0 0 8px}.contact-heading p{margin:0;font-size:17px}
.contact-options{border:2px solid;border-color:#888 #fff #fff #888;background:#f4f4f0}.contact-option{padding:18px 20px}.contact-option+.contact-option{border-top:1px solid #aaa}.contact-method{display:grid;grid-template-columns:28px auto 1fr;align-items:center;gap:12px}.contact-method img{width:28px;height:28px;object-fit:contain}.contact-method h3{font:bold 18px Tahoma,sans-serif;margin:0}.contact-method>span{font-size:14px;color:#555;text-align:right}
.contact-address{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;color:#000080;font:26px/1.4 'VT323',monospace;letter-spacing:1.2px;text-decoration:none;margin-top:8px;overflow-wrap:anywhere}.contact-address:hover{text-decoration:underline}.contact-address:focus-visible{outline:2px dotted #000080;outline-offset:2px}.contact-address>span{font:22px Tahoma,sans-serif}
.contact-page .copy-email{margin:6px 0 0;font:15px Tahoma,sans-serif;min-height:44px;padding:6px 12px}.contact-footer{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#555;margin-top:18px}.contact-footer span:last-child{color:#235e34}
@media(max-width:900px){
 #monitor-ui .contact-page{padding:0 0 12px}.contact-heading{gap:12px;margin-bottom:16px}.contact-heading>img{width:40px;height:40px}#monitor-ui .contact-heading h2{font-size:18px}.contact-heading p{font-size:14px}.contact-option{padding:12px}.contact-method{grid-template-columns:24px 1fr;gap:6px 10px}.contact-method img{width:24px;height:24px}.contact-method h3{font-size:16px}.contact-method>span{grid-column:2;text-align:left;font-size:12px}.contact-address{font-size:23px;letter-spacing:.7px}.contact-footer{flex-direction:column;gap:5px;font-size:12px}
}

@media(min-width:901px){
 .contact-heading{margin-bottom:16px}.contact-option{padding:10px 18px}.contact-footer{margin-top:12px}
}

.lowpoly .desk-controls .phone-controls button[aria-pressed="true"]{background:#393939;color:#fff;border:2px solid;border-color:#222 #eee #eee #222;box-shadow:inset 1px 1px #161616;text-shadow:none}
@media(max-width:900px){.welcome-note{display:block;font-size:12px;margin-top:2px}.welcome-content{padding:6px 10px}}

@media(max-width:900px){
 #monitor-ui .desktop-taskbar{display:none}
 #monitor-ui .monitor-content{padding-bottom:6px}
 #monitor-ui .screen-icons{margin-top:6px;gap:4px 16px}
 #monitor-ui .screen-icons img{width:54px;height:54px}
 #monitor-ui .screen-icons button{min-height:87px;font-size:20px}
}

@media(max-width:900px){
 #monitor-ui .project-explorer-root>.sec-h{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0;border:0}
 #monitor-ui .project-explorer-root>.pe-intro{display:none}
 #monitor-ui .mm-body .pe-toolbar{display:grid;grid-template-columns:44px 44px minmax(0,1fr);gap:4px;padding:0;margin:0 0 8px;align-items:center}
 #monitor-ui .mm-body .pe-nav{width:44px;height:44px;min-height:44px;padding:0;font-size:18px}
 #monitor-ui .mm-body .pe-disk{grid-column:3;grid-row:1;font-size:15px;min-height:44px;padding:6px;display:flex;align-items:center;justify-content:center;margin:0 0 0 auto}
 #monitor-ui .mm-body .pe-path{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:2px;min-width:0;margin:0;padding:0}
 #monitor-ui .mm-body .pe-path button{font-size:14px;min-height:28px;padding:2px 5px}
 #monitor-ui .mm-body .pe-grid{margin-top:0}
}

@media(max-width:900px){#monitor-ui .screen-icons{transform:translateY(-3px)}}

#monitor-ui .profile-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;padding:16px 0}
.profile-facts div+div{border:0;padding-left:0}
.profile-facts dt{font:22px/1.35 'VT323',monospace;letter-spacing:.3px}
.profile-facts dd{line-height:1.4}
.profile-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-skills li{margin-bottom:8px;line-height:1.5}
.profile-education{margin-top:22px;padding-top:16px;border-top:1px solid #aaa}
.profile-education h3{font:bold 18px Tahoma,sans-serif;margin:0 0 8px}
.profile-education p{font-size:16px;margin:0;line-height:1.5}
@media(max-width:900px){
 #monitor-ui .profile-facts{gap:14px 12px}.profile-facts dt{font-size:21px}.profile-facts dd{font-size:13px}
 .profile-columns{grid-template-columns:1fr}.profile-header p{font-size:18px}.profile-education p{font-size:15px}
}

@media(max-width:900px){
 .lowpoly .desk-controls{left:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:calc(100% - 16px);max-width:none;height:60px;padding:3px;transform:none}
}

@media(max-width:900px){
 #monitor-ui .profile-intro{display:none}
 #monitor-ui .profile-description{margin:12px 0 16px}
 #monitor-ui .profile-facts{border:0;padding:0;gap:8px;margin:0 0 18px}
 #monitor-ui .profile-facts>div{background:#e8eef7;border:1px solid #b6c4d8;padding:10px;min-width:0}
 #monitor-ui .profile-facts dt{color:#000080;font-size:20px;line-height:1.25;letter-spacing:0}
 #monitor-ui .profile-facts dd{font-size:12px;color:#394454;margin-top:7px;line-height:1.4}
 #monitor-ui .profile-columns{gap:14px}
 #monitor-ui .profile-columns>section{border:1px solid #aebacf;background:#f0f3f8;padding:0 10px 8px}
 #monitor-ui .profile-columns h3{background:#183b6c;color:#fff;margin:0 -10px 10px;padding:7px 10px;font-size:16px}
 #monitor-ui .profile-columns>section+section{background:#eff3ea;border-color:#b5c1a8}
 #monitor-ui .profile-columns>section+section h3{background:#415738}
 #monitor-ui .profile-skills{font-size:15px}
}

/* Mobile reading layouts keep the retro frame and simplify its contents. */
@media(max-width:900px){
 #monitor-ui .mw-statusbar{display:none}
 #monitor-ui .mm-titlebar,#monitor-ui .gm-titlebar{min-height:44px}
 #monitor-ui .mm-body,#monitor-ui .mm-body p,#monitor-ui .mm-body li,#monitor-ui .mm-body dt,#monitor-ui .mm-body dd,#monitor-ui .mm-body button,#monitor-ui .mm-body a,#monitor-ui .profile-header p,#monitor-ui .game-shortcut{font-family:Tahoma,Arial,sans-serif}
 #monitor-ui .mm-body{font-size:16px;line-height:1.45;padding:10px}
 #monitor-ui .profile-facts{display:grid;grid-template-columns:1fr;gap:5px;margin-bottom:18px}
 #monitor-ui .profile-facts>div{position:relative;padding:9px 10px 9px 43px;border:1px solid;border-color:#fff #b0b8c2 #b0b8c2 #fff;background:#edf2f8}
 #monitor-ui .profile-facts>div::before{content:'';position:absolute;left:10px;top:12px;width:23px;height:25px;background:url('/projects-icon.png') center/contain no-repeat;image-rendering:pixelated}
 #monitor-ui .profile-facts>div:first-child::before{background-image:url('/assets/icons/location.svg')}
 #monitor-ui .profile-facts>div:nth-child(2)::before{background-image:url('/assets/icons/tasks.svg')}
 #monitor-ui .profile-facts>div:nth-child(3)::before{background-image:url('/assets/icons/sectors.svg')}
 #monitor-ui .profile-facts>div:last-child{background:#f4efdf}
 #monitor-ui .profile-facts>div:last-child::before{background:linear-gradient(90deg,#ae5547 33%,#d4aa4d 33% 66%,#54769b 66%);height:19px;top:14px;border:2px solid #fff;box-shadow:1px 1px #8c795d}
 #monitor-ui .profile-facts dt{font-size:16px;line-height:1.4;color:#243b59}
 #monitor-ui .profile-facts dd{display:block;margin:3px 0 0;font-size:13px;line-height:1.35;color:#47515d}
 #monitor-ui .profile-columns>section,#monitor-ui .profile-columns>section+section{padding:3px;border:2px solid;border-color:#fff #8b939d #8b939d #fff;background:#e7ebf0;box-shadow:2px 2px #0002}
 #monitor-ui .profile-columns h3,#monitor-ui .profile-columns>section+section h3{display:flex;align-items:center;gap:8px;background:#244a77;color:#fff;border:0;margin:0;padding:7px 8px;font: bold 16px/1.4 Tahoma,Arial,sans-serif}
 #monitor-ui .profile-columns h3::before{content:'';flex:0 0 22px;height:22px;background:url('/projects-icon.png') center/contain no-repeat;image-rendering:pixelated}
 #monitor-ui .profile-columns>section+section h3{background:#546746}
 #monitor-ui .profile-columns>section+section h3::before{background-image:url('/icon_about.png')}
 #monitor-ui .profile-skills{padding:4px 10px;list-style:none;font:16px/1.45 Tahoma,Arial,sans-serif;background:#fff;margin:3px 0 0}
 #monitor-ui .profile-skills li{margin:0;padding:8px 0;border-bottom:1px solid #dce2e8}
 #monitor-ui .profile-skills li:last-child{border-bottom:0}
 #monitor-ui .profile-header p{font-size:16px}
 #monitor-ui .mm-body .pe-toolbar{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}
 #monitor-ui .mm-body .pe-nav:disabled{display:none}
 #monitor-ui .mm-body .pe-disk{background:#e7e7e7;color:#263d5a;font:14px/1.3 Tahoma,Arial,sans-serif;min-height:44px;padding:6px 10px;margin-left:auto}
 #monitor-ui .mm-body .pe-path{flex-basis:100%;order:3;font:13px Tahoma,Arial,sans-serif}
 #monitor-ui .mm-body .pe-entry{display:grid;grid-template-columns:28px minmax(0,1fr);min-height:52px;padding:7px 4px;gap:10px;border:0;border-bottom:1px solid #e0e3e7;text-align:left}
 #monitor-ui .mm-body .pe-entry .pe-folder{width:26px;height:25px;margin:0}
 #monitor-ui .mm-body .pe-entry .pe-folder-img{width:26px;height:25px;object-fit:contain}
 #monitor-ui .mm-body .pe-entry-name{font:16px/1.35 Tahoma,Arial,sans-serif;color:#222}
 #monitor-ui .contact-address{font-size:17px;letter-spacing:.2px}
}
.desktop-welcome{max-width:560px}
@media(max-width:900px){.desktop-welcome{max-width:250px}}


@media(max-width:900px){
 .lowpoly .desk-controls{left:50%;bottom:calc(8px + env(safe-area-inset-bottom));width:270px;max-width:calc(100% - 16px);transform:translateX(-50%);height:54px}
 .phone-controls{grid-template-columns:repeat(2,1fr);width:100%;gap:3px}
 .phone-controls button{flex-direction:row;min-height:44px}
 .phone-controls button span{font-size:17px}
 #monitor-ui .screen-icons button span{background:transparent;color:#fff;text-shadow:1px 1px 0 #142535,-1px -1px 0 #142535,1px -1px 0 #142535,-1px 1px 0 #142535}
 #monitor-ui .screen-icons button:active span,#monitor-ui .screen-icons button:focus-visible span{background:#000080;text-shadow:none}
}

