*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;overflow:hidden}body{background:#000;font-family:system-ui,sans-serif}canvas{display:block}.crosshair{color:#fff;text-shadow:0 0 3px #000;pointer-events:none;-webkit-user-select:none;user-select:none;font-size:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.debug{color:#fff;text-shadow:0 1px 2px #000;pointer-events:none;font:13px/1.4 monospace;position:fixed;top:10px;left:10px}.status{pointer-events:none;-webkit-user-select:none;user-select:none;flex-direction:column;gap:3px;display:flex;position:fixed;bottom:70px;left:50%;transform:translate(-50%)}.stat-row{justify-content:center;gap:2px;height:18px;display:flex}.vitals{justify-content:center;gap:18px;display:flex}.hunger-row{flex-direction:row-reverse}.drumstick{filter:drop-shadow(0 1px 1px #000);font-size:14px;line-height:18px}.hurt-flash{pointer-events:none;opacity:0;z-index:5;background:radial-gradient(#0000 40%,#aa0000d9 100%);position:fixed;inset:0}.heart{text-shadow:0 1px 1px #000;width:18px;height:18px;font-size:17px;line-height:18px;display:inline-block;position:relative}.heart-bg{color:#43151a;position:absolute;left:0}.heart-clip{width:100%;position:absolute;left:0;overflow:hidden}.heart-fg{color:#ff3b3b}.bubble{color:#9fdcff;text-shadow:0 1px 1px #000;font-size:13px;line-height:18px}.hotbar{background:#00000059;border-radius:8px;gap:6px;padding:6px;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}.hotbar-slot{border:2px solid #ffffff59;border-radius:6px;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:relative}.hotbar-slot.selected{background:#ffffff26;border-color:#fff}.hotbar-swatch{border-radius:3px;width:26px;height:26px}.hotbar-key{color:#fffc;font-size:10px;position:absolute;top:1px;left:4px}.hotbar-count{color:#fff;text-shadow:0 1px 2px #000,1px 0 2px #000;pointer-events:none;font-size:12px;font-weight:700;position:absolute;bottom:1px;right:3px}.overlay{color:#fff;cursor:pointer;text-align:center;background:#0000008c;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:fixed;inset:0}.overlay .controls{color:#ffffffbf;font-size:14px;line-height:1.7}.modal{z-index:10;background:#0000008c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.inv-panel,.furnace-panel{background:#c6c6c6;border:4px solid #555;border-radius:6px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.panel-title{color:#2a2a2a;font-size:15px;font-weight:700}.craft-area,.furnace-area{align-items:center;gap:14px;display:flex}.craft-arrow,.furnace-arrow{color:#4a4a4a;font-size:22px}.furnace-arrow{background:#8a8a8a;border-radius:3px;width:40px;height:8px;overflow:hidden}.furnace-arrow-fill{background:#6fae3a;width:0;height:100%}.furnace-left{flex-direction:column;align-items:center;gap:6px;display:flex}.furnace-flame{filter:grayscale(.3);font-size:18px}.slot-grid{grid-template-columns:repeat(2,40px);gap:3px;display:grid}.hotbar-row{margin-top:4px}.slot{background:#8b8b8b;border:2px solid #555;border-radius:3px;width:40px;height:40px;position:relative}.slot-swatch{border-radius:2px;position:absolute;inset:7px}.slot-count{color:#fff;text-shadow:0 1px 2px #000,1px 0 2px #000;pointer-events:none;font-size:12px;font-weight:700;position:absolute;bottom:0;right:2px}.cursor-item{pointer-events:none;z-index:20;width:36px;height:36px;margin:-18px 0 0 -18px;display:none;position:fixed}.menu-panel{color:#fff;text-align:center;background:#141418eb;border:3px solid #555;border-radius:8px;flex-direction:column;align-items:center;gap:12px;padding:28px 40px;display:flex}.menu-panel h1{font-size:32px}.menu-panel .seed{color:#fff9;margin-bottom:6px;font-size:13px}.menu-btn{color:#fff;cursor:pointer;background:#5a7d3a;border:2px solid #3f5a26;border-radius:5px;width:200px;padding:10px;font-size:15px}.menu-btn:hover{background:#6c9447}.menu-status{color:#9fe08a;height:16px;font-size:13px}
