*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;color:#fff;background:#93c8cd}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffe89a;outline-offset:4px}#world{position:fixed;inset:0;width:100%;height:100%;display:block}.hud{position:absolute;top:24px;left:28px;right:28px;display:flex;align-items:center;gap:13px;pointer-events:none;text-shadow:0 2px 12px #14342c88}.home{pointer-events:auto;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff80;border-radius:12px;background:#17443877;color:white;text-decoration:none;font-size:16px;font-weight:900}.hud strong{font-size:17px;letter-spacing:2px}.hud span:not(.leaf){display:block;font-size:12px;margin-top:3px;opacity:.85}.world-status{margin-left:auto;text-align:right;font-size:12px;font-weight:800;letter-spacing:1.4px}.world-status small{display:block;font-size:11px;letter-spacing:.2px;margin-top:5px;font-weight:500}.leaf{color:#ebffc1;font-size:22px;margin-right:6px}#crosshair{position:absolute;top:50%;left:50%;width:17px;height:17px;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 2px #000);pointer-events:none}#crosshair:before,#crosshair:after{content:'';position:absolute;background:white;border-radius:1px}#crosshair:before{width:17px;height:2px;top:7px}#crosshair:after{height:17px;width:2px;left:7px}#target-label{position:absolute;top:calc(50% + 25px);width:100%;text-align:center;font-size:12px;text-shadow:0 2px 5px #000;pointer-events:none}#toast{position:absolute;top:100px;left:50%;transform:translateX(-50%);background:#173d32e8;padding:12px 20px;border:1px solid #d1e9b54a;border-radius:12px;font-size:14px;opacity:0;transition:opacity .2s;pointer-events:none}.corner-info{position:absolute;bottom:30px;left:28px;display:flex;flex-direction:column;gap:7px;font-size:11px;letter-spacing:1.4px;text-shadow:0 2px 5px #14342c}.corner-info span:last-child{opacity:.65;font-size:10px}.toolbar{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);text-align:center;max-width:98vw}.selected-label{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:12px;text-shadow:0 2px 6px #0008}.selected-label span{font-size:17px;font-weight:750}.selected-label small{font-size:9px;letter-spacing:1.3px;background:#1e423e99;border-radius:5px;padding:5px 7px}#hotbar{display:flex;gap:6px;padding:8px;background:#123a32c9;border:1px solid #efffdd44;border-radius:15px;box-shadow:0 8px 30px #183f3533;backdrop-filter:blur(10px)}.slot{position:relative;display:grid;place-items:center;width:54px;height:57px;border:1px solid #ffffff1f;background:#ffffff0d;border-radius:8px;color:#fff;transition:background .15s,transform .15s}.slot.active{background:#eff8ce;border-color:#fff9ba;box-shadow:0 0 0 2px #d5ec9977;transform:translateY(-3px);color:#173c32}.slot .number{position:absolute;top:3px;left:5px;font-size:10px;opacity:.7}.block-icon{width:27px;height:29px;clip-path:polygon(50% 0,100% 23%,100% 77%,50% 100%,0 77%,0 23%);background:var(--block);box-shadow:inset -12px -6px 0 #0003,inset 0 8px 0 #fff3}.quick-help{margin-top:12px;font-size:10px;letter-spacing:.4px;white-space:nowrap;text-shadow:0 2px 5px #000}.quick-help span{opacity:.8;text-transform:none}.overlay{position:absolute;inset:0;display:flex;align-items:center;padding:40px 8vw;background:linear-gradient(90deg,#153d36dc 0%,#153d3699 38%,#153d3600 80%);overflow:auto}.overlay.hidden{display:none}.menu-card{width:450px;max-width:100%;padding:16px 0}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:3px;color:#d9efcc;margin-bottom:24px}.eyebrow span{width:6px;height:6px;background:#d5eea6;transform:rotate(45deg)}h1{font-size:clamp(58px,7.5vw,102px);line-height:.86;letter-spacing:-5px;margin:0;font-weight:950;position:relative;text-shadow:0 6px 0 #143d3470}h1 em{font-style:normal;color:#dfedb0}.title-star{display:inline-block;font-size:48px;vertical-align:top;margin:12px 0 0 15px;color:#f5d27a;text-shadow:none}.intro{font-size:16px;line-height:1.65;color:#edf4e2;margin:25px 0 19px}.features{display:flex;gap:15px;align-items:center;font-size:10px;letter-spacing:2.5px;font-weight:800;color:#d7e6c6;margin-bottom:26px}.features b{color:#f3ce78;font-size:11px}.play{display:block;width:100%;padding:17px;border:1px solid #ffffc8;border-radius:9px;background:#e3efb8;color:#214c3b;box-shadow:0 4px 0 #9bba7a;font-weight:850;font-size:18px}.play:hover{background:#f1facf}.play:active{transform:translateY(3px);box-shadow:0 1px 0 #9bba7a}.play:disabled{opacity:.6;cursor:wait}.menu-note{font-size:11px;color:#c6dbca;text-align:center;margin:14px 0 26px}.control-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;padding:20px 0;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26}.control-grid div{display:flex;flex-direction:column;gap:5px}.control-grid kbd{font-family:inherit;font-size:10px;font-weight:800;letter-spacing:.8px;color:#edf3dc}.control-grid span{font-size:12px;color:#bacfbe}.menu-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.menu-bottom a,.menu-bottom button{color:#d5e5d0;font-size:12px;background:none;border:0;padding:0;text-decoration:none}.menu-bottom a:hover,.menu-bottom button:hover{color:white;text-decoration:underline}.local-badge{font-size:9px;letter-spacing:1.8px;color:#c6d7bf77;margin:24px 0 0}body.paused .toolbar,body.paused #crosshair,body.paused #target-label,body.paused .corner-info{visibility:hidden}body.paused .hud{opacity:.75}@media(max-height:760px){.overlay{padding:25px 7vw}.menu-card{width:390px}h1{font-size:72px}.eyebrow{margin-bottom:18px}.intro{margin:18px 0 14px;font-size:14px}.features{margin-bottom:18px}.control-grid{gap:10px;padding:15px 0}.menu-note{margin-bottom:18px}.local-badge{margin-top:15px}}@media(max-width:700px){.hud{top:14px;left:14px;right:14px}.world-status{display:none}.hud strong{font-size:14px}.overlay{padding:85px 25px 25px;background:#153d36cc;align-items:flex-start}.slot{width:38px;height:48px}.block-icon{width:22px;height:24px}#hotbar{gap:4px;padding:6px}.quick-help{white-space:normal;line-height:1.7;max-width:340px}.corner-info{display:none}}
/* Adventure controls */
.adventure-hud{position:absolute;top:95px;left:28px;width:220px;padding:14px;background:#173d32b8;border:1px solid #eaffce33;border-radius:12px;backdrop-filter:blur(8px)}.health-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px}.health-heading strong{letter-spacing:1px;color:#e5eec8}.health-heading span{font-size:13px}#health-meter{height:10px;margin:10px 0;background:#0d2929;border-radius:6px;overflow:hidden}#health-fill{height:100%;width:100%;background:#daec9d;transition:width .2s}#defeated{font-size:11px;color:#c5ddc1}#village-guide{margin-top:12px;padding-top:10px;border-top:1px solid #ffffff22;font-size:12px;color:#fff1be;line-height:1.5}.weapon-bar{display:flex;justify-content:center;gap:7px;align-items:center;margin-bottom:12px}.weapon-button{border:1px solid #f3ffe244;background:#173d32dd;border-radius:8px;padding:8px 12px;color:#fff;font-size:13px}.weapon-button kbd{font:inherit;font-weight:800;opacity:.65;padding-right:5px}.weapon-button.active{background:#e7edb4;color:#244c3c;border-color:#fff5b4}.weapon-bar>span{font-size:11px;text-shadow:0 2px 5px #000;background:#173d32aa;padding:8px;border-radius:8px}#damage-flash{position:absolute;inset:0;pointer-events:none;opacity:0;box-shadow:inset 0 0 140px #e78254}.hit{animation:ouch .5s ease-out}@keyframes ouch{0%{opacity:.8}100%{opacity:0}}body.paused .adventure-hud{visibility:hidden}#toast{max-width:660px;width:max-content;max-width:min(660px,90vw);line-height:1.6;z-index:4}body.paused .hud{z-index:2}@media(max-width:700px){.adventure-hud{top:75px;left:14px;width:190px}.weapon-bar>span{font-size:10px}.weapon-button{padding:7px 10px}}@media(max-height:800px){.overlay .menu-card{padding-top:4px}.overlay h1{font-size:62px}.overlay .intro{margin:14px 0 10px}.overlay .control-grid{gap:8px;padding:10px 0}.overlay .menu-note{margin-bottom:12px}.overlay .eyebrow{margin-bottom:14px}}
.block-count{position:absolute;right:4px;bottom:3px;font-size:10px;font-weight:800}.craft-overlay{position:fixed;inset:0;z-index:5;display:grid;place-items:center;background:#0b292be8;padding:24px;overflow:auto}.craft-overlay[hidden]{display:none}.craft-card{width:650px;max-width:100%;padding:28px;border:1px solid #d9eab33a;border-radius:18px;background:#20473d;box-shadow:0 30px 90px #061b2344}.craft-card h2{font-size:32px;letter-spacing:-1px;margin:0 0 12px;color:#e4efbd}.craft-card p{font-size:14px;line-height:1.6;color:#c7dbce}.craft-card .eyebrow{margin-bottom:14px}.recipe{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #c5dbb72b;padding:14px 0}.recipe strong,.recipe span,.recipe small{display:block}.recipe strong{font-size:16px;color:#f2f4dc}.recipe span{font-size:12px;color:#edcc8c;margin-top:5px}.recipe small{font-size:12px;color:#bed1c1;margin-top:5px}.recipe button{background:#e0eeb4;color:#214c3b;padding:9px 17px;border:0;border-radius:7px;font-size:14px;font-weight:700}.recipe button:disabled{opacity:.4;cursor:default}#inventory-summary{padding:13px;border:1px solid #e3efb433;border-radius:8px;background:#14382d;font-size:13px;color:#f4e8b0;line-height:1.6}.craft-tip{font-size:12px!important}.craft-card .play{margin-top:20px;font-size:15px;padding:12px}@media(max-height:800px){.craft-overlay{place-items:start center}.craft-card{padding:20px}.recipe{padding:10px 0}}
#shield-state{font-size:10px;color:#ead69e;margin-top:10px;letter-spacing:.3px}.weapon-bar{flex-wrap:wrap}.craft-card{margin:auto}.overlay .control-grid{gap:9px 12px}@media(max-height:800px){.overlay .menu-card{width:420px}.overlay h1{font-size:53px}.overlay .features{margin-bottom:12px}.overlay .intro{font-size:13px;margin:12px 0 10px}.overlay .control-grid{gap:7px 10px}.overlay .menu-note{margin:10px 0}.overlay .eyebrow{margin-bottom:12px}.overlay .menu-bottom{margin-top:12px}.overlay .local-badge{margin-top:12px}}
