@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Silkscreen:wght@400;700&display=swap');
:root{--ink:#243529;--green:#416735;--lime:#b9e786;--paper:#f2f3e5;--border:#263a2b;--mono:'IBM Plex Mono',monospace;--pixel:'Silkscreen',monospace}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px var(--mono);overflow:hidden;background:#b1d9dc}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #75b2ec;outline-offset:2px}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}#desktop{height:calc(100dvh - 59px);position:relative;overflow:hidden}.wallpaper{position:absolute;inset:0;background:#aad4dd url('wallpaper.png') center/cover;filter:saturate(.74)}.wallpaper:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#d7eef731,transparent 65%,#23432116)}.topline{position:absolute;inset:24px 30px auto;display:flex;justify-content:space-between;font-size:12px;letter-spacing:1px;color:#395356}.sun{margin:0 10px;color:#a97e21}#icons{position:absolute;left:22px;top:76px;bottom:28px;display:grid;grid-template-rows:repeat(6,86px);grid-auto-flow:column;grid-auto-columns:100px;gap:5px 14px;align-content:start}.desktop-icon{border:1px solid transparent;background:transparent;color:#24382a;display:flex;align-items:center;flex-direction:column;gap:8px;padding:7px 0;width:100px;text-shadow:1px 1px 0 #e1f7ef;font-size:12px}.desktop-icon:hover,.desktop-icon:focus-visible{background:#e2f4ed50;border:1px dashed #40643c}.app-icon{display:grid;place-items:center;width:46px;height:45px;font-family:var(--mono);font-size:31px;line-height:1;color:#f4edc8;filter:drop-shadow(2px 3px 0 #203b2550);text-shadow:2px 2px #233128}.desktop-icon img{width:48px;height:45px;object-fit:contain;image-rendering:pixelated}.brand{position:absolute;top:23%;right:8%;text-align:center;pointer-events:none}.mascot{width:220px;height:220px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 18px 0 #20442a18);animation:bob 6s ease-in-out infinite}.brand h1{font-family:var(--pixel);font-weight:700;font-size:67px;letter-spacing:-5px;line-height:1.1;margin:0 0 14px;color:#f5f7e8;text-shadow:3px 0 #263c2e,-3px 0 #263c2e,0 3px #263c2e,0 -3px #263c2e,5px 6px #263c2e}.brand h1 span{color:#aada7b;font-size:53px;letter-spacing:0}.brand p{font-size:14px;letter-spacing:-.4px;margin:0 0 13px}.brandnote{font-size:10px;letter-spacing:2px;color:#415847}.coordinates{position:absolute;bottom:23px;right:28px;font-size:12px;line-height:1.9;color:#274936;text-shadow:1px 1px #c6dfb3}.taskbar{position:relative;height:59px;background:#e3e8d4;border-top:2px solid var(--border);box-shadow:inset 0 2px #fff9;display:flex;align-items:center;padding:7px 10px;gap:9px;z-index:10000}.taskbar button{height:38px;background:#f4f5e7;border:2px solid var(--border);box-shadow:inset 2px 2px #fff9,inset -2px -2px #2535291a,2px 2px 0 #21352540;color:var(--ink);font-size:12px;padding:0 12px;display:flex;align-items:center;gap:8px}.taskbar button:hover{background:#d1e6b6}.taskbar button.active{background:#c0d999;box-shadow:inset 2px 2px #46602b22}#start{background:#b3d889;font-family:var(--pixel);font-size:16px;min-width:121px}#start img{width:27px;height:27px;object-fit:contain;image-rendering:pixelated}.taskdivider{height:30px;border-left:1px solid #88987a;border-right:1px solid #fff8;margin:0 2px}#tasks{display:flex;gap:7px;flex:1;overflow:auto}#tasks button{min-width:139px;text-align:left}.tray{display:flex;align-items:center;gap:15px;font-size:13px;white-space:nowrap}.tray #credit{background:#edf2df;font-size:12px;border:1px solid #80946b;box-shadow:inset 1px 1px #fff}#clock{font-size:14px}.local-label{font-size:10px;border:1px solid #91a47f;padding:4px 6px}#showdesktop{min-width:24px!important;padding:0 4px!important;width:24px}.window{position:absolute;width:560px;max-width:calc(100vw - 34px);background:var(--paper);border:2px solid var(--border);box-shadow:inset 1px 1px #fff,5px 6px 0 #1e362b40;display:flex;flex-direction:column;min-width:270px;resize:both;overflow:hidden;min-height:230px;max-height:calc(100dvh - 94px)}.window.maximized{left:10px!important;top:10px!important;width:calc(100% - 20px)!important;height:calc(100% - 20px)!important;max-width:none;max-height:none;resize:none}.titlebar{height:37px;min-height:37px;background:#4f713e;color:#f7f8e8;display:flex;align-items:center;gap:9px;padding:4px 5px 4px 12px;border-bottom:2px solid var(--border);user-select:none;cursor:grab;font-size:12px;touch-action:none}.titlebar strong{font-weight:500;letter-spacing:.3px;flex:1}.titlebar .miniicon{font-size:17px;color:#cce897}.window.inactive .titlebar{background:#7c8e69}.wincontrols{display:flex;gap:4px}.wincontrols button{border:1px solid #263a2b;background:#e5ecd7;box-shadow:inset 1px 1px #fff;color:#253628;width:24px;height:24px;font-size:15px;line-height:1;padding:0}.wincontrols button:last-child{background:#e7d7bd}.windowbody{overflow:auto;flex:1;min-height:0}.statusbar{padding:8px 13px;background:#e5e8d7;border-top:1px solid #b3bc9f;color:#56634c;font-size:11px;display:flex;justify-content:space-between;gap:8px}.content{padding:23px}.eyebrow{font-size:11px;letter-spacing:1.8px;color:#637657;margin:0 0 12px}.welcome-title{font:700 25px var(--pixel);line-height:1.35;letter-spacing:-1px;margin:0 0 14px}.intro{color:#617057;font-size:14px;line-height:1.8;margin:0 0 22px}.pixelrule{height:1px;background:#bdc8ac;margin:21px 0}.steps{display:grid;gap:17px}.step{display:flex;gap:14px}.stepnum{height:30px;width:30px;border:1px solid #8b9d74;background:#e5edd7;display:grid;place-items:center;font-size:13px;flex-shrink:0}.step strong{font-size:14px;display:block;margin-bottom:5px}.step p{margin:0;color:#6b7662;font-size:12px;line-height:1.7}.button{background:#afd37e;border:2px solid #344d2d;color:#253a25;box-shadow:inset 2px 2px #e2f5c6,inset -2px -2px #5f80394d,2px 2px #344d2d30;padding:10px 14px;font-size:12px;font-family:var(--pixel);white-space:nowrap}.button:hover{background:#c4e798}.button.secondary{background:#e6e9d8;box-shadow:inset 2px 2px #fff,inset -2px -2px #84947130}.welcome-actions{display:flex;gap:10px;margin-top:25px}.notice{font-size:11px;line-height:1.8;background:#e6ecd9;padding:10px 12px;color:#667359;margin-top:20px;border-left:3px solid #95b16c}.miner-toolbar{display:flex;align-items:center;gap:16px;padding:15px 18px;background:#e9eddd;border-bottom:1px solid #bac6a7;flex-wrap:wrap}.intensity{font-size:11px;color:#6c775f;display:flex;align-items:center;gap:8px}.intensity input{width:93px;accent-color:#64863d}.terminal{background:#1e2b23;color:#bfd5b0;padding:20px 22px;min-height:330px;font-size:12px;line-height:1.7}.terminal-head{font-size:11px;letter-spacing:2px;color:#84a572;border-bottom:1px solid #42573d;padding-bottom:13px;display:flex;justify-content:space-between}.terminal-head span:last-child{letter-spacing:0;color:#c1d29d}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:20px 35px;margin:23px 0}.metric small{color:#81947a;font-size:11px;display:block;margin-bottom:6px}.metric b{font-size:23px;font-weight:500;color:#d8edbd;line-height:1.2}.metric b em{font-size:12px;font-style:normal;color:#8fa781}.hashline{height:41px;display:flex;align-items:flex-end;gap:3px;overflow:hidden;border-bottom:1px solid #4c613e;padding-bottom:5px;margin:15px 0}.hashline i{flex:1;background:#7aa25b;min-width:3px;opacity:.6;height:4px}.consoleline{color:#9fbd8d;font-size:11px;margin-top:8px;overflow-wrap:anywhere}.consoleline.muted{color:#7c9275}.terminal-foot{display:flex;justify-content:space-between;margin-top:18px;color:#7f9774;font-size:11px}.formrow{display:grid;gap:8px;margin:0 0 17px}.formrow label{font-size:13px;font-weight:500}.formrow input,.formrow select,.formrow textarea,.chatinput input{border:1px solid #899c78;background:#fafcf0;padding:11px;color:#263c2b;min-width:0;font-size:14px;box-shadow:inset 2px 2px #2c492215}.formrow textarea{resize:vertical;min-height:130px;line-height:1.7}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.small{font-size:12px;line-height:1.8;color:#6b785d}.empty{padding:30px 14px;text-align:center;border:1px dashed #a8b992;color:#6a7f55;font-size:13px;line-height:1.8}.filecard{border:1px solid #a3b68e;padding:13px;background:#e8eedb;display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px}.filecard b{font-size:13px;display:block}.filecard small{font-size:11px;color:#6b7d5c}.filecard button{border:1px solid #8fa57b;background:#f5f7e9;padding:7px 10px;font-size:12px}.filecard button:hover{background:#d1e5b3}.progress{height:18px;background:#dde4cd;border:1px solid #7b9565;padding:3px;margin:17px 0}.progress span{height:100%;background:repeating-linear-gradient(90deg,#679144 0 10px,#dde4cd 10px 13px);display:block;width:0}.log{background:#1e2b23;color:#b8d79c;padding:15px;line-height:1.8;font-size:12px;min-height:70px;white-space:pre-wrap;overflow-wrap:anywhere}.facts{margin:0}.facts div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #c4cfb6;font-size:13px}.facts dt{color:#6d7d60}.facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.balancebig{font:700 43px var(--pixel);margin:20px 0 6px;letter-spacing:-2px}.chat{display:grid;gap:12px;margin:20px 0}.bubble{font-size:14px;line-height:1.8;padding:13px 16px;background:#e5edda;border:1px solid #c1d2ad;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{background:#d2e5ba;margin-left:35px}.bubble small{display:block;font-size:10px;letter-spacing:1px;color:#718b58;margin-bottom:5px}.chatinput{display:flex;gap:8px}.chatinput input{flex:1}.setting{display:flex;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #c6d1b8;font-size:14px}.setting input{accent-color:#6a9347}.readme{font-size:13px;line-height:1.9;white-space:pre-wrap;margin:0}.readme b{font-family:var(--pixel);font-size:19px}.table{width:100%;border-collapse:collapse;font-size:12px}.table td,.table th{text-align:left;padding:12px 8px;border-bottom:1px solid #bfceb0}.table th{color:#71845e;font-weight:500}#startmenu{position:absolute;left:10px;bottom:9px;background:#eef2df;width:300px;border:2px solid #2f462b;box-shadow:5px 5px #18382250;z-index:9999}.menubrand{background:#4f713e;color:#e8f6d5;padding:16px;font-family:var(--pixel);font-size:20px}.menubrand small{display:block;font:11px var(--mono);margin-top:5px;color:#c4d6b3}#startmenu button{display:flex;width:100%;align-items:center;gap:13px;padding:10px 18px;border:0;background:none;text-align:left;font-size:13px;color:#374b2c}#startmenu button:hover{background:#d0e4b6}#startmenu .app-icon{font-size:20px;width:25px;height:22px}#toast{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);background:#edf4dc;border:2px solid #3d592d;box-shadow:3px 3px #294d2b50;padding:13px 18px;font-size:13px;z-index:10001;max-width:90%}.night .wallpaper{filter:brightness(.46) saturate(.6)}.night .topline,.night .coordinates{color:#d3e6bc}.night .brand p,.night .brandnote{color:#c5dac8}.no-motion *{animation:none!important;scroll-behavior:auto!important}@keyframes bob{50%{transform:translateY(-9px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}@media(max-width:1000px){.brand{right:4%;top:25%}.mascot{width:170px;height:170px}.brand h1{font-size:53px}.brand p{font-size:12px}.window{max-width:calc(100vw - 25px)}.local-label{display:none}#tasks button{min-width:90px;padding:0 9px}.tray{gap:8px}}@media(max-width:650px){#desktop{height:calc(100dvh - 57px)}.topline{left:17px;right:17px;top:17px;font-size:9px}.topline span:last-child{display:none}#icons{left:6px;top:54px;grid-template-rows:repeat(6,77px);grid-auto-columns:78px;gap:4px}.desktop-icon{width:78px;font-size:10px}.app-icon{font-size:28px}.brand{right:6%;top:28%}.mascot{width:142px;height:142px}.brand h1{font-size:40px;letter-spacing:-4px}.brand p{font-size:10px;max-width:155px}.brandnote{display:none}.window{left:10px!important;top:55px!important;width:calc(100vw - 20px)!important;max-width:none;max-height:calc(100dvh - 126px);height:auto;resize:none}.window .content{padding:18px}.titlebar{height:36px;min-height:36px}.intro{font-size:13px}.welcome-title{font-size:22px}.taskbar{height:57px;padding:6px;gap:5px}#start{min-width:83px;font-size:13px;padding:0 6px}#start img{width:23px}.taskdivider{display:none}#tasks{gap:5px}#tasks button{min-width:37px;width:37px;font-size:0;padding:0;justify-content:center}#tasks button span{font-size:17px}.tray{gap:7px}#credit{font-size:10px!important;padding:0 6px!important}#clock{font-size:12px}#showdesktop{display:none}.terminal{padding:18px;min-height:320px}.metric b{font-size:21px}.miner-toolbar{gap:11px;padding:13px}.coordinates{font-size:9px;bottom:15px}.metrics{gap:20px}.welcome-actions{flex-wrap:wrap}#startmenu{max-height:calc(100dvh - 85px);overflow:auto}.balancebig{font-size:32px}.chatinput{flex-wrap:wrap}.chatinput .button{width:100%}}

/* Vanilla inventory textures and motion belong to the Block desktop. */
.app-icon{position:relative;filter:drop-shadow(2px 3px 0 #203b2540);text-shadow:none}
.app-icon img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none;user-select:none}
.desktop-icon .app-icon{width:44px;height:44px;transition:transform .2s cubic-bezier(.2,.9,.3,1),filter .2s}
.desktop-icon:hover .app-icon,.desktop-icon:focus-visible .app-icon{transform:translateY(-6px) rotate(-8deg) scale(1.12);filter:drop-shadow(3px 6px 0 #203b252b)}
.desktop-icon[data-open="mine"]:hover .app-icon{animation:icon-pick .6s ease-in-out infinite}
.desktop-icon[data-open="models"] .app-icon:after{content:'';position:absolute;inset:4px;background:linear-gradient(115deg,transparent 20%,#e9c8ff99 40%,transparent 60%);mix-blend-mode:screen;clip-path:polygon(12% 30%,45% 5%,95% 38%,95% 75%,55% 100%,5% 70%);background-size:250% 100%;animation:enchant-sheen 4s linear infinite;pointer-events:none}
.desktop-icon:active .app-icon{transform:translateY(-1px) scale(.92)}
.titlebar .miniicon{display:flex;width:21px;height:23px;flex:none}
.titlebar .app-icon{width:21px;height:21px;filter:none}
#tasks .app-icon{width:23px;height:23px;flex-shrink:0;filter:none}
#startmenu .app-icon{width:27px;height:27px;flex-shrink:0}
#credit .app-icon{width:16px;height:16px;filter:none}
#showdesktop .app-icon{width:18px;height:18px;filter:none}
.button,.wincontrols button,.filecard button,.taskbar button{transition:background .15s,transform .15s,box-shadow .15s}
.button:hover{transform:translateY(-2px);box-shadow:inset 2px 2px #e2f5c6,inset -2px -2px #5f80394d,2px 4px #344d2d30}
.button:active,.taskbar button:active,.filecard button:active{transform:translate(1px,2px);box-shadow:inset 2px 2px #344d2d22}
.window{animation:window-open .26s cubic-bezier(.16,1,.3,1);transform-origin:50% 30%}
.window.is-dragging{animation:none}
.window.is-closing{animation:window-close .16s ease-in forwards;pointer-events:none}
.window.is-minimizing{animation:window-minimize .18s ease-in forwards;pointer-events:none}
#startmenu:not([hidden]){animation:menu-open .22s cubic-bezier(.16,1,.3,1);transform-origin:bottom left}
#toast:not([hidden]){animation:toast-in .25s ease-out}
.filecard{animation:material-in .3s ease-out}
.progress span{transition:width .2s ease-out;position:relative;overflow:hidden}
.progress span:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#e7ffba99,transparent);animation:progress-glint 1.3s linear infinite}
.hashline i{transition:height .35s ease-out}
.brand h1 span{animation:cursor-blink 1.1s steps(2,end) infinite}
.wallpaper{animation:world-breathe 30s ease-in-out infinite;transform-origin:center}
.world-motes{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.world-motes i{position:absolute;width:3px;height:3px;background:#f7ffcf;box-shadow:0 0 7px #e3ffb7;opacity:0;animation:mote-drift var(--duration) linear infinite;animation-delay:var(--delay)}
.mining-scene{height:89px;position:relative;margin:12px 0 6px;overflow:hidden;border-bottom:1px solid #41593a;background:radial-gradient(ellipse at 50% 95%,#5b795533,transparent 65%)}
.scene-floor{position:absolute;bottom:20px;left:calc(50% - 65px);width:120px;height:13px;background:#0e19176b;border-radius:50%}
.ore-block{position:absolute;width:60px;height:60px;left:calc(50% - 27px);bottom:18px;image-rendering:pixelated;filter:drop-shadow(0 5px 0 #0d211b55);animation:ore-idle 3s ease-in-out infinite}
.mining-pickaxe{position:absolute;width:51px;height:51px;left:calc(50% - 69px);top:0;image-rendering:pixelated;transform:rotate(-35deg);transform-origin:20% 85%}
.scene-label{position:absolute;bottom:1px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:1px;color:#88a87c}
.mining-scene.is-mining .mining-pickaxe{animation:pickaxe-swing .85s cubic-bezier(.5,0,.3,1) infinite}
.mining-scene.is-mining .ore-block{animation:ore-hit .85s steps(2,end) infinite}
.mining-scene.proof-found .ore-block{filter:drop-shadow(0 0 8px #80f2dd99)}
.mine-particles{position:absolute;left:50%;top:42px}
.proof-particle{position:absolute;width:5px;height:5px;background:#72ded1;box-shadow:1px 1px #d6fff7;animation:proof-spark .75s cubic-bezier(.1,.8,.4,1) forwards;pointer-events:none}
.proof-particle:nth-child(2n){background:#8e9c92;box-shadow:1px 1px #c0d2c8;width:4px;height:4px}
.reward-pop{animation:reward-pop .45s ease-out}
.crafting-scene{height:94px;border:1px solid #bbc8a8;background:repeating-linear-gradient(0deg,#e3ead666 0 1px,transparent 1px 15px),repeating-linear-gradient(90deg,#e3ead666 0 1px,#f6f7e966 1px 15px);position:relative;display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 20px;padding-bottom:15px}
.craft-ingredients{display:grid;grid-template-columns:repeat(2,23px);gap:4px}
.craft-ingredients img{width:23px;height:23px;image-rendering:pixelated}
.craft-ingredients img:first-child{grid-column:1 / 3;justify-self:center}
.craft-arrow{color:#8aa172;font-size:22px}
.craft-table-wrap{position:relative}
.craft-table{width:58px;height:58px;image-rendering:pixelated;filter:drop-shadow(0 4px 0 #41673522)}
.craft-result{position:relative;width:40px;height:40px}
.craft-result img{width:40px;height:40px;image-rendering:pixelated;animation:book-float 3s ease-in-out infinite}
.craft-scene-label{position:absolute;left:0;right:0;bottom:5px;font-size:9px;letter-spacing:1px;color:#6a805b;text-align:center}
.crafting-scene.is-crafting .craft-ingredients img{animation:ingredient-bounce .45s ease-in-out infinite alternate}
.crafting-scene.is-crafting .craft-ingredients img:nth-child(2){animation-delay:.1s}
.crafting-scene.is-crafting .craft-ingredients img:nth-child(3){animation-delay:.2s}
.crafting-scene.is-crafting .craft-table{animation:table-craft .3s steps(2,end) infinite}
.crafting-scene.is-crafting .craft-arrow{animation:craft-flow .65s ease-in-out infinite alternate}
.crafting-scene.crafted .craft-result:after{content:'';position:absolute;inset:-8px;border:2px solid #98c767;animation:craft-finish .9s ease-out forwards}
.crafting-scene.crafted .craft-result img{animation:book-created .65s cubic-bezier(.2,.9,.3,1),book-float 3s .65s ease-in-out infinite}
@keyframes window-open{from{opacity:0;transform:translateY(14px) scale(.95)}to{opacity:1;transform:none}}
@keyframes window-close{to{opacity:0;transform:scale(.94) translateY(10px)}}
@keyframes window-minimize{to{opacity:0;transform:translateY(70px) scale(.75)}}
@keyframes menu-open{from{opacity:0;transform:translateY(12px) scale(.96)}}
@keyframes toast-in{from{opacity:0;translate:0 10px}}
@keyframes material-in{from{opacity:0;transform:translateY(8px)}}
@keyframes icon-pick{50%{transform:translateY(-6px) rotate(15deg) scale(1.12)}}
@keyframes enchant-sheen{from{background-position:180% 0}to{background-position:-100% 0}}
@keyframes progress-glint{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes cursor-blink{50%{opacity:0}}
@keyframes world-breathe{50%{transform:scale(1.025) translateY(-3px)}}
@keyframes mote-drift{0%{opacity:0;transform:translate(0,25px)}15%,75%{opacity:.5}100%{opacity:0;transform:translate(40px,-160px)}}
@keyframes ore-idle{50%{transform:translateY(-2px)}}
@keyframes pickaxe-swing{0%,100%{transform:translate(-6px,-4px) rotate(-40deg)}45%{transform:translate(12px,12px) rotate(30deg)}58%{transform:translate(9px,9px) rotate(20deg)}}
@keyframes ore-hit{42%,60%{transform:translate(2px,1px)}}
@keyframes proof-spark{0%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin))}}
@keyframes reward-pop{40%{background:#c3ed99;transform:scale(1.05)}}
@keyframes book-float{50%{transform:translateY(-4px)}}
@keyframes ingredient-bounce{to{transform:translateY(-6px)}}
@keyframes table-craft{50%{transform:rotate(-3deg) translateY(-2px)}}
@keyframes craft-flow{to{opacity:.45;transform:translateX(4px)}}
@keyframes craft-finish{to{opacity:0;transform:rotate(45deg) scale(1.6)}}
@keyframes book-created{from{opacity:.3;transform:translateY(6px) scale(.65)}60%{transform:translateY(-7px) scale(1.2)}to{transform:none}}
.no-motion *,.no-motion *:before,.no-motion *:after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:650px){.desktop-icon .app-icon{width:39px;height:39px}.crafting-scene{gap:12px}#tasks button .app-icon{font-size:0;width:23px;height:23px}.mining-scene{height:80px}}

/* Block world boot: original artwork, real asset readiness, skippable entrance. */
.booting #desktop,.booting .taskbar{visibility:hidden}
#boot-screen{position:fixed;inset:0;z-index:30000;isolation:isolate;overflow:hidden;background:#192f27;color:#ecf2d7;display:grid;place-items:center;font-family:var(--mono);--boot-lime:#bfdf89}
.boot-sky{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 26%,#47644766,transparent 55%),linear-gradient(180deg,#203b30,#172c25 80%);animation:boot-sky-in 1.6s ease-out}
.boot-horizon{position:absolute;left:-10%;right:-10%;bottom:9%;height:36%;opacity:.16;z-index:-1;background:linear-gradient(90deg,transparent 2%,#87ab6c 2% 8%,transparent 8% 13%,#87ab6c 13% 21%,transparent 21% 29%,#87ab6c 29% 34%,transparent 34% 65%,#87ab6c 65% 73%,transparent 73% 78%,#87ab6c 78% 87%,transparent 87%);clip-path:polygon(0 60%,7% 60%,7% 42%,16% 42%,16% 64%,26% 64%,26% 20%,34% 20%,34% 72%,65% 72%,65% 26%,76% 26%,76% 46%,88% 46%,88% 15%,100% 15%,100% 100%,0 100%);animation:boot-horizon-in 1.8s ease-out}
.boot-floor{position:absolute;left:-65%;right:-65%;height:55%;bottom:-26%;z-index:-1;background:linear-gradient(0deg,#90b97628 1px,transparent 1px),linear-gradient(90deg,#90b97628 1px,transparent 1px);background-size:64px 64px;transform:perspective(420px) rotateX(62deg);mask-image:linear-gradient(transparent,#000 60%);animation:boot-grid-arrive 1.6s ease-out}
.boot-corner{position:absolute;left:32px;right:32px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.5px;color:#93ad8e}
.boot-corner-top{top:28px;padding-right:140px}
.boot-corner-top span{color:#667f69}
.boot-corner-bottom{bottom:26px}
#boot-skip{position:absolute;right:28px;top:18px;border:1px solid #77926b;background:#294633;color:#d4e2bd;padding:11px 14px;font-size:11px;display:flex;gap:16px;align-items:center;transition:background .15s,transform .15s}
#boot-skip:hover{background:#466540;transform:translateY(-1px)}
#boot-skip:focus-visible{outline:2px solid #c8e791;outline-offset:4px}
.boot-content{width:min(500px,calc(100vw - 40px));text-align:center;padding-top:10px;position:relative}
.boot-scene{position:relative;height:225px;width:280px;margin:0 auto 12px}
.boot-block{width:210px;height:210px;position:absolute;left:35px;top:0;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);animation:boot-block-float 3.2s 1.3s ease-in-out infinite}
.boot-block i{display:block;background-image:url('grass-block.png');background-repeat:no-repeat;background-size:400% 400%;background-position:calc(var(--tile-x)*100%/3) calc(var(--tile-y)*100%/3);animation:boot-tile-build .95s var(--tile-delay) cubic-bezier(.16,1,.3,1) both;backface-visibility:hidden}
.boot-block-shadow{position:absolute;width:146px;height:17px;background:#9abd6633;filter:blur(9px);left:67px;bottom:23px;animation:boot-shadow-in 1.8s ease-out}
.boot-orbit{position:absolute;width:41px;height:41px;z-index:2;animation:boot-item-arrive 1s var(--item-delay) cubic-bezier(.16,1,.3,1) both,boot-item-float 3.8s calc(var(--item-delay) + 1s) ease-in-out infinite}
.boot-orbit img{width:100%;height:100%;image-rendering:pixelated;filter:drop-shadow(3px 5px #0d211b77)}
.orbit-pick{left:-14px;top:63px;--item-delay:.65s;rotate:-15deg}
.orbit-book{right:-13px;top:32px;--item-delay:.85s;rotate:12deg}
.orbit-gem{right:16px;bottom:16px;width:29px;height:29px;--item-delay:1.05s;rotate:7deg}
.boot-spark{position:absolute;width:4px;height:4px;background:#d2ec9d;animation:boot-star 2s ease-in-out infinite;opacity:.55}
.spark-one{left:26px;top:32px;animation-delay:.3s}
.spark-two{right:4px;top:124px;animation-delay:.7s}
.spark-three{left:0;bottom:32px;animation-delay:1.2s}
.boot-eyebrow{font-size:9px;letter-spacing:3.8px;color:#91af80;margin:0 0 13px;animation:boot-copy-in .7s .35s ease-out both}
#boot-heading{font-family:var(--pixel);font-size:clamp(52px,7vw,82px);line-height:1.1;letter-spacing:-6px;margin:0;text-shadow:4px 5px #0d211b;animation:boot-copy-in .7s .45s cubic-bezier(.16,1,.3,1) both}
#boot-heading span{color:var(--boot-lime);letter-spacing:0;animation:cursor-blink 1.1s steps(2,end) infinite}
.boot-tagline{font-size:12px;letter-spacing:.2px;color:#b0c2a4;margin:18px 0 30px;animation:boot-copy-in .7s .6s ease-out both}
.boot-load{width:min(300px,100%);margin:0 auto;animation:boot-copy-in .7s .7s ease-out both}
.boot-load-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;margin:0 0 9px;color:#bfd09f}
#boot-percent{color:#91a980;font-variant-numeric:tabular-nums}
.boot-progress{height:14px;border:1px solid #789a5b;padding:3px;background:#12231d}
.boot-progress>span{display:block;width:0;height:100%;background:repeating-linear-gradient(90deg,#b4d37e 0 10px,transparent 10px 13px);transition:width .28s ease-out}
.boot-checks{display:flex;justify-content:space-between;gap:8px;margin-top:12px;color:#718871;font-size:9px}
.boot-checks span:before{content:'· ';color:#708b69}
.boot-checks span.complete{color:#abc98a}
.boot-checks span.complete:before{content:'✓ ';color:#c1df90}
.boot-ready .boot-progress{border-color:#bbd992;box-shadow:0 0 14px #96b56b18}
#boot-screen.boot-exit{pointer-events:none;animation:boot-out .65s cubic-bezier(.7,0,.3,1) forwards}
.boot-revealing #desktop{animation:desktop-world-in .7s cubic-bezier(.16,1,.3,1) both}
.boot-revealing .taskbar{animation:desktop-bar-in .65s .1s cubic-bezier(.16,1,.3,1) both}
.boot-revealing .window{animation:desktop-window-in .65s .1s cubic-bezier(.16,1,.3,1) both}
@keyframes boot-tile-build{from{opacity:0;transform:translate(var(--from-x),var(--from-y)) rotate(var(--turn)) scale(.45)}75%{opacity:1}to{opacity:1;transform:none}}
@keyframes boot-block-float{50%{transform:translateY(-7px)}}
@keyframes boot-item-arrive{from{opacity:0;transform:translateY(20px) scale(.45) rotate(-20deg)}to{opacity:1;transform:none}}
@keyframes boot-item-float{50%{transform:translateY(-8px) rotate(8deg)}}
@keyframes boot-star{50%{opacity:.2;transform:scale(.5) rotate(90deg)}}
@keyframes boot-copy-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes boot-grid-arrive{from{opacity:0;background-position:0 80px}to{opacity:1;background-position:0 0}}
@keyframes boot-horizon-in{from{opacity:0;translate:0 24px}}
@keyframes boot-shadow-in{from{opacity:0;transform:scale(.2)}}
@keyframes boot-sky-in{from{opacity:0}}
@keyframes boot-out{to{opacity:0;transform:scale(1.08);filter:blur(8px)}}
@keyframes desktop-world-in{from{opacity:0;transform:scale(1.035);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@keyframes desktop-bar-in{from{opacity:0;transform:translateY(35px)}to{opacity:1;transform:none}}
@keyframes desktop-window-in{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:none}}
.no-motion #boot-screen.boot-exit{opacity:0}
@media(prefers-reduced-motion:reduce){#boot-screen.boot-exit{opacity:0}}
@media(max-width:650px){.boot-corner{left:19px;right:19px;font-size:8px;letter-spacing:.8px}.boot-corner-top{top:23px;padding-right:100px}.boot-corner-top span{display:none}#boot-skip{right:17px;top:13px;padding:9px 10px;gap:9px;font-size:10px}.boot-scene{height:195px;width:240px;margin-bottom:10px}.boot-block{width:185px;height:185px;left:27px}.boot-block-shadow{left:50px;bottom:10px;width:140px}.boot-orbit{width:32px;height:32px}.orbit-pick{left:-5px;top:68px}.orbit-book{right:0;top:31px}.orbit-gem{right:14px;bottom:2px;width:25px;height:25px}#boot-heading{font-size:58px;letter-spacing:-4px}.boot-tagline{font-size:11px;margin-bottom:25px}.boot-eyebrow{font-size:8px;letter-spacing:2.8px}.boot-corner-bottom span:last-child{display:none}.boot-load{width:270px}}
@media(max-height:620px){.boot-scene{height:150px;margin-bottom:0}.boot-block{width:145px;height:145px;left:calc(50% - 72px)}.boot-block-shadow{bottom:6px}.boot-orbit{width:28px;height:28px}.orbit-pick{left:25px;top:43px}.orbit-book{right:27px;top:20px}.orbit-gem{right:43px;bottom:0}.boot-eyebrow{margin-bottom:7px}#boot-heading{font-size:47px;letter-spacing:-3px}.boot-tagline{margin:10px 0 18px}.boot-corner-bottom{bottom:16px}.boot-content{padding-top:15px}}
