:root{font-family:Tahoma,Arial,sans-serif;font-size:13px;color:#171717;background:#008582}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;background:#c0c0c0;border:2px solid;border-color:#fff #404040 #404040 #fff;padding:5px 10px}button:active,.pressed{border-color:#404040 #fff #fff #404040}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px dotted #000;outline-offset:2px}a{color:#000080}#desktop{height:calc(100dvh - 40px);position:relative;overflow:hidden}#icons{position:absolute;left:15px;top:18px;display:grid;gap:12px;width:95px;z-index:1}.desktop-icon{border:1px solid transparent;background:none;color:white;text-shadow:1px 1px #003e3d;padding:4px;width:95px;display:grid;gap:5px;justify-items:center}.desktop-icon:hover,.desktop-icon:focus-visible{background:#00008066;border:1px dotted white}.glyph{font-size:33px;line-height:38px;text-shadow:2px 2px #003d3c}.watermark{position:absolute;top:20%;right:8%;font-size:64px;font-weight:900;color:#006e6b;letter-spacing:-4px;text-shadow:1px 1px #269592}.watermark span{font-weight:400}.watermark sup{font-size:27px;letter-spacing:-2px}.watermark small{display:block;font-size:10px;letter-spacing:3px;margin-top:12px}.flag{font-size:110px;line-height:1;transform:skew(-9deg);color:#007571}.desktop-note{position:absolute;bottom:25px;right:30px;text-align:right;color:#b6e0d9;line-height:1.8;font-size:11px;letter-spacing:.4px}.window{position:absolute;background:#c0c0c0;border:2px solid;border-color:#eee #303030 #303030 #eee;box-shadow:2px 3px #003d3b88;padding:3px;min-width:290px;width:650px;max-width:calc(100% - 125px);height:490px;max-height:calc(100% - 28px);display:flex;flex-direction:column}.window.active .titlebar{background:linear-gradient(90deg,#000080,#1084d0)}.titlebar{background:#777;color:white;display:flex;align-items:center;gap:5px;padding:3px 3px 3px 6px;cursor:move;touch-action:none;min-height:27px;font-weight:bold}.titlebar span{flex:1}.titlebar button{font-size:12px;width:23px;height:21px;padding:0;color:black}.menubar{padding:6px 5px;border-bottom:1px solid #999;font-size:11px;word-spacing:12px}.content{background:#fff;margin:3px;border:2px solid;border-color:#777 #fff #fff #777;overflow:auto;flex:1;padding:24px;line-height:1.6;min-height:0}.status{font-size:11px;padding:3px 5px;border:1px solid;border-color:#888 #fff #fff #888}.eyebrow{font-size:10px;letter-spacing:2px;color:#666;text-transform:uppercase}h1{font-size:32px;line-height:1.1;letter-spacing:-1.2px;margin:12px 0 18px}h2{font-size:21px;line-height:1.3;margin:8px 0}h3{font-size:16px;margin:0 0 5px}p{margin:9px 0 16px}.lead{font-size:15px;color:#454545}.tag{display:inline-block;border:1px solid #aaa;background:#f0f0e8;font-size:10px;padding:2px 7px;margin:0 4px 5px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.button{display:inline-block;background:#c0c0c0;border:2px solid;border-color:#fff #555 #555 #fff;padding:6px 12px;color:black;text-decoration:none;font-size:12px}.blue{background:#000080;color:white;padding:16px;margin:20px 0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{text-align:left;display:block;padding:16px;line-height:1.5;background:#f5f5ee}.card .glyph{font-size:26px;text-shadow:none;display:block;color:#000080}.card small{display:block;color:#555;font-size:11px}.record{padding-bottom:23px;border-bottom:1px dotted #aaa;margin-bottom:25px}.record:last-child{border:0}.metric{font-size:11px;color:#000080;font-weight:bold}.dates{font-family:monospace;color:#555;font-size:12px}.dos{background:#111;color:#b9ffb9;font-family:monospace}.dos input{width:100%;background:transparent;border:0;color:inherit;font:inherit;outline:none}.dos pre{white-space:pre-wrap}.paint-tools{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}canvas{display:block;background:white;border:1px solid #888;max-width:100%;touch-action:none}.mineboard{display:grid;grid-template-columns:repeat(9,27px);gap:1px;margin:12px auto;width:max-content}.mineboard button{width:27px;height:27px;padding:0;font-weight:bold;color:#000080}.mineboard .revealed{background:#ddd;border:1px solid #999}.game-info{display:flex;justify-content:space-between;gap:10px;align-items:center}.secret{background:#000080;color:#0f0;position:fixed;inset:0;z-index:9999;display:grid;place-content:center;text-align:center;font-family:monospace}#taskbar{position:fixed;bottom:0;height:40px;left:0;right:0;background:#c0c0c0;border-top:2px solid white;display:flex;align-items:center;padding:3px;gap:5px;z-index:10000}#start{height:31px;font-size:15px}#tasks{flex:1;display:flex;gap:4px;overflow:auto}#tasks button{min-width:70px;max-width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;height:29px;font-size:11px}#clock{border:2px solid;border-color:#888 #fff #fff #888;padding:6px;font-size:11px;white-space:nowrap}#sound{font-size:10px;padding:5px}#startmenu{position:fixed;left:3px;bottom:39px;width:255px;background:#c0c0c0;border:2px solid;border-color:#fff #333 #333 #fff;z-index:10001;padding:4px 4px 4px 34px;box-shadow:2px 2px #333}#startmenu[hidden]{display:none}.startbrand{position:absolute;left:0;top:0;bottom:0;background:#777;color:#ddd;writing-mode:vertical-rl;transform:rotate(180deg);font-size:21px;padding:8px}.startbrand b{color:white}#startitems button{display:block;text-align:left;width:100%;border:0;padding:10px;background:none}#startitems button:hover{background:#000080;color:white}#boot{position:fixed;inset:0;background:#008582;color:white;display:grid;place-content:center;text-align:center;z-index:20000;pointer-events:none;animation:boot 1.2s forwards}#boot strong{font-size:50px}.load{height:10px;background:repeating-linear-gradient(90deg,#000080 0 12px,#c0c0c0 12px 15px);border:2px inset #ddd;animation:load 1s linear}@keyframes boot{0%,75%{opacity:1}100%{opacity:0;visibility:hidden}}@keyframes load{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}@media(max-width:650px){#icons{grid-template-columns:repeat(4,1fr);width:100%;left:0;top:8px;gap:3px}.desktop-icon{width:auto;font-size:10px}.glyph{font-size:25px}.window{max-width:calc(100% - 12px);width:calc(100% - 12px);max-height:calc(100% - 122px);left:6px!important;top:116px!important}.watermark{font-size:40px;right:10%;top:42%}.watermark small{font-size:7px;letter-spacing:1px}.content{padding:16px}h1{font-size:27px}.grid{grid-template-columns:1fr}.desktop-note{display:none}#tasks button{min-width:55px}#sound{max-width:40px}.titlebar{cursor:default}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}#boot{display:none}}
.window[hidden]{display:none}
@media(max-width:650px){.window{top:148px!important;max-height:calc(100% - 158px)}}
canvas{height:auto}
.mineboard button{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
@media(hover:none){.desktop-icon:hover{background:none;border-color:transparent}#startitems button:hover{background:none;color:inherit}#startitems button:active{background:#000080;color:white}.desktop-icon:active{background:#00008066;border:1px dotted white}}
@media(pointer:coarse){.titlebar{min-height:34px}.titlebar button{width:32px;height:28px;font-size:14px}#startitems button{padding:12px 10px}.dos input,.paint-tools input,.flagmode{font-size:16px}}
@media(max-width:650px){.window.max{top:6px!important;height:calc(100% - 12px)!important;max-height:calc(100% - 12px)!important}}
@media(max-height:500px) and (min-width:651px){#icons{grid-template-columns:repeat(2,68px);width:auto;left:6px;top:6px;gap:4px}.desktop-icon{width:68px;font-size:10px;gap:2px;padding:2px}.desktop-icon .glyph{font-size:22px;line-height:28px}.watermark,.desktop-note{display:none}.window{max-height:calc(100% - 12px)}}
